Hi Bob,
This does not seem to work. I already modify the space-* values in that
attribute set, so I just added your middle six lines. I also tried to
remove the choose/when bit, but in both cases the BNF were in normal
font size, not xx-small.
/Tomas
On 2016-11-13 23:51, Bob Stayton
Hi Tomas,
Since the font-size change is being made on the same element that uses
an attribute-set, you can customize the attribute-set instead to make
the font-size conditional on the element. An attribute-set is evaluated
each time it is applied.
For example:
xx-small
Hello one more time,
I feel that the EBNF blocks are too weird in normal font size, so I
changed them to extra small using a template, as below
(font-size="xx-small", line 6).
This works fine, but seems very ham-fisted.
Is there a better way to do this?
/Tomas
|
| name="object.id"/>
|
Hi there,
Does anyone knows how to change the font size of all element in a
simplelist ? I tried a naive approach:
xsl:attribute-set name=simplelist.properties
xsl:attribute name=font-size
xsl:choose
xsl:when test=@role= 'small10pt/xsl:when
xsl:otherwiseinherit/xsl:otherwise
Hi Mathieu,
On Thu, 30 Aug 2012 15:47:22 +0200
Mathieu Malaterre mathieu.malate...@gmail.com wrote:
Hi there,
Does anyone knows how to change the font size of all element in a
simplelist ? I tried a naive approach:
xsl:attribute-set name=simplelist.properties
xsl:attribute
Hello folks,
In my custom stylesheet I defined my own template for guilabel,
guimenu, etc.
Sometimes I use those tags inside section title and I would like to a
font-size proportional to the title font size.
I tried with font-size=0.9em (in the fo:inline statement). It's ok
for the
...
Bob Stayton
Sagehill Enterprises
[EMAIL PROTECTED]
- Original Message -
From: Jacques Foucry [EMAIL PROTECTED]
To: docbook-apps docbook-apps@lists.oasis-open.org
Sent: Thursday, April 17, 2008 7:31 AM
Subject: [docbook-apps] Font-size definition
Hello folks,
In my custom
-Ursprüngliche Nachricht-
Von: Bob Stayton [mailto:[EMAIL PROTECTED]
Gesendet: Wednesday, July 11, 2007 6:23 PM
An: Hinrich Aue; 'Mads Ipsen'
Cc: docbook-apps@lists.oasis-open.org
Betreff: Re: [docbook-apps] font size of programlisting monospace text
Hi,
Is your programlisting inside a formal object
-Original Message-
From: Hinrich Aue
But can I set the line spacing of the source code?
I changed the font size to 8pt, but the lines of the text
seem to have the
same distance - no space gained.
Is there an attribute like line-spacing?
-Original Message-
From: Mauritz Jeanson
Is there an attribute like line-spacing?
http://www.w3.org/TR/2001/REC-xsl-20011015/slice7.html#line-height
There is even a DocBook parameter for this property:
Subject: RE: [docbook-apps] font size of programlisting monospace text
-Original Message-
From: Mauritz Jeanson
Is there an attribute like line-spacing?
http://www.w3.org/TR/2001/REC-xsl-20011015/slice7.html#line-height
There is even a DocBook parameter for this property:
http
-Original Message-
From: Nelson, Dean
Is there any parameter other than 'normal'?
What else is valid?
Valid values are given by the specification:
http://www.w3.org/TR/2001/REC-xsl-20011015/slice7.html#line-height
Some usage examples can be found here:
are you using?
Bob Stayton
Sagehill Enterprises
DocBook Consulting
[EMAIL PROTECTED]
- Original Message -
From: Hinrich Aue [EMAIL PROTECTED]
To: 'Mads Ipsen' [EMAIL PROTECTED]
Cc: docbook-apps@lists.oasis-open.org
Sent: Tuesday, July 10, 2007 1:39 AM
Subject: AW: [docbook-apps] font size
Hi there,
I was trying to change the font size of programlisting text (formatting
objects).
I was trying:
xsl:attribute-set name=monospace.verbatim.properties
xsl:attributes name=font-size8pt/xsl:attributes
/xsl:attribute-set
But nothing changed.
What is the easiest was?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hinrich Aue wrote:
Hi there,
I was trying to change the font size of programlisting text (formatting
objects).
I was trying:
xsl:attribute-set name=monospace.verbatim.properties
xsl:attributes name=font-size8pt/xsl:attributes
Title: Re: [docbook-apps] Font size changes in author
and affi
Thanks Bob, now it uses my customization, BUT the
affiliation appears twice, the first time large large and blue, the
second small and green. It seems that
xsl:apply-templates select=.
mode=titlepage.mode/
outputs both the author
Title: Re: [docbook-apps] Font size changes in author
and affi
Found a way around this duplication: output the firstname,
othername and surname separately, but is this the best way?
Still two minor problems:
1. need to center the author with 3 non-breaking spaces at
end of surname. Messy
-Original Message-
From: Ron Catterall
xsl:template match=author mode=book.titlepage.recto.mode
fo:block font-size=23pt
color=blue
space-before=20pt
keep-with-next.within-column=always
?? xsl:apply-templates select=. mode=titlepage.mode/
Re: [docbook-apps] Font size changes in author and affiAh, that's because
you don't have a customization of authorgroup at the same level also. By
default, authorgroup is handled by the template with match=authorgroup
mode=titlepage.mode in titlepage.xsl, and it processes its children in
mode
Title: Re: [docbook-apps] Font size changes in author
and affi
Saxon 6.5.5 + XEP 4.9 + Oxygen 8.1 processing
?xml version=1.0
encoding=UTF-8 ?
!DOCTYPE book PUBLIC
-//OASIS//DTD DocBook XML V4.5//EN
http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
book
titleBook Title/title
Title: Font size chnages in author and
affiliation
On a book title page I have a need to have author
at a bigger font size than affiliation (which is within
author)
Otherwise no change to standard title page.
Changing the font-size=... in
.
xsl:template match=author
Title: Re: [docbook-apps] Font size changes in author
and affi
Apologies, I should have been more precise. I want
author in a larger font then orgname within
affiliation within author
On a book title page I have a
need to have author at a bigger font size than
affiliation (which is within
From: Vladimir G Ivanovic [EMAIL PROTECTED]
When I processed my DocBook 3.1 SGML files with DSSSL and OpenJade, I got
10pt PDF output. Now, when I process the same files (modulo minor
changes) as DocBook 4.1.2 XML files with the DocBook XSL stylesheets to
FO, I get 12pt output.
How do I
I finally tracked it down! I was using an older docbook.xsl, version
1.29. I upgraded to 1.44 and all is well: my fo output says 10pt, as
it should.
(Arrrgh! I wasted about 4 hours on this making sure it wasn't operator
error and that the answer wasn't already in the archives. Sigh.)
Thanks
Hi,
Is there some way to "switch off" reduction of title font size in html
output of recursive sections?
I would like to have all titles to be same size.
Thanks
Vlado
---
Best choice comes from experience, experience comes from bad choices.
/ CHOVANEC Vladimír [EMAIL PROTECTED] was heard to say:
| Is there some way to switch off reduction of title font size in html
| output of recursive sections?
| I would like to have all titles to be same size.
Use CSS. The stylesheets use H1, H2, H3, etc. as most people would expect.
Your user
26 matches
Mail list logo