[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

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: > >

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

2015-11-06 Thread Lars Vogel
If you want to show the years as a range, set the 'make.year.tanhes' >> parameter to a non-zero value. >> >> -- >> Excuse brevity. Sent from mobile device. >> On Nov 2, 2015 9:57 AM, "Lars Vogel" <lars.vo...@gmail.com> wrote: >> >>>

[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

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 <ste...@seefeld.name>: > Hi Lars, > > On 15.10.2015 19:14, Lars Vogel wrote: > > Hi Bob, > > > > thanks a bunch.

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

[docbook-apps] part should become appendix 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: !-- Remove all sections marked with wrapper -- xsl:template

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

2015-08-19 Thread Lars Vogel
. 14:21 skrev Lars Vogel lars.vo...@gmail.com: 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: !-- Remove all

[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. para mediaobject imageobject imagedata fileref=./images/application_model_ui_elements.png scale=40 / /imageobject textobject phraseApplication Model UI Elements/phrase /textobject /mediaobject /para Is

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

2014-08-01 Thread Lars Vogel
parameter fop1.extensions=1 ? That will force the stylesheet 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 via the XSL

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

2014-07-31 Thread Lars Vogel
not contain a ulink as an descendant, that won't select anything. Try: select=./@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. -- You find

[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

[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: ulink url= http://www.eclipse.org/legal/clafaq.php;Eclipse CLA FAQ/ulink. - For PDF output I would like to include only the link and not the text. I though the following might work

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 r...@visualclick.de: Hi, Maybe

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 lars.vo...@gmail.com: Thanks everyone for the help. I think my setup is the same as Richard posted

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

[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

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

2014-02-17 Thread Lars Vogel
temp.mimetype to mimetype.zip. zip destfile=${output.dir}/mimetype.zip ... zipfileset src=${output.dir}/mimetype.zip ... Best regards Nils 2014-02-17 16:32 GMT+01:00 Lars Vogel lars.vo...@gmail.com: Hi, I'm generating epub from Docbook via Apache Ant and I'm getting the following error

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

2014-02-17 Thread Lars Vogel
Plesser Str. 11 12435 Berlin Deutschland Telefon: +49 176 10091551 E-Mail: i...@nilscordes.de Web: http://nilscordes.de 2014-02-17 17:33 GMT+01:00 Lars Vogel lars.vo...@gmail.com: Hi Nils, This is IMHI correct, I create it in the first step. Also this seems to be unrelated to the error

Re: [docbook-apps] Epub and Saxon

2014-02-17 Thread Lars Vogel
...@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 May 2013 (according to http://sourceforge.net/projects/docbook/files/docbook-xsl

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

2013-05-15 Thread Lars Vogel
...@sagehill.net -- From: Alexey Neyman sti...@att.net Sent: Tuesday, May 14, 2013 10:25 AM To: docbook-apps@lists.oasis-open.org Cc: Bob Stayton b...@sagehill.net; Lars Vogel lars.vo...@gmail.com Subject: Re: [docbook-apps] WARNING: cannot add

[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

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

2013-04-19 Thread Lars Vogel
notice 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 lars.vo...@gmail.com *Sent:* Thursday, April 18

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

2013-04-18 Thread Lars Vogel
Stayton Sagehill Enterprises b...@sagehill.net *From:* Lars Vogel lars.vo...@gmail.com *Sent:* Wednesday, April 17, 2013 1:52 PM *To:* DocBook Apps docbook-apps@lists.oasis-open.org *Subject:* [docbook-apps] epub generation result has incorrect DocType Hello, I'm generating epub from

[docbook-apps] epub generation result has incorrect DocType

2013-04-17 Thread Lars Vogel
with the Eclipse IDE/title author firstnameLars/firstname surnameVogel/surname /author copyright year2007/year holder Lars Vogel/holder /copyright pubdate17.02.2013/pubdate releaseinfoThird edition /releaseinfo mediaobject role=cover imageobject id=cover-image imagedata fileref=images/cover.png

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

2013-02-22 Thread Lars Vogel
|merge|rebase|submodule/pattern styleattribute/style /highlighter Best regards, Lars 2013/2/22 Jirka Kosek ji...@kosek.cz: 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

[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

[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 fop Ant task. If I assigned twice the the same ID I get Java exceptions. See below for an example. All

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

2013-02-20 Thread Lars Vogel
Thanks everyone for the suggestions. fail message=PDF file was not created. condition not available file=${pdf.dir}/91_Book_Android_Professional/book.pdf / /not /condition /fail works well for me. Best regards, Lars

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 div 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 lars.vo...@gmail.com

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 b...@sagehill.net 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

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

2012-07-12 Thread Lars Vogel
, kindlegen still Forcefully closes the valid nav epub:type=loi and nav:epub:lot elements in the TOC file. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: Lars Vogel To: DocBook Apps Sent: Tuesday, July 10, 2012 1:53 AM Subject: [docbook-apps] Converting

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

2012-07-12 Thread Lars Vogel
be different, 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 and don't understand what they mean

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 m...@miwie.in-berlin.de: Lars Vogel wrote: During the conversion to .mobi via the Amazon

[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:

Re: [docbook-apps] part Titlepage

2012-07-03 Thread Lars Vogel
...@sagehill.net - Original Message - From: Bob Stayton b...@sagehill.net To: Lars Vogel lars.vo...@googlemail.com; Richard Hamilton hamil...@xmlpress.net Cc: DocBook Apps docbook-apps@lists.oasis-open.org Sent: Tuesday, June 26, 2012 2:15 PM Subject: Re: [docbook-apps] part Titlepage

[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:

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 deannel...@aol.com: Lars, I make my adjustments via a parameter as below. Hope this helps. Dean Nelson --- !-- My Table Mods -- xsl:param

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

2012-06-26 Thread Lars Vogel
this customization that strips off the leading and trailing line breaks in a programlisting: https://lists.oasis-open.org/archives/docbook-apps/201011/msg00012.html Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: Lars Vogel lars.vo...@googlemail.com To: Bob

Re: [docbook-apps] part Titlepage

2012-06-26 Thread Lars Vogel
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 the template instead of creating the spec file. I did this for the titlepage of the book (book.titlepage.recto

[docbook-apps] part Titlepage

2012-06-25 Thread Lars Vogel
Hello, which template is called for the part 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

Re: [docbook-apps] part Titlepage

2012-06-25 Thread Lars Vogel
, Lars Vogel wrote: Hello, which template is called for the part 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

Re: [docbook-apps] Background for programlisting

2012-06-17 Thread Lars Vogel
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 Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: Lars

Re: [docbook-apps] Background for programlisting

2012-06-15 Thread Lars Vogel
Hello Dean, thanks, this works perfectly. Best regards, Lars 2012/6/15 deannel...@aol.com: Lars, Not sure what happened in your layer, but here is what I use for progrmalisting shading. Regards, Dean Nelson ?xml version=1.0 encoding=UTF-8? xsl:stylesheet

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 farensme...@gmail.com: 15 jun 2012 kl. 01.03 skrev Lars Vogel: Hello, I wanted to add a background color to my programming listings and found an old post from Bob

[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 -

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? xsl:param name=shade.verbatim select=1/xsl:param I also use literallayout (many for quotes and titels) and I would prefer not to have the background set for this one. Best regards, Lars

[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: xsl:attribute-set name=shade.verbatim.properties border-color=thin black ridge background-color=silver /xsl:attribute-set

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 ste...@seefeld.name On 06/08/2012 02:58 PM, Lars Vogel wrote: Hello, As the program

[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

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

2012-06-03 Thread Lars Vogel
? xsl:param name=footnotetext0/xsl:param 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. -- xsl:when test=$double.sided != 0

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? table xsl:if test=$css.decoration != 0 xsl:attribute name=style

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 tom_s...@web.de: Hi Lars, Am Sonntag, 6. Mai 2012, 19:02:11 schrieb Lars

[docbook-apps] guilabel output in PDF

2012-05-08 Thread Lars Vogel
Hi, I started using guilabel 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] guilabel output in PDF

2012-05-08 Thread Lars Vogel
information, see the section on customization layers in Bob Sayton's Docbook XSL Guide: http://www.sagehill.net/docbookxsl/CustomMethods.html#WriteCustomization -David dg...@mueller-inc.com -Original Message- From: Lars Vogel [mailto:lars.vo...@googlemail.com] Sent: Tuesday, May 08, 2012 3

Re: [docbook-apps] Better rendering for programlisting

2012-05-06 Thread Lars Vogel
}/.. fileset dir=lib include name=styles.css / /fileset /copy /target 2012/5/6 Thomas Schraitle tom_s...@web.de: Hi Lars, Am Sonntag, 6. Mai 2012, 17:53:35 schrieb Lars Vogel: A bit of topic, but how do I

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

2012-03-28 Thread Lars Vogel
Hi, the revhistory 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 revhistory revision revnumber0.1/revnumber date07.03.2011/date author

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 gckarunarat...@gmail.com Hi David, Hi mentors : Thank you very much David again for your interesting towards this project idea and help me to

[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 a href=http://www.vogella.de/w/click.here?sid=65209m=3c=1; target=_blankTesting/a

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 muhle...@gmail.com Did you try the entity amp; ? Yours truly Prof Niels aka @phidip On 13/03/2012, at 11.05, Lars Vogel lars.vo...@googlemail.com wrote: Hello, I'm adding some HTML and JavaScript

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

2012-01-30 Thread Lars Vogel
attribute-set: http://www.sagehill.net/docbookxsl/ProgramListings.html#FormatListings 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

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

2012-01-20 Thread Lars Vogel
Sagehill Enterprises b...@sagehill.net - Original Message - *From:* Lars Vogel lars.vo...@googlemail.com *To:* Bob Stayton b...@sagehill.net *Cc:* Lwam Berhane berh...@punkt.de ; docbook-apps@lists.oasis-open.org *Sent:* Thursday, January 12, 2012 11:22 PM *Subject:* Re: [docbook

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 ji...@kosek.cz: On 20.1.2012 16:43, Lars Vogel wrote: If I use

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

2012-01-12 Thread Lars Vogel
-**open.orgdocbook-apps@lists.oasis-open.org 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? Best Regards Am 09.01.2012 09:07, schrieb Lars

[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: target name=build-html depends=xinclude description=Generates HTML files from DocBook XML xslt

[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 -

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

2012-01-07 Thread Lars Vogel
this in svn a while ago. | | David | | On 01/07/2012 05:47 AM, Mauritz Jeanson wrote: | | -Original Message- | From: Lars Vogel | | I generate | my tutorials from Docbook source. Several readers | complained | that the title element is annoying as it | creates a popup

[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

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 ji...@kosek.cz 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

[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

[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: section title Debugging/title section title Debugging/title /section /section -- Lars

[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: section title

Re: [docbook-apps] Filtering out sections?

2011-11-27 Thread Lars Vogel
, Lars 2011/11/27 Niels nmlena...@gmail.com 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 lars.vo...@googlemail.com wrote: Hello, Sorry

Re: [docbook-apps] Filtering out sections?

2011-11-27 Thread Lars Vogel
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 Vogel wrote: Hello, Sorry for the earlier mail, I accidently send it out before it was finished. I have a DocBook

Re: [docbook-apps] Filtering out sections?

2011-11-27 Thread Lars Vogel
-processing. David On 11/27/2011 05:51 AM, Lars Vogel wrote: 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

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 ji...@kosek.cz -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27.11.2011 16:56, Lars Vogel wrote: xsl:template match=@*|node() xsl:apply-templates select=@*|node

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

2011-11-27 Thread Lars Vogel
}/ include name=**/* / /fileset /replaceregexp replaceregexp flags=g regexp pattern=(\w)(\s+)(lt;/) / substitution expression=\1\3 / fileset dir=${outputtmp.dir}/ include name=**/* / /fileset /replaceregexp /target Best regards, Lars 2011/11/11 Lars Vogel lars.vo...@googlemail.com Hi Giueseppe

[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. para programlisting #xD; telnet localhost

[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 lars.vo...@googlemail.com Hello, I'm using the syntax highlighting as described here: http://www.sagehill.net/docbookxsl

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 ji...@kosek.cz On 21.11.2011 19:59, Lars Vogel wrote: Currently: param name=highlight.xslthl.config expression=file:///C:/Users/vogella/workspace/vogella/de.vogella.docbook.first/docbook

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 da...@dpawson.co.uk On 11/21/2011 06:59 PM, Lars Vogel wrote: Hi, I'm currently using an absolute path for the syntax

[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: param name=highlight.xslthl.config

[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: iframe src=

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 tom_s...@web.de Hi Lars, Am Mittwoch, 16. November 2011, 21:06:33 schrieb Lars Vogel: [...] http://rcm.amazon.com/e/cm?lt1=_blankbc1=00IS2=1npa=1bg1=FFfc1= 00lc1=FFt=vogellade

[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 codetest()/code. Would become

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 ericjohn...@apache.org 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 m...@miwie.in-berlin.de wrote: Hi Eric,

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 ericjohn...@apache.org Generating ePub using the latest XSLT (1.76.1) I keep getting the following validation error: ERROR:

[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

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 benjamin.dedar...@gmail.com Hi Carlos, You can try http://ant4docbook.sourceforge.net/. Regards, Benjamin 2011/11/3

[docbook-apps] edition tag and epub output

2011-11-03 Thread Lars Vogel
Hello, In my DocBook document I use edition1/edition 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

Re: [docbook-apps] Generated epub to mobi - lists are incorrectly displayed

2011-11-02 Thread Lars Vogel
Hello Jirka, thanks, makes sense your setup. Best regards, Lars 2011/11/1 Jirka Kosek ji...@kosek.cz On 29.10.2011 11:59, Lars Vogel wrote: thanks. This also looks like a great solution. I think the suggestion from Robert is easier for my toolchain as I only have to change

Re: [docbook-apps] Generated epub to mobi - lists are incorrectly displayed

2011-10-29 Thread Lars Vogel
to you separate the step XHTML and EPUB creation? I believe the epub XSLT stylesheets do this in one step? Best regards, Lars 2011/10/29 Jirka Kosek ji...@kosek.cz On 28.10.2011 16:38, Lars Vogel wrote: I'm generating epubs via Docbook and the epub XSLT stylesheets. If I convert them

Re: [docbook-apps] Generated epub to mobi - lists are incorrectly displayed

2011-10-29 Thread Lars Vogel
and below the line, but the dot remains on the first paragraph line. Jon Rosen -Original Message- From: Jirka Kosek [mailto:ji...@kosek.cz] Sent: Friday, October 28, 2011 3:28 PM To: Lars Vogel Cc: DocBook Apps Subject: Re: [docbook-apps] Generated epub to mobi - lists are incorrectly

[docbook-apps] Re: Generated epub to mobi - lists are incorrectly displayed

2011-10-28 Thread Lars Vogel
, Houston TX 77057-5581 (H) 713 893 3424/ (W) 832-251-7522 Carbon Neutral Since Jan 2010 http://www.robertnagle.info *** ubject: Generated epub to mobi - lists are incorrectly displayed From: Lars Vogel lars.vo...@googlemail.com To: DocBook Apps

[docbook-apps] Controlling the pagebreak in epub output

2011-10-26 Thread Lars Vogel
Hello, is it possible to control the page break in epub output as for example for pdf? For example I use the following to avoid a pagebreak for sections in my preface chapter for pdf: xsl:attribute-set name=section.level1.properties xsl:attribute name=break-after xsl:choose xsl:when

[docbook-apps] Re: Controlling the pagebreak in epub output

2011-10-26 Thread Lars Vogel
into Mobipocket. By the way, with rare exceptions, I try to avoid using mandatory page breaks on e-ink devices. I think e-ink owners are a little more tolerant of cramped pages in order to maximize use of space. Robert Subject: Controlling the pagebreak in epub output From: Lars Vogel lars.vo

Re: [docbook-apps] Docbook to Epub Tutorial

2011-10-25 Thread Lars Vogel
for giving me this pointer. I also added a link to your Ant file in this tutorial. Update is online. Best regards, Lars 2011/10/25 Tony Graham tgra...@mentea.net On Tue, October 25, 2011 11:55 am, Lars Vogel wrote: ... http://www.vogella.de/articles/DocBook/article.html#epub I hope

[docbook-apps] Linebreak in Header line

2011-10-23 Thread Lars Vogel
Hi, I have for one of my Docbook documents a longer title for one chapter, e.g. Distributed Version control with Git. As the result the pdf output show this chapter title in two rows. Is there a parameter for the XSLT sheets to prevent this? It feel to me that there is sufficient space in the

Re: [docbook-apps] Linebreak in Header line

2011-10-23 Thread Lars Vogel
Hi Mauritz, Thanks, works perfectly. Best regards, Lars 2011/10/23 Mauritz Jeanson m...@johanneberg.com | -Original Message- | From: Lars Vogel | | I have for one of my Docbook documents a longer title for | one chapter, e.g. Distributed Version control with Git

  1   2   >