[docbook-apps] danger admonition

2018-10-26 Thread Matteo Regazzo
Hi everybody,

I’ve read that the  admonition should be added to the others (tip, 
note, caution, …) with the 5.2 version of DocBook.
Is it true?

If it is, in the docbook.org website the newest available version is 5.1.
Is there a scheduled date for the release of the 5.2 version?

Thank you,
Matteo





Matteo Regazzo

Email: matteo.rega...@cmz.it | Web: www.cmz.it
Tel: +39 0422 447446 |  CMZ Sistemi Elettronici srl
Via dell'Artigianato, 21
Vascon di Carbonera (TV)
31050 ITALY
[cid:imageb61ae9.PNG@3b1aedd5.47a779d5]<http://www.cmz.it>
[cid:image2fdda7.PNG@5f22007f.49b85756]<http://www.sogaenergyteam.com/cmz/>


NOVEMBER 01-02 WE ARE CLOSED FOR RELIGIOUS HOLIDAY

 The information transmitted, including attachments, is intended only for the 
person(s) or entity to which it is addressed and may contain confidential 
and/or privileged material. Any review, retransmission, dissemination or other 
use of, or taking of any action in reliance upon this information by persons or 
entities other than the intended recipient is prohibited. If you received this 
in error please contact the sender and destroy any copies of this information.


[docbook-apps] R: [docbook-apps] footnote - nested tables

2018-06-28 Thread Matteo Regazzo
Thank you Bob,
the  is of course the perfect solution,
but the truth is… I wasn’t be honest ☺
I hoped to find a simple trick in your first answer.

The real problem for me is that the nested table (the internal one) is obtained 
through a link.

The real code I’m using is like this



 Lorem ipsum dolor sit amet 
http://www.w3.org/2001/XInclude; />




In this particular case, of course, it doesn’t accept me to insert the 
“include” in a . So I think the only solution is to modify the .xsl 
files… do you agree? Or Do you think the are other solutions?

Matteo R.

Da: Bob Stayton [mailto:b...@sagehill.net]
Inviato: mercoledì 27 giugno 2018 19:27
A: docbook-apps@lists.oasis-open.org
Oggetto: Re: [docbook-apps] footnote - nested tables


It is possible but it would not be simple.  The stylesheets were not designed 
to handle a table nested in a para in a table entry.  Normally CALS tables are 
nested with an entrytbl replacing entry, not a table element nested inside an 
entry element. In DocBook 5, your file will not validate as it would violate 
the Schematron rule that prevents putting informaltable inside entry.  It 
should be invalid in DocBook 4, but there is no way to express such an 
exclusion with DTD syntax.

The footnote machinery is already complicated by having to keep separate the 
table footnotes from the page footnotes.  So you would need to customize 
several templates that number and place footnote markers, as well as places 
where footnote paragraphs are rendered, to take into account nested table 
footnotes.  Those templates are in the footnotes.xsl and table.xsl stylesheet 
modules.

Bob Stayton

Sagehill Enterprises

b...@sagehill.net<mailto:b...@sagehill.net>
On 6/27/2018 5:49 AM, Matteo Regazzo wrote:
Hi everybody,

I’m facing a problem: I have a “table-in-a-table” and if I put a footnote in 
the text inside the inner table, it is reported twice: once out of the internal 
table and once out of the external one.
Is it possible to make it appear only under the internal table?

I hope my request is clear; I report my example and the result, to make it 
easier to understand.

Thank you in advance!

Matteo



  

  
External
Test
Table
  



  
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet




  

  Internal
  Test
  Table

  

  

  Lorem ipsum dolor sit amet
  Lorem ipsum dolor sit amet
  Lorem ipsum dolor sit 
ametMy footnote

  




  

  


[cid:image001.png@01D40EBC.92D1CAD0]




Matteo Regazzo

Email: matteo.rega...@cmz.it<mailto:matteo.rega...@cmz.it> | Web: 
www.cmz.it<http://www.cmz.it>
Tel: +39 0422 1566684 |

CMZ Sistemi Elettronici srl
Via dell'Artigianato, 21
Vascon di Carbonera (TV)
31050 ITALY

[cid:image003.png@01D40EBC.92D1CAD0]<http://www.cmz.it>
[cid:image005.png@01D40EBC.92D1CAD0]<http://www.sogaenergyteam.com/cmz/>


SUMMER CLOSING 2018: FROM 04 TO 26 AUGUST

 The information transmitted, including attachments, is intended only for the 
person(s) or entity to which it is addressed and may contain confidential 
and/or privileged material. Any review, retransmission, dissemination or other 
use of, or taking of any action in reliance upon this information by persons or 
entities other than the intended recipient is prohibited. If you received this 
in error please contact the sender and destroy any copies of this information.



[docbook-apps] footnote - nested tables

2018-06-27 Thread Matteo Regazzo
Hi everybody,

I’m facing a problem: I have a “table-in-a-table” and if I put a footnote in 
the text inside the inner table, it is reported twice: once out of the internal 
table and once out of the external one.
Is it possible to make it appear only under the internal table?

I hope my request is clear; I report my example and the result, to make it 
easier to understand.

Thank you in advance!

Matteo



  

  
External
Test
Table
  



  
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet




  

  Internal
  Test
  Table

  

  

  Lorem ipsum dolor sit amet
  Lorem ipsum dolor sit amet
  Lorem ipsum dolor sit 
ametMy footnote

  




  

  


[cid:image003.png@01D40E26.05700300]





Matteo Regazzo

Email: matteo.rega...@cmz.it | Web: www.cmz.it
Tel: +39 0422 1566684 | CMZ Sistemi Elettronici srl
Via dell'Artigianato, 21
Vascon di Carbonera (TV)
31050 ITALY
[cid:image6dae28.PNG@d44b1a54.458788e2]<http://www.cmz.it>
[cid:imageecd77f.PNG@c4968203.4597dcbd]<http://www.sogaenergyteam.com/cmz/>


SUMMER CLOSING 2018: FROM 04 TO 26 AUGUST


 The information transmitted, including attachments, is intended only for the 
person(s) or entity to which it is addressed and may contain confidential 
and/or privileged material. Any review, retransmission, dissemination or other 
use of, or taking of any action in reliance upon this information by persons or 
entities other than the intended recipient is prohibited. If you received this 
in error please contact the sender and destroy any copies of this information.


Re: [docbook-apps] Profiling NOT condition

2015-10-08 Thread Matteo Regazzo

Thank you all,
I trust Bob when he says "It isn't that complicated", my problem is that 
I'm not so smart/skilled with .xsl customization, but I have a good 
friend that maybe knows how to do :-D
In any case, for now, I've solved my issue through the "condition" 
generic attribute.


Thank you again,
Matteo


Il 07/10/2015 19:48, Bob Stayton ha scritto:
Take a look at the template with mode="profile" in 
profiling/profile-mode.xsl.  It isn't that complicated, and would be 
pretty straightforward to customize to support the logic for a NOT or 
ELSE option.


Bob Stayton
Sagehill Enterprises
b...@sagehill.net

On 10/6/2015 11:28 PM, Fekete, Róbert wrote:

I agree, it would be great to have a NOT condition for profiling.
Another useful thing would be something like ELSE (that is, to mark some
text that appears only if none of the conditions matched).

Robert

On Tue, Oct 6, 2015 at 3:57 PM, Thomas Schraitle <tom_s...@web.de
<mailto:tom_s...@web.de>> wrote:

Hi Matteo,

On Tue, 6 Oct 2015 15:36:53 +0200
Matteo Regazzo <matteo.rega...@cmz.it
<mailto:matteo.rega...@cmz.it>> wrote:

 > [...]
> Does the DocBook include something like a "NOT" conditionfor the
> profiling?

Unfortunately, the profiling stylesheet doesn't support a NOT 
condition.

It would be very convenient to have one.

What you can do is to list all possible profiling attributes 
except the

one which you want to exclude (that's your "not condition").

You can translate the "not condition" into this set of 
relationships:


  not Cond2 = Cond1
  not Cond1 = Cond2

If you allow more than two values in your profiling attribute, you
have to list *all* your possible values, except the excluded one:

  not Cond1 = Cond2;Cond3;Cond4;...


Hope this helps.


--
Gruß/Regards,
 Thomas Schraitle

-
To unsubscribe, e-mail:
docbook-apps-unsubscr...@lists.oasis-open.org
<mailto:docbook-apps-unsubscr...@lists.oasis-open.org>
For additional commands, e-mail:
docbook-apps-h...@lists.oasis-open.org
<mailto:docbook-apps-h...@lists.oasis-open.org>




-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org





--

/*Matteo Regazzo*/
*Technical writer*
CMZ Sistemi Elettronici S.r.l.
Società Unipersonale
Società soggetta ad attività di direzione e
coordinamento di C.M.Z. S.r.l. - controllante
Via dell'Artigianato, 21
I-31050 Vascon (TV)
Tel +39.0422.447411 - Fax +39.0422.447444
E-mail: matteo.rega...@cmz.it


/The information transmitted is only intended for the person or entity 
to which it is addressed and may contain confidential and/or privileged 
material.
Any review, re-transmission, dissemination or other use of, or taking of 
any action in reliance upon, this information by persons or entities 
other than the intended recipient is prohibited.
If you receive this in error, please contact the sender and delete the 
material from any computer./


[docbook-apps] Profiling NOT condition

2015-10-06 Thread Matteo Regazzo

Dear all,
usually when I insert a condition in the tags of my document I have a 
condition for every case.
I mean: if I have to show the value "3" in case of the first condition 
and the value "5" in the second one, I write, for example:

/35/

in this way I can decide which value has to be shown.

But if I have a profiling attribute with a single value (for example, 
the value 3 has to be shown if there is the Cond1, the value 5 in all 
the other cases, in other words when Cond1 is false), how can I do?

Does the DocBook include something like a "NOT" conditionfor the profiling?

I hope my problem is clear...
--

/*Matteo Regazzo*/
*Technical writer*
CMZ Sistemi Elettronici S.r.l.
Società Unipersonale
Società soggetta ad attività di direzione e
coordinamento di C.M.Z. S.r.l. - controllante
Via dell'Artigianato, 21
I-31050 Vascon (TV)
Tel +39.0422.447411 - Fax +39.0422.447444
E-mail: matteo.rega...@cmz.it


/The information transmitted is only intended for the person or entity 
to which it is addressed and may contain confidential and/or privileged 
material.
Any review, re-transmission, dissemination or other use of, or taking of 
any action in reliance upon, this information by persons or entities 
other than the intended recipient is prohibited.
If you receive this in error, please contact the sender and delete the 
material from any computer./


[docbook-apps] Multi-footnote reference

2014-12-19 Thread Matteo Regazzo

Hi everybody,
do you know if is it possible to link a single footnote to more than a line?
To explain better what I mean I've attached an image of a table with the 
footnote and the related numbers 1 in each line I need them. All 
written in red.
The only solution I have so far is to use the footnote in the first 
line and the superscript in the others... but if you know that there 
is a better solution, please teach me.


Thank you in advance,

Matteo R.

-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org

[docbook-apps] Status attribute

2014-06-17 Thread Matteo Regazzo

Hi everybody,

I'm facing a problem with a customization... I want to inhibit the 
presence of some object (such as rows, para, ...) in the generation of a 
PDF document, and I was expecting that I could use the /_status=draft 
_/attribute, but it doesn't work.
I've discovered that from DocBook 4.5 it doesn't work as a common 
attribute, but only for book, chapter, ... (maybe I can say only for 
macroelements).

Which attribute may I use to obtain the same result? Or what else can I do?

Thank you since now,
Matteo R.


Re: [docbook-apps] row's height

2014-02-04 Thread Matteo Regazzo
Yes, I've already watched last time, but I had not reported it to you, 
sorry.
I ever find fo:table-row block-progression-dimension.minimum=14pt, 
but the instruction should write 2cm.

I'll check the XSL conversion...

thank you,
Matteo

Il 03/02/2014 18:09, Bob Stayton ha scritto:

Hi Matteo,
Can you peek into the .fo file and see if the fo:table-row elements 
have the block-progression-dimension attribute with the values you 
specify? If so, then the fault is with the FO processor (although FOP 
1.1 should work).  If the attribute is absent, then the problem lies 
with the XSL conversion.


Bob Stayton
Sagehill Enterprises
b...@sagehill.net

On 1/31/2014 12:07 AM, Matteo Regazzo wrote:

Hi Mr. Bob,

I use:
- docbook-xsl-ns version 1.78.1 (revision 9732 as reported in the
REVISION file)
- FOP 1.1
- SAXON 6.5.5

Matteo


the stylesheets  version I'm using is
Il 28/01/2014 17:51, Bob Stayton ha scritto:

Hi Matteo,
Yes, you are using it correctly.  I copied and pasted your sample and
it works for me.  In the FO output file, there are row elements that
look like this:

fo:table-row block-progression-dimension=2cm

The block-progression-dimension property in XSL-FO is the same as
height for Western writing modes.  This shows that the processing
instruction is working.

What version of the stylesheets are you using, and what tools are you
using to process it?

Bob Stayton
Sagehill Enterprises
b...@sagehill.net

On 1/28/2014 1:10 AM, Matteo Regazzo wrote:

Thank you Mr. Bob,

if I suppose correctly, the command you've suggested me is a forcing
of the single row's height, that's exactly what I need.
Maybe I don't know how to make it work... I've added the 
instruction in

my code, as it is in your example, in this way

tbody
   row?dbfo row-height=2cm ?
 entry align=centerpara1/para/entry

 entry align=center morerows=2
valign=middleparainformalfigure
   mediaobject
 imageobject role=html
   imagedata align=center
fileref=figure/Table_BrakeResistor.png/
 /imageobject

 imageobject role=fo
   imagedata align=center
fileref=figure/Table_BrakeResistor.svg scale=70/
 /imageobject
   /mediaobject
 /informalfigure/para/entry
   /row

   row?dbfo row-height=2cm ?
 entry align=centerpara2/para/entry
   /row

   row?dbfo row-height=2cm ?
 entry align=centerpara3/para/entry
   /row
/tbody

but it doesn't work...
I've attached 2 files to show you my problem, hope that you can
understand it better:
- in the HTML version (file /NoProblemHTML.png/) it auto-resize the
rows without any instruction, see the 5 and 6 rows;
- in the PDF version (file /MyProblemPDF.png/) the rows don't resize,
even with /row-height/ setting. Maybe the problem is on the 
compiler? We

use FOP.

Thank you,
Matteo


Il 27/01/2014 18:05, Bob Stayton ha scritto:

I'm not completely clear on what you need here, but there are
processing instructions that can be used to specify a table row
height.  The HTML version is described here:

  http://www.sagehill.net/docbookxsl/RowHeight.html

And since that was written, an FO version was added as well:

row?dbfo row-height=2cm ?
  entry.../entry
  entry.../entry
/row

Setting a row height can only set a minimum height and will not alter
the image size, though.  To do that, you would need to scale the 
image

as needed.

Bob Stayton
Sagehill Enterprises
b...@sagehill.net

On 1/24/2014 8:40 AM, Matteo Regazzo wrote:

Hi everybody,

I have a question that I hope is simple for many expert users (of
course, I'm a beginner...)
I have a table with 2 columns:
- in the tbody of the first column there are 3 rows,
- in the tbody of the second column there is a figure that takes the
entire place of the three rows;

in this way:


informaltable
tgroup cols=3
  colspec colname=c1 colwidth=15*/
  colspec colname=c2 colwidth=70*/
  thead
 row
entry align=centerparaPIN/para/entry
entry align=centerparaScheme/para/entry
  /row
  /thead
  tbody
  row
 entry align=centerpara1/para/entry
 entry align=center morerows=2
valign=middleparainformalfigure
  mediaobject
imageobject role=fo
  imagedata align=center
fileref=figure/Table_BrakeResistor.svg scale=70/
/imageobject
/mediaobject/informalfigure/para
 /entry
   /row
   row
  entry align=centerpara2/para/entry
   /row
   row
   entry align=centerpara3/para/entry
   /row
/tbody
 /tgroup
/informaltable


The problem is that the picture's height is greater than the total
height of the 3 rows.
I've not found any property of the table, row, colspec, entry, or
other
elements that can help me to define the height of the columns or 
that

can set an auto-resize of the row's height to be equals.

Can you help me?

thank you since now,
Matteo

Re: [docbook-apps] row's height

2014-01-31 Thread Matteo Regazzo

Hi Mr. Bob,

I use:
- docbook-xsl-ns version 1.78.1 (revision 9732 as reported in the 
REVISION file)

- FOP 1.1
- SAXON 6.5.5

Matteo


the stylesheets  version I'm using is
Il 28/01/2014 17:51, Bob Stayton ha scritto:

Hi Matteo,
Yes, you are using it correctly.  I copied and pasted your sample and 
it works for me.  In the FO output file, there are row elements that 
look like this:


fo:table-row block-progression-dimension=2cm

The block-progression-dimension property in XSL-FO is the same as 
height for Western writing modes.  This shows that the processing 
instruction is working.


What version of the stylesheets are you using, and what tools are you 
using to process it?


Bob Stayton
Sagehill Enterprises
b...@sagehill.net

On 1/28/2014 1:10 AM, Matteo Regazzo wrote:

Thank you Mr. Bob,

if I suppose correctly, the command you've suggested me is a forcing
of the single row's height, that's exactly what I need.
Maybe I don't know how to make it work... I've added the instruction in
my code, as it is in your example, in this way

tbody
   row?dbfo row-height=2cm ?
 entry align=centerpara1/para/entry

 entry align=center morerows=2
valign=middleparainformalfigure
   mediaobject
 imageobject role=html
   imagedata align=center
fileref=figure/Table_BrakeResistor.png/
 /imageobject

 imageobject role=fo
   imagedata align=center
fileref=figure/Table_BrakeResistor.svg scale=70/
 /imageobject
   /mediaobject
 /informalfigure/para/entry
   /row

   row?dbfo row-height=2cm ?
 entry align=centerpara2/para/entry
   /row

   row?dbfo row-height=2cm ?
 entry align=centerpara3/para/entry
   /row
/tbody

but it doesn't work...
I've attached 2 files to show you my problem, hope that you can
understand it better:
- in the HTML version (file /NoProblemHTML.png/) it auto-resize the
rows without any instruction, see the 5 and 6 rows;
- in the PDF version (file /MyProblemPDF.png/) the rows don't resize,
even with /row-height/ setting. Maybe the problem is on the compiler? We
use FOP.

Thank you,
Matteo


Il 27/01/2014 18:05, Bob Stayton ha scritto:

I'm not completely clear on what you need here, but there are
processing instructions that can be used to specify a table row
height.  The HTML version is described here:

  http://www.sagehill.net/docbookxsl/RowHeight.html

And since that was written, an FO version was added as well:

row?dbfo row-height=2cm ?
  entry.../entry
  entry.../entry
/row

Setting a row height can only set a minimum height and will not alter
the image size, though.  To do that, you would need to scale the image
as needed.

Bob Stayton
Sagehill Enterprises
b...@sagehill.net

On 1/24/2014 8:40 AM, Matteo Regazzo wrote:

Hi everybody,

I have a question that I hope is simple for many expert users (of
course, I'm a beginner...)
I have a table with 2 columns:
- in the tbody of the first column there are 3 rows,
- in the tbody of the second column there is a figure that takes the
entire place of the three rows;

in this way:


informaltable
tgroup cols=3
  colspec colname=c1 colwidth=15*/
  colspec colname=c2 colwidth=70*/
  thead
 row
entry align=centerparaPIN/para/entry
entry align=centerparaScheme/para/entry
  /row
  /thead
  tbody
  row
 entry align=centerpara1/para/entry
 entry align=center morerows=2
valign=middleparainformalfigure
  mediaobject
imageobject role=fo
  imagedata align=center
fileref=figure/Table_BrakeResistor.svg scale=70/
/imageobject
/mediaobject/informalfigure/para
 /entry
   /row
   row
  entry align=centerpara2/para/entry
   /row
   row
   entry align=centerpara3/para/entry
   /row
/tbody
 /tgroup
/informaltable


The problem is that the picture's height is greater than the total
height of the 3 rows.
I've not found any property of the table, row, colspec, entry, or 
other

elements that can help me to define the height of the columns or that
can set an auto-resize of the row's height to be equals.

Can you help me?

thank you since now,
Matteo

-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: 
docbook-apps-h...@lists.oasis-open.org







-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org








-
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] row's height

2014-01-28 Thread Matteo Regazzo

Thank you Mr. Bob,

if I suppose correctly, the command you've suggested me is a forcing 
of the single row's height, that's exactly what I need.
Maybe I don't know how to make it work... I've added the instruction in 
my code, as it is in your example, in this way


tbody
  row?dbfo row-height=2cm ?
entry align=centerpara1/para/entry

entry align=center morerows=2 
valign=middleparainformalfigure

  mediaobject
imageobject role=html
  imagedata align=center 
fileref=figure/Table_BrakeResistor.png/

/imageobject

imageobject role=fo
  imagedata align=center 
fileref=figure/Table_BrakeResistor.svg scale=70/

/imageobject
  /mediaobject
/informalfigure/para/entry
  /row

  row?dbfo row-height=2cm ?
entry align=centerpara2/para/entry
  /row

  row?dbfo row-height=2cm ?
entry align=centerpara3/para/entry
  /row
/tbody

but it doesn't work...
I've attached 2 files to show you my problem, hope that you can 
understand it better:
- in the HTML version (file /NoProblemHTML.png/) it auto-resize the 
rows without any instruction, see the 5 and 6 rows;
- in the PDF version (file /MyProblemPDF.png/) the rows don't resize, 
even with /row-height/ setting. Maybe the problem is on the compiler? We 
use FOP.


Thank you,
Matteo


Il 27/01/2014 18:05, Bob Stayton ha scritto:
I'm not completely clear on what you need here, but there are 
processing instructions that can be used to specify a table row 
height.  The HTML version is described here:


  http://www.sagehill.net/docbookxsl/RowHeight.html

And since that was written, an FO version was added as well:

row?dbfo row-height=2cm ?
  entry.../entry
  entry.../entry
/row

Setting a row height can only set a minimum height and will not alter 
the image size, though.  To do that, you would need to scale the image 
as needed.


Bob Stayton
Sagehill Enterprises
b...@sagehill.net

On 1/24/2014 8:40 AM, Matteo Regazzo wrote:

Hi everybody,

I have a question that I hope is simple for many expert users (of
course, I'm a beginner...)
I have a table with 2 columns:
- in the tbody of the first column there are 3 rows,
- in the tbody of the second column there is a figure that takes the
entire place of the three rows;

in this way:


informaltable
tgroup cols=3
  colspec colname=c1 colwidth=15*/
  colspec colname=c2 colwidth=70*/
  thead
 row
entry align=centerparaPIN/para/entry
entry align=centerparaScheme/para/entry
  /row
  /thead
  tbody
  row
 entry align=centerpara1/para/entry
 entry align=center morerows=2
valign=middleparainformalfigure
  mediaobject
imageobject role=fo
  imagedata align=center
fileref=figure/Table_BrakeResistor.svg scale=70/
/imageobject
/mediaobject/informalfigure/para
 /entry
   /row
   row
  entry align=centerpara2/para/entry
   /row
   row
   entry align=centerpara3/para/entry
   /row
/tbody
 /tgroup
/informaltable


The problem is that the picture's height is greater than the total
height of the 3 rows.
I've not found any property of the table, row, colspec, entry, or other
elements that can help me to define the height of the columns or that
can set an auto-resize of the row's height to be equals.

Can you help me?

thank you since now,
Matteo

-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org






-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org




attachment: NoProblemHTML.pngattachment: MyProblemPDF.png
-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org

[docbook-apps] row's height

2014-01-24 Thread Matteo Regazzo

Hi everybody,

I have a question that I hope is simple for many expert users (of 
course, I'm a beginner...)

I have a table with 2 columns:
- in the tbody of the first column there are 3 rows,
- in the tbody of the second column there is a figure that takes the 
entire place of the three rows;


in this way:


informaltable
   tgroup cols=3
 colspec colname=c1 colwidth=15*/
 colspec colname=c2 colwidth=70*/
 thead
row
   entry align=centerparaPIN/para/entry
   entry align=centerparaScheme/para/entry
 /row
 /thead
 tbody
 row
entry align=centerpara1/para/entry
entry align=center morerows=2 
valign=middleparainformalfigure

 mediaobject
   imageobject role=fo
 imagedata align=center 
fileref=figure/Table_BrakeResistor.svg scale=70/

   /imageobject
/mediaobject/informalfigure/para
/entry
  /row
  row
 entry align=centerpara2/para/entry
  /row
  row
  entry align=centerpara3/para/entry
  /row
   /tbody
/tgroup
/informaltable


The problem is that the picture's height is greater than the total 
height of the 3 rows.
I've not found any property of the table, row, colspec, entry, or other 
elements that can help me to define the height of the columns or that 
can set an auto-resize of the row's height to be equals.


Can you help me?

thank you since now,
Matteo

-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org



[docbook-apps] Listitem overwrites text in orderedlist

2013-10-01 Thread Matteo Regazzo

Hi everybody,

I'm just learning, since 3 months, to use docbook and to write the 
stylesheets.
Now I have this problem: in the orderedlist of the FO the distance from 
the listitem to the text is not dynamic and if the listitem number (dot 
included) takes more space because it's made by 2 or more numbers (eg. 
16. instead of 1.) it enters in the text space and mixes with it, in 
other words overwrites the text. I'm not able to find a property of the 
list block to arrange this problem, or (more probably) I'm using it in a 
wrong way.


I tried in these ways, but without success:

/1)/
xsl:attribute-set name=list.block.spacing
xsl:attribute name=space-after20px/xsl:attribute
/xsl:attribute-set

/2)/
!--xsl:attribute-set name=list.item.label
xsl:attribute name=margin-right20/xsl:attribute
/xsl:attribute-set--

/3)//(I've found this one in a website)/
xsl:attribute-set name=list.label.spacing
xsl:attribute name=right
xsl:choose
xsl:when test=self::orderedlist2em/xsl:when
xsl:otherwise0pt/xsl:otherwise
/xsl:choose
/xsl:attribute
/xsl:attribute-set--

I even tried with different properties of each attribute-set...
Have you ever had this problem? Do you have any suggestion?

Matteo


Re: [docbook-apps] Listitem overwrites text in orderedlist

2013-10-01 Thread Matteo Regazzo

Thank you Mark,
I tried to add
/xsl:param name=orderedlist.label.width1.8em/xsl:param/
and it has immediately worked.
Thanks even to Tony Graham, I tried to understand how to integrate your 
customization in my stylesheet (and I even tried to do it), but I'm too 
young on using these instruments and even if it's surely more 
interesting to have a customized regulation on every list, I need to 
improve my knowledge before...


Thank you again,

Matteo


Il 01/10/2013 09:52, Mark Craig ha scritto:

Hi Matteo,

Setting orderedlist.label.width, 
http://docbook.sourceforge.net/release/xsl/current/doc/fo/orderedlist.label.width.html, 
seemed to help.


Setting that to 1.8em instead of the default 1.2em seemed to fix the 
problem for lists having a double-digit number of items, 
http://sources.forgerock.org/changelog/commons?cs=433, at least in my 
case.

Perhaps the exact setting will be different for you.

Hope it helps.

Regards,
Mark

On Oct 1, 2013, at 8:29 AM, Matteo Regazzo wrote:


Hi everybody,

I'm just learning, since 3 months, to use docbook and to write the 
stylesheets.
Now I have this problem: in the orderedlist of the FO the distance 
from the listitem to the text is not dynamic and if the listitem 
number (dot included) takes more space because it's made by 2 or more 
numbers (eg. 16. instead of 1.) it enters in the text space and 
mixes with it, in other words overwrites the text. I'm not able to 
find a property of the list block to arrange this problem, or (more 
probably) I'm using it in a wrong way.


I tried in these ways, but without success:

/1)/
xsl:attribute-set name=list.block.spacing
xsl:attribute name=space-after20px/xsl:attribute
/xsl:attribute-set

/2)/
!--xsl:attribute-set name=list.item.label
xsl:attribute name=margin-right20/xsl:attribute
/xsl:attribute-set--

/3)//(I've found this one in a website)/
xsl:attribute-set name=list.label.spacing
xsl:attribute name=right
xsl:choose
xsl:when test=self::orderedlist2em/xsl:when
xsl:otherwise0pt/xsl:otherwise
/xsl:choose
/xsl:attribute
/xsl:attribute-set--

I even tried with different properties of each attribute-set...
Have you ever had this problem? Do you have any suggestion?

Matteo