Re: [docbook-apps] Generating markdown output from DocBook

2021-01-26 Thread Deannelson
Peter To go from DocBook to MD, I do something like:pandoc -f docbook -t markdown_github 2.xml -o 2.md and back is: pandoc -s -t docbook -f markdown_github 2.md -o 2-out.xml warning: I have not used this in a few years, so you mileage may vary. Regards,Dean Nelson In a message dated 1/26/2021

Re: [docbook-apps] condition "print" | condition "web"

2018-10-24 Thread Deannelson
Hello Filippo, What you need it to the the "role" attribute and use "fo" and "html" as arguments.                                          The position and size of all the windows can be stored for a later session Regards, Dean Nelson In a message dated 10/24/2018 6:23:34 AM Pacific

Re: [docbook-apps] DocBook XSL 1.79.2 released

2016-12-15 Thread DeanNelson
Good questions ;-) I downloaded the file "docbook-xsl-nons-1.79.2.zip" from https://github.com/docbook/xslt10-stylesheets/releases I have a template that pulls the docbook xsl version ($VERSION) variable out and displays it (along with other info). --- DocBook XSL VERSION is:

Re: [docbook-apps] DocBook XSL 1.79.2 released

2016-12-15 Thread DeanNelson
Stefan, Sorry about the mislead. It is actually is the $VERSION that is "snapshot". I am also using the nons version, I don't know where $VERSION is actually generated - maybe version.xsl? I think it is formatted from something else, buty I may be wrong. Regards, Dean Nelson In a

Re: [docbook-apps] DocBook XSL 1.79.2 released

2016-12-15 Thread DeanNelson
Stefan, The dbxslversion PI on this version still says "snapshot" not "1.79.2". Is that part of the release process that got missed in the conversion to github? Regards, Dean Nelson In a message dated 12/15/2016 6:09:29 A.M. Pacific Standard Time, ste...@seefeld.name writes:

Re: [docbook-apps] fop/xsltproc, External SVG Issue

2016-06-22 Thread DeanNelson
It would be helpful to see a bit more info. 1. What was the commands used and what was the console output? 2. The XML looks OK, but do you have adequate permissions for that SVG file? 3. Is this in an "info" section? Regards Dean Nelson In a message dated 6/21/2016 3:34:51 P.M. Pacific

Re: [docbook-apps] any problems with DocBook XSL 1.79.0? (XPointers)

2015-10-30 Thread DeanNelson
Bob, This makes sense to me now from what I have been seeing. I when I use an XPointer it comes along with the ID. If I use the XInclude only, there is no need for an ID in my files so I did not put one in. That explains why it is happening in my system. It really had nothing to do with the

Re: [docbook-apps] any problems with DocBook XSL 1.79.0? (XPointers)

2015-10-30 Thread DeanNelson
Thanks for the input Bob. I do want to emphasize that these are only FOP warnings and not errors. In looking at the FO output, 1.79.0 puts out a list of "fox:destination"s that have the IDs of each link (this is not in 1.78.1 output). Some of these are resolved but others issue a

Re: [docbook-apps] any problems with DocBook XSL 1.79.0?

2015-10-29 Thread DeanNelson
Bob Last night I ran the 1.79.0 load with my system (xsltproc, DB 4.5, fop 1.1) For the most part, everything works as expected. However, I am now getting a FOP warning when I use an XPointer. It looks like it adds it to the list of FOP destinations, but does not use it. Hence :

Re: [docbook-apps] any problems with DocBook XSL 1.79.0?

2015-10-22 Thread DeanNelson
Bob Last night I ran the 1.79.0 load with my system (xsltproc, DB 4.5, fop 1.1) For the most part, everything works as expected. However, I am now getting a FOP warning when I use an XPointer. It looks like it adds it to the list of FOP destinations, but does not use it. Hence :

[docbook-apps] Long Table Markers

2015-07-07 Thread DeanNelson
Is the next Docbook XSL version going to support long table markers? (i.e 'continued' on the top of next page of long tables). That's a very nice feature for tables. Regards, Dean Nelson

[docbook-apps] Docbook XSL and FOP 2.0

2015-06-29 Thread DeanNelson
Hello I have tried to update our production documentation system to FOP 2.0 but in doing so I discovered a little problem that prevented the use of FOP 2.0. I get an exception and cannot get around it without recompiling with a fix. (See https://issues.apache.org/jira/browse/FOP-2461 ) I

Re: [docbook-apps] Docbook XSL and FOP 2.0

2015-06-29 Thread DeanNelson
Radu, That says a lot! It seems like a simple fix to me. I wonder why they let it out of the gate that way? That's a major bug. I will probably wait as well since I have no interest in maintaining a patch in our system and the time between FOP updates is usually quite a long time. Thanks

[docbook-apps] Inserting ENTITYs without removing the DOCTYPE in Docbook files

2015-03-23 Thread DeanNelson
Hello, I am trying to resolve/replace the ENTITYs in my Docbook files without removing the DOCTYPE declaration. I tried using XMLLINT: xmllint --noent --dropdtd -o outfile.xml infile.xml but this removed the DOCTYPE line along with resolving the ENTITYs. So if I don't use the

[docbook-apps] Getting a list of XInclude'd files

2015-03-20 Thread DeanNelson
All, I'm sure this is a pretty common issue? I need to get a list of all of my XIncluded files in a document. I need to package up all of the Docbook files required for a particular document so I can send them off to the translators. The document is in a directory with many more Docbook

Re: [docbook-apps] Aw: Getting a list of XInclude'd files

2015-03-20 Thread DeanNelson
Thanks Frank! Actually, I was looking for a 1.1 version (but I did not state that). However, someday I will hopefully switch everything to 2.0 when Docbook fully does. In a message dated 3/20/2015 2:19:07 A.M. Pacific Daylight Time, f-stei...@berger-und-steimke.de writes: Hi, Saxon

Re: AW: [docbook-apps] Getting a list of XInclude'd files

2015-03-20 Thread DeanNelson
Yes, thanks Ben. Your comment got me further to a solution. I now have a tool that produces a listing of all of the xinclude'd files in a master file. This will list out to the screen and make a file (xfilelist.txt) of all the files. I have included the files here for anyone else that

Re: [docbook-apps] Custom colors for admonitions

2014-04-29 Thread DeanNelson
Brett This should do what you need. The changes are that admonition.properties needs to be used in stead of graphical.admonition.properties. Regards, Dean Nelson !-- Admonitions -- xsl:param name=admon.graphics select='1'/ xsl:param name=admon.textlabel select='1'/ xsl:param

Re: [docbook-apps] Custom colors for admonitions

2014-04-29 Thread DeanNelson
Brett, It may be time to do some debugging with xsl:message statements to see what is really going on. Do you know that your template is actually activated? Also, what command line arguments are you using with XSLTPROC? Dean In a message dated 4/29/2014 6:29:32 P.M. Pacific Daylight

Re: [docbook-apps] Custom colors for admonitions

2014-04-28 Thread DeanNelson
Brett, The simple answer is to add xsl:attribute name=border1pt solid blue/xsl:attribute or a variation of it. However, I have found that you will need to also deal with the title box as well or it will look a bit weird. So below you will see my admonition section that you should be able

Re: [docbook-apps] Table Center

2014-03-26 Thread DeanNelson
Here is what I use in my stylesheets. Regards Dean Nelson !-- center tables in print, from p. 474 in Stayton: -- xsl:template name=table.layout xsl:param name=table.content/ xsl:choose xsl:when test=self::table[@align = 'center'] fo:table width=100% table-layout=fixed !--fo:table

Re: [docbook-apps] Table Center

2014-03-26 Thread DeanNelson
Its been years since I dealt with this code, but it looks like you need to use the width attribute in the table. Sorry, I don't have your table to test with anymore. I will test it on some of mine today. In a message dated 3/26/2014 7:36:49 A.M. Pacific Daylight Time,

Re: [docbook-apps] Fitting tall images in PDF

2014-01-06 Thread DeanNelson
Bob, These are a great start. I am interested in this because I currently use a hack to use a full page landscape figure. We use a landscape mechanical drawing rotated to fit on a letter page. To do this I have to use a PI : !-- == Flipping a figure 90 degrees - Landscape

Re: [docbook-apps] Equations in docbook not working

2013-10-02 Thread DeanNelson
I did not try to generate eBook format, but I did see the correct output in PDF in my system. Maybe one of the eBook gurus can chime in here ;-) Regards, Dean Nelson In a message dated 10/2/2013 12:59:48 P.M. Pacific Daylight Time, rodrigues.joac...@gmail.com writes: Hi Thanks for

Re: [docbook-apps] Equations in docbook not working

2013-10-01 Thread DeanNelson
Hello, First make sure your DOCTYPEs are correctly used. I corrected the included file's DOCTYPE before it would legally compile. Next, you can use mathphrase: !DOCTYPE equation PUBLIC -//OASIS//DTD DocBook XML V4.5//EN http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd;

Re: [docbook-apps] Equations in docbook not working

2013-09-30 Thread DeanNelson
Hello! For us to help you, we would need to know a little more about your issue. Equations can be a bit tricky for all formats, but I think you are trying to get it to work in eBook format? Can you tell us what you have tried, specifically? It would help us understand your issue.

[docbook-apps] Doxygen 1.8.4 now supports Docbook

2013-05-24 Thread DeanNelson
All, I noticed that the latest release of Doxygen (1.8.4) now supports Docbook as an output. I have tried the output on one of my projects and the output looks OK, not perfect, but its a good start! It makes compliable Docbook that you don't need to touch. It puts everything in a single

Re: [docbook-apps] Gentext for performance=optional?

2013-04-08 Thread DeanNelson
Eric, I use a template that placed a checkbox in front of the procedure step. You probably could adapt this template to do what you need. Regards, Dean Nelson ?xml version=1.0 encoding=UTF-8? !DOCTYPE xsl:stylesheet [ !ENTITY CHECKBOX1 #x2610; !-- white square -- !ENTITY CHECKBOX2 #x2611;

[docbook-apps] Strange warning in Math.xsl using Saxon9

2013-03-25 Thread DeanNelson
Hello, I have recently updated my Docbook processing system to include Saxon 9.4.0.7. Everything works well but I have a warning that does not make sense and maybe someone here can explain it. Warning: at xsl:variable on line 65 column 38 of math.xsl: SXWN9001: A variable with no

Re: [docbook-apps] Strange warning in Math.xsl using Saxon9

2013-03-25 Thread DeanNelson
Thanks Jirka. I thought so. But why would the template even get called if there is no qualifying criteria? In a message dated 3/25/2013 3:10:15 P.M. Pacific Daylight Time, ji...@kosek.cz writes: On 25.3.2013 22:18, deannel...@aol.com wrote: Is this a normal warning when using

Re: [docbook-apps] [HELP] How can I get rid of the output of the revhistory ...

2013-03-25 Thread DeanNelson
Does this work? xsl:template match=revhistory/ In a message dated 3/25/2013 10:02:29 P.M. Pacific Daylight Time, tso...@vocera.com writes: When I post a question on a forum I keep working at it till I find the answer. Often times I find the answer before someone in the know has time to

Re: [docbook-apps] FW: Microsoft Help v1.0 transform

2013-03-08 Thread DeanNelson
Yes, I would be interested. We currently support generation of the CHM files for the old help files. However, the MS help tools are getting very long in the tooth and is very quirky. They do not really support some of the newer stuff (i.e. MathML) and such that are in our printed docs. The

Re: [docbook-apps] WYSIWYG Editor for docbook

2012-08-13 Thread DeanNelson
You're correct Paul. However, even the WYSIWYG tools mentioned do not give you true WYSIWYGness like Word will give you. Its more of a rough approximation. It because of the nature of divorcing the content from the style (especially in the FO generation). But if rough approximation is

Re: [docbook-apps] WYSIWYG Editor for docbook

2012-08-12 Thread DeanNelson
Paul, I've used oXygenXML before and if you can afford it, it will accelerate your content development. However, if you need a cheap (free) editor with OK XML support, use Eclipse which has XML support and a spell checker. Regards, Dean Nelson In a message dated 8/12/2012 4:09:50 P.M.

Re: [docbook-apps] include MathML files with the help of XSL

2012-07-11 Thread DeanNelson
You need to use the FOP plugin from JEuclid (JEuclid.sf.net). This will convert the MathML to FOP. I will usually have all my MathML in separate files and then xinclude them. equation align=centertitleHere is a nice centered equation/title xi:include

Re: [docbook-apps] Reducing the text size for table elements (PDF output)

2012-07-03 Thread DeanNelson
Lars, I make my adjustments via a parameter as below. Hope this helps. Dean Nelson --- !-- My Table Mods -- xsl:param name=met.table.font.size1.0/xsl:param !-- -- xsl:param name=met.table.head.font.size1.0/xsl:param !-- Set table body font size and

Re: [docbook-apps] Fwd: RE: [xep-support] ANNOUNCEMENT - RenderX moves to the...

2012-06-24 Thread DeanNelson
FOP 1.0 and JEuclid work fine for me both in Windows and SuSE Linux. However, for floats using FOP, that's a problem. Usually you would need to do that in a hidden table to get the side floats. But that is a hack ;-) I don't have a solution there. Sorry. Dean In a message dated

Re: [docbook-apps] Copyright and dbtimestamp

2012-06-15 Thread DeanNelson
How about copyright start=2005 end=now or something like that? In a message dated 6/14/2012 10:19:29 P.M. Pacific Daylight Time, da...@dpawson.co.uk writes: On 14/06/12 22:57, deannel...@aol.com wrote: Ok, I found the issue inside my layers. However, this issue should be able to

Re: [docbook-apps] Copyright and dbtimestamp

2012-06-14 Thread DeanNelson
Ok, I found the issue inside my layers. However, this issue should be able to work easier than shutting off the multi year combination parameters. I assume that the dbtimestamp is being evaluated after the multi-year-combination template of the copyright/year? Is there a way to get the

Re: [docbook-apps] Background for programlisting

2012-06-14 Thread DeanNelson
Lars, Not sure what happened in your layer, but here is what I use for progrmalisting shading. Regards, Dean Nelson ?xml version=1.0 encoding=UTF-8? xsl:stylesheet xmlns:xsl=_http://www.w3.org/1999/XSL/Transform_ (http://www.w3.org/1999/XSL/Transform) version=1.0

Re: [docbook-apps] reducing font sizes for a chapter in a book

2012-06-02 Thread DeanNelson
Jeff, I use a simpler method that just uses a font-size attribute. A bit more crude, but it works for me. You could expand this to cover paras in chapters with that attribute. That would make sure that the titles for the chapter still looked like the same as others. The downside of this

[docbook-apps] Detecting last page

2012-05-17 Thread DeanNelson
All, I need to detect the last page (not back page) in my article style sheets so I can put a legalnotice at the bottom of the last page. Any ideas? (FOP 1.0, DB 4.5) It appears that pageclass does everything except last page. Regards, Dean Nelson

Re: [docbook-apps] Xinclude warning: failed to load external entity

2012-04-30 Thread DeanNelson
Joy Did you try to run it against book2.xml alone? That will tell you if it is a valid book. Once you get book2 to validate then try it with the set. Regards, Dean Nelson In a message dated 4/30/2012 7:53:24 A.M. Pacific Daylight Time, joy.and...@ansys.com writes: I thought I had

Re: [docbook-apps] Making PDFs in Windows

2012-04-18 Thread DeanNelson
Its not necessary to use Cygwin or MinGW. I use a batch file that calls XSLTPROC and FOP to generate PDFs under Windows. Check our Bob Stayton's book for more info. Regards, Dean Nelson In a message dated 4/18/2012 6:51:52 A.M. Pacific Daylight Time, yoursurrogate...@gmail.com

Re: [docbook-apps] Re: VirtualBox DocBook 5.0 VM

2012-03-12 Thread DeanNelson
Jeff, Are you using Docbook 4 or 5? Also, are you using a current version of the XSL stylesheets? Is there a reference that tells you that Saxon doesn't resolve XPointers? Here is what I know from my own tools. Saxon/Xerxes and XSLTproc handle XPointers. I use them in every doc I

Re: [docbook-apps] Re: VirtualBox DocBook 5.0 VM

2012-03-10 Thread DeanNelson
Jeff, I use XIncludes, and not olinks or profiling (on the file I just used). The only difference in the switches is that I use --novalid which skips the skips the Dtd loading phase. Are you using single pass profiling or two-pass? Dean In a message dated 3/9/2012 10:57:20 P.M.

Re: [docbook-apps] Re: VirtualBox DocBook 5.0 VM

2012-03-10 Thread DeanNelson
Jeff, Maybe I am not understanding the depth of the issue because I use XIncludes and XPointers and they work for me both in xsltproc and Saxon/Xerces (I maintain both in my development environment). I have also used profiling in the past and had no problem. However, maybe you have come

Re: [docbook-apps] Re: VirtualBox DocBook 5.0 VM

2012-03-09 Thread DeanNelson
Jeff, I routinely process books over 400 pages (XP/2Gb/xsltproc) and rarely see a memory error. However, when I DO see one, it is because I have done something wacky in the XSL or have done something in the XML that was legal but not supported in the XSL. Rare though. What command line

Re: [docbook-apps] What is it mean by BUILDING DocBook ?

2012-03-01 Thread DeanNelson
Gihan, You are referring to the instructions in the source tree that enumerate the steps required for building a release package. This is for the developers who preprocess/build each release that shows up on SourceForge. This is not a normal process for users of DocBook. The normal

Re: [docbook-apps] xinclude xpointer not including with id

2012-02-09 Thread DeanNelson
Gregorio, You might look at adding --nonet and --novalid to your xsltproc command line if they are not there already. You didn't mention the command line options that you are invoking XSLTPROC with. Regards, Dean Nelson In a message dated 2/9/2012 10:17:57 A.M. Pacific Standard Time,

Re: [docbook-apps] Table placing and table layout

2011-12-13 Thread DeanNelson
Lwan, Here is what I am using for centering tables. This may get you closer. Its a modification of Bob Stayton's example in _http://sagehill.net/docbookxsl/TableAlignment.html_ (http://sagehill.net/docbookxsl/TableAlignment.html) . Regards, Dean Nelson !-- center tables in print, from p.

Re: [docbook-apps] Easiest way to convert Word .doc or .rtf to DocBook?

2011-12-02 Thread DeanNelson
Donna, What do you mean by massive amount? Are the files huge or do you have a 1,000 files? Some people use the Word to HTML to DocBook trail, some a more direct conversion, like Majix. Either way, how much cleanup you do after the conversion is important. I use Majix and I have

Re: [docbook-apps] Different attribute-sets for note, caution, info, etc.

2011-11-02 Thread DeanNelson
Joel, Yes, here is my layer that I use. !-- Admonitions -- xsl:param name=admon.graphics select='1'/ xsl:param name=admon.textlabel select='1'/ xsl:param name=admon.graphics.extension select='.svg'/ xsl:param name=admon.graphics.path

Re: [docbook-apps] rotate figures with a pi

2011-10-27 Thread DeanNelson
Benno I have had similar problems in the past but have solved them with the following: !-- == Flipping a figure 90 degrees - Landscape == Use it this way figure ?landscapeFigure?titleMy figure title/title ... /figure -- xsl:template

Re: [docbook-apps] Image location

2011-09-30 Thread DeanNelson
Lars, Setting the image.src.path parameter would eliminate a need to prefix the path on all images. However, that doesn't seem to be your problem. Everything you stated/done should be working. The FO code looks right and it does seem to fit the file structure. I am assuming that you are

Re: [docbook-apps] Alternatives to MS Arial Unicode for PDF output?

2011-07-08 Thread DeanNelson
Paul, We use DejaVu fonts that are freely available from _http://dejavu-fonts.org/_ (http://dejavu-fonts.org/) They have several unicode fonts that incorporate almost all of the unicode sets. I have found them very clean and they are continually maintained as well. Regards, Dean

Re: [docbook-apps] OrderedList and 'continuation' attribute

2011-06-10 Thread DeanNelson
All, This is an interesting discussion. Wouldn't it be great if, in addition to the 'continues' attribute, one could also remove all ambiguity in this feature by also adding an ID of the list that is meant to continue? That way an author can be very deliberate about which list they are

Re: [docbook-apps] Long programlisting

2011-06-06 Thread DeanNelson
Dave, To xinclude text files in programlisting: programlistingxi:include xmlns:xi=_http://www.w3.org/2001/XInclude_ (http://www.w3.org/2001/XInclude) href=MyFile.txt parse=text //programlisting And then make sure you have a something like this in your mod files: ?xml version=1.0

[docbook-apps] Draftmode image location

2011-05-25 Thread DeanNelson
All 1. Is there a better way of accessing the draft.png file in stock docbook xsl tree from my customization layer so I don't have to change the version number every time I update the XSL to a new version? xsl:param name=draft.watermark.image

Re: [docbook-apps] FIXED: Draftmode image location

2011-05-25 Thread DeanNelson
Thanks - however, you just illuminated a few issues: I support both Windows and Linux with the same distro, so a sym link would not be an advantage. Yes, I could rename the directory every time I update, but then one must actually dig into the directory to find version information when

Re: [docbook-apps] MathML in docbook 4.3 errors

2011-03-15 Thread DeanNelson
Matt, We use MathML and XSLTPROC to process the Docbook. I have found out that you need to add in some ENTITY statements into your customization. We do this primarily because we put MathML in a separate XML file and then include it. !-- MathML Definitions -- !ENTITY % mathml-colon

Re: [docbook-apps] PDF customization questions from newbie

2011-02-10 Thread DeanNelson
Johnny All three items are quite easily doable.You need to have a customization layer that adjusts the builtin capabilities. Bob Stayton's book is a must. I still reference it even after years of working with Docbook. And this is the correct forum for getting those answers. I would

Re: [docbook-apps] Inlinemediaobject relocates numbering of orderedlist

2010-12-21 Thread deannelson
Lwan, Can you show an example in your XML? Regards, Dean Nelson In a message dated 12/21/10 08:29:17 Pacific Standard Time, berh...@punkt.de writes: Hi guys! I am using inlinemediaobject/imageobject/imagedata very often. If I use inlinemediaobject in an orderlist the list numbering of

Re: [docbook-apps] Finding a position in a FO file based on FOP's see position message

2010-12-21 Thread DeanNelson
That refers to the line number:character postion. Trying to make sense of the FO output is a nightmare unless you reformat the FO before running it into FOP. The way I do it is to use XMLLINT to reformat. Here is how I set up the call: xmllint --nonet --noent --nowarning --version --timing

Re: [docbook-apps] fop-hyph.jar and fop-pdf-images-1.0.jar + PDFBox-0.7.4-dev.jar

2010-12-14 Thread deannelson
It looks like you are using an older version of fop-pdf-images. You may want to update from the site http://www.jeremias-maerki.ch/development/fop/ and then follow the instructions in the README. This should get you going. I use this setup quite often in the following manner: figure

Re: [docbook-apps] Fo and SVG

2010-12-07 Thread deannelson
I was a bit too quick on the send button on that email ! The fop-pdf-images plugin allows you to include PDF images in FO output for FOP. SVG is native and already included in the FOP processor. In a message dated 12/07/10 02:39:22 Pacific Standard Time, berh...@punkt.de writes: Hello

Re: [docbook-apps] Fo and SVG

2010-12-02 Thread deannelson
Tom, I use SVG files in my formal figures and they work very well. However, if you are using FOP, you need to install a addon package so that FOP can deal with the SVG natively. The package I use is fop-pdf-images. Its a jar file that gets put in the FOP classpath. So this is how it looks as

Re: [docbook-apps] Fo and SVG

2010-12-02 Thread deannelson
can find this plugin at http://www.jeremias-maerki.ch/download/fop/pdf-images/ That said the XML code is still a valid method for SVG in figures. Sorry to confuse the issue. Regards, Dean Nelson In a message dated 12/02/10 11:14:02 Pacific Standard Time, deannelson writes: Tom, I use SVG files

Re: [docbook-apps] Fo and SVG

2010-12-02 Thread deannelson
align=center fileref=basicFlow.svg width=5in format=SVG / Dean Dean In a message dated 12/02/10 12:14:55 Pacific Standard Time, tom.brow...@gmail.com writes: On Thu, Dec 2, 2010 at 14:09, deannelson deannel...@aol.com wrote: Tom What actual problem are you having? Dean, I'm using db 5 and fop

Re: [docbook-apps] Centering Tables in Print with Fop 1.0

2010-11-11 Thread deannelson
Tom Here is an adjusted version that triggers only when align is used on the table. This has some peculiarities when processed with FOP 1.0. I would suggest that you use fixed column widths and not proportional in the XML tables because proportional is not quite right in FOP when used in a

Re: [docbook-apps] Nested lists

2010-11-10 Thread DeanNelson
Nested listsScott, Maybe if you showed a specific example? I don't see that behavior in my own system. My simple test is this: itemizedlist listitempara1/para/listitem listitempara1/para/listitem listitempara1/para itemizedlist

Re: [docbook-apps] Programlising question

2010-11-10 Thread DeanNelson
Programlising questionScott, This sounds faintly familiar. Are you running simple stock Docbook stylesheets or do you have a customization layer? Are you running the current XSL stylesheets? Regards, Dean Nelson In a message dated 11/10/10 01:12:27 Pacific Standard Time,

Re: [docbook-apps] Changing font size for a chunk of text inline

2010-11-09 Thread DeanNelson
Tom, Here is what I use: !-- Change the font size of the block or para -- xsl:template match=pa...@font-size] fo:block font-size={...@font-size} xsl:apply-templates/ /fo:block /xsl:template and you need to use para font-size=yada-yada where yada-yada is any

Re: [docbook-apps] CLASSPATH and Saxon

2010-11-09 Thread DeanNelson
FYI - you usually just need to close out the command lime window and start that again. That is when it starts another session and reloads the environmental variables (i.e CLASSPATH, PATH, etc). In a message dated 11/09/10 01:12:51 Pacific Standard Time, eduard.ti...@i-free.com writes:

Re: [docbook-apps] Centering Table Titles in Print

2010-11-08 Thread deannelson
Tom, I have had this issue as well. Here is how I solved it. !-- center table titles -- xsl:attribute-set name=formal.title.properties xsl:attribute name=text-align xsl:choose xsl:when test=self::tablecenter/xsl:when

Re: [docbook-apps] Centering Table Titles in Print

2010-11-08 Thread DeanNelson
/xsl:attribute /xsl:attribute-set Cheers Dean Nelson In a message dated 11/08/10 16:16:45 Pacific Standard Time, tom.brow...@gmail.com writes: On Mon, Nov 8, 2010 at 17:57, deannelson deannel...@aol.com wrote: Tom, I have had this issue as well. Here is how I solved it. !-- center table

Re: [docbook-apps] Re: DocBook-XSL 1.76.1 release schedule

2010-10-04 Thread DeanNelson
Keith, Huh? 1.61.1 ? You're just checking to see if we are awake ;-) ? Dean Nelson In a message dated 10/04/10 19:54:27 Pacific Daylight Time, abdela...@gmail.com writes: Hi, I'll be preparing the 1.61.1 Release Candidate Wednesday 6 Oct 2010. Please have your submissions checked in by

Re: [docbook-apps] draft.mode default to no?

2010-09-20 Thread deannelson
All, I understand Larry's concern. However, this scenario provides for a broken FOP system right out of the box, which is a concern of mine. Yes, we can provide a customization that shuts this off, but if we are eventually going to set it to no why not just have the default no and set the

[docbook-apps] Issues with 1.76.0

2010-09-08 Thread deannelson
Hello, I was wondering if anyone else had experienced these issues with 1.76.0 which were not there with 1.75.2. I am trying to get the xref numbering to show up and then I discovered that the auto-numbering was not working as well. I am using the same XML and XSL that I posted last week.

Re: [docbook-apps] Issues with 1.76.0

2010-09-08 Thread DeanNelson
...@free.fr writes: Hi all, Dean, I agree for auto-numbering ; don't no for draft mode images. Regards, -- Christophe HARO christophe.h...@free.fr - deannelson deannel...@aol.com a écrit : Hello, I was wondering if anyone else had experienced these issues

Re: [docbook-apps] XREF text/label issue

2010-09-04 Thread DeanNelson
) ; number followed by a point, not a comma. Example : Figure 1.4. Les classes -- Christophe HARO christophe.h...@free.fr - deannelson deannel...@aol.com a écrit : Ok, I tested this with the snapshot for 27-Aug-10 and it did not work right. So the issue

[docbook-apps] XREF text/label issue

2010-09-03 Thread deannelson
Hello, I have an issue that has either popped up or I just realized it. It has to do with the XREF in certain instances it does not display the numbered sections (i.e see 1.2.3 Start Up Procedures). This is correct when referencing figures and chapters, but it leaves off the number reference

Re: [docbook-apps] XREF text/label issue

2010-09-03 Thread deannelson
Enterprises b...@sagehill.net - Original Message - From: deannelson To: docbook-apps@lists.oasis-open.org Sent: Friday, September 03, 2010 10:39 AM Subject: [docbook-apps] XREF text/label issue Hello, I have an issue that has either popped up or I just realized it. It has to do

Re: [docbook-apps] XREF text/label issue

2010-09-03 Thread deannelson
In a message dated 09/03/10 11:56:21 Pacific Daylight Time, deannelson writes: Bob, I'm using just the simple xrefs with linkends pointing to IDs. That's what is so strange. OK I just did some testing with clean 1.75.2 and it works as advertised with and without my customization. I had done

Re: [docbook-apps] Segmented list issue with FOP

2010-08-26 Thread deannelson
Pacific Daylight Time, reflex...@reflexing.ru writes: On Thu, Aug 26, 2010 at 3:12 AM, deannelson deannel...@aol.com wrote: Hello all, I am using a segmented list (1.75.2) and it gives me a warning in FOP 1.0 but still renders fine: WARNING: The following feature isn't implemented

Re: [docbook-apps] Segmented list issue with FOP

2010-08-26 Thread deannelson
Thanks Mauritz Bob! In a message dated 08/26/10 09:37:07 Pacific Daylight Time, m...@johanneberg.com writes: | -Original Message- | From: deannelson | | After looking closer in the 1.75.2 stylesheets, the | segmentedlist template in fo/lists.xsl has a problem when | used

Re: [docbook-apps] Re: dbfo-need height and FOP

2010-08-25 Thread DeanNelson
Anitti, I do not know of a specific bugtrack item describing this. However, I do know that this has been going on for many years. FOP has a table of compatibility with the FO standard. You may want to check this. Regards, Dean Nelson In a message dated 08/25/10 03:38:31 Pacific Daylight

[docbook-apps] Segmented list issue with FOP

2010-08-25 Thread deannelson
Hello all, I am using a segmented list (1.75.2) and it gives me a warning in FOP 1.0 but still renders fine: WARNING: The following feature isn't implemented by Apache FOP, yet: table-layout=auto (on fo:table) (See position 2:23461) Aug 25, 2010 2:05:58 PM

Re: [docbook-apps] Overflow error question

2010-08-15 Thread DeanNelson
Steve, I get these all the time. It is a warning that FOP has overflowed an area with text. I usually get them when a cell in a table is too small for the data. FOP still prints it, but complains, and if it is really tight it will bleed into the next cell. I think mpt is milli-points.

Re: [docbook-apps] Overflow error question

2010-08-15 Thread DeanNelson
didn't make the error go away. Possibly the only way to do that is to edit the lines to make them shorter which is not maintainable for code samples. On 8/15/2010 4:31 PM, DeanNelson wrote: Steve, I get these all the time. It is a warning that FOP has overflowed an area with text. I

[docbook-apps] dbfo-need height in FOP 1.0

2010-07-23 Thread deannelson
All, Does anyone know if the docbook stylesheets method for dbfo-need height is now supported in the new FOP 1.0 release? I know it was broke in the 0.93 .0.95 releases. Regards, Dean Nelson

Re: [docbook-apps] dbfo-need height in FOP 1.0

2010-07-23 Thread deannelson
that this PI has to work using the block-container trick? If you made a processing instruction that created a regular block that had both a keep-with-next.within-column=always and keep-with-previous.within-column=always? -Sam On Fri, Jul 23, 2010 at 12:14 PM, deannelson deannel...@aol.com wrote

Re: [docbook-apps] gentext.template eats 1/3 of CPU

2010-07-20 Thread deannelson
Jirka, I can confirm a 28% decrease in my compile time with these changes. Wow! Regards, Dean Nelson In a message dated 07/20/10 15:45:54 Pacific Daylight Time, ji...@kosek.cz writes: Jirka Kosek wrote: New build should appear shortly at http://docbook.sourceforge.net/snapshots/

Re: [docbook-apps] gentext.template eats 1/3 of CPU

2010-07-14 Thread deannelson
Jirka, Those changes were pretty significant for me. I am now seeing a 14-15% improvement from the stock 1.75.2 release. I am processing about 950K (in 34 files) of source and it is now down to 12.5 secs verses 15 seconds with the stock release. This is just for the XSL processing down to an

Re: [docbook-apps] gentext.template eats 1/3 of CPU

2010-07-13 Thread deannelson
Jirka, I get 10-12 % on my projects, but they are below 200 pages. Thanks! Regards, Dean Nelson In a message dated 07/13/10 11:18:10 Pacific Daylight Time, ji...@kosek.cz writes: Stefan Kost wrote: Sam Fischmann wrote: I, for one, would be interested in seeing a customization layer that

Re: [docbook-apps] RE: XSL-FO and unicode

2010-07-08 Thread deannelson
Fabien Have you looked at the FOP config file? In my experience, it helped quite a bit to specify the fonts used in the FOP config file. Since I use the DejaVu fonts for that same reason, here is the FOP config file snippet from mine and notice I do not let FOP roam around my system looking

Re: [docbook-apps] Re: fop: WARNING: Cannot Find a Base-14 Font (docbook bug?)

2010-06-28 Thread DeanNelson
Tom Have you configured FOP to handle the fonts that you want? I try not to have FOP search for fonts - it takes too long and you really can't control what it finds. Instead, I specify the fonts specifically. Here is a snippet from my FOP config file: fonts !-- register a

Re: [docbook-apps] Re: fop: WARNING: Cannot Find a Base-14 Font (docbook bug?)

2010-06-28 Thread deannelson
Most likely it has to do with the fonts that reside on your system. You will need to have a good symbol font that covers the symbols you need. We use the DejaVu fonts (http://dejavu-fonts.org) and I have not had any problems with them. It's been a long while since I used any other fonts, but I

Re: [docbook-apps] Question on CDATA in XML

2010-06-25 Thread DeanNelson
Fabien, FYI - micro; is an XML ENTITY which is valid XML. It sounds like you are close to working through your problem. In following this thread, I wondered if you could strip the RTF into a text file and then use XInclude. It may get messy since it sounds like you have a lot of bits of

[docbook-apps] Table column proportional values

2010-05-12 Thread deannelson
Hello everyone, I started paying attention to the warning messages that FOP puts out and discovered an issue in one of my tables. It appears that the 'colwidth' attribute is a bit touchy with the values that it gets. If a value is specified as 1* it will not generate the proportional XSL-FO

  1   2   >