SOLVED: Best way to display code listings
Posted: Wed Mar 14, 2018 10:20 am
Hi,
I'm new to Flare and am converting legacy FrameMaker documents. In the FrameMaker document are a lot of tables, used to hold computer code listings (all formatted with fixed-width font) and all with captions (using FrameMakers "table caption" facility). Images are also in borderless tables for the same reason.
To save a LOT of trial and error:
* What is the best way to keep images and captions together? Two separate paragraphs then group them into a DIV?
* How would anyone recommend managing code samples? (Currently they tend to wrap themselves, but have leading space... which I can only do with <pre> (I believe) in CSS... does anyone use text boxes?
Thanks in advance,
Alison
I'm new to Flare and am converting legacy FrameMaker documents. In the FrameMaker document are a lot of tables, used to hold computer code listings (all formatted with fixed-width font) and all with captions (using FrameMakers "table caption" facility). Images are also in borderless tables for the same reason.
To save a LOT of trial and error:
* What is the best way to keep images and captions together? Two separate paragraphs then group them into a DIV?
* How would anyone recommend managing code samples? (Currently they tend to wrap themselves, but have leading space... which I can only do with <pre> (I believe) in CSS... does anyone use text boxes?
Thanks in advance,
Alison