[docbook-apps] Making the HTML article info header more compact

2015-12-17 Thread Lars Vogel
Hi, If I'm running the XLST transformation for my DocBook 4.5 articles I get a relative long result. [image: Inline-Bild 3] I just played a bit with Asciidoc and the generated HTML info header is much more condensed. [image: Inline-Bild 2] Does anyone know how I can adjust the XLST to but aut

Re: [docbook-apps] Re: Tools to make DocBook easier

2015-12-07 Thread Lars Vogel
Hi Norman, Nice to see a Gradle toolchain for creating DocBook output. Thanks for that. May I ask where does the code for the 'org.docbook.task' Gradle plug-in lives? Best regards, Lars 2015-09-15 16:05 GMT+02:00 Norman Walsh : > Warren Block writes: > > What tools are there to make working

Re: [docbook-apps] Correct usage of the copyright tag

2015-11-06 Thread Lars Vogel
#x27;make.year.tanhes' >> parameter to a non-zero value. >> >> -- >> Excuse brevity. Sent from mobile device. >> On Nov 2, 2015 9:57 AM, "Lars Vogel" wrote: >> >>> Hi, >>> >>> what is the "correct" w

[docbook-apps] Correct usage of the copyright tag

2015-11-02 Thread Lars Vogel
Hi, what is the "correct" way of using the copyright tag for multiple years? I used to use the following: 2007 2008 2009 2010 2011 2012 2013 2014 2015 Someone But that resul

Re: [docbook-apps] DocBook XSL 1.79.0 release is available

2015-10-29 Thread Lars Vogel
Thanks Stefan for the answer. Really great news that DocBook is moving to Github. Best regards, Lars 2015-10-16 1:25 GMT+02:00 Stefan Seefeld : > Hi Lars, > > On 15.10.2015 19:14, Lars Vogel wrote: > > Hi Bob, > > > > thanks a bunch. I'm happy to hear about the

Re: [docbook-apps] DocBook XSL 1.79.0 release is available

2015-10-15 Thread Lars Vogel
Hi Bob, thanks a bunch. I'm happy to hear about the move to Github. I missed that announcement. What is the current state of that move and the new repository location? Best regards, Lars 2015-10-16 0:33 GMT+02:00 Bob Stayton : > I finally finished putting together a new release of the DocBook

Re: [docbook-apps] should become in another book

2015-08-19 Thread Lars Vogel
xpointers). > > Hope this helps! > > Regards > /frank > > > 19 aug 2015 kl. 14:21 skrev Lars Vogel : > > Hi, > > I use xinclude to include certain documents in different books. In a > certain context I want to use it as part in another as appendix. > > I t

[docbook-apps] should become in another book

2015-08-19 Thread Lars Vogel
Hi, I use xinclude to include certain documents in different books. In a certain context I want to use it as part in another as appendix. I tried to remove the top level node with the following to my customization layer: And include it into the books like this: Gerrit code reviews with Ec

Re: [docbook-apps] Default for scale factor for images

2015-08-14 Thread Lars Vogel
> > > > 0 > > 1.0 xsl:when> > > > > > > > > > > > > > > > > > > > > Regards, Benjamin > > > >

[docbook-apps] Default for scale factor for images

2015-08-04 Thread Lars Vogel
Hi, for my screenshots I typically add a scale factor of 40 to make the images size well. Application Model UI Elements Is there a general parameter for this? My desired behavior would be that I can define a default for all imageobject which do not specify this parameter but override it

Re: [docbook-apps] Warning if fop generation - table-layout="auto"

2014-08-01 Thread Lars Vogel
eet to output table-layout="fixed", instead of just allowing the > default value of "auto". > > Bob Stayton > Sagehill Enterprises > b...@sagehill.net > > > On 7/31/2014 5:06 AM, Lars Vogel wrote: > >> Hi, >> >> If I generate PDF from

[docbook-apps] Warning if fop generation - table-layout="auto"

2014-07-31 Thread Lars Vogel
Hi, If I generate PDF from DocBook via the XSL stylesheets I get lots of warning messages like the following: [fop] WARNING: The following feature isn't implemented by Apache FOP, yet: table-layout="auto" (on fo:table) I used to ignore them, as the output looks OK but as I recently did not see a

Re: [docbook-apps] PDF output should contain only the URL for ulinks

2014-07-31 Thread Lars Vogel
quot;./@url" > > or just > > select="@url" > > Bob Stayton > Sagehill Enterprises > b...@sagehill.net > > > On 6/2/2014 12:11 AM, Lars Vogel wrote: > >> Hi, >> >> >> I have the following statement in my Docbook 4.5 XML. >>

[docbook-apps] PDF output should contain only the URL for ulinks

2014-06-02 Thread Lars Vogel
Hi, I have the following statement in my Docbook 4.5 XML. -- You find it under the following URL: http://www.eclipse.org/legal/clafaq.php";>Eclipse CLA FAQ. - For PDF output I would like to include only the link and not the text. I though the following might work but it didn't.

Re: [docbook-apps] Docbook to epub - Extra field length for first filename must be 0, but was ..

2014-02-18 Thread Lars Vogel
By the way, even with this error calibre has not issues opening the generate epub file. Maybe this is just a false alarm by epubcheck? Best regards, Lars 2014-02-18 14:45 GMT+01:00 Lars Vogel : > Thanks everyone for the help. I think my setup is the same as Richard > posted it. > >

Re: [docbook-apps] Docbook to epub - Extra field length for first filename must be 0, but was ..

2014-02-18 Thread Lars Vogel
Thanks everyone for the help. I think my setup is the same as Richard posted it. I now tried Java 7 as well as Java 8 but I get the same error. I'm using Ant version 1.9.2 is case that is relevant. Best regards, Lars 2014-02-18 13:14 GMT+01:00 Christian Roth : > Hi, > > Maybe the cause for the

Re: [docbook-apps] Epub and Saxon

2014-02-17 Thread Lars Vogel
; Sagehill Enterprises > b...@sagehill.net > > On 2/17/2014 6:42 AM, Lars Vogel wrote: > >> Hi, >> >> I just ran into the same issue describe in this email conversation(from >> May >> 2013). Looks to me that there was no new release of the XSL sheets since &g

Re: [docbook-apps] Docbook to epub - Extra field length for first filename must be 0, but was ..

2014-02-17 Thread Lars Vogel
.2014 17:28 schrieb "Nils Cordes" : >> >>> Hey Lars, >>> >>> I think there is an error in the zip part of your Ant buildfile. Try to >>> change "temp.mimetype" to "mimetype.zip". >>> >>> >> >> >>

Re: [docbook-apps] Docbook to epub - Extra field length for first filename must be 0, but was ..

2014-02-17 Thread Lars Vogel
nge "temp.mimetype" to "mimetype.zip". > > > Best regards > > Nils > > > > 2014-02-17 16:32 GMT+01:00 Lars Vogel : > >> Hi, >> >> I'm generating epub from Docbook via Apache Ant and I'm getting the >> following

[docbook-apps] Docbook to epub - Extra field length for first filename must be 0, but was ..

2014-02-17 Thread Lars Vogel
Hi, I'm generating epub from Docbook via Apache Ant and I'm getting the following error during the validation with Epubcheck. [java] Epubcheck Version 3.0ERROR: /home/vogella/workspace/docu/de.vogella.publishing/../output/epub/book.epub: Extra field length for first filename must be 0, but w

Re: [docbook-apps] Epub and Saxon

2014-02-17 Thread Lars Vogel
Hi, I just ran into the same issue describe in this email conversation(from May 2013). Looks to me that there was no new release of the XSL sheets since May 2013 (according to http://sourceforge.net/projects/docbook/files/docbook-xsl/) is this planned for the near future? Best regards, Lars 2

Re: [docbook-apps] WARNING: cannot add @xml:base to node set root element. Relative paths may not work.

2013-05-15 Thread Lars Vogel
n that is not what the XInclude spec says, nor what the DocBook > > stylesheet expects. > > > > Bob Stayton > > Sagehill Enterprises > > b...@sagehill.net > > > > -- > > From: "Alexey Neyman" >

[docbook-apps] WARNING: cannot add @xml:base to node set root element. Relative paths may not work.

2013-05-14 Thread Lars Vogel
Hello, since a while I get the following warning during the transformation with the docbook distribution: WARNING: cannot add @xml:base to node set root element. Relative paths may not work. I'm not sure what triggers this warning, a Google search resulted in hints about Docbook V5.0 but I'm st

Re: [docbook-apps] epub generation result has incorrect DocType

2013-04-19 Thread Lars Vogel
otice that you are using > epubcheck version 3 to check epub2 files. It is possible that the new > version of epubcheck is more picky. Did your old epubs have the DOCTYPE? > > Bob Stayton > Sagehill Enterprises > b...@sagehill.net > > *From:* Lars Vogel > *Sent:* Thu

Re: [docbook-apps] epub generation result has incorrect DocType

2013-04-18 Thread Lars Vogel
x 2005-1//EN" " > http://www.daisy.org/z3986/2005/ncx-2005-1.dtd";>'. > > My input looks simular to the XML file listed below. > > Any advice how to remove this error? I'm using DocBook XSL 1.77 for the > transformation. > > Best regards, Lars > &

[docbook-apps] epub generation result has incorrect DocType

2013-04-17 Thread Lars Vogel
expecting 'http://www.daisy.org/z3986/2005/ncx-2005-1.dtd";>'. My input looks simular to the XML file listed below. Any advice how to remove this error? I'm using DocBook XSL 1.77 for the transformation. Best regards, Lars Java programming with the Eclipse IDE Lars Vogel 2007

Re: [docbook-apps] Own Syntaxhighting with "keywords" which have spaces

2013-02-22 Thread Lars Vogel
attribute Best regards, Lars 2013/2/22 Jirka Kosek : > On 21.2.2013 20:45, Lars Vogel wrote: > >> Is this possible to define keyword with spaces? If yes, how? > > Probably no, but you can do this using regex highlighter. I suggest > consulting XSLTHL documentation and

[docbook-apps] Own Syntaxhighting with "keywords" which have spaces

2013-02-21 Thread Lars Vogel
Hello, I learned from Thomas Schraitle how to create my own definition file for a language for syntax highlighting. I just create an new file for example bourne-hl.xml and declare it in the highlighting/xslthl-config.xml file. What I could not figure out is, if it is possible to define keywords w

Re: [docbook-apps] Docbook to PDF via FOP question which related to ANT

2013-02-20 Thread Lars Vogel
Thanks everyone for the suggestions. works well for me. Best regards, Lars 2013/2/20 Dew, Simon : > Sorry, should of course refer to the > expected pdf file. > > I will be quiet about this now. > > Simon Dew > > Tec

[docbook-apps] Docbook to PDF via FOP question which related to ANT

2013-02-20 Thread Lars Vogel
Hi, not sure if this is the right distribution list. I'm running an Apache Ant build to create PDF files from Docbook input. This includes the translation to fop and afterwards running the Ant task. If I assigned twice the the same ID I get Java exceptions. See below for an example. All this is

Re: [docbook-apps] Titlepage for HTML output

2012-11-28 Thread Lars Vogel
Hi Bob and everybody I think without changing the HTML structure or using jQuery it is not possible, as each element is in its own without classes. I will try to change the templates. They seem a bit distributed in the xsl file. Best regards, Lars 2012/11/27 Lars Vogel > Hello

Re: [docbook-apps] Titlepage for HTML output

2012-11-27 Thread Lars Vogel
Hello Bob, thanks, I give it a try with CSS. My first test with display:inline was not successful but I play with it a bit. Best regards, Lars 2012/11/25 Bob Stayton > display: inline;

[docbook-apps] Titlepage for HTML output

2012-11-21 Thread Lars Vogel
Hello, currently the HTML output of the Docbook XLST files separates the Author, Version and Release date in the output, see attached screenshot.I would like to put all three elements in the same line to use less space Does anyone of have an example customization of titlepage.xsl available which

[docbook-apps] Thank you

2012-07-12 Thread Lars Vogel
Hello everybody, I hope I'm not spamming this group, but I wanted to thank all of you for the help with the Docbook to PDF translation process. I released my first paper book as self-publisher (I avoid adding a link to as I don't want to spam). IMHO the book really looks good and professional tha

Re: [docbook-apps] Converting Docbook epub to Kindle shows warnings

2012-07-12 Thread Lars Vogel
rent, but it’s an idea. > > > > From: Bob Stayton [mailto:b...@sagehill.net] > Sent: Tuesday, July 10, 2012 10:54 AM > To: Lars Vogel; DocBook Apps > Subject: Re: [docbook-apps] Converting Docbook epub to Kindle shows warnings > > > > I have also seen those messages an

Re: [docbook-apps] Converting Docbook epub to Kindle shows warnings

2012-07-12 Thread Lars Vogel
errors. However, kindlegen > still Forcefully closes the valid and > elements in the TOC file. > > Bob Stayton > Sagehill Enterprises > b...@sagehill.net > > > > - Original Message - > From: Lars Vogel > To: DocBook Apps > Sent: Tuesday, July 10, 201

Re: [docbook-apps] Converting Docbook epub to Kindle shows warnings

2012-07-10 Thread Lars Vogel
Hi Michael, I use epub validator and it shows no error. But still I would be interested if someone from this group had a similar issue and maybe a solution. Best regards, Lars 2012/7/10 Michael Wiedmann : > Lars Vogel wrote: > >> During the conversion to .mobi via the Amazon comma

Re: [docbook-apps] Reducing the text size for table elements (PDF output)

2012-07-10 Thread Lars Vogel
en to use table). > > Good Luck, > Dick > --- > XML Press > XML for Technical Communicators > http://xmlpress.net > hamil...@xmlpress.net > > > > On Jul 3, 2012, at 8:54 AM, Lars Vogel wrote: > >> Hello, >> >> I would like to reduce the text si

[docbook-apps] Two TOC in a book one only for the Parts and another "normal" one

2012-07-04 Thread Lars Vogel
Hi, I would like to have two TOC for my book. One which only contains the titles of the Parts (for a quick overview) and another "normat" one. How would I do this? Best regards, Lars - To unsubscribe, e-mail: docbook-apps-unsubs

Re: [docbook-apps] Reducing the text size for table elements (PDF output)

2012-07-03 Thread Lars Vogel
Dean, looks super professional and cool! Thanks a lot. Best regards, Lars 2012/7/3 : > Lars, > I make my adjustments via a parameter as below. > Hope this helps. > > Dean Nelson > --- > > > 1.0 > 1.0 > > > name="keep-together.wi

Re: [docbook-apps] Potential typo in Bobs Book

2012-07-03 Thread Lars Vogel
ort. > It's noted in the book's Errata page: > > http://sagehill.net/book-errata.html > > Bob Stayton > Sagehill Enterprises > b...@sagehill.net > > > ----- Original Message - From: "Lars Vogel" > To: "DocBook Apps" > Sent: Tuesday, J

[docbook-apps] Reducing the text size for table elements (PDF output)

2012-07-03 Thread Lars Vogel
Hello, I would like to reduce the text size for a table (for example to body.font.master *0.9 or to a fixed value like 10px). Is there a parameter for this? Best regards, Lars - To unsubscribe, e-mail: docbook-apps-unsubscr...@

[docbook-apps] Potential typo in Bobs Book

2012-07-03 Thread Lars Vogel
Hi, I think an example in Bobs book might have a small typo: http://www.sagehill.net/docbookxsl/PrintToc.html 10pt bold normal I think the is missing about the . At least that made the example work for me. Best regards, Lars

Re: [docbook-apps] Titlepage

2012-07-03 Thread Lars Vogel
e maintained by people who don't know XSL. > Then they can at least tweak the titlepages. > > > Bob Stayton > Sagehill Enterprises > b...@sagehill.net > > > - Original Message - From: "Bob Stayton" > To: "Lars Vogel" ; "Richar

Re: [docbook-apps] Titlepage

2012-06-26 Thread Lars Vogel
you all you need. > > Good Luck, > Dick > --- > XML Press > XML for Technical Communicators > http://xmlpress.net > hamil...@xmlpress.net > > > > On Jun 25, 2012, at 4:07 PM, Lars Vogel wrote: > >> Hi Dick, >> >> I would prefer to changing

Re: [docbook-apps] Reducing the top-margin and botton margin in programlisting

2012-06-26 Thread Lars Vogel
n > Sagehill Enterprises > b...@sagehill.net > > > - Original Message - From: "Lars Vogel" > To: "Bob Stayton" > Cc: "DocBook Apps" > Sent: Monday, June 25, 2012 3:12 PM > Subject: Re: [docbook-apps] Reducing the top-margin and b

Re: [docbook-apps] Titlepage

2012-06-25 Thread Lars Vogel
ok XSL: The Complete Guide. > > You can find this section in the online version at: > http://www.sagehill.net/docbookxsl/HTMLTitlePage.html > > Best Regards, > Dick Hamilton > --- > XML Press > New from XML Press: > The Content Pool > http://xmlpress.net/publicat

[docbook-apps] Titlepage

2012-06-25 Thread Lars Vogel
Hello, which template is called for the Titlepage? I would like to increase the "magin-top" value until the text is horizontally centered. Currently it starts at the top of the page. Best regards, Lars -- Lars http://www.vogella.com - Eclipse, Android and Java Tutorials http://www.twitter.c

Re: [docbook-apps] Background for programlisting

2012-06-17 Thread Lars Vogel
> monospace.verbatim.properties. You lose the ability to turn off the shading > with the 'shade.verbatim' parameter, since that attribute set is used when > shade.verbatim=0.  But if your style always calls for shaded programlisting, > you may not need that param. > > Bob

Re: [docbook-apps] Background for programlisting

2012-06-15 Thread Lars Vogel
Hi Dean, thanks again. Is it possible to activate the shade.verbatim only for programlisting? I also use (many for quotes and titels) and I would prefer not to have the background set for this one. Best regards, Lars 2012/6/15 : > Lars, > Not sure what happened in your laye

[docbook-apps] Reducing the top-margin and botton margin in programlisting

2012-06-15 Thread Lars Vogel
Hello, I my PDF output I would like to reduce the top and botton margin which is added to a programlisting section. Attached a screenshot of the current output, the highlighted area is included in the output. Any suggestions how to do this? Best regards, Lars -- Lars http://www.vogella.com - Ec

Re: [docbook-apps] Background for programlisting

2012-06-15 Thread Lars Vogel
Hi Frank, Thomas, also thanks to you, the solution from Dean works very well. Best regards, Lars 2012/6/15 Frank Arensmeier : > 15 jun 2012 kl. 01.03 skrev Lars Vogel: > >> Hello, >> >> I wanted to add a background color to my programming listings and >> found an

Re: [docbook-apps] Background for programlisting

2012-06-15 Thread Lars Vogel
Hello Dean, thanks, this works perfectly. Best regards, Lars 2012/6/15 : > Lars, > Not sure what happened in your layer, but here is what I use for > progrmalisting shading. > > Regards, > Dean Nelson > > > > http://www.w3.org/1999/XSL/Transform"; > version="1.0" >     xmlns:fo="http://www.w3.o

[docbook-apps] Background for programlisting

2012-06-14 Thread Lars Vogel
Hello, I wanted to add a background color to my programming listings and found an old post from Bob in which he suggested to add the following to the customizing layer: border-color="thin black ridge" background-color="silver" If I do this, I get an error: [xslt] Unknown file:61:9:

Re: [docbook-apps] Symbol for indicating that the line actually continues

2012-06-09 Thread Lars Vogel
Hi Stefan, thanks, I think I read that FOP does not support "hyphenate.verbatim" attribute http://www.sagehill.net/docbookxsl/FittingText.html#BreakLongLines Best regards, Lars 2012/6/8 Stefan Seefeld > > On 06/08/2012 02:58 PM, Lars Vogel wrote: > > Hello, > > &

[docbook-apps] Symbol for indicating that the line actually continues

2012-06-08 Thread Lars Vogel
Hello, As the program code in my Books is sometimes to long, I have to break the line into two. I do this manually and its working fine. I would like to use a special sign to indicate that the line continues. I have seen printed documents where a little arrow was used. Does the bookbook standard

Re: [docbook-apps] DocBook XSL 1.77.0

2012-06-03 Thread Lars Vogel
Hi Bob, I'm not sure if I read the titlepage.xsl file correctly but it looks to me that it contains again hardcode style settings for the revision table. Would it be possible to remove this? border-style:solid; width:100%; Best regards, Lars

Re: [docbook-apps] Passing parameters to my XLS customizing sheet with Apache Ant

2012-06-03 Thread Lars Vogel
value? > > 0 > > David > > On 06/02/2012 02:26 PM, Lars Vogel wrote: > > Hello, > > > > I has customizing layer which adds a footnote to my pdf output. In > > this layer I have to define values for the different places > > frequently. > > >

[docbook-apps] Passing parameters to my XLS customizing sheet with Apache Ant

2012-06-02 Thread Lars Vogel
Hello, I has customizing layer which adds a footnote to my pdf output. In this layer I have to define values for the different places frequently. -- Example Example, Review version Example Example, Review version Is there an way to pass parameters to my customizing layer via the

Re: [docbook-apps] output in PDF

2012-05-08 Thread Lars Vogel
; > -David > > > > -Original Message- > From: Lars Vogel [mailto:lars.vo...@googlemail.com] > Sent: Tuesday, May 08, 2012 3:37 PM > To: DocBook Apps > Subject: [docbook-apps] output in PDF > > Hi, > > I started using in my Docbook sources but it seems that th

[docbook-apps] output in PDF

2012-05-08 Thread Lars Vogel
Hi, I started using in my Docbook sources but it seems that the PDF output is just normal text. Is their a way to change it, e.g. to Italic? Best regards, Lars -- Lars http://www.vogella.com - Eclipse, Android and Java Tutorials http://www.twitter.com/vogella - Lars on Twitter ---

Re: [docbook-apps] Better rendering for programlisting

2012-05-08 Thread Lars Vogel
Hi Tom, thanks, now it works. I incorrectly assumed that saxon65.jar just repackages the saxon parser and did not include that into the classpath. Now everything is fine. Thanks again, Lars 2012/5/6 Thomas Schraitle : > Hi Lars, > > Am Sonntag, 6. Mai 2012, 19:02:11 schrieb L

Re: [docbook-apps] Better rendering for programlisting

2012-05-06 Thread Lars Vogel
12, 17:53:35 schrieb Lars Vogel: >> A bit of topic, but how do I activate line numbers in a program listing? > > 1. Add the attribute-value pair linenumbering="numbered" in programlisting >   or screen. > > 2. Use Saxon and put the saxon65.jar DocBook extension in your

Re: [docbook-apps] Better rendering for programlisting

2012-05-06 Thread Lars Vogel
A bit of topic, but how do I activate line numbers in a program listing? Am 06.05.2012 17:25 schrieb "David Cramer" : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 05/06/2012 01:55 AM, davep wrote: > > On 06/05/12 01:23, David Cramer wrote: > ... > >> But what if the user wants to put t

[docbook-apps] HTML table output for revhistory contains formating

2012-03-28 Thread Lars Vogel
Hi, the Docbook element gets some default formating in the HTML table output, e.g. border="1" width="100%" Is it possible to turn this off? I would like to use CSS for that. Example below. Best regards, Lars 0.1 07.03.2011 Lars Vogel created 0.2 - 2.1 08.03.201

Re: [docbook-apps] Extend supported output formats

2012-03-22 Thread Lars Vogel
Hi Gihan, I happy to hear that my tutorials (vogella) were helpful. Good luck with your project. Best regards, Lars 2012/3/21 gihan karunarathne > Hi David, Hi mentors : > > Thank you very much David again for your interesting towards this project > idea and help me to get through this. > > S

Re: [docbook-apps] Adding a HTML link with & parameters

2012-03-13 Thread Lars Vogel
Hi Nils, thanks, that worked. Best regards, Lars 2012/3/13 Niels Muller Larsen > Did you try the entity & ? > > Yours truly > Prof Niels aka @phidip > > > On 13/03/2012, at 11.05, Lars Vogel wrote: > > Hello, > > I'm adding some HTML and J

[docbook-apps] Adding a HTML link with & parameters

2012-03-13 Thread Lars Vogel
Hello, I'm adding some HTML and JavaScript to the HTML output of my Docbook sources. I'm using the user.header.content customization. This work really well except if I try to include parameters in a link, e..g http://www.vogella.de/w/click.here?sid=65209&m=3&c=1"; target="_blank">Testing which

Re: [docbook-apps] Scaling text size for programlisting in PDF output

2012-01-30 Thread Lars Vogel
gt; > > http://www.sagehill.net/docbookxsl/PrintOutput.html > > > > David > > > > On 12/07/2011 05:25 AM, Lars Vogel wrote: > >> Hi, > > > >> is it possible to scale the text size for all programlistings in > >> the PDF output? My PDF output look

Re: [docbook-apps] Incorrect output dir if I use chunk.xsl with Apache Ant

2012-01-20 Thread Lars Vogel
Thanks but I don't understand your answer. The same setup works perfectly with docbook.xsl. If I switch to chunk.xsl it fails. Doesn't that indicate a difference in the chunk.xsl? Am 20.01.2012 21:32 schrieb "Jirka Kosek" : > On 20.1.2012 16:43, Lars Vogel wrote: >

Re: [docbook-apps] Incorrect output dir if I use chunk.xsl with Apache Ant

2012-01-20 Thread Lars Vogel
provide more > help. > > Bob Stayton > Sagehill Enterprises > b...@sagehill.net > > > > - Original Message - > *From:* Lars Vogel > *To:* Bob Stayton > *Cc:* Lwam Berhane ; docbook-apps@lists.oasis-open.org > *Sent:* Thursday, January 12, 2012 11:22 PM &g

Re: [docbook-apps] Incorrect output dir if I use chunk.xsl with Apache Ant

2012-01-12 Thread Lars Vogel
gt; To: > > > Sent: Thursday, January 12, 2012 5:25 AM > Subject: Re: [docbook-apps] Incorrect output dir if I use chunk.xsl with > Apache Ant > > > > Hi! >> >> I have the same problem but with Phing! >> Does anyboday know what is happening? >> >> B

[docbook-apps] Incorrect output dir if I use chunk.xsl with Apache Ant

2012-01-09 Thread Lars Vogel
Hello, I wanted to create chunk output for my tutorials. Unfortunately the destination directory seems to get ignore if I use chunks.xsl instead of docbook.xsl. I use Apache Ant: If I replace ${myhtml.stylesheet} (which points to a customizing layer of docbook.xsl) with a reference to chu

Re: [docbook-apps] Suppressing "title" attributes in HTML

2012-01-07 Thread Lars Vogel
gt; | > | -BEGIN PGP SIGNED MESSAGE- > | Hash: SHA1 > | > | Btw., Bob fixed this in svn a while ago. > | > | David > | > | On 01/07/2012 05:47 AM, Mauritz Jeanson wrote: > | > | -Original Message- | From: Lars Vogel | | I generate > | &g

[docbook-apps] Generated title elements in HTML output

2012-01-07 Thread Lars Vogel
Hello, I generate my tutorials from Docbook source. Several readers complained that the "title" element is annoying as it creates a popup over the text. See attached screenshot. Is there a way to avoid the generation of the title element? Best regards, Lars -- Lars http://www.vogella.de - Ecl

[docbook-apps] Profiling mode for epub?

2011-12-16 Thread Lars Vogel
Hello, I'm using profiling to remove certain sections from my Docbook output. For HTML and PDF I have profile-docbook.xsl and this works very well. I do see such a file in the epub directory. How do I enable profiling for epub output? My assumption would be that I just can change the include fro

[docbook-apps] Scaling text size for programlisting in PDF output

2011-12-07 Thread Lars Vogel
Hi, is it possible to scale the text size for all programlistings in the PDF output? My PDF output looks "a.most" perfect, the programming listing fit almost into the output. I think if I would be able to set the text size to 90% everything would fit. It would be great to do this with a parameter

Re: [docbook-apps] Filtering out sections?

2011-12-07 Thread Lars Vogel
Hi Jirka, sorry for my delayed response. Thanks for the tips, works perfectly. Best regards, Lars 2011/11/27 Jirka Kosek > On 27.11.2011 19:22, Lars Vogel wrote: > > > great! This works. I had the problem if I put this directly into my > > customizing layer that the TOC an

[docbook-apps] Re: Syntax Highligher java.lang.StringIndexOutOfBoundsException: String index out of range: -1

2011-11-27 Thread Lars Vogel
If I set the language to something unkown, e.g. "shell" then I do not get this error. I assume in this case the syntax highlighter is not called. 2011/11/28 Lars Vogel > Hello, > > I'm using the syntax highlighting as described here: > http://www.sagehill.net/docbook

[docbook-apps] Syntax Highligher java.lang.StringIndexOutOfBoundsException: String index out of range: -1

2011-11-27 Thread Lars Vogel
Hello, I'm using the syntax highlighting as described here: http://www.sagehill.net/docbookxsl/SyntaxHighlighting.html The default is set to Java. If I have the following construct I get an StringIndexOutOfBoundsException. Full stack trace below. telnet localhost 5554 Is this a bug? Best

Re: [docbook-apps] Remove whitespace between closing XML tag and dot

2011-11-27 Thread Lars Vogel
Hello Giuseppe, thanks again. Worked fine. In case someone has the same problem, here is how I strip out the whitespace with Apache Ant: Best regards, Lars 2011/11/11 Lars Vogel > Hi Giueseppe, > > thanks for the answer. I like proposal number 2.) which seems most &g

Re: [docbook-apps] Filtering out sections?

2011-11-27 Thread Lars Vogel
saved a ton of work over the last weeks if I had known this before ;-) ) Best regards, Lars 2011/11/27 Jirka Kosek > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 27.11.2011 16:56, Lars Vogel wrote: > > > > select="@*|node()" /> > > > &g

Re: [docbook-apps] Filtering out sections?

2011-11-27 Thread Lars Vogel
doc is valid with the wrapper as > well as the wrapped content. If the wrapper were a chapter, then it > wouldn't work well because your doc wouldn't be valid at authoring > time even if it would be after pre-processing. > > David > > On 11/27/2011 05:51 AM, Lars Voge

Re: [docbook-apps] Filtering out sections?

2011-11-27 Thread Lars Vogel
> > > It will work in this case since the doc is valid with the wrapper as > well as the wrapped content. If the wrapper were a chapter, then it > wouldn't work well because your doc wouldn't be valid at authoring > time even if it would be after pre-processing. > > Da

Re: [docbook-apps] Filtering out sections?

2011-11-27 Thread Lars Vogel
, Lars 2011/11/27 Niels > Hi Lars > In my course materials I do the equivalent. > I just use two includes in the book. > > Cheers > Niels > > Sent from an iPad Nano in some i[A-Za-z]*verse > > On 27/11/2011, at 12.51, Lars Vogel wrote: > > Hello, > > Sorry

[docbook-apps] Filtering out sections?

2011-11-27 Thread Lars Vogel
Hello, Sorry for the earlier mail, I accidently send it out before it was finished. I have a DocBook source with I want to re-use in different environments. For example I have an web tutorial for Java Debugging which is an "Article" and which following the structure: Debugging

[docbook-apps] Filtering out sections

2011-11-27 Thread Lars Vogel
Hello, I have DocBook source with I want to re-use in different environments. For example I have an web tutorial for Java Debugging which is an Article and which following the structure: Debugging Debugging -- Lars http://www.vogella.de - Eclipse, Android and Java Tutorials http://www.t

Re: [docbook-apps] Relative path for highlight.xslthl.config

2011-11-22 Thread Lars Vogel
Hello Dave, thanks for the tip. This would also work but as an Apache Ant user, I think Jirkas tips fit better to my setup. Best regards, Lars 2011/11/22 davep > On 11/21/2011 06:59 PM, Lars Vogel wrote: > >> Hi, >> >> I'm currently using an absolute pat

Re: [docbook-apps] Relative path for highlight.xslthl.config

2011-11-22 Thread Lars Vogel
Hi Jirka, great tip. Thanks a lot, works perfectly. Best regards, Lars 2011/11/21 Jirka Kosek > On 21.11.2011 19:59, Lars Vogel wrote: > > > Currently: > > > > > > expression="file:///C:/Users/vogella/workspace/vogella/de.vogella.docbook.first/doc

[docbook-apps] Relative path for highlight.xslthl.config

2011-11-21 Thread Lars Vogel
Hi, I'm currently using an absolute path for the syntax highlighting configuration file. As I'm switching between computers back and forth I would like to make this relative. Currently: I did not manage to make the system accept a relative path. Can someone please share an example? Best regar

Re: [docbook-apps] Linking

2011-11-16 Thread Lars Vogel
Hi Tom, great. Thanks. Works like a charm. Best regards, Lars 2011/11/16 Thomas Schraitle > Hi Lars, > > Am Mittwoch, 16. November 2011, 21:06:33 schrieb Lars Vogel: > > [...] > > > http://rcm.amazon.com/e/cm?lt1=_blank&bc1=00&IS2=1&npa=1&b

[docbook-apps] Linking

2011-11-16 Thread Lars Vogel
Hello, via DocBook I created a epub and converted that to mobi and placed it at Amazon. Amazon allows to create a link which I wanted to include in the online version of this book so that people see this book: The link ist: http://rcm.amazon.com/e/cm?lt1=_blank&bc1=00&IS2=1&npa=1&bg1=FF&

Re: [docbook-apps] More ePub Problems

2011-11-11 Thread Lars Vogel
Looking forward to the new release Bob announced. :-) 2011/11/11 Eric Johnson > Thanks. > > I found the fixes I needed and merged them into my set-up. It now > works like a charm. > > > On Thu, Nov 10, 2011 at 4:42 PM, Michael Wiedmann > wrote: > > Hi Eric, > > > > Eric Johnson wrote: > > > >>

Re: [docbook-apps] Remove whitespace between closing XML tag and dot

2011-11-11 Thread Lars Vogel
formatting the source). > > Hope this helps. > > __peppo > > On Fri, Nov 11, 2011 at 11:19 AM, Lars Vogel > wrote: > > Hello, > > I use Eclipse as my XML editor and this really works well for me except > one > > thing. Unfortunately the XML formatter in

[docbook-apps] Remove whitespace between closing XML tag and dot

2011-11-11 Thread Lars Vogel
Hello, I use Eclipse as my XML editor and this really works well for me except one thing. Unfortunately the XML formatter in Eclipse adds a space between a closing tag and a dot. If its not a dot I actually would like that it adds this space. Example: Call method test(). Would become> Call met

Re: [docbook-apps] More ePub Problems

2011-11-10 Thread Lars Vogel
Hi Eric, I had a similar error by having invalide Docbook input. Did you validate your Docbook input? Best regards, Lars 2011/11/10 Eric Johnson > Generating ePub using the latest XSLT (1.76.1) I keep getting the > following validation error: > > ERROR: admin_guide.epub/OEBPS/content.opf(4): i

Re: [docbook-apps] tag and epub output

2011-11-08 Thread Lars Vogel
ult. But you can use the > titlepage specification mechanism to include it as part of your titlepage. > See this reference for details: > > http://www.sagehill.net/docbookxsl/HTMLTitlePage.html > > Bob Stayton > Sagehill Enterprises > b...@sagehill.net > > > >

[docbook-apps] Convertion DocBook to epub - Ambiguous rule match for /

2011-11-04 Thread Lars Vogel
Hi, if I run the XSLT transformation from Docbook to epub I get: [xslt] : Warning! Ambiguous rule match for / [xslt] Matches both "/" on line 102 of file:/C:/Users/vogella/workspace/docu/de.vogella.publishing/docbook-xsl-1.76.1/epub/docbook.xsl [xslt] and "/" on line 403 of file:/C:/

[docbook-apps] tag and epub output

2011-11-03 Thread Lars Vogel
Hello, In my DocBook document I use 1 to indicate the edition for the book I convert into epub (and afterwards into mobi). Is their a parameter to include into the epub output? Currently it seems like this info is not included in the epub output. Best regards, Lars -- Lars http://www.vogella

Re: [docbook-apps] Looking for sample Ant files

2011-11-03 Thread Lars Vogel
Hello, I have published an DocBook with Apache Ant tutorial here: http://www.vogella.de/articles/DocBook/article.html Best regards, Lars 2011/11/3 Benjamin DE DARDEL > Hi Carlos, > > You can try http://ant4docbook.sourceforge.net/. > > Regards, > Benjamin > > > 2011/11/3 Carlos Araya > >> Goo

  1   2   >