Re: Markdown to PDF

Subject: Re: Markdown to PDF
From: Ryan Young <ryangyoung -at- gmail -dot- com>
To: Mark Giffin <mgiffin -at- earthlink -dot- net>
Date: Thu, 19 Feb 2015 18:33:18 -0800

Thanks for your suggestions, Mark. I believe LaTex is more than capable
with formatting, but the problem is that, at the moment, the docs are a
hybrid of Markdown and LaTex. The engineers started writing in Tex, but
realized that it was overkill and moved to Markdown (Pandoc's flavor
<http://johnmacfarlane.net/pandoc/demo/example9/pandocs-markdown.html>).
They use Pandoc to convert from MD to PDF and a LaTex .cls file to control
the look of the output.

I like the idea of going to HTML and then to PDF because I'm more familiar
with CSS. I'll look into the FO options, but I'm hoping that this scenario
won't be permanent and the learning curve for FO is too steep for a quick
fix.

On Wed, Feb 18, 2015 at 10:40 PM, Mark Giffin <mgiffin -at- earthlink -dot- net> wrote:

> My understanding is that LaTex is pretty capable with formatting. Are you
> sure you are finding the right docs to tell you how to do it?
>
> But if that doesn't work, you could use Pandoc to output to DocBook XML.
> Then you can use the DocBook output toolchain (free) to get a lot of
> control over it. If you really need to get picky with the PDF you can get
> into modifying the XSL-FO that is produced, but that might be more than you
> want to get into. The free XSL-FO processor (Apache FOP) is not as good at
> some things as one of the commercial FO processors (mainly Antenna House or
> RenderX XEP).
>
> Or you could output to HTML and then use CSS and a formatter like
> PrinceXML (commercial) to create PDF. You might need to use some
> proprietary PrinceXML CSS stuff to get certain formatting effects because
> CSS is not as capable as XSL-FO (not yet anyway).
>
> Mark Giffin
> Mark Giffin Consulting, Inc.
> http://markgiffin.com/
>
>
> On 2/18/2015 8:56 PM, Ryan Young wrote:
>
>> Hello,
>>
>> At my new job, what documentation there is is in Markdown. The engineers
>> set up a script using pandoc to create some functional PDF output. The
>> problem is that pandoc requires LaTex to produce the PDF, which doesn't
>> give me very much control of things like the location of images in the
>> document (or the ability to create links).
>>
>> I've played around with Atom and SublimeText, but neither gives me all
>> that
>> much more control over the PDF output. I've also suggested the company
>> start using Confluence, which would solve the problem, but it seems like
>> that will take a bit of planning.
>>
>> Any suggestions?
>>
>>
>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Doc-To-Help: The Quickest Way to Author and Publish Online Help, Policy & Procedure Guides, eBooks, and more using Microsoft Word | http://bit.ly/doctohelp2015

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-

To unsubscribe send a blank email to
techwr-l-leave -at- lists -dot- techwr-l -dot- com


Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit
http://www.techwhirl.com/email-discussion-groups/ for more resources and info.

Looking for articles on Technical Communications? Head over to our online magazine at http://techwhirl.com

Looking for the archived Techwr-l email discussions? Search our public email archives @ http://techwr-l.com/archives


References:
Markdown to PDF: From: Ryan Young
Re: Markdown to PDF: From: Mark Giffin

Previous by Author: Markdown to PDF
Next by Author: Re: Markdown to PDF
Previous by Thread: Re: Markdown to PDF
Next by Thread: Re: Markdown to PDF


What this post helpful? Share it with friends and colleagues:


Sponsored Ads