Re: [Framers] How to format source code in FM

2020-01-02 Thread Rick Quatro
Take a look at my TextFormatter script. You will have to set up a character format for each of the colors you want to apply. You fill in a table with your word/character format pairs and you can specify any paragraph formats that you want to skip. Actually, in your case, it may be better to

Re: [Framers] How to format source code in FM

2020-01-02 Thread Lin Sims
SVGs are text searchable, so you could always use SVG graphics. Beyond that, no, Frame is not an IDE and it has no automation for formatting code. It doesn't even recognize code. On Wed, Jan 1, 2020 at 4:28 PM wrote: > I'm ignorant in this area, but what about swapping the MD coding for RTF >

Re: [Framers] How to format source code in FM

2020-01-01 Thread Robert Lauriston
Another thing to try: use Pandoc to convert the Markdown to Word .docx, then import that into FrameMaker. On Wed, Jan 1, 2020 at 12:29 PM Robert Lauriston wrote: > > Markdown itself doesn't have syntax highlighting, that's done by the > rendering engine. So there's nothing to convert. > >

Re: [Framers] How to format source code in FM

2020-01-01 Thread ideaslists
I'm ignorant in this area, but what about swapping the MD coding for RTF coding? It could be done with a multi-step VBA macro, then imported as a Word file. Dave Creamer IDEAS Training -- Date: Wed, 1 Jan 2020 12:29:59 -0800 From: Robert Lauriston Markdown itself

Re: [Framers] How to format source code in FM

2020-01-01 Thread Robert Lauriston
Markdown itself doesn't have syntax highlighting, that's done by the rendering engine. So there's nothing to convert. https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#code I don't know of any FrameMaker add-on that can add syntax highlighting to PDF output. You could use Pandoc

Re: [Framers] How to format source code in FM

2019-12-31 Thread Rick Quatro
at it. Thanks. Rick Rick Quatro Carmen Publishing Inc. r...@frameexpert.com 585-729-6746 www.frameexpert.com/store/ -Original Message- From: Framers On Behalf Of Orly Zimmerman Sent: Tuesday, December 31, 2019 3:56 PM To: framers@lists.frameusers.com Subject: [Framers] How to format

[Framers] How to format source code in FM

2019-12-31 Thread Orly Zimmerman
HI All, I have a document in Markdown (md) that I was asked to convert to FM.   I can do it quickly using wildcards,regexs and scripts. All is fine and good, except when I get to source code. The source code is formatted extremely nicely and clearly (with different colors for commands, comments,