Building Word output

This forum is for Single-Sourcing your Flare content to multiple outputs.

Building Word output

Postby Davbo on Fri Oct 04, 2019 7:14 am

Hi all

I usually output to HTML5 and PDF from my projects. However, it would be useful to also have a temporary Word version of the output for review purposes and other uses.

As I understand it, Word output requires a separate page layout from PDF and other tweaks. Any time I've tried, the Word document has poor layout compared to the PDF.

Can anyone advise what the easiest way of generating a Word output is, and provide some simple steps to implement this?

Any help much appreciated

Davbo
Davbo
Propeller Head
 
Posts: 33
Joined: Thu Dec 04, 2014 5:16 am

Re: Building Word output

Postby ChoccieMuffin on Mon Oct 07, 2019 9:45 am

What sort of problems have you experienced? If you give us some more information on what you mean by "poor layout compared to the PDF" we might be able to help you so you don't need to make any changes to what you've got already.

But if you do need to do extra things, read on.

I've produced Word outputs in the past, usually for review purposes because someone objected to looking at PDFs (bloody reviewers!) and found that the only reason I needed to create a new page layout was because our PDFs used a really stupid page shape and I wanted vanilla A4, so I created a separate A4 page layout.
* The problem with creating a separate page layout to use is that if you've defined which page layouts to use in your TOCs and you want to produce Word from your regular TOCs rather than a "Review Only" TOC, that might get a bit messy.

You also might find you need to create a separate medium in your stylesheet rather than using your PDF medium (but you might not need to, depending on what your problem is.) If you do have to, I suggest you copy your PDF medium and call it, for the sake of argument, Word, then tweak any styles you need to tweak in that medium. Or copy your entire stylesheet, call it Word_style.css (for the sake of argument), change the name of the PDF medium in that new stylesheet and edit styles in there.
* Having a completely separate stylesheet rather than an additional medium in your current stylesheet might help you keep them separate in your head, and means that your Word outputs won't be affected by any changes you make in your "real" work in the main stylesheet.

Finally, I suggest you create a new target to use for Word outputs. You then specify that it uses A4.flpgl rather than whatever page layout you use for your PDF (if your PDF is silly like ours is), and specify the Word medium of the stylesheet, either your regular one if you've created a separate medium, or your new stylesheet if you've gone down that route. You can then use any TOC you like, though if I'm looking to produce just a couple of random topics, I create a separate TOC and call it, for the sake of argument, REVIEW_ONLY and use THAT TOC in my Word target.
* In your Word target, don't forget to specify how it breaks - new Word doc per chapter or just a single Word doc - look on the Advanced tab of the Word target.)

So you don't have to do this more than once, if you're using Global Project Linking and keeping all your stylesheets/page layouts in a single project, create these new things in your Globals project. Depending on your conditions they will then be imported into all your target projects, and you can adjust the target to use whichever TOC you want to review in the target projects.

Does that make any sense to you?

By the way, remember that you can't create a Word output, get reviewers to make changes and then re-import it into your project. Word and Flare don't play nice, so in-out-in-out is a complete no-no for your review cycle. Personally I find it easier to just create a PDF for review purposes, and if I want to
Started as a newbie with Flare 6.1, now using Flare 2019r1.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
ChoccieMuffin
Senior Propellus Maximus
 
Posts: 2117
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Building Word output

Postby Davbo on Tue Oct 08, 2019 2:52 am

Many thanks for your help.

The layout problems I've experience are just general untidiness, with things not aligning correctly, and graphics not displaying properly (or sometimes not at all).

I'll try making a new page layout and stylesheet section as suggested and see how it goes. Previously, I'd imagined that a layout/stylesheet for PDF should be good for Word (both are print outputs) but I guess it's not that easy.

Thanks again for your help - much appreciated.

Davbo
Davbo
Propeller Head
 
Posts: 33
Joined: Thu Dec 04, 2014 5:16 am

Re: Building Word output

Postby doloremipsum on Sun Oct 13, 2019 5:24 pm

You'll probably find that there are a number of PDF features that aren't supported in Word. The ones that bugged me the most were decoration frames in page layouts (e.g. the logo on the title page), heading variables (e.g. in the header/footer) and div tags (simply ignored).
doloremipsum
Propeller Head
 
Posts: 19
Joined: Mon Aug 26, 2019 2:11 pm


Return to Single-Sourcing

Who is online

Users browsing this forum: Bing [Bot] and 1 guest