Re: [docbook-apps] Bibliographic styling

2020-05-23 Thread Peter Fleck
Richard, Would it be possible to step back a level and work on it in combination with CSL? https://citationstyles.org/ That way, it would not just be limited to CMOS. (Although having CMOS would be a major bonus for me.) The Github repo for the CSL styles are https://github.com/citation-style-lang

Re: [docbook-apps] Section[1] only in toc

2020-04-02 Thread Peter Fleck
uot; that > removes the call to "toc.line" and processes the top-level sections in a > for-each loop: > > > > > > > > The "toc.line" template does not process any subsections. > > Bob staytonb...@sagehill.net > > On 4/1/20

Re: [docbook-apps] Section[1] only in toc

2020-04-01 Thread Peter Fleck
Yes, sorry FO, I know I can use a manual.toc for HTML. Thanks, Peter On Tue, 31 Mar 2020 at 23:27, Bob Stayton wrote: > You didn't mention whether this was for FO or HTML type of output. > > Bob staytonb...@sagehill.net > > On 3/31/2020 2:08 PM, Peter Fleck wrote: > &

[docbook-apps] Section[1] only in toc

2020-03-31 Thread Peter Fleck
I have an abnormal use case. The source file is a book with many articles, however the TOC is to be first level sections of each article and not the article title itself. Example: -- not included -- included -- included ...

Re: [docbook-apps] Docbook builds? Which is favourite?

2019-09-09 Thread Peter Fleck
Hi Erik, I would be interested in seeing your gitlab-ci.yml file. Gitlab certainly offers a lot of potential. Peter On Mon, 9 Sep 2019, 09:00 Dave Pawson, wrote: > Thanks Erik - fits well with github. >I never did get on well with xproc, so I'll give that a miss! > > regards > > On Mon, 9

Re: [docbook-apps] Merge biblioentry data to citation

2018-11-28 Thread Peter Fleck
Thanks Thomas. This is the way to go I think. I see the comment in the xref.xsl file I'll open an issue on Github. Peter On Wed, 28 Nov 2018 at 08:58, Thomas Schraitle wrote: > Hi Peter, > > Am Tue, 27 Nov 2018 18:54:04 +0100 > schrieb Peter Fleck : > > > Is

[docbook-apps] Merge biblioentry data to citation

2018-11-27 Thread Peter Fleck
Hi, Is there a way to only have a biblioentry once in the bibliography and then cite the details multiple times? So for example here in https://www.chicagomanualofstyle.org/tools_citationguide/citation-guide-1.html Something like this? (Though this doesn't work). .., 315-16... ... ..

Re: [docbook-apps] Seriesinfo tag not respected

2018-11-19 Thread Peter Fleck
Hi Bernhard, Use Name, it will get processed by iso690.serie template. Use seriesvolnums if you need to identify the volume. Peter On 19/11/2018 07:54, Radu Coravu wrote: Hi Bernhard, I looked at the DocBook 5.1 RNG located on their web site: https://docbook.org/xml/5.1/rng/docbook.rng

Re: [docbook-apps] Chapter number in a edited book

2018-11-17 Thread Peter Fleck
Hi Bernhard, According to iso690, you use /Chapter VII/. Example they give: Carroll Lewis Alice's Adventures in Wonderland online Textinfo ed. 2.2 Windspiel [Dortmund, Germany]

Re: [docbook-apps] List of tables (LoT)

2018-10-31 Thread Peter Fleck
HI Bernhard, http://www.sagehill.net/docbookxsl/TOCcontrol.html Check that you have included tables in the generate.toc parameter. For example: appendix toc,title article/appendix nop article toc,title book toc,title,figure,table,example,equation chapter toc,title part toc,tit

[docbook-apps] Combining para role templates

2018-10-12 Thread Peter Fleck
I have a number of templates that add some formatting to xsl:fo, they are in the format of: I want to be able to combine these various templates, something like this: .. But only the last "role" in the list gets applied to the output. Is this com

[docbook-apps] Convert CSL styles to Docbook stylesheet

2018-06-06 Thread Peter Fleck
Hi all, I wonder if it would be much work to convert the wealth of resources of Bibliography styles using the CSL XML (Citation Style Language) on Zotero to Docbook templates in the same manner as the ISO690 . There is over 9000 styles there at the moment - https://www.zotero.org/styles/ but if we

Re: [docbook-apps] Multiple TOCs

2018-05-11 Thread Peter Fleck
use that named template is not set up to accept any parameters.  It's like passing undefined arguments to a function. Bob Stayton Sagehill Enterprises b...@sagehill.net On 5/8/2018 8:16 AM, Peter Fleck wrote: Hi all, Is it possible to have multiple TOC's? I need a short TOC with just

Re: [docbook-apps] Multiple TOCs

2018-05-08 Thread Peter Fleck
Development Program On 8 May 2018, at 17.16, Peter Fleck <mailto:peterfl...@gmail.com>> wrote: Hi all, Is it possible to have multiple TOC's? I need a short TOC with just and titles and then a second TOC following after with for a more detailed TOC. I tried adding th

[docbook-apps] Multiple TOCs

2018-05-08 Thread Peter Fleck
Hi all, Is it possible to have multiple TOC's? I need a short TOC with just and titles and then a second TOC following after with for a more detailed TOC. I tried adding the following to                     But I'm getting a /Previously Used ID error - ID values must be unique

Re: [docbook-apps] Re: XML databases

2018-04-07 Thread Peter Fleck
This is a useful discussion. We make extensive use of git, especially at the beginning of a project. Do you have any tips for integrating the database approach with a vcs like git? Peter On 06/04/2018 12:35, Norman Walsh wrote: Camille Bégnis writes: thanks for this interesting discussio

[docbook-apps] No indent on the first paragraph of a page

2017-12-04 Thread Peter Fleck
Hi, I have the following code that indents the first line of paragraphs: Is there a way to not indent the paragraph if it is the first paragraph of a page? Using: Apache FOP 2.2 Docbook 5.1 Stylesheets 1.79.2 Thanks, Peter

Re: [docbook-apps] RDFa Attributes

2017-07-19 Thread Peter Fleck
ll Enterprises > b...@sagehill.net > > On 7/19/2017 1:22 AM, Peter Fleck wrote: > >> hi, >> >> In the xslt20-stylesheets / html.xsl there is a function >> >> >> >> which copies through RDFa a

[docbook-apps] RDFa Attributes

2017-07-19 Thread Peter Fleck
hi, In the xslt20-stylesheets / html.xsl there is a function which copies through RDFa attributes. What would the equivalent be for the xsl1.0 stylesheets? Thanks, Peter

[docbook-apps] Docbook Info with HTML content in XML

2017-06-16 Thread Peter Fleck
Hi all, I might be over reaching here. I have a collection of Docbook 5.1 articles that I want to use as a data source in an app. I want to retain all docbook info but have the content in html rather than docbook. Below is my current stylesheet. It works in that I get what I had expected i

Re: [docbook-apps] Section titles bottom of a print page when there is as subtitle

2017-05-22 Thread Peter Fleck
tion further if needed? regards On 22 May 2017 at 07:48, Peter Fleck wrote: Hi, How do you stop section titles being at the bottom of a print page when there is as subtitle? ie. If there isn't space for at least one or two lines for the following paragraph the section title moves to the fol

[docbook-apps] Section titles bottom of a print page when there is as subtitle

2017-05-21 Thread Peter Fleck
Hi, How do you stop section titles being at the bottom of a print page when there is as subtitle? ie. If there isn't space for at least one or two lines for the following paragraph the section title moves to the following page. Here's the xml: The Title The Subtitle So at

[docbook-apps] Change Label text of Chapter in PDF Bookmarks

2017-02-21 Thread Peter Fleck
Hi, I have a customization that changes the "Chapter" label to "Lesson" using the below: http://docbook.sourceforge.net/xmlns/l10n/1.0";> This works fine for the content of the PDF etc. but it stays as "Chapter" in the PDF Bookmarks. Is it possible to change in

[docbook-apps] End Notes

2016-10-07 Thread Peter Fleck
Hi, I have been able to follow http://www.sagehill.net/docbookxsl/Endnotes.html for End notes and got it working. I also got end of component - chapter etc working perfect as an alternative. I would like to add two modifications to end notes at the back of the book: 1. Add the Title (ie. No

[docbook-apps] Re: [docbook] Prepress Support - Crop marks Apache Fop 2.1

2016-09-30 Thread Peter Fleck
ents align with either XEP or Antenna House elements and write your own extension using fox: elements instead. Bob Stayton Sagehill Enterprises b...@sagehill.net On 9/28/2016 4:07 AM, Peter Fleck wrote: Hi, I see that Prepress Support is now available in Apache Fop 2.1. In particular I am int

Re: [docbook-apps] Match on Language

2016-09-09 Thread Peter Fleck
Stayton Sagehill Enterprises b...@sagehill.net On 9/7/2016 9:41 AM, Peter Fleck wrote: Hi all, I'm trying to set all elements tagged with a particular language to a font. I tried a few combinations of the below but I don't know what I'm doing. Any help appr

[docbook-apps] Match on Language

2016-09-07 Thread Peter Fleck
Hi all, I'm trying to set all elements tagged with a particular language to a font. I tried a few combinations of the below but I don't know what I'm doing. Any help appreciated. FontName Many thanks, Peter - To uns

[docbook-apps] html 2 docbook

2015-12-22 Thread Peter Fleck
Hi, I've inherited some documentation in html. I have most of the xsl sorted to convert it to docbook 5. I am just missing footnotes. The xsl is eluding me. The structure is: In the text file: Some text 2 more text. In the footnotes file: 2 Footnote text. Anyone know how to pull the content

[docbook-apps] Index of People (5.1)

2015-08-25 Thread Peter Fleck
Hi all, Can anyone give a starter on how to create and "/Index of People/" and "/Index of Organizations/" in 5.1? I know that I can wrap an around the tag in the source file but wondered if the Index could be created without the extra XML tagging. Thanks, Peter

Re: [docbook-apps] xi:include publisher

2015-06-26 Thread Peter Fleck
Thanks, Peter On 26/06/15 20:30, Richard Hamilton wrote: Hi Peter, What error did you get and what software were you using to do the includes? Best regards, Richard Hamilton --- XML Press XML for Technical Communicators http://xmlpress.net hamil...@xmlpress.net On Jun 26, 2015

[docbook-apps] xi:include publisher

2015-06-26 Thread Peter Fleck
HI, I moved our common xml files to a webserver and now publisher does not get included. I'm using the following syntax: http://www.w3.org/2001/XInclude"; href="http:///publisher.xml"/> It works great for , for etc and it worked when the file was local (though that doesn't mean it wa

[docbook-apps] Page Numbers of chapters with parts left indented

2015-01-26 Thread Peter Fleck
Hi all, I have been using the docbook-xsl-ns-1.78.1 with a few customizations with no problems. However I have made my first PDF with 's rather than just 's. In the outputted TOC the top level page numbers (parts and preface) are in line but the chapter page numbers that are under a part are

[docbook-apps] Re: [docbook] audio epubs

2014-09-23 Thread Peter Fleck
Thanks. I look forward to giving this a go. Peter On 23/09/2014 11:15, Jirka Kosek wrote: [Replying to docbook-apps where this belongs...] On 18.9.2014 15:38, Peter Fleck wrote: Is it possible to do a lot of the work to make audio epubs using stylesheets? Everything is possible, it depends

[docbook-apps] Splitting Chapter label and Title in html output

2014-09-10 Thread Peter Fleck
Hi all, Is it possible to split the Chapter label and Title in the html output. I want to have: Chapter 1. The title of the chapter I did it ages ago on the FO output but can't replicate what I did for the html. Which template should I be modifying? Thanks, Peter

[docbook-apps] Multiple biblioid's extra itemref in epub3 spine

2014-09-05 Thread Peter Fleck
Hi all. I'm probably doing something silly but here's my problem: I use the /docbook-xsl-ns-1.78.1/epub3/profile-chunk.xsl/ style sheet in a custom layer and call Either --stringparam profile.condition "epub" or --stringparam profile.condition "mobi" And it picks the correct /biblioid/ belo

[docbook-apps] with class and title

2014-08-14 Thread Peter Fleck
Hi, I'm using a third-party javascript that requires the tag with the class and title populated. I can't work out how to do it in docbook. I have used the below as a temporary work around which works but would prefer it in docbook if possible. Cited Content Thanks, Peter

Re: [docbook-apps] Redundant end tags been removed

2014-07-23 Thread Peter Fleck
Thanks Stefan, When I put something between the > it works, although obviously it gets copied to each instance. However at the moment I'm happy to just getting it working. Peter On 23/07/2014 20:10, Stefan Knorr wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Peter, We had a sim

[docbook-apps] Redundant end tags been removed

2014-07-23 Thread Peter Fleck
Hi guys, I'm trying to add the below to each chunked html page. What happens is that the

[docbook-apps] Endorsements

2014-05-29 Thread Peter Fleck
Hi guys, What's the best way to mark-up endorsements and content that either goes before or after the main book? ie. Content before the titlepage and after the index. An example is endoresements are placed sometimes at the beginning and sometimes at the end. Also there is the occasion where a

Re: [docbook-apps] titlepage customization - found more than one template

2014-05-09 Thread Peter Fleck
...@sagehill.net On 5/9/2014 7:38 AM, Peter Fleck wrote: Ok, I've tried repeatedly and now have to admit that I must be doing something silly somewhere. I copied the /titlepage.templates.xml/ made the changes I wanted used xsltproc to create my custom titlepage.xsl. In my customization file I have:

[docbook-apps] titlepage customization - found more than one template

2014-05-09 Thread Peter Fleck
Ok, I've tried repeatedly and now have to admit that I must be doing something silly somewhere. I copied the /titlepage.templates.xml/ made the changes I wanted used xsltproc to create my custom titlepage.xsl. In my customization file I have: http://www.w3.org/1999/XSL/Transform"; xmlns:d="

[docbook-apps] HTML5 Audio + Video multiple sources

2013-12-07 Thread Peter Fleck
Hi all, Is it possible in html5 output of audio and video to have multiple sources and fallback? I'm thinking specifically of for example: If tried different ways but haven't been able to do it yet, is it possible? Many thanks, Peter

Re: [docbook-apps] html5 align image right

2013-09-05 Thread Peter Fleck
Text The informalfigure wrapper lets you add a floatstyle attribute, without adding a title. Bob Stayton Sagehill Enterprises b...@sagehill.net <mailto:b...@sagehill.net> *From:* Peter Fleck <mailto:peterfl...@gmail.com> *Sent:* Thursday, September 05, 2013 8:56 AM *To:* Stefan Knorr

Re: [docbook-apps] html5 align image right

2013-09-05 Thread Peter Fleck
Thanks Stefan - that worked when I changed the html manually. How do I get the stylesheet to create it with float rather than "text-align" without me having to manually change the html? Peter On 05/09/13 16:04, Stefan Knorr wrote: Hi Peter, On Do, 2013-09-05 at 13:15 +0200, P

[docbook-apps] html5 align image right

2013-09-05 Thread Peter Fleck
Hi all, Sorry if I'm doing something silly here. I have an inline image which I want right aligned in the html 5 output (I'm using Docbook 5.1 Article). Here's my docbook: http://jpg"; contentwidth="200" align="right" format="jpg"> With Oxygen it works fine producing this