Re: [docbook-apps] PDF Cutomization

2012-02-06 Thread Jacques Foucry
On 02/05/2012 06:17 PM, Bob Stayton wrote: Did RenderX change the shell script for running XEP in version 4.19? How does it compare to an earlier version? Well, Bob pointing me what was wrong. It was not XEP or the script shell which is the same but my custom stylesheet. I was using

[docbook-apps] PDF Cutomization

2012-02-05 Thread Jacques Foucry
Hello folks, Many times ago I tried to add variables text in my genereted PDF. I found simple workaroud: use --stringparam with xsltproc and -param with XEP (which is the one I use). So I call xep like that: xep -xsl myStylesheet.xsl -xml myFile.xml -param buyer.name=John Doe -pdf

[docbook-apps] titlepage custom need help

2012-01-31 Thread Jacques Foucry
Hello folks, I have a little trouble. I made several books with a working custom titlepage. I wrote a new book and try do use the same titlepage, but it does not work. To find what's wrong I made a small Docbook xml file, a custom stylesheet and a small custom titlepage. And it does not work...

Re: [docbook-apps] Do callouts on images work?

2011-04-12 Thread Jacques Foucry
Le 12.04.2011 17:28, Chris Ridd a écrit : Do they actually work? I fact, as Bob said, It doesn't work. I use a lot of callout bugs on my figure for my book. My solution (which is not very elegent) is to put manually the callout on a picture as background of a svg image. My callout bug are

Re: [docbook-apps] Do callouts on images work?

2011-04-12 Thread Jacques Foucry
On 12 avr. 2011, at 19:03, Chris Ridd wrote: It may not be elegant, but that's pretty clever! Are your bugs just drawn objects, or are they marked up as co elements? On the pictures, they are only draw objects. Then in the docbook source I do: figure xml:id=anID titlea title/title

Re: [docbook-apps] Do callouts on images work?

2011-04-12 Thread Jacques Foucry
On 12 avr. 2011, at 19:05, Chris Ridd wrote: So they work in programlistings but not mediaobjects? Unfortunately, yes ! Jacques - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands,

Re: [docbook-apps] Problem with cover

2011-03-02 Thread Jacques Foucry
Le 01.03.2011 18:48, Bob Stayton a écrit : Support for the cover element has not yet been added to the stylesheets. Currently the only help in XSL is a pair of empty placeholder templates named 'front.cover' and 'back.cover' that are called at the beginning of a book and the end, respectively.

Re: [docbook-apps] Problem with cover

2011-03-02 Thread Jacques Foucry
On 2 mars 2011, at 18:40, Bob Stayton wrote: Hello Bob, I'm trying to picture your output in my mind, and I think what you are seeing is a page that has the content of your front.cover template, followed by a titlepage with the book's title and author, followed by a copyright page. I

Re: [docbook-apps] Problem with cover

2011-03-01 Thread Jacques Foucry
Le 01.03.2011 18:48, Bob Stayton a écrit : Support for the cover element has not yet been added to the stylesheets. Currently the only help in XSL is a pair of empty placeholder templates named 'front.cover' and 'back.cover' that are called at the beginning of a book and the end, respectively.

[docbook-apps] Problem with cover

2011-02-28 Thread Jacques Foucry
/publisher copyright year2008/year holderJacques Foucry. Tous droits réservés./holder /copyright releaseinfo Publié à compte d’auteur par Jacques Foucry, sis au quatre-vingt-un de la

[docbook-apps] callout.unicode.font question

2010-07-09 Thread Jacques Foucry
Hello, I would like to use a unicode font for my callout which are some time up to 20. I found NumberPile http://www.dafont.com/numberpile.font. In http://docbook.xml-doc.org/snapshots/xsl/doc/html/callout.unicode.start.character.html we can read that the only start value supported is 10102.

[docbook-apps] epub generation

2010-04-26 Thread Jacques Foucry
Hello All, I'm trying to use the ThreePress python scripts which call the docbook/epub xslt. It should be possible to use a custom stylesheet which import the epub.xslt file. And I have a trouble with my informaltable : lxml.etree.XSLTApplyError: No adjustColumnWidths function available. I

[docbook-apps] Preprocess ?

2010-04-07 Thread Jacques Foucry
Hello list, I would like to make a kind of preprocess to my docbook's files but I don't know How to do that. Let me explain. Inside my sources file there is a lot of imageobject conformance=custom_size imagedata fileref=picture.tiff/ /imageobject imageobject conformance=USLetters

Re: [docbook-apps] Preprocess ?

2010-04-07 Thread Jacques Foucry
On 7 avr. 2010, at 13:00, Stefan Seefeld wrote: Hello Stefan, I believe that's exactly what profiling allows you to do. Specifically, with two-phase processing: http://www.sagehill.net/docbookxsl/AlternateText.html#ProfileFilter Yes, you find the answer. I read many times Bob's book and

[docbook-apps] Access to ancestor Font-size definition

2010-03-05 Thread Jacques Foucry
On 18 avr. 2008, at 01:20, Bob Stayton wrote: Hello, A long time ago I had a problem for resizing fonts in different context and Bob gave me this answer which until today. fo:inline xmlns:fo=http://www.w3.org/1999/XSL/Format; font-family=LucidaGrande font-weight=normal xsl:attribute

Re: [docbook-apps] Replace straight apostrophe with curly apostrophe

2010-02-19 Thread Jacques Foucry
On 18 févr. 2010, at 19:39, Bob Stayton wrote: Hi Bob, xsl:template match=d:para/text()|d:title/text() mode=no.anchor.mode xsl:value-of select=translate(.,$singlequote,$curlyquote)/ /xsl:template The 'no.anchor.mode' is used only for hot text, so that no nested links are created. Let

[docbook-apps] Replace straight apostrophe with curly apostrophe

2010-02-18 Thread Jacques Foucry
Hello list, After a long discussion in XEP-support mailing list I still have a problem for replacing straight apostrophe with curly apostrophe. I my custom stylesheet I've put: xsl:param name=singlequote xsl:text'/xsl:text /xsl:param xsl:param

Re: [docbook-apps] Apostrophe in docbook document

2010-01-25 Thread Jacques Foucry
On 25 janv. 2010, at 17:30, Mathieu Malaterre wrote: Hello, #3 is the fastest to type. #2 and #4 are ugly to read when editing the .xml file using text file. How about solution #1 In my source document I use the single quote (#4). In my custom stylesheet I change them by the curly quote

Re: [docbook-apps] Strange behaviors

2009-02-02 Thread Jacques Foucry
On 26 janv. 09, at 18:24, Bob Stayton wrote: Take a peek inside the FO file to see if the nonbreaking spaces are there. If so, then the stylesheet is working as expected, and the XSL-FO processor must be doing something with them. When I test with a French file, the non-breaking spaces

[docbook-apps] Strange behaviors

2009-01-23 Thread Jacques Foucry
Hello people, I noticed a strange behaviors with the french gentext for cross references. For exemple : section xml:idthis_is_my_section infotitleUne belle section/title/info para Des informations très intéressantes. /para /section section infotitleUne jolie section/title/info para

[docbook-apps] link strange behavior

2009-01-11 Thread Jacques Foucry
Hello folks, I nee some help about link in DocuBook 5.0, stylesheet 1.7.4. I create PDF and I would like to have the link with the UIR inside the link title. iMac -- with the link instead of iMac [http://www.apple/com/hardware/iMac] I cannot find a way to make it working each time.

Re: [docbook-apps] link strange behavior

2009-01-11 Thread Jacques Foucry
On 11 janv. 09, at 20:55, Jacques Foucry wrote: sometimes. How can i be sure to have the behavior I want ? I just discover the ulink.show parameter. Sorry ! Jacques -- Mac OS X Server à votre service, seconde édition (Leopard) est disponible au Monde en Tique http://www.lmet.fr

Re: [docbook-apps] survey of DocBook 5.0 validation tools

2008-12-15 Thread Jacques Foucry
On 15 déc. 08, at 20:31, Bob Stayton wrote: 1. Which schema type are you using (RelaxNG, DTD, XML Schema) and why. RelaxNG but I can't tell you why, I didn't try the other (except thew DTD). I've change when I upgraded for DB4 to DB5. 2. What editing tools are you using, and why.

Re: [docbook-apps] Define my own inline.sequence

2008-12-06 Thread Jacques Foucry
On 5 déc. 08, at 23:38, Scott Hudson wrote: I have font variants working via XEP: xsl:when test=@role='smallcaps' fo:inline font-variant=small-caps xsl:call-template name=inline.charseq/ /fo:inline /xsl:when The caveat, is

[docbook-apps] Define my own inline.sequence

2008-12-04 Thread Jacques Foucry
Hello every body, I would like to define two inline.sequence. One for use smallcaps and the other to use special fonts. So I tried that: xsl:template name=inline.smallcaps xsl:param name=content xsl:apply-templates/ /xsl:param fo:inline

Re: [docbook-apps] Glosssee bug ?

2008-05-06 Thread Jacques Foucry
On 5 mai 08, at 18:34, Bob Stayton wrote: Or perhaps you have trailing white space such as a carriage return in your source element? glossseeSome text /glosssee You're right. Some text re-factoring change some carriage return. :-( Thanks for your help. Jacques

[docbook-apps] Strange behaviors in appendix

2008-05-05 Thread Jacques Foucry
Hello, I redifined some generated in my custom stylesheet : l:i18n xmlns:l=http://docbook.sourceforge.net/xmlns/l10n/1.0; l:l10n xmlns:l=http://docbook.sourceforge.net/xmlns/l10n/ 1.0 language=fr english-language-name=French l:context name=title

Re: [docbook-apps] Strange behaviors in appendix

2008-05-05 Thread Jacques Foucry
On 5 mai 08, at 14:38, Jacques Foucry wrote: I answer my self. Inside my chapter if I make a reference to a figure with xref linkend=foo/ the generated texte in : figure 1.11 But in the appendix the generated texte remain with an uppercase 'F' : Figure A.2 Is appendix use another method

[docbook-apps] Glosssee bug ?

2008-05-02 Thread Jacques Foucry
Hello list, Is this a bug that the generated text by glosssee have a space before the final dot ? In french the result is : Daemon Voir Démon . How can I change that if is not a bug ? I use the latest snapshot : docbook-xsl-ns-snapshot.zip Thanks in advance, Jacques

Re: [docbook-apps] About Index chapter title

2008-04-27 Thread Jacques Foucry
On 19 avr. 08, at 10:56, Jacques Foucry wrote: On 29 janv. 08, at 20:51, Bob Stayton wrote: The param: mechanism in the title page spec file passes parameters to the named template. Does your named template chapappendix.title declare a parameter named pagewide, and then do something

Re: [docbook-apps] About Index chapter title

2008-04-19 Thread Jacques Foucry
On 29 janv. 08, at 20:51, Bob Stayton wrote: The param: mechanism in the title page spec file passes parameters to the named template. Does your named template chapappendix.title declare a parameter named pagewide, and then do something with the value? Something like: xsl:template

[docbook-apps] Font-size definition

2008-04-17 Thread Jacques Foucry
Hello folks, In my custom stylesheet I defined my own template for guilabel, guimenu, etc. Sometimes I use those tags inside section title and I would like to a font-size proportional to the title font size. I tried with font-size=0.9em (in the fo:inline statement). It's ok for the

Re: [docbook-apps] Once again french hyphenation

2008-03-21 Thread Jacques Foucry
On 16 mars 08, at 13:08, Thomas Schraitle wrote: See also the following URL, there might be other options. For example, you can/could(?) use the LaTeX notation for accented characters: http://www.renderx.com/reference.html#Linguistic_Hyphenation It seems working with LaTeX notation.

[docbook-apps] About space between 2 glossentries

2008-02-04 Thread Jacques Foucry
Hello, I trying to change the space between two glossentries. I found how to change it between two glossediv, with : xsl:template match=d:title mode=glossdiv.titlepage.recto.auto.mode fo:block xmlns:fo=http://www.w3.org/1999/XSL/Format;

[docbook-apps] About Index chapter title

2008-01-25 Thread Jacques Foucry
Hi, After my question and Bob's help about my chapter/appendix/preface title customization I still have a problem with the Index title. I'made my titlepage spec with : t:titlepage t:element=index t:wrapper=fo:block t:titlepage-content t:side=recto title

Re: [docbook-apps] About preface title customization

2008-01-23 Thread Jacques Foucry
On 22 janv. 08, at 21:19, Bob Stayton wrote: In the original titlepage.templates.xml specification file, you will see that chapter, appendix, preface, and other elements specify using: title t:named-template=component.title Yes, I reread the chapter on your book, and I use the method with

[docbook-apps] About preface title customization

2008-01-20 Thread Jacques Foucry
Hello, I successfully customize my chapter title with those custom stylesheet : xsl:attribute-set name=chap.title.properties xsl:attribute name=color xsl:value-of select=$title.color/ /xsl:attribute xsl:attribute name=font-weightbold/xsl:attribute

[docbook-apps] Strange behaviors with latest snapshot

2007-12-19 Thread Jacques Foucry
Hello, Today I've downloaded the latest snapshot of docbook-xsl-ns, dated from decembre 14th. I tried to generated a well known XML source to a PDF and I've got a lots of error. Switching back to the previous snapshot, the generation works. The errors are : SystemID:

Re: [docbook-apps] Strange behaviors with latest snapshot

2007-12-19 Thread Jacques Foucry
On 19 déc. 07, at 20:23, Mauritz Jeanson wrote: This was my fault. I have fixed it now, I hope (keep your fingers crossed...). Jacques, please do another test with the latest snapshot. It works with the new snapshot. Thanks for your help, Jacques -- « Mac OS X Server à votre Service » est

[docbook-apps] About figure references

2007-12-03 Thread Jacques Foucry
Hello, I try to customize my figures legend. In french Figure x.yy should be on small caps and the legend it self should be in italic. So I took form Bob's book a customization code and I customize it again: xsl:template name=formal.object.heading xsl:param

Re: [docbook-apps] computeroutput inside a section title

2007-11-08 Thread Jacques Foucry
On 8 nov. 07, at 16:36, Jeff Beal wrote: This is what the 'em' unit is for. 1em is equivalent to the same font size as the containing content, so if you want to always use a slightly smaller point size for your monospaced font than for your variable width fonts, you just change

[docbook-apps] computeroutput inside a section title

2007-11-06 Thread Jacques Foucry
Hello, Sometimes in my book I need to use my monospaced fonts inside a section title. section infotitleAbout computeroutup/etc/postfix/main.cf/ computeroutput/title/info I defined my section title like that: xsl:attribute-set name=section.title.level1.properties

Re: [docbook-apps] role and xml:id

2007-11-03 Thread Jacques Foucry
On 3 nov. 07, at 13:23, Thomas Schraitle wrote: A solution could be to insert the parent para with an os=leopard like this: para os=leopardPlease refer to xref linkend=anID/./para Did you tried this? I just tried and it works. I found the exact problem. with profile.os=tiger defined

Re: [docbook-apps] role and xml:id

2007-11-02 Thread Jacques Foucry
On 2 nov. 07, at 23:35, Thomas Schraitle wrote: 1. Did you validate your files? How? My files are validate with saxon with a oXygenXML scenario. 2. Do you use XIncludes or external entities? I use XInclude, enabled in oXygenXML, and it works, all the texts are présent in my PDF. 3.

[docbook-apps] role and xml:id

2007-11-02 Thread Jacques Foucry
Hello folks, My new book is an update of the previous one. I would like to keep the old source in the new one. So for the new part (section or para) I use the role os=leopard (yes I write something about leopard). I add xml:id parameters in some tags : section os=leopard xml:id=anID

Re: [docbook-apps] Multi callout

2007-10-05 Thread Jacques Foucry
On 27 sept. 07, at 19:45, Mauritz Jeanson wrote: calloutlist ?dbfo label-width=5em? ... /calloutlist Yes, it works. Thanks a lot for your help, and sorry to answer so late but I was out of my office and home for the last three weeks. I will try to redefine calloutlist in my custom

[docbook-apps] Multi callout

2007-09-23 Thread Jacques Foucry
Hello All, I use a lot of callout and calloutlist. Sometime 2 numbers share the same explanation. So in the calloutlist I use that to have the two numbers in the same line : calloutlist callout arearefs=num1 num2parablablabla/para/callout callout arearefs=num3paraother

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

2007-09-15 Thread Jacques Foucry
On 15 sept. 07, at 23:26, Sheldon Plankton wrote: Thanks Jacques ... can you point me to that XEP example ... BTW what's XEP? :) XEP is another xslt-fo processor (not free) like FOP. The sample is that : font-family name=Palatino embed=true ligatures=#xFB00; #xFB01; #xFB02; #xFB03;

Re: [docbook-apps] Changing sub-title color

2007-08-16 Thread Jacques Foucry
On 16 août 07, at 15:12, Kari Bourgeois wrote: Hi, Can someone point me to how best to change the subtitle on a titlepage color to green. I’ve tried a few things and can’t seem to get it. I do that in my custom stylesheet xsl:param name=title.color #334D89

[docbook-apps] application xsl-template

2007-08-13 Thread Jacques Foucry
Hello, It's stupdi, I know, but I cannot find de application xsl-template definition in the last 1.73 snapshot. Who can tel me where I can find it ? Thanks in advance, Jacques -- « Mac OS X Server à votre Service » est épuisé. Vous pouvez désormais l'acquérir en PDF

[docbook-apps] About keep-together

2007-08-05 Thread Jacques Foucry
Hello, I have a little problem with a para containing an image. I would like to have all this para in the same page. I tried with ?bjfo keep-together? juste after the para tag. But it doesn't work. And I read in Bob's book about keep-together is useful for table, figures and equations.

[docbook-apps] I don't understand how it works...

2007-07-24 Thread Jacques Foucry
Hello, I write my books in french. In the cover page I would like to have the édition number (first - première, second - seconde, etc). So in my book/info I've put edition os=linux2.4Première/edition edition os=linux2.6Seconde/edition The result is, according of the os parameter : Première

Re: [docbook-apps] Docbook 5.0 snapshot

2007-07-22 Thread Jacques Foucry
On 19 juil. 07, at 17:16, Bob Stayton wrote: Hmm, I just tried that URL and it worked for me. The latest snapshot is from July 8. This URL works but which archive is for docbook 5.0 ? I don't find docbook5-xsl-snasphot archive like I found one dated from june 7. I tried

[docbook-apps] Docbook 5.0 snapshot

2007-07-19 Thread Jacques Foucry
Hello, Regularly, I have a look to the 5.0 xsl snapshot at http:// docbook.sourceforge.net/snapshots/. Since about the start of july I cannot find this snapshot. Have they disappears ? Is there an other url that I did not already find? Thanks in advance, Jacques -- « Mac OS X Server à

[docbook-apps] Callout inline

2007-07-06 Thread Jacques Foucry
Hello folks, I trying, with docbook 5.0 to have some inline callout bug. I tried sommething like that : para programlisting blahblahlah co xml:idmyID_CO linkends=myLinks/ /programlisting In this listing we blahblah callout arearefs=myID_CO xml:id=myLinks/ /para But I always have a

[docbook-apps] Todo tag

2007-06-21 Thread Jacques Foucry
Hello, I am looking for a tag, like todo/ which put in the generated html or PDF, or other output something like a TODO word, in red. Is it possible ? Jacques -- « Mac OS X Server à votre Service » en vente au Monde en Tique. http://www.lmet.fr/fiche.cgi?_ISBN=9782952726603 Désolé, c'est

[docbook-apps] Docbook 5.0 and imageobjectco

2007-05-27 Thread Jacques Foucry
Hello, Is imageobjectco with area and coords work in docbook 5.0. As I remember it doesn't work well with previous version, but now ? http://www.docbook.org/tdg5/en/html/imageobjectco.html This exemple work put I tried to use it in for mu PDF output and It seems not working. figure

Re: [docbook-apps] Converting from DocBook XML 4.4 to 5.0

2007-04-03 Thread Jacques Foucry
On 3 avr. 07, at 16:28, Mykone Saunders wrote: Is there a tool to convert DocBook 4.4 document to 5.0? Also, is there any advantage to convert to 5.0? You can find a xslt with Docbook-5.0CR3 in the tools directory called db2-upgrade.xsl with db4-entities.pl perl script. I can't tell you

[docbook-apps] Docbook 5.0 cover statement

2007-03-01 Thread Jacques Foucry
Hello people, I read here that the new tag cover in docbook 5.0 is not totally supported. Is that the reason the book title and author name are in light grey in the PDF output file ? How can I change the color ? Thanks in advance, Jacques Foucry -- « Mac OS X Server à votre Service » en