[docbook-apps] Image resolution in print.

2012-05-15 Thread Richard Hamilton
Is there a description anywhere about how to deal with images of different dpi in the FO stylesheets? I've got an image that is 800x600, and as far as I can tell (identify doesn't say anything about dpi), it is a 300dpi image. I want that image to pass through to the FO and PDF as a 300dpi

RE: [docbook-apps] Image resolution in print.

2012-05-15 Thread Bort, Paul
When you say identify, I assume you mean ImageMagick's identify. If the -verbose option doesn't give you a specific resolution for an image, then it doesn't have one. Most software will then default to 72DPI. You can set the resolution with the mogrify utility, like so: mogrify

[docbook-apps] keywordset not displayed in article

2012-05-15 Thread Stefan Seefeld
Hello, I would like to include a keywordset in an article, but it appears it is being ignored by the fo stylesheets, and thus no keywords appear in the pdf header. Are there any parameters I need to set, or even titlepage templates to create ? Thanks, Stefan -- ...ich

[docbook-apps] bibliography without title

2012-05-15 Thread Stefan Seefeld
Hello again, what is the appropriate way to include a bibliography in an article ? I have added it after the last section, and given it a title References, but the title isn't printed in the fo output. Am I doing something wrong ? Should I embed the bibliography in a section instead ? Thanks,

Re: [docbook-apps] Image resolution in print.

2012-05-15 Thread Bob Stayton
Just wanted to point out one datum on image sizing that's mentioned in my book: The following attributes are mutually exclusive: contentwidth, scale, and scalefit. If more than one of these attributes is used on an image, then the earliest one in this list takes precedence. So the scalefit

Re: [docbook-apps] bibliography without title

2012-05-15 Thread Bob Stayton
Hi Stefan, I'm not able to duplicate this problem with the stock stylesheets. When I include a bibliography with title between the last /section closing tag and the /article closing tag, the title appears with the bibliography in the output, and in the table of contents and PDF bookmarks.

Re: [docbook-apps] keywordset not displayed in article

2012-05-15 Thread Bob Stayton
Hi Stefan, The stylesheets treat keywordset as metadata that can be used in a variety of ways. Since there is no standard for presenting key words in print, the stylesheet leaves that to customization. If you want them to appear in the page header, then you would need to customize the

Re: [docbook-apps] Image resolution in print.

2012-05-15 Thread Richard Hamilton
Bob, I was using the description from the Image Sizing section in Graphics. However, there's a typo in my print edition, and I just realized that when I adjusted the typo, I replaced contentdepth with contentwidth by mistake. So, you are right, you didn't suggest using both together. So, I

Re: [docbook-apps] Image resolution in print.

2012-05-15 Thread Richard Hamilton
Paul, Thanks for the explanation. You're right, it is the ImageMagick identify, and by now I should know to just add -verbose to any command that doesn't give me what I want:-). FYI, more in my reply to Bob. Thanks, Dick --- XML Press XML for Technical Communicators http://xmlpress.net

Re: [docbook-apps] keywordset not displayed in article

2012-05-15 Thread Stefan Seefeld
Hi Bob, thanks for the info. I didn't express myself clearly. I didn't mean the header, but the space right on top of the abstract. At least that's where IEEE papers display keywords. Do I need to generate a custom titlepage for this ? Thanks again, Stefan -- ...ich hab' noch

Re: [docbook-apps] bibliography without title

2012-05-15 Thread Stefan Seefeld
On 05/15/2012 12:30 PM, Bob Stayton wrote: Hi Stefan, I'm not able to duplicate this problem with the stock stylesheets. When I include a bibliography with title between the last /section closing tag and the /article closing tag, the title appears with the bibliography in the output, and in

Re: [docbook-apps] bibliography without title

2012-05-15 Thread Stefan Seefeld
On 05/15/2012 05:02 PM, Stefan Seefeld wrote: On 05/15/2012 12:30 PM, Bob Stayton wrote: Hi Stefan, I'm not able to duplicate this problem with the stock stylesheets. When I include a bibliography with title between the last /section closing tag and the /article closing tag, the title

[docbook-apps] Re: Better rendering for programlisting

2012-05-15 Thread Norman Walsh
David Cramer da...@thingbag.net writes: On 05/05/2012 10:38 AM, davep wrote: 1. Stick with what we have now. 2. Use the table solution and accept the limitation that all lines must always be the same height. Why is this an issue Norm? How often in a fixed width font do users want

[docbook-apps] Re: Better rendering for programlisting

2012-05-15 Thread Norman Walsh
David Cramer da...@thingbag.net writes: 1. Remove the alt text, so that when the user copies the code listing nothing comes with it, but then you don't have alt text. All things considered, that seems the least objectionable. 2. Use SyntaxHighligher with modifications to allow callouts. This