Bug 496762 - Lines run together in screen tags in PDF builds
Summary: Lines run together in screen tags in PDF builds
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 2.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Michael Hideo
QA Contact: Content Services Development
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-04-21 01:06 UTC by Deon Ballard
Modified: 2010-11-24 03:58 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-09-08 03:58:37 UTC
Embargoed:


Attachments (Terms of Use)
PDF example (48.58 KB, application/pdf)
2009-04-21 01:06 UTC, Deon Ballard
no flags Details

Description Deon Ballard 2009-04-21 01:06:21 UTC
Created attachment 340463 [details]
PDF example

None of the linebreaks or white spaces in screen tags are honored in the PDF builds. I have publican 0.45 installed.

For example, I'll have something like this:
<screen>ldapmodify -D "cn=directory manager" -w secret

dn: uid=jsmith,dc=example,dc=com
changetype: replace
replace: cn
cn: John Smith</screen>

But in the PDF, it comes out like this:
ldapmodify -D "cn=directory manager" -w secretdn: uid=jsmith,dc=exam\
ple,dc=comchangetype: replacereplace: cncn: John Smith

This is with my local builds. I'll upload a PDF; see pages 2 and 4, for example.

Comment 1 Deon Ballard 2009-04-21 01:21:16 UTC
I'm setting this to an urgent priority. I have a release next week.

Comment 2 Jeff Fearn 🐞 2009-04-21 01:29:17 UTC
There are no urgent Fedora bugs that don't include crashing and/or trashing source.

The version of this doc in the ECS SVN repo builds fine for me.

Perhaps you should try pushing a draft in to brew and seeing if that works correctly.

Comment 3 Michael Hideo 2009-06-17 01:42:14 UTC
Hi Deon,

Is this still relevant? If so, please provide me a link to the source for testing.

- Mike

Comment 4 Deon Ballard 2009-06-17 17:36:13 UTC
Hi, Mike.

I think part of the problem was related to having inline formatted tags at the end of a line in screen. For example:

<screen>This is my first line, with a <replaceable>variable</replaceable>
tag at the end.</screen>

It would all run together, but if I put a character at the end like &nbsp;, then it worked as expected.

<screen>This is my first line, with a <replaceable>variable</replaceable> &nbsp; 
tag at the end.</screen>

Now, the example I had attached in the original comment, that wasn't the case, yet it was still running together. But I don't know what was wrong then; I re-installed fop and publican in the interim (same versions), and now it's fine.

I think you can close this, but I'll reopen and whine again if I need to. :)

Thanks!
Deon

Comment 5 Ruediger Landmann 2009-09-08 03:58:37 UTC
Unable to reproduce in 0.44 or 1.0.


Note You need to log in before you can comment on or make changes to this bug.