Bug 712599

Summary: Stylesheets: <command> in titles handled differently
Product: [openSUSE] openSUSE 11.4 Reporter: Tanja Roth <taroth>
Component: DocumentationAssignee: Thomas Schraitle <thomas.schraitle>
Status: RESOLVED FIXED QA Contact: Karl Eichwalder <ke>
Severity: Normal    
Priority: P3 - Medium CC: fs
Version: Factory   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Documentation Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 702276    

Description Tanja Roth 2011-08-17 08:27:30 UTC
If a <command> element is used in a title, it is handled differently depending on the section to which the title belongs (and depending on the output - PDF or HTML):

PDF:
- sect2 title: <command> appears in different font than the rest
- sect3 title: <command> appears in the same font like the rest

HTML:
- <command> appears in different font in both sect2 + sect3 titles

I personally prefer to have a markup for a command name even in a title, but I know there are different opinions on that. I would be fine with either solution as long as we make it consistent for all titles and outputs.

(I stumbled across that in the current daps version, daps-0.9beta4-16.1.noarch)
Comment 1 Thomas Schraitle 2012-07-12 12:37:16 UTC
Thanks for the report. :)

The <command> tag in titles are now consistent at least for each format:

* PDF: <command> appear in the same font like the rest
* HTML: <command> appears in monospaced font

This was the easiest thing to do. Please test it.

Set it to resolved, feel free to reopen it, if needed.
Comment 2 Tanja Roth 2012-07-16 13:36:04 UTC
Hm, having two different layouts for the same thing does not look very nice to me. I'd prefer to make it consistent, unless there are good arguments against  it. Would it be much work to make it always appear in monospaced font?
Comment 3 Thomas Schraitle 2012-08-01 06:20:18 UTC
Reopend. Maybe this can be solved with the new layout.
Comment 4 Stefan Knorr 2014-01-09 12:47:15 UTC
Fixed in suse2013 layout.