RE: [docbook-apps] UI strings vs manual strings ?

2022-12-06 Thread Jan Tosovsky
On 05/12/2022 23:05, Jean-Christophe Helary wrote: > What's the best way in a DocBook centered process to ensure that the > list of terms used in a software UI is (semi-automatically?) taken > into account in the DocBook sources that describe that software? In your document you can use and

RE: [docbook-apps] Multiplatform toolchain for outputting "nice" PDF

2022-11-14 Thread Jan Tosovsky
On November 14, 2022 Jean-Christophe wrote: > Currently, the PDF that's built from our DocBook set is, not visually > pleasant, to say the least. When generating outputs you are usually pushed to follow the corporate identity. And it is IMHO easier extending the minimalistic default style than

RE: [docbook-apps] Relative paths when processing DocBook 5 with DocBook 4 stylesheets

2019-06-14 Thread Jan Tosovsky
On 2019-06-14 Jirka Kosek wrote: > On 11.6.2019 23:19, Jan Tosovsky wrote: > > In my case all relative images has become absolute. > > Or are there better/built-in ways? > > Well this is tricky area. I would suggest switching to "ns" flavour of > stylesheets

[docbook-apps] Relative paths when processing DocBook 5 with DocBook 4 stylesheets

2019-06-11 Thread Jan Tosovsky
Dear All, I am facing relative path issue described in http://www.sagehill.net/docbookxsl/ProcesingDb5.html : >> The disadvantages of [DocBook 4] stylesheets for DocBook 5 are: >> - The act of copying the content into a node set loses the base URI of the document. This can create problems with

RE: [docbook-apps] page numbers are not right aligned

2018-11-26 Thread Jan Tosovsky
On 2018-11-26 Bob Stayton wrote: > The more general case with dot leaders and right alignment is an > inresolved FOP bug: > > https://issues.apache.org/jira/browse/FOP-1839 > IIRC this problem can be eliminated if outer spaces around the dots are replaced with leaders of fixed width. The

RE: [docbook-apps] Capital latin "Q" with dot above

2018-06-12 Thread Jan Tosovsky
On 2018-06-11 oa...@docbook-autor.de wrote: > > as it seems there isn't an entity for a capital latin "Q" with a dot > above like . > > I'm wondering how to realise generic diacritical marks with DocBook > (besides using an inline image...). You cannot combine multiple characters to form the

RE: [docbook-apps] Japanese index

2018-04-25 Thread Jan Tosovsky
On 2018-04-25 Jirka Kosek wrote: > On 25.4.2018 11:57, Tony Graham wrote: > > Sorry, but I've never used it, so all that I know is what's on the website. > > I see. After digging some old emails I have been able to find this link: > > https://www.antennahouse.com/i18n-support-library-2/ > > It

[docbook-apps] Japanese index

2018-04-24 Thread Jan Tosovsky
Dear All, has anybody any experience with generating Japanese back-of-the-book index from DocBook source? I am facing same issues discussed in this old thread (all entries end up in the Symbols section): https://lists.oasis-open.org/archives/docbook-apps/200605/msg00063.html If I understand

RE: [docbook-apps] REST API description

2017-12-07 Thread Jan Tosovsky
On 2017-12-07 David Cramer wrote: > On 2017-12-05 Jan Tosovsky wrote: > > Is there any recommended DocBook tag set for describing REST API? > > I don't think DocBook is the right vocabulary for modeling a REST API. > There's an XML schema, WADL (Web Application De

[docbook-apps] REST API description

2017-12-05 Thread Jan Tosovsky
Dear All, is there any recommended DocBook tag set for describing REST API? My current structure is depicted in http://drifted.in/other/docbook/rest.png I use common elements like sections, simplesects, tables, programlistings, tips, but not sure what vocabulary use for URL fragments (1) or

RE: [docbook-apps] xincludes and graphics

2017-11-23 Thread Jan Tosovsky
On 2017-11-23 Shikareva, Ekaterina wrote: > > I've encountered a known issue with including documents and images from > subdirectories into one main document for PDF output, and I can't wrap > my head around the solution. Can you please share some advice? > > Setup: > - Saxon 6.5.5 > - Xerces

[docbook-apps] [ANN] A new method for chunking HTML files

2017-09-14 Thread Jan Tosovsky
no means to preserve this natural splitting when generating set of HTML pages. Good news. It is not a problem any more when keeping several simple rules and employing one handy open source tool. See further details on the blog http://www.doctribute.com/blog/ Any feedback is welcome, Thanks, Jan

[docbook-apps] GitHub XSL issues

2017-08-21 Thread Jan Tosovsky
Dear All, I am facing issue already reported and even fixed via pull request, but it is still waiting for integrating. https://github.com/docbook/xslt10-stylesheets/issues/32 I've already fixed it for myself, but I have several related questions: (1) what is the official repository for XSL

RE: [docbook-apps] Pure JS WebHelp

2017-07-05 Thread Jan Tosovsky
On 2017-07-05 Wood Nick wrote: > > I followed your demo on the above subject through docbook-apps and was > really impressed with what you have done, there were some calls for you > to put your customization on GitHub, I know at the time you were busy, > have you been able to upload the

RE: [docbook-apps] Pure JS WebHelp

2017-04-19 Thread Jan Tosovsky
Thank you all for your positive feedback! It is the best motivation for me. I am quite busy with other activities, but I'll try to move this further later next month. Some answers: > I notice you're using . Have you tried your XSL with > structuring? Sure, the section element is the first

[docbook-apps] Pure JS WebHelp

2017-04-16 Thread Jan Tosovsky
Dear All, as promised, I've published a demo output https://www.bilyujezd.cz/beta/strucna-historie.html Core changes against the current WebHelp: - responsive design (Mobile First) - breadcrumb - improved ToC processing (ToC is linked, not embedded in every HTML file) - enhanced search related

RE: [docbook-apps] webhelp jquery update

2017-04-08 Thread Jan Tosovsky
On 2017-04-03 Katharina Udemadu wrote: > > has anyone updated the jquery files included in the webhelp template to > a later version? In my customization I even get rid of entire jQuery stuff in favor of pure JS :-) My original plans were to offer this back to the community, but with

RE: [docbook-apps] Reset footnote numbering for each chunk

2017-03-08 Thread Jan Tosovsky
On 2017-03-08 Jan Tosovsky wrote: > > my HTML output consists of (manually) chunked chapters and sections. > However, my footnotes are still numbered from the beginning. > > I've located the following template in the html/footnote.xsl: > > > > which implements quite

[docbook-apps] Reset footnote numbering for each chunk

2017-03-08 Thread Jan Tosovsky
Dear All, my HTML output consists of (manually) chunked chapters and sections. However, my footnotes are still numbered from the beginning. I've located the following template in the html/footnote.xsl: which implements quite basic counting (simplified here for better understanding): Is

RE: [docbook-apps] WebHelp search - anybody working on improving?

2016-11-10 Thread Jan Tosovsky
On 2016-11-10 Janice Manwiller wrote: > > The WebHelp search is a source of frustration, mostly because it does > not support phrase searches... > > Has there been any effort to improve the search? Has anyone else > implemented a custom search that supports phrase searches? > In the current

[docbook-apps] [OT][XSLHL] Support for Objective-C

2016-11-09 Thread Jan Tosovsky
Dear All, I have slightly off topic question. Has anybody implemented code highlighter for Objective-C? I am trying to create it, but I need more complex logic for processing directives. I am missing highlighter options documentation. There seems to be a dedicated page on the wiki, but I have no

[docbook-apps] [WebHelp] Language support for search

2016-06-22 Thread Jan Tosovsky
Dear All, looking into the language support I can see only en/es/jp stopwords and de/en/fr stemmers: http://snapshots.docbook.org/xsl/webhelp/template/search/ Has anybody implemented additional ones? In foreseeable future I'd like to cover also pt/it/cs/nl. I have some ideas, based on lucene

[docbook-apps] DocBook to ConTeXt XSL stylesheets

2016-04-13 Thread Jan Tosovsky
Dear All, let me introduce a new project aiming to offer outstanding typography for your PDF outputs from DocBook XML source. Details can be found at http://doctribute.com/blog/ There is also a step by step description how to test stylesheets on a sample DocBook book. Let's give it a try! If

RE: [docbook-apps] [OT] DocBook XSL license

2016-03-20 Thread Jan Tosovsky
Dear Richard, On 2016-03-16 Richard Hamilton wrote: > On 2016-03-12 Jan Tosovsky wrote: > > > > I am implementing stylesheets for DocBook conversion into special > > format which I'd like to publish on GitHub. I am reusing the code > > from DocBook XSL distribut

[docbook-apps] [OT] DocBook XSL license

2016-03-12 Thread Jan Tosovsky
Dear All, I am implementing stylesheets for DocBook conversion into special format which I'd like to publish on GitHub. I am reusing the code from DocBook XSL distribution - from /common and /lib. I plan to distribute it under a common license, most likely GPL v3. I'd like to verify if this

RE: [docbook-apps] Madcap Flare to Docbook conversion

2015-12-09 Thread Jan Tosovsky
On 2015-12-09 Frank Arensmeier wrote: > On 2015-12-09 Peter Lavin wrote: > > On 2015-12-09 Frank Arensmeier wrote: > > > > > > I am wondering, does anyone have any experience with transforming > > > Madcap Flare to Docbook? > > > > Do you have access to Flare HTML output files? If so, use these >

[docbook-apps] DocBook Wiki

2015-09-16 Thread Jan Tosovsky
Dear All, recent discussion touched various parts of DocBook workflow. In my opinion it could be helpful to convert some ideas into dedicated wiki articles or update current ones. http://wiki.docbook.org/ I've tried to create a new account, but I got an error related to 'newaccount' action. Is

RE: [docbook-apps] DB2PDF et al. alternative (long). Was: Show off what you've done with Docbook

2015-09-15 Thread Jan Tosovsky
Dear Giuseppe, thanks a lot for this valuable post! On 2015-09-15 Giuseppe Bonelli wrote: > > My conclusion is that while DB is *very* good and well supported as a > structuring and archiving format, FOP and friends are not a suitable > solution for producing professional PDF. > ... > I then

RE: [docbook-apps] Show off what you've done with Docbook

2015-09-13 Thread Jan Tosovsky
On 2015-09-13 Warren Block wrote: > On Sun, 13 Sep 2015, Gerard Nicol wrote: > > > Does anybody sell a commercial Docbook customization layer? > > I don't know of any, but would be interested. Maybe there is a place > with downloadable DocBook "themes", or maybe it is time for that. There are

RE: [docbook-apps] PDF-like HTML output

2015-08-24 Thread Jan Tosovsky
On 2015-08-24 Carlos Araya wrote: On 2015-08-19 Jan Tosovsky wrote: On 2015-08-19 Carlos Araya wrote: The main issue for me is that, to my knowledge, there is no open source solution that works with CSS Paged media and its associated generated content) and none of the available

RE: [docbook-apps] PDF-like HTML output

2015-08-19 Thread Jan Tosovsky
Dear Carlos, thanks for your valuable feedback! On 2015-08-19 Carlos Araya wrote: The main issue for me is that, to my knowledge, there is no open source solution that works with CSS Paged media and its associated generated content) and none of the available commercial solutions is cheap. I

[docbook-apps] PDF-like HTML output

2015-08-09 Thread Jan Tosovsky
Dear All, (1) there was lot of work in W3 recently dedicated in CSS for paged media (2) there are conversion tools from HTML+CSS to PDF utilizing these features (3) some interesting JavaScript libraries have appeared (e.g. vivliostyle.js) emulating the intended rendering to 'yet inmature'

RE: [docbook-apps] Visual DocBook editors

2015-05-24 Thread Jan Tosovsky
Hi George, On 2015-05-24 George Bina wrote: On 23/05/15 00:37, Jan Tosovsky wrote: originally I've been searching for any free / low cost visual docbook editor for rare use by various non-techie people within company as full-featured product (e.g. Oxygen Author) seems

RE: [docbook-apps] Visual DocBook editors

2015-05-23 Thread Jan Tosovsky
On 2015-05-23 Simon Dew wrote: On 2015-05-22 Jan Tosovsky wrote: originally I've been searching for any free / low cost visual docbook editor for rare use by various non-techie people within company as full-featured product (e.g. Oxygen Author) seems to be an overkill

RE: [docbook-apps] Visual DocBook editors

2015-05-23 Thread Jan Tosovsky
Hi Nils, wow, what a nice list of projects! On 2015-05-23 Nils Cordes wrote: On 2015-05-23 Jan Tosowsky wrote: Have I overlooked any handy tool or service? NeoDoc Calenco http://www.neodoc.biz/en/calenco/index.html http://sourceforge.net/projects/calenco/ I can see just marketing on

[docbook-apps] Visual DocBook editors

2015-05-22 Thread Jan Tosovsky
Dear All, originally I've been searching for any free / low cost visual docbook editor for rare use by various non-techie people within company as full-featured product (e.g. Oxygen Author) seems to be an overkill. Unfortunately, there are just several alternatives, none of them below $50.

[docbook-apps] [XSL-FO] CALS table width issue for columns without colwidth

2015-04-27 Thread Jan Tosovsky
Dear All, I've migrated some old customization layer and found it behaves differently for certain tables. When no colwidths are specified, I expect all columns occupy just required width (as in case of HTML tables). But in 1.78.1 such a table is stretched to the all available width and columns

RE: [docbook-apps] Solution: Page numbers not aligned in TOC

2015-04-09 Thread Jan Tosovsky
On 2015-04-09 Martin Doucha wrote: On 2015-04-09 Kallauch Benjamin wrote: I noticed a fuzzy looking TOC some time ago with my FO-results from FOP 1.1 and DocBook-XSL 1.78.1. The page numbers seemed to be misaligned slightly. They ought to be aligned on the right side, but they were

[docbook-apps] Non translatable content in Docbook 4.x

2015-01-13 Thread Jan Tosovsky
Dear All, I'd like to mark some text as non translatable. I could add a common attribute to all elements in original DTDs, but I like the idea of utilizing ITS standard for this purpose, which seems to be supported in CAT tools. I've found this explanatory article, but I'd like to use it in old

RE: [docbook-apps] [WebHelp] Incorrect initial scroll to anchor in Chrome

2014-11-04 Thread Jan Tosovsky
On 2014-10-29 Jirka Kosek wrote: On 27.10.2014 19:04, Jan Tosovsky wrote: This seems to be caused by the following script located in the main.js file: var hash = window.location.hash; if (hash) { var targetOffset = $(hash).offset().top - 120; $('html,body').animate({scrollTop

[docbook-apps] [WebHelp] Incorrect initial scroll to anchor in Chrome

2014-10-27 Thread Jan Tosovsky
Dear All, I've noticed incorrect scrolling the page in Chrome when the URL contains a hash character. This seems to be caused by the following script located in the main.js file: var hash = window.location.hash; if (hash) { var targetOffset = $(hash).offset().top - 120;

RE: [docbook-apps] adding customization layers to Oxygen XML author

2014-03-29 Thread Jan Tosovsky
On 2014-03-28 Carlos Araya wrote: I've downloaded XML author and after looking at resources I'm drawing a blank as to how to add my customization layers to the editor's workflow. Does anyone have a guide or can point me to resources to get this accomplished? All Docbook related stuff is

RE: [docbook-apps] performance issue - 5MB Source lead to a processtime up to 20 minutes

2014-01-16 Thread Jan Tosovsky
On 2014-01-16 Jirka Kosek wrote: On 16.1.2014 17:32, markus.sticker.e...@zf.com wrote: If removed some obsolate (for my case) Parts and now I'm using the saxon 9.5 with multithreading and 3G heap so my process time is about 3-5 minutes. Not good - just a little better. First, I would

RE: [docbook-apps] Re: Syntax highlighting

2013-12-09 Thread Jan Tosovsky
On 2013-12-09 Norman Walsh wrote: ... future work on XSL FO has largely been abandoned. Does it mean that XSL-FO 2.0/next is not planned any more? Is there any citation for this? Thanks, Jan - To unsubscribe, e-mail:

RE: [docbook-apps] Syntax highlighting

2013-12-08 Thread Jan Tosovsky
On 2013-12-06 Norman Walsh wrote: I'm also tempted to abandon the XSL stylesheets and work instead on a purpose-built HTML+CSS rendering for printing. While I don't plan to upgrade my generating workflow to XSL 2.0 stylesheets in the near future, I am quite curious whether the proposed

RE: [docbook-apps] HTML5 Audio + Video multiple sources

2013-12-08 Thread Jan Tosovsky
On 2013-12-08 Bob Stayton wrote: On 12/7/2013 12:27 PM, Peter Fleck wrote: Is it possible in html5 output of audio and video to have multiple sources and fallback? I'm thinking specifically of for example: video source src=video.ogg type=video/ogg / source src=video.mp4