Hello,
Unfortunately, there is no single graphics file format that meets all
needs. - Bob
Bob is right. One of the biggest annoyances I have when writing documents
is that, when I want to insert a graphic, I must reference and maintain
multiple versions of the image file in order to
the command line, but I haven't tried it.
David
--
*From:* Colin Shapiro [mailto:[EMAIL PROTECTED]
*Sent:* Friday, August 17, 2007 10:24 AM
*To:* docbook-apps@lists.oasis-open.org
*Subject:* [docbook-apps] Image manipulation via XSLT extensions
Hello,
Unfortunately
On 8/17/07, Tony Graham [EMAIL PROTECTED] wrote:
An XSLT transform to read XML and generate a batch file or shell script
is probably a common occurrence: I do it quite often.
You know, that's something I've never actually thought of before. Just have
a stylesheet generate a shell script...
Hi,
I'm not quite sure what you're asking for. If you want a stylesheet that
simply returns the text from an XML document and does nothing else, then I
believe something as simple as:
xsl:template match=/
xsl:apply-templates/
/xsl:template
...would suffice. Unless you want it in some
I can confirm that Ken's solution works with FOP (I accidentally discovered
this myself):
Yes, include an empty spanned block at the end of your flow. The formatter
will try to balance all of your columns on top of this empty block. Modulo
keeps, breaks, widows, orphans, etc.
With XEP, you can
Hi,
I have done this, but only in one specific way using XEP. I did this using
a block-container with a fixed position, a hieght/width of the full page,
and a z-index value to ensure it is below everything else:
fo:block-container background-image=background.svg
absolute-position=fixed
The link is a general purpose hypertext element.
The element I propose has nothing to do with hypertext. It is simply
another part of an address, same as email, phone, etc. It is another
bit of information about how to contact a person/organization.
If we already have email, then why not web
[Note: I accidentally CCed the wrong list with the below message.
docbook-apps, feel free to ignore.]
The link is a general purpose hypertext element.
The element I propose has nothing to do with hypertext. It is simply
another part of an address, same as email, phone, etc. It is another
bit
My apologies, I had some typos in the code I posted. Here it is again:
xsl:param name=column.count select=3/
xsl:param name=column.gap select=0.1in/
xsl:param name=page.width select=8.5in/
xsl:variable name=column.gap.pt
xsl:call-template name=length-in-points
xsl:with-param name=length
this.
Colin
On 7/20/07, Colin Shapiro [EMAIL PROTECTED] wrote:
Hi,
I have an XSL-FO document that uses a multi-column page layout. I'd like
to shade the columns of the page with a background color - only the columns,
not the entire page. See the attached image for a sketch of what I want
Er... isn't Saxon an XSLT processor?
I know there are multiple versions of Saxon, so maybe I'm missing something,
but I do believe these two applications are for different purposes.
Colin
On 6/26/07, Linux Solutions [EMAIL PROTECTED] wrote:
Hello,
I'm using docbook5 and FOP 0.93 to generate
Hi,
The method shown on the FOP website has worked for me in the past (using
FOP, of course):
http://xmlgraphics.apache.org/fop/fo.html#fo-center-table-horizon
Colin
On 5/25/07, Ellen Juhlin [EMAIL PROTECTED] wrote:
Hello friendly list people,
I know this topic has come up in the past a
I should add that this wasn't with DocBook that I used this method (I
replied without realizing), so this may not help you figure out how to
customize the DocBook templates.
Colin
On 5/25/07, Colin Shapiro [EMAIL PROTECTED] wrote:
Hi,
The method shown on the FOP website has worked for me
Hi,
The problem is that you're putting the background image attribute in the
header.content template, which is effectively applying it to a regular
fo:block. Take a look at this fragment of code from the template
header.table.
fo:table-cell text-align=left
How can XML editors be WYSIWYG, when there's no way to tell what a document
will look like after XSLT?
Or do they basically do on-the-fly transformations, to preview what it
will look like in HTML, in print, etc.?
Just curious.
On 5/14/07, David Cramer (Tech Pubs) [EMAIL PROTECTED] wrote:
Hi,
Maybe someone can give me a clue here. I use the oXygen/ XML editor, and
I recently started working with DocBook 5.0. The software is *very* slow
when working with db5 files.
I installed a local copy of the 5.0CR3 schema, and made an entry at the top
of Oxygen's Default Schema
Almost forgot... I'm running the latest version of Oxygen (8.1).
Colin
On 5/3/07, Colin Shapiro [EMAIL PROTECTED] wrote:
Hi,
Maybe someone can give me a clue here. I use the oXygen/ XML editor,
and I recently started working with DocBook 5.0. The software is *very*
slow when working
Yes, that works as well.
There are several choices here, and what you actually use will depend on the
context and what you want to do with the document. For example, if all you
want to convey is that the item is a username, then this will probably
suffice:
systemitem
Hi,
I would probably use UserInput or Literal. You can always add
role=username to one of these if you want to do something special with
usernames in your document.
Colin
On 4/29/07, David O'Brien [EMAIL PROTECTED] wrote:
Hi
I'm looking for recommendations for a suitable tag for user
On 4/27/07, T.G. Mutato [EMAIL PROTECTED] wrote:
I think the bottom line here is that specifying pixel dimensions (if
you want to display an image as-is) isn't too useful with FOP since
there's no way to way to tell FOP to ignore the dpi info. So far just
setting the dpi to 96 in the image
I'm currently working with a custom stylesheet I wrote from scratch (not
DocBook) to generate FO from an XML document, and I'm using FOP v0.93. I've
found that the image scaling does work. If I use the following FO:
fo:external-graphic src=image.jpg width=100px
content-width=scale-to-fit/
).
Colin
On 4/26/07, T.G. Mutato [EMAIL PROTECTED] wrote:
fo:external-graphic src=image.jpg width=100px
content-width=scale-to-fit/
Was this for an image that is 100 pixels wide Colin? Or was the
example meant to say ...width=100%...?
Thanks,
tgm
On 4/26/07, Colin Shapiro [EMAIL PROTECTED] wrote
Hi,
I'm not sure that this is really anything to worry about. I just checked
the XSL spec out of curiosity, and it doesn't seem to say anything that
indicates it is improper to use the inherit keyword on the property of an
FO object when its parent doesn't have the same property explicitly set.
Also driven by JavaScript: http://www.w3.org/2005/Talks/Tools/Slidy/slidy.js
It would be fairly easy to customize the HTML in this manner; it looks like
it's just divided up into a number of div class=slide elements. DocBook
sections become div class=slide.
But it relies on JavaScript for the
Hi all,
I'm looking to use OpenOffice Writer as a temporary editor for DocBook
documents. Basically, I need to allow certain people to edit DocBook
documents who have never worked with markup languages before, but are
familiar with OpenOffice.
I've played around with OpenOffice's built-in
paragraph-based
styles work but there is still more work to do on tables and images.
The stylesheets haven't been checked-in to SVN yet because they're
not quite finished, but if you would like a sneak-peek then let me know.
Cheers,
Steve Ball
On 19/04/2007, at 6:55 AM, Colin Shapiro wrote:
Hi all
Using sect[1-5] also makes it easier to customize things. For example, if
you want sect2 to have a unique look, you can put a template in your
customization layer matching only sect2. If you just use section
everywhere, it makes it harder to customize particular section levels (you
can of
Ah, I forgot that there's another fo:block above what you put in
header.content:
fo:block
xsl:call-template name=header.content
xsl:with-param name=pageclass select=$pageclass/
xsl:with-param name=sequence select=$sequence/
Hi,
Well, I use this very combination of tools that you describe, and I never
had such problems.
But I did copy your XML source and try it for myself. Interestingly, I got
the same error:
SEVERE: Exception
java.lang.ClassCastException:
org.apache.fop.layoutmgr.inline.WrapperLayoutManager
Hi all,
I have a problem which I can't think of a good way to solve. I realize that
I am perhaps approaching this problem incorrectly, so I hope someone can
point me in the right direction.
Suppose that I have an arbitrary series of paragraphs in my source file,
containing an arbitrary amount
Corp
-Original Message-
*From:* Colin Shapiro [mailto:[EMAIL PROTECTED]
*Sent:* Tuesday, April 03, 2007 2:14 PM
*To:* docbook-apps@lists.oasis-open.org
*Subject:* [docbook-apps] Dynamically creating an FO table based on
content length
Hi all,
I have a problem which I can't think of a good
That's a lot simpler than the way I had done it in the past. Thanks.
Colin
On 3/29/07, Ron Catterall [EMAIL PROTECTED] wrote:
It's very easy to put in an extra fo block to act as a line break
!-- PI to cause a line break - usage ?lb? --
xsl:template match=processing-instruction('lb')
I have personally never been able to get any kind of line breaks to work by
attempting to insert them into a source file.
Instead, I have had to do things with a customization layer in XSLT, to
produce separate fo:block elements to break lines.
I can post an example if you'd like, but in the
Hi Xavier,
I think you're going to be stuck with writing a customization layer to do
any of this. I'm not quite sure what you mean by customizing text color
... without developing it in my customization layer. You simply can't
customize such properties without putting them in a customization
Hello,
Simple question that may not have a simple answer:
I understand how to set up custom page masters for FO output with different
numbers of columns, but what if I want to change the column layout
mid-page? Say, for example, that I want half a page to have three columns,
and the other half
Ah, I just discovered the span attribute. So, I can make my entire page
three-columns, and then use span=all on the FO objects that I want to span
across these columns.
Can someone just confirm that this is the best way to do what I am after?
Thanks,
Colin
On 2/28/07, Colin Shapiro [EMAIL
a spanned block must be a direct child of
fo:flow. But DocBook uses nested fo:block elements for sections to apply
section properties. That can be worked around, if you need it.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
[EMAIL PROTECTED]
- Original Message -
*From:* Colin Shapiro
This should be trivial, but I'm having a hard time finding a good, complete
XSL-FO reference. I normally turn to W3 Schools for stuff like this, but
their XSL-FO reference
http://www.w3schools.com/xslfo/xslfo_reference.aspseems sparse...
the examples are shallow and some of the attributes are
38 matches
Mail list logo