Hello Janice,
Since you're using Maven, as a workaround you could use bare Maven
expressions and perform Maven filtering on the source before using the
docbkx plugin.
Maven filtering replaces expressions like ${project.version} with the
values of their Maven properties. For example, in a
Hello,
If you get the DocBook XSL stylesheets, you can probably do the conversion
with the xsltproc tool as shown in
http://www.sagehill.net/docbookxsl/RefentryToMan.html
Hope it helps,
Mark
PS The XSL conversion works fine in the toolchain I'm using (in a Maven
project, so with a plugin based
Hi,
At present we are using declarations that reference the XSD, such as:
http://docbook.org/ns/docbook; version="5.0" xml:lang="en"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation="http://docbook.org/ns/docbook
Thanks, Simon. I'll look how we could integrate use of PACBook into the
build.
Regards,
Mark
Hello,
In testing 1.79.0, I was pleased to find this turned on by default:
http://snapshots.docbook.org/xsl/doc/fo/mark.optional.procedure.steps.html
What is the equivalent parameter for HTML output?
Regards,
Mark
Hello,
IDEs like Eclipse and IntelliJ IDEA don’t quite prevent you from inserting the
wrong element or attribute, but once you’ve fetched the XSD they help with tag
completion and also immediately flag invalid markup (in red text for example).
Both those IDEs let you run validation, making it
such as generating the target data files.
I have a sample (on an internal network) if you need it.
Regards
Nick
*From:* Mark Craig [mailto:mark.cr...@gmail.com]
*Sent:* Wednesday, June 04, 2014 10:16 AM
*To:* Wood Nick
*Cc:* Bob Stayton; DocBook Apps
*Subject:* Re: [docbook-apps] Coloring
; attribute?
(I was thinking of elements having the xlink:role=
http://docbook.org/xlink/role/olink; attribute as being olinks, too.)
Regards,
Mark
On Wed, Jun 4, 2014 at 11:36 AM, Mark Craig mark.cr...@gmail.com wrote:
Thanks Nick!
olink vs. link xlink:role=http://docbook.org/xlink/role/olink
someone please file a bug report on the DocBook SourceForge site to
capture this problem so it can be fixed?
Bob Stayton
Sagehill Enterprises
b...@sagehill.net
On 6/4/2014 2:52 AM, Mark Craig wrote:
Just a quick follow up question...
Is this the intended (permanent) behavior of
http
activate.external.olinks does deactivate the coloring?
Regards,
Mark
On Fri, May 2, 2014 at 11:34 PM, Mark Craig mark.cr...@gmail.com wrote:
Thanks Bob, Chris,
At least I see what the expected behavior is.
No doubt a problem somewhere in my own code.
Mark
On Fri, May 2, 2014 at 7:53
Hello,
What is the right way with the 1.78.1 stylesheets to color only internal
links in FO?
I'd like to deactivate external olinks in PDF output with
activate.external.olinks, and then leave external links the same color as
surrounding text, but keep color on internal links (and URLs) because
/xsl:attribute-set
In my PDF, the internal olinks are colored, but my external olinks are not
(and are not active).
Bob Stayton
Sagehill Enterprises
b...@sagehill.net
On 5/2/2014 12:07 AM, Mark Craig wrote:
Hello,
What is the right way with the 1.78.1 stylesheets to color only internal
links
Hello,
With DocBook XSL 1.78.1 and Apache FOP 1.1, I'm running into an NPE when
building RTF. Has anyone else run into this?
I first encountered this issue with docbkx-tools,
https://code.google.com/p/docbkx-tools/issues/detail?id=112
Here's how I reproduce it driving the stylesheets with
in the fo. In particular the templates
xsl:template name=image.content.width and xsl:template
name=image.content.height are important.
Really this should be a feature of the stock xslts though.
Regards,
David
On 01/05/2014 03:58 AM, Mark Craig wrote:
Thanks Bob and David,
What's
Hello,
As suggested in http://www.sagehill.net/docbookxsl/ImageSizing.html, I have
been using imagedata ... scalefit=1 width=100% contentdepth=100%/
to keep images at their natural size unless too wide to fit.
What are the settings to do the same with regard to image depth (i.e.
height)?
In
? That parameter's default
value should probably be 1, now that all XSL-FO processors support the
fragment identifiers.
Bob Stayton
Sagehill Enterprises
b...@sagehill.net
*From:* Mark Craig mark.cr...@gmail.com
*Sent:* Thursday, October 24, 2013 6:00 AM
*To:* Wood Nick nick.w...@ncia.nato.int
Hello,
In the past I have successfully set up Olink resolution for HTML.
I have read and tried to implement
http://www.sagehill.net/docbookxsl/OlinkPrintOutput.html#PdfLinkingSetup
But I'm not managing to do the same for PDF.
A clickable link of the Olink is there in the PDF, but with no valid
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,
where $monospace.verbatim.font.width is one of the DocBook parameters, whose
default value is 0.60em. You can adjust either the width or the param to get
a narrower box.
Bob Stayton
Sagehill Enterprises
b...@sagehill.net
From: Mark Craig
Sent: Thursday, July 11, 2013 8:59 AM
for each processor may trip up the process.
I've found that FOP is the most picky about failing on unrecognized code,
so going from FOP to something else usually works.
Bob Stayton
Sagehill Enterprises
b...@sagehill.net
*From:* Mark Craig mark.cr...@gmail.com
*Sent:* Thursday, April 18, 2013 9:25
I have put together a small .fo and seen the issue with the FOP nightly
build, so have mailed their user list.
Thanks again.
Mark
On Fri, Apr 19, 2013 at 9:56 AM, Mark Craig mark.cr...@gmail.com wrote:
With docbkx-tools if I set the FO processor extensions correctly and
comment out
Hello,
Apologies if this is really a FOP question. I'm a bit out of my depth.
I've added some FO customization based on Bob Stayton's helpful suggestion
on putting hyphenation within table
cellshttp://www.mail-archive.com/docbook@lists.oasis-open.org/msg05030.html,
adding soft hyphens after . in
:
• .-.
• . .
• .
• .-]
• .\
• .-
• .a
• .Z
Mark
On Thu, Apr 18, 2013 at 3:23 PM, Mark Craig mark.cr...@gmail.com wrote:
Hello,
Apologies if this is really a FOP question. I'm a bit out of my depth.
I've added some FO customization based on Bob Stayton's helpful suggestion
on putting hyphenation within table
? That would
settle whether it is a FOP problem.
Bob Stayton
Sagehill Enterprises
b...@sagehill.net
From: Mark Craig
Sent: Thursday, April 18, 2013 6:48 AM
To: docbook-apps@lists.oasis-open.org
Subject: [docbook-apps] Re: Eliminating soft hyphens shown in mid line?
In fact it looks
Hello,
The documentation at http://www.docbook.org/tdg51/en/html/email.html doesn't
seem to give a definitive answer, In some processing environments, email may
automatically generate a hypertext link (a mailto: URL).
The 1.76.1 stylesheets definitely generate an active
- Original Message - From: Mark Craig mark.cr...@gmail.com
To: Jirka Kosek ji...@kosek.cz
Cc: docbook-apps@lists.oasis-open.org
Sent: Wednesday, March 28, 2012 6:49 AM
Subject: Re: [docbook-apps] make.clean.html pre
Thank you, Jirka, for your reply.
I have filed 3512384: Wrap verbatim w
Hello,
Since switching to make.clean.html=1 (with 1.76.1), I've been happy feeling
like I can just change the CSS if need at some point to restyle HTML output in
place.
But I'm starting to think the XSL ought to wrap a pre element around
pre-formatted content, not just because of
Hello Jeff,
You might try normalizing the DPI settings in the .png files, as
described in
http://stackoverflow.com/questions/4261838/xsl-fo-image-size-issue-with-pdfs
Most of the .png files seem to start out at 72 or 96 DPI, whereas they
may need to be 160 DPI or more to look right in the PDF.
Yes, I see the same result when using fo/titlepage.xsl from the
stylesheet distribution for example.
However, if I use template/titlepage.xsl as described in
http://www.sagehill.net/docbookxsl/TitlePageNewElems.html then I get
an XSL stylesheet full of content.
Hope it helps,
Mark
On Sun, Mar
Sagehill Enterprises
b...@sagehill.net
- Original Message - From: Mark Craig mark.cr...@gmail.com
To: docbook-apps@lists.oasis-open.org
Sent: Sunday, March 18, 2012 1:04 AM
Subject: Re: [docbook-apps] Generate relative longdesc on img?
Thanks, Bob, for the explanation. Seems
Nevermind, thanks, Bob,
http://docbook.svn.sourceforge.net/viewvc/docbook?view=revisionrevision=9246
Regards,
Mark
On Mar 23, 2012, at 1:55 PM, Mark Craig wrote:
Just checking… no objections apparently since last week.
Should I have opened an issue somewhere to track removal of longdesc
Hello,
I'm stumped getting the sitemap right to resolve Olinks in chunked HTML. The
Olinks between different files of the same document seem to come out fine. But
Olinks between documents are broken.
Bob Stayton's book, DocBook XSL: The Complete Guide, has solved lots of the
DocBook XSL
=../../../otherproduct/bardocument/html/bardocumentTargetswebhelp;/document
/dir
/sitemap
/targetset
Peter
On Thu, Mar 22, 2012 at 2:07 PM, Mark Craig mark.cr...@gmail.com wrote:
Hello,
I'm stumped getting the sitemap right to resolve Olinks in chunked HTML. The
Olinks between different
to be
useless. Any objections?
Bob Stayton
Sagehill Enterprises
b...@sagehill.net
- Original Message -
From: Mark Craig
To: docbook-apps@lists.oasis-open.org
Sent: Friday, March 16, 2012 2:59 AM
Subject: [docbook-apps] Generate relative longdesc on img?
Hello,
What HTML customization
Hello,
What HTML customization serves to get relative paths in the longdesc attribute
on img elements?
The longdesc links and pages are fine, so it's not something noticeable when
browsing. But img elements in HTML are coming out with absolute paths in
longdesc attributes.
For example:
img
Hello,
I liked setting xsl:param name=make.clean.html select=1 / and using
white-space: pre; in the CSS. Of course, I did this expecting readers to be
able to copy/paste the pre formatted content in a sort of WYSIWYG way.
But I didn't test in Firefox until a reviewer mentioned that all the
make.clean.html for other things but override
this output to pre?
Bob Stayton
Sagehill Enterprises
b...@sagehill.net
- Original Message - From: Mark Craig mark.cr...@gmail.com
To: docbook-apps@lists.oasis-open.org
Sent: Friday, February 10, 2012 5:17 AM
Subject: [docbook-apps
added so it takes precedence.
Yet another reason to get the next release out soon. 8^)
Bob Stayton
Sagehill Enterprises
b...@sagehill.net
- Original Message -
From: Mark Craig
To: DocBook Apps
Sent: Tuesday, February 07, 2012 11:07 PM
Subject: [docbook-apps] Chunking
Hello,
What should I be doing to get the CSS from a custom.css.source file to be
picked up in chunked HTML?
Works fine for plain (non-chunked) HTML output with 1.76.1.
Mail from last April makes it sound like there might have been a bug,
Hello Richard,
David Cramer is write in mentioning user-friendly editors.
Templates/examples for typical documents might help, too.
Few complaints from part-time or novice authors concern the build system.
Instead, they get lost in markup choices or putting a document together
from scratch.
Stayton
Sagehill Enterprises
b...@sagehill.net
- Original Message -
From: Mark Craig
To: Bob Stayton
Cc: docbook-apps@lists.oasis-open.org
Sent: Thursday, October 06, 2011 2:17 AM
Subject: Re: [docbook-apps] cacute missing in PDF only
Thanks, Bob, for your help.
I've set my
Hello,
I have a ć (cacute, #263;) missing in PDF (not HTML or RTF).
This seems to be the error:
Oct 5, 2011 7:07:42 PM org.apache.fop.events.LoggingEventListener
processEvent
WARNING: Glyph ? (0x107, cacute) not available in font Helvetica-Bold.
If I go into LibreOffice, I can enter *ć* in
Hello,
I'm weighing the value of embedding a font vs. sticking with the defaults in
PDF, and am not sure whether to be surprised at how much embedding a font
increases the size of small files.
The font families are DejaVu TrueType. I am not using
encoding-mode=single-byte in the font metrics.
Hello,
Another alternative that seems to work across versions of the stylesheets as
long as you have web access is to point to
http://docbook.sourceforge.net/release/images/draft.png.
Regards,
Mark
On Wed, May 25, 2011 at 9:40 PM, Barton Wright bwri...@streambase.comwrote:
You could set up a
Hello,
How does one insert script content, such as for Google Analytics, near the
end of generated HTML?
Chunking is turned off by popular reader demand. Setting user.footer.content
does not appear to generate anything in the HTML.
HTML generation is managed through docbkx-tools, which
, 2011 at 2:28 AM, Mark Craig mark.cr...@gmail.com wrote:
How does one insert script content, such as for Google Analytics, near
the
end of generated HTML?
Chunking is turned off by popular reader demand.
Can you use a technique like this one?
http://www.sagehill.net/docbookxsl
without chunking.
Regards,
Mark
On Thu, May 19, 2011 at 3:45 PM, Mark Craig mark.cr...@gmail.com wrote:
Hello, thanks for your suggestion.
This is what I tried after I found user.footer.content only gets used when
chunking.
Trouble is, I can insert the file in the HTML following
surprised that a customization for HTML has
any effect on your FO.
Peter
On Thu, May 19, 2011 at 9:45 AM, Mark Craig mark.cr...@gmail.com
wrote:
Hello, thanks for your suggestion.
This is what I tried after I found user.footer.content only gets used
when
chunking.
Trouble is, I can
48 matches
Mail list logo