jwulf / press-star

A node-based implementation of the popular Death Star authoring environment for PressGang / Docbook
4 stars 1 forks source link

Tab Indentation for PDF #33

Closed slong9 closed 11 years ago

slong9 commented 11 years ago

It looks like pdf creation can't handle tab indentation. It works fine on HTML, but comes out a bit mangled on PDF. Deceptive since it looks great in the editor.

jwulf commented 11 years ago

Can I get a URL or steps to reproduce so that I can see what you are looking at.

jwulf commented 11 years ago

"In a <screen> tag, tabs are not preserved in pdf output. To reproduce:

  1. observe the tabs in the tag in topic 16078.
  2. Build Content Spec ID 15807 using "csprocessor assemble 15807"
  3. Observe the pdf output
  4. Tabs are not preserved in the pdf output
jwulf commented 11 years ago

screen shot 2013-06-03 at 7 04 45 pm

Tabs in PDF ^

Tab depth is 2 spaces.

Tabs in HTML Preview. Tab depth is 4 or 8 spaces.

screen shot 2013-06-03 at 7 05 01 pm

To get deeper tabs in the PDF, I would suggest using spaces instead of tabs - i.e: instead of pressing the Tab key, hit the space key four or eight times to get consistent tabs.