Re: [docbook-apps] How do I embed fonts in a PDF?

2007-09-17 Thread Sheldon Plankton
Thanks Bob ...

So on my command line I could do something like this ...

$ xsltproc --output MY.fo \
> --stringparam fop.extensions 1 \
> --stringparam ulink.footnotes 1 \
> --stringparam embed-url 1 \
> --stringparam admon.graphics 1  ./style_pdf.xsl ideal_bartender_g.xml

... right?  Or do I need to set embed-url to some like
file://somepath/that/Ihave/no/clue/somefontfile

Thanks again.

On 9/17/07, Bob Stayton <[EMAIL PROTECTED]> wrote:
> Embedding of fonts is something that the XSL-FO processor does, not the
> stylesheet.   You will need to look at the documentation for the XSL-FO
> processor.  If you are using FOP, you can start here:
>
> http://xmlgraphics.apache.org/fop/0.93/fonts.html#embedding
>
> Font embedding can be done as a post-processing step too.  If you have
> Acrobat Standard, you can use Save As and select PostScript, then use
> Acrobat Distiller to open the PostScript file and save it as PDF again,
> this time specifying that all fonts should be embedded.  That isn't
> something you want to do very often, though.
>
> Bob Stayton
> Sagehill Enterprises
> DocBook Consulting
> [EMAIL PROTECTED]
>
>
> - Original Message -
> From: "Sheldon Plankton" <[EMAIL PROTECTED]>
> To: 
> Sent: Saturday, September 15, 2007 2:12 PM
> Subject: [docbook-apps] How do I embed fonts in a PDF?
>
>
> > Hi,
> >
> > I generated my PDF book with docbook and tried to upload it to lulu.com.
> > Lulu.com reject my upload stating that ...
> >
> >
> > Your document could not be created: This font is not embedded:
> > Helvetica-Bold ( How do I embed fonts?) This font is not embedded:
> > Helvetica ( How do I embed fonts?)
> > This font is not embedded: Times-Roman ( How do I embed fonts?)
> >
> > ... what are they talking about and what can I do in my custom style
> > sheet to fix it?
> >
> > Thank you.
> >
> > -
> > 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] Lines for simplesect in pdf

2007-09-17 Thread Bob Stayton
Something like the following should work:


  

  1pt solid black
  0pt none black

  
  

  3pt
  0pt

  


The simplesect titles are handled with the same templates as for sections.  The 
"section.title.properties" attribute-set is applied to all section levels.  In 
this case, two properties are added using xsl:choose with the condition testing 
for the parent of the title element.  The padding is added to provide a little 
breathing space for the title.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
[EMAIL PROTECTED]


  - Original Message - 
  From: Johnson, Eric 
  To: docbook-apps@lists.oasis-open.org 
  Sent: Monday, September 17, 2007 10:10 AM
  Subject: [docbook-apps] Lines for simplesect in pdf


  Is there are quick way to add a line (in PDF) before each simplesect?

  TIA
  Eric J.

Re: [docbook-apps] How do I embed fonts in a PDF?

2007-09-17 Thread Bob Stayton
Embedding of fonts is something that the XSL-FO processor does, not the 
stylesheet.   You will need to look at the documentation for the XSL-FO 
processor.  If you are using FOP, you can start here:


http://xmlgraphics.apache.org/fop/0.93/fonts.html#embedding

Font embedding can be done as a post-processing step too.  If you have 
Acrobat Standard, you can use Save As and select PostScript, then use 
Acrobat Distiller to open the PostScript file and save it as PDF again, 
this time specifying that all fonts should be embedded.  That isn't 
something you want to do very often, though.


Bob Stayton
Sagehill Enterprises
DocBook Consulting
[EMAIL PROTECTED]


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

To: 
Sent: Saturday, September 15, 2007 2:12 PM
Subject: [docbook-apps] How do I embed fonts in a PDF?



Hi,

I generated my PDF book with docbook and tried to upload it to lulu.com.
Lulu.com reject my upload stating that ...


Your document could not be created: This font is not embedded:
Helvetica-Bold ( How do I embed fonts?) This font is not embedded:
Helvetica ( How do I embed fonts?)
This font is not embedded: Times-Roman ( How do I embed fonts?)

... what are they talking about and what can I do in my custom style
sheet to fix it?

Thank you.

-
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] Lines for simplesect in pdf

2007-09-17 Thread JRancier
"Johnson, Eric" <[EMAIL PROTECTED]> wrote on 09/17/2007 01:10:08 PM:

| Is there are quick way to add a line (in PDF) before each simplesect?

Perhaps a  would fit the bill?

[docbook-apps] Lines for simplesect in pdf

2007-09-17 Thread Johnson, Eric
Is there are quick way to add a line (in PDF) before each simplesect?
 
TIA
Eric J.


[docbook-apps] Docbook, DITA and Sun

2007-09-17 Thread Dave Pawson

http://blogs.sun.com/coolstuff/entry/building_a_bridge_dita_docbook

subtitle. In a perfect world :-)

regards

--
Dave Pawson
XSLT, XSL-FO and Docbook FAQ
http://www.dpawson.co.uk


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