Uploaded image for project: 'Lustre Documentation'
  1. Lustre Documentation
  2. LUDOC-107

docbook->pdf conversion makes tabs only one space

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • 15
    • 3
    • 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.

      Attachments

        Activity

          [LUDOC-107] docbook->pdf conversion makes tabs only one space
          jgmitter Joseph Gmitter (Inactive) made changes -
          Assignee Original: Richard Henwood [ rhenwood ] New: Lustre Manual Triage [ LM-Triage ]
          pjones Peter Jones made changes -
          End date New: 04/Dec/14
          Start date New: 30/Nov/12

          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 - $@

          annamaria.locati67 Annamaria Locati added a comment - 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 - $@

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

          rhenwood Richard Henwood (Inactive) added a comment - - edited An example is section 35.2.5 in the pdf, as of today.

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

          rhenwood Richard Henwood (Inactive) added a comment - For example, the code on pg 308 of the pdf version (as of today).
          jlevi Jodi Levi (Inactive) made changes -
          Business Value New: 15
          jlevi Jodi Levi (Inactive) made changes -
          Assignee Original: Jessica A. Popp [ jessica ] New: Richard Henwood [ rhenwood ]
          Labels New: QInfrastructure
          morrone Christopher Morrone (Inactive) created issue -

          People

            LM-Triage Lustre Manual Triage
            morrone Christopher Morrone (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: