We use Confluence to provide technical support documentation and the code macro is used on many pages to display code examples.
Just noticed that some of the examples in the exported PDF made no sense at all. On investigation it became clear that when the example included a long line of hyphens (a comment to break up the text in the configuration file), some of the subsequent lines of code were simply omitted from the exported document. No idea why this is happening or how many other topics might be affected but not good behaviour.
The wiki text:
{code}
# JAVA ANALYSIS -------------------------------------------------------------------------------------
projects/JavaApp1/*
projects/JavaApp2/*
projects/NewJavaApp/*
# Maintainability
....
{code}
Appears as expected in the browser but appears in the PDF as:
{code}
# JAVA ANALYSIS
-------------------------------------------------------------------------------------
Maintainability
....
{code}
On investigation, this turns out to be a problem only with my customized PDF stylesheet. If I delete my stylesheet and revert to the default Confluence PDF stylesheet then there is no problem (not a long-term option).
The workaround was to make sure that the lines of hyphens were shorter and did not wrap in the export.
Something went wrong with my pdf reader. I wanna convert pdf into text first. Any suggestion will be appreciated. Thanks in advance. How about the abovementioned one?
----------------------------------------------------------------
Related: pdf conversion to text
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.