appearance of code in PDFs

This forum is for all Flare issues related to PDF, eBook, Microsoft Word, Adobe FrameMaker, XPS, and XHTML book targets.

appearance of code in PDFs

Postby Lance_Moore on Tue Apr 02, 2019 1:09 pm

I have a number of code samples in different languages in my doc set. They are tagged with <pre>, which doesn't line break no matter what. A lot of the Java code samples are too long (too deeply indented) to work on a PDF page; the code disappears off the right side of the page.

I copy the code samples from a repo, but don't have a repo myself to copy them into to work with.

How do I fix the formatting (indenting) so it all stays on the PDF page? Is there a way to search on tabs and replace them with spaces? Other suggestions?
Lance_Moore
Propeller Head
 
Posts: 21
Joined: Tue Apr 16, 2013 11:55 am

Return to Printed Documentation Targets

Who is online

Users browsing this forum: No registered users and 4 guests