Ich habe meine Funktion erweitert und habe den ersten Erfolg erzielt, dass die passenden Seiten verlinkt werden, auch wenn im Schaltplan Lücken sind.
Dies ist jetzt allerdings noch nicht zu 100% getestet.
Das Problem, dass auftreten kann ist, dass das Programm jetzt gerade absucht, ob es den Text "Seite: XY" findet. Ob dies in einer anderen Sprache oder wenn dort eine Abkürzung z.b. S. steht klappt, weiß ich nicht. Hier sind evtl eigene Anpassungen nötig.
Das Vorgehen ist, das eine Mapping erstellt wird, so das das Programm z.B. weiß, dass PDF S.35 Schaltplan S.55 entspricht. Demnach werden, wenn im Querverweis steht, dass die Verlinkung auf S.55 die PDF S.35 geöffnet.
Translation:
I have extended my function and have achieved the first success that the appropriate pages are linked, even if there are gaps in the circuit diagram.
However, this has not yet been 100% tested.
The problem that can occur is that the program is now searching whether it finds the text “Page: XY”. I do not know whether this works in another language or if there is an abbreviation, e.g. S.. You may need to make your own adjustments here.
The procedure is that a mapping is created so that the program knows, for example, that PDF p.35 corresponds to circuit diagram p.55. Accordingly, if the cross-reference says that the link is to p.55, the PDF p.35 is opened.
Translated with DeepL.com (free version)