HI Flywire

Em 19/03/2022 19:33, flywire escreveu:
My recommendation is to tweak the pdf format to actually write blank lines
and consider left-aligned code listing. This would at least allow
https://pdf-xchange.eu/ to be used as a free viewer on windows, and
probably any pdf editor, to support copy/paste pdf code with layout.

Your use case is to copy the basic or python code in a PDF output and paste in a text editor. Yes, code indentation is lost.

Assuming there is no UI setting to prevent this, please open an enhancement bug.

I also would investigate if any style attribute can prevent PDF to loose indentation.

I also don't get why use an external service for PDF edition since LibreOffice can edit PDF files, in 2 ways:
1) as hybrid PDF
2) as a drawing handled by Draw.


BTW, note
https://documentation.libreoffice.org/assets/Uploads/Documentation/en/GS7.3/GS73-GettingStarted.pdf#page=431
code not colorized, and no indented code throughout.


Just use Andrew Pitonyak extension in the python code fragment. I did it in the Base guide and it works.

Cheers
--
Olivier Hallot
LibreOffice Documentation Coordinator
Rio de Janeiro - Brasil - Local Time: UTC-03:00
LibreOffice – free and open source office suite: https://www.libreoffice.org
Respects your privacy, and gives you back control over your data
http://tdf.io/joinus

--
To unsubscribe e-mail to: [email protected]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/documentation/
Privacy Policy: https://www.documentfoundation.org/privacy

Reply via email to