How do I add/import and format source-code?
Creating a proper workflow on how to add/import and format source-code in FrameMaker seems to be a hassle (to say the least). I have been looking for good examples on how to deal with this; however, the ones I have found so far are at best not even close to being a viable solution.
Here's what I need to do:
- Create a FrameMaker document
- Include source-code samples
- Complete (file-referenced), or
- Partial (file-referenced or copy pasted)
- Output PDF
- Import the FrameMaker book to RoboHelp
- Output WebHelp
Whatever approach I try I always end up getting nothing or each line of code split into separate <pre> paragraphs; however, what I want is (at a minimum) source-code samples in single blocks of code wrapped by single <pre> tags that keep the formatting (e.g. indentation) intact.
In an ideal world I should of course be able to add any source-code with proper syntax highlighting (depending on the programming/scripting language) and have that "live on" once I decide to convert it to WebHelp files using RoboHelp.
Anyone?
Using: FrameMaker 9 and RoboHelp 8
