1

Topic: Python script for generate cross-references in .pdf file

Hello everybody!

In the company where I work, Faramax, we have created (with the help of AI, because we are not code programmers), this program in Phyton to create links between references in a .pdf file
This is a stopgap while the integrated function in QET is being developed, which would be great. Wish we could help with this, but as I said we are not programmers.
We have based it on this, but I prefer to create a new topic so we don't mix up the posts: https://qelectrotech.org/forum/viewtopic.php?id=2915

This program have calibration and adjustment options. It does not acquire the positions of the QET elements, but creates a virtual grid that must be adjusted with the row, column and px values that it adjusts in the QET sheets.
Alse, the program have additional offset settings for fine tuning.

When the program finds a relation to the selected structure, it creates a link to the target page and grid position, with the selected settings and zoom.

Attached you can find the programme in .py and in a ready for windows .exe inside the .rar

Hopefully this tool will be useful to many people, until QET integrates the function to include the links in the exported pdf.

I would also like to thank the developers of this fantastic tool that helps a lot of people.

BR,
Alfonso.

Post's attachments

Attachment icon GNerador_PDFLink.rar 90.17 mb, 16 downloads since 2025-06-16 

Attachment icon GNerador_PDFLink_v1.py 26.09 kb, 22 downloads since 2025-06-16 

Attachment icon Incterface.png 29.01 kb, file has never been downloaded. 

Attachment icon Interface_sett.png 35.27 kb, 1 downloads since 2025-06-16 

Attachment icon ScSh.png 7.14 kb, file has never been downloaded. 

Attachment icon test_linked.pdf 316.31 kb, 26 downloads since 2025-06-16 

2

Re: Python script for generate cross-references in .pdf file

Hi Alfonso,

thanks to you and to Faramax's team I've just tested the Windows binary which seems to work very well...
On my Debian usnstable it's quite complicated with the python environment changes, in any case bravo for your work.
Perhaps if IA can help you for to migrate .py to https://pypi.org/ maybe here we can advanced, add deb package etc?


Many thanks Alfonso,
best regards,
Laurent

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !