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.
Post Reply
Lance_Moore
Propeller Head
Posts: 27
Joined: Tue Apr 16, 2013 11:55 am

appearance of code in PDFs

Post by Lance_Moore »

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?
Post Reply