RE: Code for publishing PDF from Confluence

Subject: RE: Code for publishing PDF from Confluence
From: "Sweet, Gregory (HEALTH)" <gregory -dot- sweet -at- health -dot- ny -dot- gov>
To: "techwr-l -at- lists -dot- techwr-l -dot- com" <techwr-l -at- lists -dot- techwr-l -dot- com>
Date: Tue, 8 Jul 2014 14:35:19 +0000

Hi Melanie,

You want to create a print media query in your style sheet to define styles for print.

@media print {your css here}

Within this media query you specify your styles for print and use print terminology, e.g., points, centimeters, inches instead of pixels.

Anything that is strictly for screen display should be wrapped in a query for screen: @media only screen {}.

Smashing magazine has a nice write up on doing this available here:

While it's a bit dated, it is still quite relevant.



> -----Original Message-----
> From: techwr-l-bounces+gps03=health -dot- state -dot- ny -dot- us -at- lists -dot- techwr-l -dot- com
> [mailto:techwr-l-bounces+gps03=health -dot- state -dot- ny -dot- us -at- lists -dot- techwr-l -dot- com] On
> Behalf Of Melanie Albrecht
> Sent: Tuesday, July 08, 2014 7:10 AM
> To: techwr-l -at- lists -dot- techwr-l -dot- com
> Subject: Code for publishing PDF from Confluence
> Hello
> Next week, I start a new job, writing doc for users and administrators of a big
> complex security software product.
> The Development team already use Confluence for their internal wiki, and I
> am considering using it to also write the doc. However, the boss really wants
> me to be able to publish as PDF.
> The internet tells me that you can configure Confluence to produce a
> pleasant-looking PDF, using CSS and HTML.
> However, I have not been able to find any examples. I can write clean HTML
> and really basic CSS, but I have no idea where to start with this.
> Do you know of any examples?
> Also, do you have any opinions about the sensibleness of authoring in
> Confluence and publishing to PDF?
> Thanks,
> Melanie

Doc-To-Help 2014 v1 now available. SharePoint 2013 support, NetHelp enhancements, and more. Read all about it.

Learn more:


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 for more resources and info.

Looking for articles on Technical Communications? Head over to our online magazine at

Looking for the archived Techwr-l email discussions? Search our public email archives @


Code for publishing PDF from Confluence: From: Melanie Albrecht

Previous by Author: Online Help vs. Knowledge Base vs. FAQ
Next by Author: TechWhirl: Technical Communication Recap for July 11, 2014
Previous by Thread: Code for publishing PDF from Confluence
Next by Thread: Re: Code for publishing PDF from Confluence

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

Sponsored Ads