[docbook-apps] External entities to graphics lost during profiling

2008-02-05 Thread GUI Access

I am using Saxon 6-5-5, DocBook XSL 1.73.2, and DocBook XML 4.5.

External entities to graphics disappear when I profile a document.

I declared an entity in a test document as follows:

 
http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"; [

]>

I then inserted a mediaobject that referenced the entity:

 





The file test.gif is in the same directory as this document.

If I profile this document with profiling/profile.xsl and since the 
mediaobject element is not to be profiled out, it is copied verbatim 
to the profiled document.  However, the external entity to test.gif 
is lost, thus not making it possible to be passed onto HTML.


I am using XML catalogs to resolve the DTD location.

How can I fix this?

Thanks.

GUI Access


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [docbook-apps] Problems with and graphics.

2008-02-05 Thread Christian-Josef Schrattenthaler
Hi!

 

At this time, I am still testing DocBook and JavaHelp. Here is my testfile:

 

***



http://www.docbook.org/xml/4.5/docbookx.dtd";>





Do it!







Einleitung

Vielen Dank, dass Sie sich für 'Do it!' entschieden
haben!



1680x1050x32Bit











Das Menu DATEI

In diesem Kapitel werden die Menüpunkte des Menüs DATEI
beschrieben.





Der Menüpunkt BEENDEN

Über diesen Menüpunkt können Sie das Programm
verlassen.









Das Menu BEARBEITEN

In diesem Kapitel werden die Menüpunkte des Menüs BEARBEITEN
beschrieben.





Der Menüpunkt NEUE AUFGABE

Aufgabe hinzufügen



Über diesen Menüpunkt können Sie eine neue Aufgabe
hinzufügen.



1680x1050x32Bit











Der Menüpunkt AUFGABE LÖSCHEN

Aufgabe löschen



Über diesen Menüpunkt wird die aktuelle markierte Aufgabe
gelöscht.



640x480x256











Der Menüpunkt KATEGORIEN BEARBEITEN

Kategorie bearbeiten



Über diesen Menüpunkt gelangen Sie zur Verwaltung Ihrer
Kategorien.



1680x1050x32Bit













Das Menu HILFE

In diesem Kapitel werden die Menüpunkte des Menüs HILFE
beschrieben.





Über Do it!...

Über diesen Menüpunkt erhalten Sie weitere Informationen
über das Programm 'Do

it!'.



1680x1050x32Bit











 

***

 

I need a solution, which fixes the links to the image files after converting
from DocBook to JavaHelp. The directory information will not be updated to
fit the generated file and folder structure.

 

All other problems while converting from DocBook to JavHelp are solved, and
the system is working verry good!

 

Thanks,

Christian.

 

 

Von: Bob Stayton [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 05. Februar 2008 19:58
An: Christian-Josef Schrattenthaler; docbook-apps@lists.oasis-open.org
Betreff: Re: [docbook-apps] Problems with  and graphics.

 

Hi,

More details are needed to see how you are using the processing
instructions, what your output is, and what you expect it to be.

 

Bob Stayton
Sagehill Enterprises
[EMAIL PROTECTED]

 

 

- Original Message - 

From: Christian-Josef Schrattenthaler
  

To: docbook-apps@lists.oasis-open.org 

Sent: Monday, February 04, 2008 11:22 AM

Subject: [docbook-apps] Problems with  and graphics.

 

Hi!

 

I use the -tag to specify a directory and a filename for my
JavaHelp. This system seems to be working, and there is a logical structure
in my JavaHelp.

 

But now I must assert, that my links to the graphic files are broken. The
directory information to the files will not be updated.

 

Any idea?

 

Greetings,

Christian.



[docbook-apps] Spacing between bullet & text

2008-02-05 Thread spr

Hi


How can I control the spacing between the bullet and the first character in
the text -both for unorderedlist and orderedlist?


Essentially, i am trying to get from:


9. 
10. 

to

9.  
10. 


~spr
-- 
View this message in context: 
http://www.nabble.com/Spacing-between-bullet---text-tp15299085p15299085.html
Sent from the docbook apps mailing list archive at Nabble.com.


Re: [docbook-apps] header & footer in custom title page

2008-02-05 Thread Bob Stayton
Is readme inside single quotes inside the double quotes?  It must be to be 
recognized as a string instead of an element name:






select="'readme'"

Bob Stayton
Sagehill Enterprises
[EMAIL PROTECTED]


- Original Message - 
From: "spr" <[EMAIL PROTECTED]>

To: 
Sent: Tuesday, February 05, 2008 12:40 PM
Subject: Re: [docbook-apps] header & footer in custom title page




Hi Bob,

I tried to follow as per the link you mentioned. But get an exception:
SEVERE: Exception
javax.xml.transform.TransformerException: java.lang.IllegalStateException:
endElement() called for fo:root where there i
s no current element.
   at
org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168)
   at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
   at org.apache.fop.cli.Main.startFOP(Main.java:166)
   at org.apache.fop.cli.Main.main(Main.java:197)

-

; SystemID: file:/D:/wrk/BookTest/docbook-xsl-ns-1.73.2/fo/docbook.xsl;
Line#: 219; Column#: 59
javax.xml.transform.TransformerException: java.lang.IllegalStateException:
endElement() called for fo:root where there i
s no current element.
   at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2416)

--snip--remainder of errors ---snip---

Here is the modification in calling page-master:


Here is the template I created:
It is essentially a copy of "titlepage" in "fo/pagesetup.xsl"


   
 
   
 readme-first
   
 
 
 
 
 
   

   
 
   
 readme-odd
   
 
 
 
 
 
   

   
 
   
 readme-even
   
 
 
 
 
 
   

   
 
   
   
   
   
 
   
 readme-even
 readme-odd
   
 
   
 
   



Where could I be going wrong?

~spr


Bob Stayton wrote:


This line indicates you are using the 'titlepage' master name for your
extra
page:



That is why your new page sequence behaves like the front title pages. 
My

mail described how to set up an alternative master name to use on those
pages, then you can customize them to behave differently.  In this case,
just naming the master other than 'titlepage' will recover the headers 
and

footers.

Bob Stayton
Sagehill Enterprises
[EMAIL PROTECTED]




--
View this message in context: 
http://www.nabble.com/header---footer-in-custom-title-page-tp15246374p15299061.html

Sent from the docbook apps mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [docbook-apps] header & footer in custom title page

2008-02-05 Thread spr

Hi Bob,

I tried to follow as per the link you mentioned. But get an exception:
SEVERE: Exception
javax.xml.transform.TransformerException: java.lang.IllegalStateException:
endElement() called for fo:root where there i
s no current element.
at
org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
at org.apache.fop.cli.Main.startFOP(Main.java:166)
at org.apache.fop.cli.Main.main(Main.java:197)

-

; SystemID: file:/D:/wrk/BookTest/docbook-xsl-ns-1.73.2/fo/docbook.xsl;
Line#: 219; Column#: 59
javax.xml.transform.TransformerException: java.lang.IllegalStateException:
endElement() called for fo:root where there i
s no current element.
at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2416)

--snip--remainder of errors ---snip---

Here is the modification in calling page-master:


Here is the template I created:
It is essentially a copy of "titlepage" in "fo/pagesetup.xsl"



  

  readme-first

  
  
  
  
  



  

  readme-odd

  
  
  
  
  



  

  readme-even

  
  
  
  
  



  




  

  readme-even
  readme-odd

  

  




Where could I be going wrong?

~spr


Bob Stayton wrote:
> 
> This line indicates you are using the 'titlepage' master name for your
> extra 
> page:
> 
>name= "master-reference"
>   select  = "$titlepage-master-reference" />
> 
> That is why your new page sequence behaves like the front title pages.  My 
> mail described how to set up an alternative master name to use on those 
> pages, then you can customize them to behave differently.  In this case, 
> just naming the master other than 'titlepage' will recover the headers and 
> footers.
> 
> Bob Stayton
> Sagehill Enterprises
> [EMAIL PROTECTED]
> 
> 

-- 
View this message in context: 
http://www.nabble.com/header---footer-in-custom-title-page-tp15246374p15299061.html
Sent from the docbook apps mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [docbook-apps] Metadata in FO?

2008-02-05 Thread Jens Stavnstrup

Well, FOP Trunk supports XMP sort of according to

  http://wiki.apache.org/xmlgraphics-fop/HowTo/XMP

otherwise you can e.g. use iText to postprocess the the PDF document, see 
documentation on


  http://xmlgraphics.apache.org/fop/0.94/output.html#pdf

N.B the later technique also works for fop 0.20.5

Regards

Jens

On Tue, 5 Feb 2008, Bob Stayton wrote:

Getting PDF document information into the PDF requires an extension by the FO 
processor.  XEP and Antenna House have such extensions and the stylesheets 
make use of them.  I don't think FOP has such an extension.  If someone finds 
that it does, then please post a reference to it and file a bug report on 
SourceForge to get it supported in the stylesheets.


Bob Stayton
Sagehill Enterprises
[EMAIL PROTECTED]


- Original Message - From: "Chris Ridd" <[EMAIL PROTECTED]>
To: "W. Martin Borgert" <[EMAIL PROTECTED]>
Cc: 
Sent: Tuesday, February 05, 2008 7:40 AM
Subject: Re: [docbook-apps] Metadata in FO?




On 5 Feb 2008, at 13:33, W. Martin Borgert wrote:


Hi,

is there a way to get DocBook XML metadata into the PDF
metadata? Information such as Title, Author, Keywords? Or is it
all lost in the FO stage? TIA!

Btw. I'm using docbook-xsl 1.73.2, fop 0.94/xmlroff 0.5.3, and
xsltproc 1.1.22, if it matters.


It depends on the FO processor - they usually support PIs that let you 
include PDF metadata; the docbook xsl stylesheets already know to  write 
the correct PIs for FOP and XEP. (Maybe other processors, but  I've tried 
those two.)


Cheers,

Chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[docbook-apps] Symphony experience

2008-02-05 Thread Thomas R . Jones

Hello all,

Has anyone in the list had any experience utilizing the symphony cms?  
The XML/xslt implementation seems robust from an external point of  
view; but I would prefer to get a first hand point of view as well.


Thanks.

Sent from my iPhone

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [docbook-apps] About space between 2 glossentries

2008-02-05 Thread Bob Stayton
Indeed, there should be an attribute-set specifically for glossentry 
elements, but there isn't yet.  It uses the 'normal.para.spacing' 
attribute-set.   If you just change the values in that attribute-set, you 
would change all para spacing as well. You could use an xsl:choose statement 
in the attribute-set for each spacing attribute, or you could customize the 
glossentry template to use a different attribute-set.


Bob Stayton
Sagehill Enterprises
[EMAIL PROTECTED]


- Original Message - 
From: "Jacques Foucry" <[EMAIL PROTECTED]>

To: "docbook-apps" 
Sent: Monday, February 04, 2008 10:58 PM
Subject: [docbook-apps] About space between 2 glossentries


Hello,

I trying to change the space between two glossentries. I found how to
change it between two glossediv, with :


http://www.w3.org/1999/XSL/Format";
xsl:use-attribute-sets="glossdiv.titlepage.recto.style"
margin-left="{$title.margin.left}" font-size="13pt" font-
family="{$title.fontset}" space-before="34pt"
font-weight="bold" color="{$title.color}">






But I did not found anything for glossentry.

Thanks in advance,
Jacques
--
« Mac OS X Server à votre Service » est épuisé.
Vous pouvez désormais l'acquérir en PDF



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [docbook-apps] Howto generate index contents

2008-02-05 Thread 61Sniper

Hi,

thank you very much. I solved my problem with your Link. It is very easy and
helpful.

Cheers





Mauritz Jeanson wrote:
> 
>> -Original Message-
>> From: 61Sniper 
>> 
>> I`m not looking for changing style in the TOC. I would like 
>> change the font-size of the chapter (title) and sect1 (title).
>> My font-size is to big. I think it is 30pt. 
> 
> 
> http://www.sagehill.net/docbookxsl/TitleFontSizes.html#ChapterTitles
> http://www.sagehill.net/docbookxsl/TitleFontSizes.html#SectionTitles
> 
> /MJ
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Howto-generate-index-contents-tp15086168p15296983.html
Sent from the docbook apps mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [docbook-apps] header & footer in custom title page

2008-02-05 Thread Bob Stayton
This line indicates you are using the 'titlepage' master name for your extra 
page:




That is why your new page sequence behaves like the front title pages.  My 
mail described how to set up an alternative master name to use on those 
pages, then you can customize them to behave differently.  In this case, 
just naming the master other than 'titlepage' will recover the headers and 
footers.


Bob Stayton
Sagehill Enterprises
[EMAIL PROTECTED]


- Original Message - 
From: "spr" <[EMAIL PROTECTED]>

To: 
Sent: Tuesday, February 05, 2008 3:12 AM
Subject: Re: [docbook-apps] header & footer in custom title page




Bob,

1) I create extra page by custom spec based on 
"fo/titlepage.templates.xml"


   
   ...
   ...
   

2) Also updated the sequence to include:

 

   

   
 
   
 
   

 

~spr


Bob Stayton wrote:


Can you provide some more information about how you are creating your
extra
pages?  Are you creating a new page-sequence with page master-name
'titlepage'?  If so, I don't think there is enough information in the
context of the header/footer content templates to distinguish between
them.
You might need to add a new fo:page-sequence-master with a different
master-name, and use that for your extra pages.  Then the test won't 
match
on 'titlepage' and you should get headers and footers.   You don't need 
to

add new fo:simple-page-masters, you can just reuse the existing ones for
titlepage but with a new master-name.  Put the declaration in a template
named 'user.pagemasters', and customize the template named
'select.user.pagemaster', as described here:

http://www.sagehill.net/docbookxsl/PageDesign.html

Bob Stayton
Sagehill Enterprises
[EMAIL PROTECTED]




--
View this message in context: 
http://www.nabble.com/header---footer-in-custom-title-page-tp15246374p15287935.html

Sent from the docbook apps mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [docbook-apps] Metadata in FO?

2008-02-05 Thread Bob Stayton
Getting PDF document information into the PDF requires an extension by the 
FO processor.  XEP and Antenna House have such extensions and the 
stylesheets make use of them.  I don't think FOP has such an extension.  If 
someone finds that it does, then please post a reference to it and file a 
bug report on SourceForge to get it supported in the stylesheets.


Bob Stayton
Sagehill Enterprises
[EMAIL PROTECTED]


- Original Message - 
From: "Chris Ridd" <[EMAIL PROTECTED]>

To: "W. Martin Borgert" <[EMAIL PROTECTED]>
Cc: 
Sent: Tuesday, February 05, 2008 7:40 AM
Subject: Re: [docbook-apps] Metadata in FO?




On 5 Feb 2008, at 13:33, W. Martin Borgert wrote:


Hi,

is there a way to get DocBook XML metadata into the PDF
metadata? Information such as Title, Author, Keywords? Or is it
all lost in the FO stage? TIA!

Btw. I'm using docbook-xsl 1.73.2, fop 0.94/xmlroff 0.5.3, and
xsltproc 1.1.22, if it matters.


It depends on the FO processor - they usually support PIs that let you 
include PDF metadata; the docbook xsl stylesheets already know to  write 
the correct PIs for FOP and XEP. (Maybe other processors, but  I've tried 
those two.)


Cheers,

Chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [docbook-apps] Problems with and graphics.

2008-02-05 Thread Bob Stayton
Hi,
More details are needed to see how you are using the processing instructions, 
what your output is, and what you expect it to be.

Bob Stayton
Sagehill Enterprises
[EMAIL PROTECTED]


  - Original Message - 
  From: Christian-Josef Schrattenthaler 
  To: docbook-apps@lists.oasis-open.org 
  Sent: Monday, February 04, 2008 11:22 AM
  Subject: [docbook-apps] Problems with  and graphics.


  Hi!

   

  I use the -tag to specify a directory and a filename for my 
JavaHelp. This system seems to be working, and there is a logical structure in 
my JavaHelp.

   

  But now I must assert, that my links to the graphic files are broken. The 
directory information to the files will not be updated.

   

  Any idea?

   

  Greetings,

  Christian.


Re: [docbook-apps] Metadata in FO?

2008-02-05 Thread Chris Ridd


On 5 Feb 2008, at 18:01, W. Martin Borgert wrote:


On Tue, Feb 05, 2008 at 03:40:33PM +, Chris Ridd wrote:

On 5 Feb 2008, at 13:33, W. Martin Borgert wrote:

is there a way to get DocBook XML metadata into the PDF
metadata? Information such as Title, Author, Keywords? Or is it
all lost in the FO stage? TIA!


It depends on the FO processor - they usually support PIs that let  
you
include PDF metadata; the docbook xsl stylesheets already know to  
write
the correct PIs for FOP and XEP. (Maybe other processors, but I've  
tried

those two.)


How would I activate those PIs for use with FOP? I tried
fop.extensions and fop1.extensions w/o success. TIA!


Looking again at one of the docs we generate with fop, and while it  
has the PDF outline it doesn't have the title/author stuff set after  
all. Sorry to mislead you.


Apparently fop doesn't support doing that directly, according to .


You either have to post-process your PDF file, or use a different  
processor. XEP has worked very well for me in the past, though  
produces larger files than fop.


Cheers,

Chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [docbook-apps] Metadata in FO?

2008-02-05 Thread W. Martin Borgert
On Tue, Feb 05, 2008 at 03:40:33PM +, Chris Ridd wrote:
> On 5 Feb 2008, at 13:33, W. Martin Borgert wrote:
>> is there a way to get DocBook XML metadata into the PDF
>> metadata? Information such as Title, Author, Keywords? Or is it
>> all lost in the FO stage? TIA!
>
> It depends on the FO processor - they usually support PIs that let you  
> include PDF metadata; the docbook xsl stylesheets already know to write 
> the correct PIs for FOP and XEP. (Maybe other processors, but I've tried 
> those two.)

How would I activate those PIs for use with FOP? I tried
fop.extensions and fop1.extensions w/o success. TIA!


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [docbook-apps] Metadata in FO?

2008-02-05 Thread Keith Fahlgren
On Feb 5, 2008 7:40 AM, Chris Ridd <[EMAIL PROTECTED]> wrote:
>
> On 5 Feb 2008, at 13:33, W. Martin Borgert wrote:
> > is there a way to get DocBook XML metadata into the PDF
> > metadata? Information such as Title, Author, Keywords? Or is it
> > all lost in the FO stage? TIA!
> >
> It depends on the FO processor - they usually support PIs that let you
> include PDF metadata; the docbook xsl stylesheets already know to
> write the correct PIs for FOP and XEP. (Maybe other processors, but
> I've tried those two.)

Hi,

AntennaHouse's XSLFormatter does this via  described here:
http://www.antennahouse.com/xslfo/axf4-extension.htm#axf.document-info

This is handled in DocBook-XSL in the fo/axf.xsl stylesheet if the
correct parameter is set when running the stylesheets.

I'd expect similar behavior for the other processors, but don't know FOP.

HTH,
Keith

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [docbook-apps] Metadata in FO?

2008-02-05 Thread Chris Ridd


On 5 Feb 2008, at 13:33, W. Martin Borgert wrote:


Hi,

is there a way to get DocBook XML metadata into the PDF
metadata? Information such as Title, Author, Keywords? Or is it
all lost in the FO stage? TIA!

Btw. I'm using docbook-xsl 1.73.2, fop 0.94/xmlroff 0.5.3, and
xsltproc 1.1.22, if it matters.


It depends on the FO processor - they usually support PIs that let you  
include PDF metadata; the docbook xsl stylesheets already know to  
write the correct PIs for FOP and XEP. (Maybe other processors, but  
I've tried those two.)


Cheers,

Chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [docbook-apps] Howto generate index contents

2008-02-05 Thread Mauritz Jeanson
> -Original Message-
> From: 61Sniper 
> 
> I`m not looking for changing style in the TOC. I would like 
> change the font-size of the chapter (title) and sect1 (title).
> My font-size is to big. I think it is 30pt. 


http://www.sagehill.net/docbookxsl/TitleFontSizes.html#ChapterTitles
http://www.sagehill.net/docbookxsl/TitleFontSizes.html#SectionTitles

/MJ



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [docbook-apps] xref vs. olink

2008-02-05 Thread Peter Desjardins
> I'm cross posting this from the docbook list...
> I'm wondering which is more appropriate for creating 
> cross-references when working with modular content: xref or olink?

We decided to use only olinks because our content is used in a modular
way.  We can split files without concerns and if I publish a section or
chapter as a stand-alone document, the external and internal
cross-references are both handled appropriately.

So I'd say olink.

Peter Desjardins

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[docbook-apps] xref vs. olink

2008-02-05 Thread Johnson, Eric
I'm cross posting this from the docbook list...
I'm wondering which is more appropriate for creating cross-references
when working with modular content: xref or olink?
 
xref has very well defined behavior, but causes validation errors in
modules that have references to other modules. olink is tool chain
specific, but doesn't have the validation problem.
 
I'm working in an environment where section elements are the basic
building blocks of the complete documents. I also need to be able to
publish single chapters out of a book.
 
We use docbook 4.5 and have the tool chain set to prefer internal
olinks.
 
 


[docbook-apps] Metadata in FO?

2008-02-05 Thread W. Martin Borgert
Hi,

is there a way to get DocBook XML metadata into the PDF
metadata? Information such as Title, Author, Keywords? Or is it
all lost in the FO stage? TIA!

Btw. I'm using docbook-xsl 1.73.2, fop 0.94/xmlroff 0.5.3, and
xsltproc 1.1.22, if it matters.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [docbook-apps] Howto generate index contents

2008-02-05 Thread 61Sniper

Hi, 

I`m not looking for changing style in the TOC. I would like change the
font-size of the chapter (title) and sect1 (title).
My font-size is to big. I think it is 30pt. 






spr wrote:
> 
> Assume, you are looking for changing style in the TOC.
> 
> I use this for styling chapter, preface and appendix:
> 
>name= "toc.line.properties">
>name= "font-weight">
>   
>test  = "self::d:chapter | self::d:preface | self::d:appendix">
>   bold
> 
> 
>   normal
> 
>   
> 
> 
>   
> 
> You may want to try for sect1. (you will need to use 'font-size' instead
> of 'font-weight')
> 
> ~spr
> 
> 
> 61Sniper wrote:
>> 
>> Thank you very much. Your Link helped me. Just I have got another
>> problem. How can I change the font size of the Title of sect1 Element?
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Howto-generate-index-contents-tp15086168p15288446.html
Sent from the docbook apps mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [docbook-apps] header & footer in custom title page

2008-02-05 Thread spr

Bob,

1) I create extra page by custom spec based on "fo/titlepage.templates.xml"


...
...


2) Also updated the sequence to include:

  




  

  


  

~spr


Bob Stayton wrote:
> 
> Can you provide some more information about how you are creating your
> extra 
> pages?  Are you creating a new page-sequence with page master-name 
> 'titlepage'?  If so, I don't think there is enough information in the 
> context of the header/footer content templates to distinguish between
> them. 
> You might need to add a new fo:page-sequence-master with a different 
> master-name, and use that for your extra pages.  Then the test won't match 
> on 'titlepage' and you should get headers and footers.   You don't need to 
> add new fo:simple-page-masters, you can just reuse the existing ones for 
> titlepage but with a new master-name.  Put the declaration in a template 
> named 'user.pagemasters', and customize the template named 
> 'select.user.pagemaster', as described here:
> 
> http://www.sagehill.net/docbookxsl/PageDesign.html
> 
> Bob Stayton
> Sagehill Enterprises
> [EMAIL PROTECTED]
> 
> 

-- 
View this message in context: 
http://www.nabble.com/header---footer-in-custom-title-page-tp15246374p15287935.html
Sent from the docbook apps mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [docbook-apps] Howto generate index contents

2008-02-05 Thread spr

Assume, you are looking for changing style in the TOC.

I use this for styling chapter, preface and appendix:

  

  

  bold


  normal

  


  

You may want to try for sect1. (you will need to use 'font-size' instead of
'font-weight')

~spr


61Sniper wrote:
> 
> Thank you very much. Your Link helped me. Just I have got another problem.
> How can I change the font size of the Title of sect1 Element?
> 

-- 
View this message in context: 
http://www.nabble.com/Howto-generate-index-contents-tp15086168p15287818.html
Sent from the docbook apps mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [docbook-apps] Howto generate index contents

2008-02-05 Thread 61Sniper

Thank you very much. Your Link helped me. Just I have got another problem.
How can I change the font size of the Title of sect1 Element?




Bob Stayton wrote:
> 
> I think you are asking how to turn on section numbering for sections?  If 
> so, then set the stylesheet parameter section.autolabel to 1.  See this 
> reference for more information:
> 
> http://www.sagehill.net/docbookxsl/SectionNumbering.html
> 
> Or perhaps you just want the numbers in the TOC and not in the sections 
> themselves?
> 
> Bob Stayton
> Sagehill Enterprises
> [EMAIL PROTECTED]
> 
> 
> - Original Message - 
> From: "61Sniper" <[EMAIL PROTECTED]>
> To: 
> Sent: Friday, January 25, 2008 3:50 AM
> Subject: [docbook-apps] Howto generate index contents
> 
> 
>>
>> Hi guys,
>>
>> I have a problem. I generated a pdf-file with docbook. My index content
>> is
>> so:
>>
>> 1. chapter1...1
>>x1
>>x2
>>...
>> 2. chapter2...5
>>x6
>>x7
>>...
>> How can I generate an docbook such as below:
>>
>> 1. chapter1...1
>>1.1 x..1
>>1.2 x..2
>>...
>> 2. chapter2...5
>>2.1 x..6
>>2.2 x..7
>>
>> Can anyone help me?
>>
>> Thanks
>> -- 
>> View this message in context: 
>> http://www.nabble.com/Howto-generate-index-contents-tp15086168p15086168.html
>> Sent from the docbook apps mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Howto-generate-index-contents-tp15086168p15286949.html
Sent from the docbook apps mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]