[docbook] Attribute Set for

2013-04-18 Thread Stefan Knorr
Hi all, I created some custom fo:simple-page-masters for the DocBook/4, v.1.78.1 and while adding support for draft mode to them, I wondered why the original authors bothered with putting xsl:if test=$draft.watermark.image != '' xsl:attribute name=background-image xsl:call-template

Re: [docbook] Attribute Set for

2013-04-21 Thread Stefan Knorr
Hi Bob, you're right of course. Sorry for the useless proposal. Anyway, is there all that much of a difference between a normal simple-page-master and a draft simple-page-master whose watermark has been turned off? (My rather superficial diff seems to indicate that the xsl:if in question is

Re: [docbook] Attribute Set for

2013-04-23 Thread Stefan Knorr
Hi Bob. Thanks for your answer – I'll give this a rest, then. Stefan. -- SUSE LINUX GmbH, Maxfeldstraße 5, D-90409 Nürnberg Geschäftsführer: Jeff Hawn, Jennifer Guild, Felix Imendörffer HRB 21284 (AG Nürnberg) - To

[docbook] Potential bug with paras nested in listitems

2013-09-06 Thread Stefan Knorr
Hi all, I discovered this while trying out some attributes for paras: for the first para inside a list-item, the para.properties attribute set is not applied. (See the template at lists.xsl +311; I use the DocBook stylesheet 1.78.0) Would you consider this a bug or is this on purpose? Regards,

Re: [docbook] Potential bug with paras nested in listitems

2013-09-09 Thread Stefan Knorr
Hi Bob, On Fr, 2013-09-06 at 10:04 -0700, Bob Stayton wrote: I don't think that is the case any more, so this should probably be considered a bug. Could you file a bug report on the SourceForge site so it can get fixed? Thanks done: https://sourceforge.net/p/docbook/bugs/1311/ Stefan.

[docbook] Localisation bug in common/titles.xsl?

2014-07-23 Thread Stefan Knorr
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi all, just a question: Is the following a localisation bug or am I overlooking something obvious and this is fine? DocBook 1.78.1, file: common/titles.xsl, line 485ff: [...] xsl:template match=answer mode=title.markup !-- answers don't have

Re: [docbook] Localisation bug in common/titles.xsl?

2014-07-23 Thread Stefan Knorr
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Bob, thanks for the quick answer. I have opened this bug: https://sourceforge.net/p/docbook/bugs/1339/ Stefan. - -- SUSE LINUX Products GmbH, Maxfeldstraße 5, D-90409 Nürnberg Geschäftsführer: Jeff Hawn, Jennifer Guild, Felix Imendörffer HRB

Re: [docbook-apps] a inside li adds white space in Firefox and IE?

2013-04-25 Thread Stefan Knorr
Hi Eric, On Thu, 2013-04-25 at 06:29 +, Eric Nordlund wrote: It's almost as if the a tag is pushing the p down. I guess that's it – I am not sure what the a tag is interpreted as, but the p is interpreted as a block element. This means it tries to take up all available horizontal space.

Re: [docbook-apps] RE: Box around the footer

2013-05-14 Thread Stefan Knorr
Hi Richard, On Di, 2013-05-14 at 16:46 +, Kerry, Richard wrote: If they haven't come through please let me know and I'll find some other way of sending them. I see an Outlook Web Access login screen. So, no they don't seem to have come through. Hth, Stefan. -- SUSE LINUX GmbH,

Re: [docbook-apps] html5 align image right

2013-09-05 Thread Stefan Knorr
Hi Peter, On Do, 2013-09-05 at 13:15 +0200, Peter Fleck wrote: pspan class=inlinemediaobjectimg style=text-align: right; src=http://jpg; width=200//spanSome Text/p However the image is not being aligned to the right. Am I doing something wrong? Well, it's called text-align for a

Re: [docbook-apps] how to increase indenting on lists?

2013-09-19 Thread Stefan Knorr
Hi Robert, On Do, 2013-09-19 at 06:23 -0500, Robert Nagle wrote: I am trying to increase the amount of indent on my itemizedlists and orderedlists for my print output. Lists on my PDF show up at the same indent as my paragraphs. This looks particularly bad on my itemizedlists. I had some

Re: [docbook-apps] smart quotes are acting stupid in Firefox IE; why?

2013-10-28 Thread Stefan Knorr
Hi Robert, On Fr, 2013-10-25 at 22:23 -0500, Robert Nagle wrote: As you know, MS Word automatically changes quotes to smart quotes and so my docbook source in Oxygen editor includes smart quotes and not normal quotes. I think the best way to generate quotes in DocBook is using the quote

Re: [docbook-apps] Strip docbook-5 to content only

2014-03-24 Thread Stefan Knorr
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Dave, On 23/03/14 12:32, davep wrote: I'm playing with a grammar checker that isn't as yet XML friendly. One option is to strip all markup and pass through to the grammar checker having expanded any xincludes. Interesting -- what checker

Re: [docbook-apps] Strip docbook-5 to content only

2014-03-25 Thread Stefan Knorr
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Dave, On 25/03/14 08:37, davep wrote: Interesting -- what checker do you use, if I may ask? https://languagetool.org/ Oh ok. Style? I'm not sure I understand what is meant by style Stefan? Style, as referring to our style guide --

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

2014-07-23 Thread Stefan Knorr
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Peter, We had a similar problem here, we did not find a solution that fit us too well (we're using DocBook 4, XHTML 1.1 Saxon 6 or Xsltproc [interchangeably]). Xsltproc always just worked, but Saxon was troubling. Despite the tone, everything

[docbook-apps] Finding out if an element is processed as part of an xref text

2014-07-23 Thread Stefan Knorr
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi again, so... we are trying to create nice-looking PDF documents with nice fonts that are displayed with matching x-heights (i. e. when mixing different fonts on the same line, the height of the lowercase letters should always be the same). We

Re: [docbook-apps] Finding out if an element is processed as part of an xref text

2014-07-24 Thread Stefan Knorr
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Bob, thanks a lot for the answer. In the meantime, I had conceded that my issue was a bit of a corner case and maybe not worth pursuing with too much fervour (at least for now :) ). I am now using the sans-serif font for all xrefs (with the

Re: [docbook-apps] Adjusting the size of Notes in PDF

2015-12-02 Thread Stefan Knorr
Hi Rob, In DocBook lingo, note/caution/warning/important are all called "admonitions"/"admons". So, for XSL-FO/PDF output, take a look at the attribute-sets: * admonition.properties * admonition.title.properties for HTML, there is a param named admon.style which might help you. Stefan.

Re: [docbook] What is the use of allowing variablelists within variablelists?

2015-11-19 Thread Stefan Knorr
Hi Bob, Brad, thanks for the explanations! To be honest, I still think that allowing (formal|sim)para should be enough... but I can accept different opinions. At least this is expected and not a bug. Stefan. ---. SUSE Linux

[docbook] What is the use of allowing variablelists within variablelists?

2015-11-19 Thread Stefan Knorr
Hi all, Tom (CCd) and I were wondering about a quirk (?) in the DocBook 5 schema: What is the rationale for allowing the following construct? [...] (The same works for other kinds of lists within variablelist.) Regards, Stefan. ---

Re: [docbook] Recursive use of elements and

2016-06-28 Thread Stefan Knorr
Hi Jürgen, Negative: In db4 it was possible to use and recusively: within or within and vice versa. This makes sense as it reflects the real situation of computer languages. In db5 this is no longer valid. As long as there is no other technique to express such computer language

Re: [docbook] DocBook version on background of TDG web sites

2016-08-11 Thread Stefan Knorr
Hi Dave, has td[g]5 in the URL? True, and there even is a small "DocBook 5" at the top right of the page, and the page CSS is also slightly different for each of the versions. But there that was nothing big and obvious that you could see from two meters away. Stefan. ---

Re: [docbook-apps] user-defined text/background color in HTML output

2016-08-15 Thread Stefan Knorr
Hello Ekaterina, On Mon, 15 Aug, 2016 at 3:06 PM, Shikareva, Ekaterina wrote: fgcolor:red;bgcolor:yellow; I doubt that you should allow authors to change this way, ... Yet, what you are looking for is the tag which is a close equivalent to DocBook's . I.e.: Hth,

RE: [docbook-apps] user-defined text/background color in HTML output

2016-08-15 Thread Stefan Knorr
Hi Ekaterina, as far as I understood your original mail, you managed to get your list of values parsed in the case of XSL-FO. If not, you will have to write some XSLT to parse your pseudo-CSS... Expect this to be a bit hard -- XSLT (at least, 1.0) is not really made for string manipulation,

RE: [docbook-apps] user-defined text/background color in HTML output

2016-08-15 Thread Stefan Knorr
Hi Ekaterina, I presume, you will have to replace the template for phrase then, at least partly. Maybe try something like: ... That would allow you to keep the normal phrase template intact and only add your "role"-hacked template where needed. If you need the original handling to happen in

RE: [docbook-apps] Removing newlines between s

2016-08-23 Thread Stefan Knorr
Hi Ekaterina, from your response to Bob, I finally understood your problem... this sounds like a bug. However, I can't reproduce this here; not with HTML and not with FO output. Spacing is exactly the same in between same-line paras and para with a line break in between. However, the space

Re: [docbook-apps] Removing newlines between s

2016-08-23 Thread Stefan Knorr
Hi Ekaterina, (I'll try again, maybe it's helpful this time... although I won't attempt to go into strip-space details.) If this is just about entries, how about just removing all para tags from entries? I.e.: This should give the effect you want, I think, without you having to add more

Re: [docbook-apps] Language/style linter for DocBook processing?

2018-08-13 Thread Stefan Knorr
Hi Peter, for that purpose, we are using: https://github.com/opensuse/suse-doc-style-checker Based upon Python 3 + XSLT + regexes. Heavily geared toward our use case but, with some time and expertise, quite adaptable, I'd hope. Stefan. -- SUSE Linux GmbH. Geschäftsführer: Felix Imendörffer,

[docbook-apps] Tool to validate table layouts?

2019-08-22 Thread Stefan Knorr
Hello all, We regularly see issues with table layouts that break PDF builds of documents. This often goes undetected for weeks because we only build PDFs only every so often--they take a lot longer to generate than HTML versions of the same documents. Now HTMLs build won't break because of

Fwd: [docbook-apps] Tool to validate table layouts?

2019-08-26 Thread Stefan Knorr
Hi, [forgot including the list here.] On 8/22/19 5:37 PM, Tony Graham wrote: >    https://github.com/nigelwhitaker/cals-table-schematron Thanks! While this includes a bunch of things I can't properly use (saxon-only elements etc.), this does seem like a good resource for getting the

Re: AW: [docbook-apps] Tool to validate table layouts?

2019-08-26 Thread Stefan Knorr
Hi, On 8/23/19 2:16 PM, Frank Ralf wrote: > oXygen XML Editor does table syntax checking for DITA files. Might be > available for DocBook files as well because the underlying XML structure ist > the same. Thanks but unfortunately, using a commercial GUI tool in a public CI does not really work.

Re: [docbook-apps] Asciidoc -> docbook -> PDF tooling

2021-11-10 Thread Stefan Knorr
s, as do a few other layouting quirks around monospace and such. -- Stefan Knorr, technical writer SUSE Software Solutions Germany GmbH: Maxfeldstraße 5 / 90409 Nürnberg/ Germany. HRB 36809, Amtsgericht Nürnberg. Gf. Ivo Totev. OpenPGP_signature Description: OpenPGP digital signature