Re: [docbook-apps] Footnote marks missing
unfortunately it works only for the preface. for the whole book I encountered the following error: Ambiguous rule match for /book[1]/part[3]/chapter[1]/para[3] Matches both "d:para[not(parent::d:footnote)]" on line 280 of file:/F:/EigeneDateien/Schmetterlingsbuechlein/xslt/fo/Falterbuechlein_4.xsl and "d:para[@role = 'zitat']" on line 261 of file:/F:/EigeneDateien/Schmetterlingsbuechlein/xslt/fo/Falterbuechlein_4.xsl Do you have a solution? Regards Bernhard 2em 2em 13pt inherit always 0.15em 0.1em .2em 12pt Am 11.02.2019 um 22:48 schrieb Bernhard Kleine: > works! Thanks a lot Bernhard > > Am 11.02.2019 um 16:32 schrieb Jirka Kosek: >> On 11.2.2019 10:03, Bernhard Kleine wrote: >>> I did as you advised. I found the offending template: >>> >>> >> anpassen -\-> >> This templates overrides the following template that injects footnote >> marks into the footnote: >> >> > priority="2"> >> >> >> >> >> >> > mode="footnote.number"/> >> >> >> >> >> >> >> The easiest fix would be to change match attribute in your template to >> >> d:para[not(parent::d:footnote)] >> >> >> Jirka >> -- spitzhalde9 D-79853 lenzkirch bernhard.kle...@gmx.net www.b-kleine.com, www.urseetal.net - thunderbird mit enigmail GPG schlüssel: D5257409 fingerprint: 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09 signature.asc Description: OpenPGP digital signature
Re: [docbook-apps] Footnote marks missing
works! Thanks a lot Bernhard Am 11.02.2019 um 16:32 schrieb Jirka Kosek: > On 11.2.2019 10:03, Bernhard Kleine wrote: >> I did as you advised. I found the offending template: >> >> > anpassen -\-> > This templates overrides the following template that injects footnote > marks into the footnote: > >priority="2"> > > > > > > mode="footnote.number"/> > > > > > > > The easiest fix would be to change match attribute in your template to > > d:para[not(parent::d:footnote)] > > > Jirka > -- spitzhalde9 D-79853 lenzkirch bernhard.kle...@gmx.net www.b-kleine.com, www.urseetal.net - thunderbird mit enigmail GPG schlüssel: D5257409 fingerprint: 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09 signature.asc Description: OpenPGP digital signature
Re: [docbook-apps] Footnote marks missing
On 11.2.2019 10:03, Bernhard Kleine wrote: > I did as you advised. I found the offending template: > > anpassen -\-> This templates overrides the following template that injects footnote marks into the footnote: The easiest fix would be to change match attribute in your template to d:para[not(parent::d:footnote)] Jirka -- -- Jirka Kosek e-mail: ji...@kosek.cz http://xmlguru.cz -- Professional XML and Web consulting and training services DocBook/DITA customization, custom XSLT/XSL-FO document processing -- Bringing you XML Prague conferencehttp://xmlprague.cz -- signature.asc Description: OpenPGP digital signature
Re: [docbook-apps] I have paragraphs that contains MarkDown. Is there a way in the XSLT to process them as markdown?
Hello Jirka, Thank you for this. I will try it out. Loren > On Feb 11, 2019, at 9:14 AM, Jirka Kosek wrote: > > On 7.2.2019 17:22, Loren Cahlander wrote: >> The entry for the param of $files is in MarkDown format. Is there a way for >> the MarkDown to be processed when generating the PDF? > > Hi Loren, > > student of my wrote XSLT 2 transform that can parse Markdown and convert > it to DocBook: > > https://github.com/MSmid/markdown2docbook > > You can add preprocessing step that would expand Markdown to DocBook > prior normal DocBook processing. > > Jirka > > -- > -- > Jirka Kosek e-mail: ji...@kosek.cz http://xmlguru.cz > -- > Professional XML and Web consulting and training services > DocBook/DITA customization, custom XSLT/XSL-FO document processing > -- >Bringing you XML Prague conferencehttp://xmlprague.cz > -- > signature.asc Description: Message signed with OpenPGP
Re: [docbook-apps] I have paragraphs that contains MarkDown. Is there a way in the XSLT to process them as markdown?
Neat Jirka. Of note, "Md2doc supports canonical Markdown specification by John Gruber" regards On Mon, 11 Feb 2019 at 14:14, Jirka Kosek wrote: > > On 7.2.2019 17:22, Loren Cahlander wrote: > > The entry for the param of $files is in MarkDown format. Is there a way > > for the MarkDown to be processed when generating the PDF? > > Hi Loren, > > student of my wrote XSLT 2 transform that can parse Markdown and convert > it to DocBook: > > https://github.com/MSmid/markdown2docbook > > You can add preprocessing step that would expand Markdown to DocBook > prior normal DocBook processing. > > Jirka > > -- > -- > Jirka Kosek e-mail: ji...@kosek.cz http://xmlguru.cz > -- > Professional XML and Web consulting and training services > DocBook/DITA customization, custom XSLT/XSL-FO document processing > -- > Bringing you XML Prague conferencehttp://xmlprague.cz > -- > -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org
Re: [docbook-apps] I have paragraphs that contains MarkDown. Is there a way in the XSLT to process them as markdown?
On 7.2.2019 17:22, Loren Cahlander wrote: > The entry for the param of $files is in MarkDown format. Is there a way for > the MarkDown to be processed when generating the PDF? Hi Loren, student of my wrote XSLT 2 transform that can parse Markdown and convert it to DocBook: https://github.com/MSmid/markdown2docbook You can add preprocessing step that would expand Markdown to DocBook prior normal DocBook processing. Jirka -- -- Jirka Kosek e-mail: ji...@kosek.cz http://xmlguru.cz -- Professional XML and Web consulting and training services DocBook/DITA customization, custom XSLT/XSL-FO document processing -- Bringing you XML Prague conferencehttp://xmlprague.cz -- signature.asc Description: OpenPGP digital signature
Re: [docbook-apps] Footnote marks missing
I did as you advised. I found the offending template: 0.15em 0.1em .2em 12pt As I cannot why this removes footnote marks, maybe you can explain it to me and please show how to overcome the problem. Bernhard Kleine Am 09.02.2019 um 17:00 schrieb Bob Stayton: > > When I run into a problem like this, I start commenting out templates > in my customization until I find the one causing the problem, then > examine that one in more detail. If you find the culprit but cannot > see why it is wrong, post it here. > > Bob Stayton > Sagehill Enterprises > b...@sagehill.net > -- spitzhalde9 D-79853 lenzkirch bernhard.kle...@gmx.net www.b-kleine.com, www.urseetal.net - thunderbird mit enigmail GPG schlüssel: D5257409 fingerprint: 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09 signature.asc Description: OpenPGP digital signature