[docbook-apps] participating GSOC 2013

2013-04-05 Thread Kelum Deshapriya
Hi all, I'm Kelum Deshapriya.i'm new to gsoc. I'm willing to participate gsoc 2013 and work with Docbook XSLT 2.0 stylesheets project. I haven't previous experience about project. so i did some searching to learn Docbook. http://en.wikipedia.org/wiki/DocBook http://www.sagehill.net/docbookxsl/index

Re: [docbook-apps] Specify FO output font size in xml element?

2013-04-05 Thread Richard Hamilton
That may be a quicker, easier way to do this. Certainly worth trying before you try my suggestion from a few minutes ago:-). Dick --- XML Press XML for Technical Communicators http://xmlpress.net hamil...@xmlpress.net On Apr 5, 2013, at 6:06 PM, Stefan Seefeld wrote: > On 04/05/2013 08:57

Re: [docbook-apps] Specify FO output font size in xml element?

2013-04-05 Thread Richard Hamilton
I see, that's a somewhat different situation. One strategy, though it will take a bit more customization, would be to use the strategy used in the standard stylesheets for the table.cell.properties template. This is a template that defines an attribute set (when called appropriately). Because i

Re: [docbook-apps] Specify FO output font size in xml element?

2013-04-05 Thread Stefan Seefeld
On 04/05/2013 08:57 PM, Eric Nordlund wrote: > Thanks Richard. I have used the attribute sets for the entire document, but > some of my examples are too long to fit on the page and I want to shrink the > font size for only that instance so I can fit it without compromising the > rest of the verb

RE: [docbook-apps] Specify FO output font size in xml element?

2013-04-05 Thread Eric Nordlund
Thanks Richard. I have used the attribute sets for the entire document, but some of my examples are too long to fit on the page and I want to shrink the font size for only that instance so I can fit it without compromising the rest of the verbatim blocks. In other words, I only want to apply th

Re: [docbook-apps] Specify FO output font size in xml element?

2013-04-05 Thread Richard Hamilton
Hi Eric, Take a look at the monospace.verbatim.properties attribute set. I know you can set the font there. You may also be able to adjust the margins (I haven't tried that in this context). Generally, I always look for attribute sets first when doing a customization, because if you can get wh

[docbook-apps] Specify FO output font size in xml element?

2013-04-05 Thread Eric Nordlund
Hi gang, I've had so much luck with this list this week. Thanks! I have some verbatim sections that I need to shrink the font size so the whole line fits on the page. I've modified the template in verbatim.xsl so that I can pass a width='1' attribute which sets the resulting fo:block to have 0p

Re: [docbook-apps] GSoC Project Idea: integrated LaTeX output support for the stylesheets

2013-04-05 Thread Gábor Kövesdán
Em 05-04-2013 22:16, maxwell escreveu: One obvious disadvantage is that we've needed to understand LaTeX (not plain TeX), since many of the tweaks rely on changes to our LaTeX style sheets, or alternative LaTeX packages. But this has been an advantage at the same time, since the LaTeX typesetti

Re: [docbook-apps] GSoC Project Idea: integrated LaTeX output support for the stylesheets

2013-04-05 Thread Gábor Kövesdán
Em 05-04-2013 18:19, honyk escreveu: If you need huge customizations in TeX based solutions, you need deep knowledge both XSLT and TeX parts of the production workflow as you usually have to customize both of them. That is exactly true about XSL FO as well. If you need customizations, you need t

RE: [docbook-apps] GSoC Project Idea: integrated LaTeX output support for the stylesheets

2013-04-05 Thread maxwell
On 2013-04-05 12:19, honyk wrote: I entered company that used dblatex. My task was to create outputs that meet the corporate identity. I very quickly switched to XSL-FO and commercial XSL-FO processor. I still believe this was the only solution to cope with that. If you need huge customizatio

Re: [docbook-apps] Epub2 and SVG

2013-04-05 Thread Marcel Tromp
I've not read Epub3 best practices yet: I was planning to stick with Epub2 for the time being because of a lack of 3.0 readers. I will try Epub3, but I expect similar results: when I use Streamium (an Epub3 capable reader) to render my Epub2, the svg is rendered incorrectly as well. Fall back wil

Re: [docbook-apps] Epub2 and SVG

2013-04-05 Thread Marcel Tromp
SVG is part of epub 2.0: http://www.idpf.org/epub/20/spec/OPS_2.0.1_draft.htm#Section2.5.1 MT -- On Thu, Apr 4, 2013 at 11:36 PM, davep wrote: > On 04/04/13 20:28, Marcel Tromp wrote: > >> I am curious about other people's approach to using SVG in Epub2. >> > > > IIRC Epub2, the spec, doesn't

RE: [docbook-apps] xrefs to elements don't work

2013-04-05 Thread Eric Nordlund
Thanks Bob. Your suggested style sheet customization worked for our documents; the links work and the correct text is displayed for the xref. One thing that I noticed is that the page.citation dows not work for the titles, however. This isn't a big deal for me because I just turn them off on ti

Re: [docbook-apps] FOP error

2013-04-05 Thread Bob Stayton
Hi Eric, Indeed, this is a bug in the template with match="question" in fo/qandaset.xsl. I've fixed it in SVN for the next release, and you can use this version in your customization layer:

RE: [docbook-apps] GSoC Project Idea: integrated LaTeX output support for the stylesheets

2013-04-05 Thread honyk
> Please share your thoughts. I entered company that used dblatex. My task was to create outputs that meet the corporate identity. I very quickly switched to XSL-FO and commercial XSL-FO processor. I still believe this was the only solution to cope with that. If you need huge customizations in Te

Re: [docbook-apps] xrefs to elements don't work

2013-04-05 Thread Bob Stayton
Hi Eric, Actually, creating an xref to a title used to work in the stylesheets. Currently it gets the generated text right, but the link is to the id of the title element, and most title elements do not output an @id attribute, so the link fails. It seems this feature was broken some time ago

Re: [docbook-apps] GSoC Project Idea: integrated LaTeX output support for the stylesheets

2013-04-05 Thread Tony Graham
On Fri, April 5, 2013 4:20 pm, Gábor Kövesdán wrote: > Em 05-04-2013 17:02, Tony Graham escreveu: >> On Fri, April 5, 2013 3:46 pm, Gábor Kövesdán wrote: >>> >Em 05-04-2013 16:00, Tony Graham escreveu: >>On Fri, April 5, 2013 2:09 pm, Gábor Kövesdán wrote: ... > >>>only usable open source

Re: [docbook-apps] GSoC Project Idea: integrated LaTeX output support for the stylesheets

2013-04-05 Thread Gábor Kövesdán
Em 05-04-2013 17:02, Tony Graham escreveu: On Fri, April 5, 2013 3:46 pm, Gábor Kövesdán wrote: >Em 05-04-2013 16:00, Tony Graham escreveu: >>On Fri, April 5, 2013 2:09 pm, Gábor Kövesdán wrote: >>>I plan to apply to this year's Summer of Code and I wanted to share my >>>idea with you for disc

Re: [docbook-apps] GSoC Project Idea: integrated LaTeX output support for the stylesheets

2013-04-05 Thread Tony Graham
On Fri, April 5, 2013 3:46 pm, Gábor Kövesdán wrote: > Em 05-04-2013 16:00, Tony Graham escreveu: >> On Fri, April 5, 2013 2:09 pm, Gábor Kövesdán wrote: >>> I plan to apply to this year's Summer of Code and I wanted to share my >>> idea with you for discussion. I've been using DocBook both for per

Re: [docbook-apps] GSoC Project Idea: integrated LaTeX output support for the stylesheets

2013-04-05 Thread Stefan Seefeld
On 04/05/2013 10:38 AM, Gábor Kövesdán wrote: > Em 05-04-2013 15:26, Stefan Seefeld escreveu: >>> There are two projects, db2latex and dblatex, which provide such >>> >functionality but they do not integrate well with the existing >>> >stylesheets and dblatex also introduces a new dependency, Pytho

Re: [docbook-apps] GSoC Project Idea: integrated LaTeX output support for the stylesheets

2013-04-05 Thread Gábor Kövesdán
Em 05-04-2013 16:00, Tony Graham escreveu: On Fri, April 5, 2013 2:09 pm, Gábor Kövesdán wrote: I plan to apply to this year's Summer of Code and I wanted to share my idea with you for discussion. I've been using DocBook both for personal documents (CV, Bachelor and Master Thesis, papers, etc.)

Re: [docbook-apps] GSoC Project Idea: integrated LaTeX output support for the stylesheets

2013-04-05 Thread Gábor Kövesdán
Em 05-04-2013 15:26, Stefan Seefeld escreveu: There are two projects, db2latex and dblatex, which provide such >functionality but they do not integrate well with the existing >stylesheets and dblatex also introduces a new dependency, Python. Can you elaborate a little how you would reuse existin

Re: [docbook-apps] GSoC Project Idea: integrated LaTeX output support for the stylesheets

2013-04-05 Thread Tony Graham
On Fri, April 5, 2013 2:09 pm, Gábor Kövesdán wrote: > I plan to apply to this year's Summer of Code and I wanted to share my > idea with you for discussion. I've been using DocBook both for personal > documents (CV, Bachelor and Master Thesis, papers, etc.) and in the > FreeBSD Project. I'm usuall

Re: [docbook-apps] GSoC Project Idea: integrated LaTeX output support for the stylesheets

2013-04-05 Thread Stefan Seefeld
Hi Gabor, On 04/05/2013 09:09 AM, Gábor Kövesdán wrote: > Hi, > > I plan to apply to this year's Summer of Code and I wanted to share my > idea with you for discussion. That's great to hear. I very much share your concern for the lack of tools to transform DB to printable media, and therefore su

Re: [docbook-apps] Epub2 and SVG

2013-04-05 Thread Mike Cook
On 04/04/2013 20:28, Marcel Tromp wrote: I am curious about other people's approach to using SVG in Epub2. However, all the epub readers we have tried do a horrible job of rendering SVG. We have tried Nook for Android, Aldiko, Mantano, EZpdf, and Readium. Azardi is the only one that produces u

[docbook-apps] GSoC Project Idea: integrated LaTeX output support for the stylesheets

2013-04-05 Thread Gábor Kövesdán
Hi, I plan to apply to this year's Summer of Code and I wanted to share my idea with you for discussion. I've been using DocBook both for personal documents (CV, Bachelor and Master Thesis, papers, etc.) and in the FreeBSD Project. I'm usually satisfied with the output that Apache FOP creates

[docbook-apps] [GSoC 2013] Creating interactive WebHelp output using client-side XSLT

2013-04-05 Thread DImuthu Upeksha
I'm trying to implement a sample project to simulate a WebHelp using Saxon-CE according to the way mentioned in http://docbook.xmlpress.net/tiki-index.php?page=Ideas2013 So I looked into Saxon-CE documentation but the problem is with xsl style sheet. In an example it looked like this http://www.

Re: [docbook-apps] xrefs to elements don't work

2013-04-05 Thread Aaron DaMommio
It sounded like, from Nordlund's description, his sections already have IDs. So it might cause problems to replace those IDs. We'd need to know: do ALL xrefs target titles, NONE of them target actual sections? --Aaron DaMommio On Fri, Apr 5, 2013 at 1:53 AM, Thomas Schraitle wrote: > Hi Eric,