[LUDOC-107] docbook->pdf conversion makes tabs only one space Created: 30/Nov/12  Updated: 15/Sep/16

Status: Open
Project: Lustre Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Christopher Morrone Assignee: Lustre Manual Triage
Resolution: Unresolved Votes: 0
Labels: QInfrastructure

Business Value: 15
Severity: 3
Rank (Obsolete): 5733

 Description   

It looks like for conversion to pdf, the converter is making the tabs in <programlisting> blocks come out as only a single character. The tabs look better in the html output.

There is probably some XSL setting we can use to make tabs become 8 spaces (or the equivalent spacing) in the pdf conversion.



 Comments   
Comment by Richard Henwood (Inactive) [ 08/Oct/13 ]

For example, the code on pg 308 of the pdf version (as of today).

Comment by Richard Henwood (Inactive) [ 09/May/14 ]

An example is section 35.2.5 in the pdf, as of today.

Comment by Annamaria Locati [ 04/Dec/14 ]

I suggest to substitute <tabs> with <spaces> during "make pdf".
However, I think that 3 spaces instead of 8 is better.

Old Makefile:
$(TGT_BASE).pdf: $(TGT_BASE).fo
fop $< $@

New Makefile:
$(TGT_BASE).pdf: $(TGT_BASE).fo
sed -e 's;<tab char>;<spaces>;g' $< | fop - $@

Generated at Sat Feb 10 03:40:18 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.