Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: [doc] DITA files PDF output: msg#00380

apache.db.derby.devel

Subject: Re: [doc] DITA files PDF output

Thanks Jean! Here's my post from December 8 outlining
the process for creating a PDF of the Getting Started
Guide, using saxon, FOP, and the getting started guide
dita files. I'll send Jean a copy of the PDF result
of this process to make available to everyone...

1. Transform the dita files to one merged dita file
using the wacky topicmerge.xsl file. The command I
used is:

saxon -o getstartmerge.ditamap -w1
"gettingstartedguide/getstartderby.ditamap"
"xsl/topicmerge.xsl"

Remember to have the xsl files from the dita package
available to saxon.

2. Take the resulting merged dita file
(getstartmerge.ditamap) and move it to your FOP
install directory. Make sure to also have the xsl
directory from the dita package in your FOP install
directory. Finally, copy the gsconrefs.dita file to
the FOP install directory as well, as FOP will need to
refer to it to grab the names within it.

3. Run the following command in FOP:

fop -xml getstartmerge.ditamap -xsl
xsl/dita2fo_shell.xsl -pdf getstart.pdf

This creates your PDF! An ugly PDF, but a PDF
nonetheless. I'd recommend creating batch files for
these commands as well to make things easy.

OK, so on to the issues. Besides the issues I
mentioned previously in the html transforms, we have
additional issues in the PDF transform (note that the
parent-child linking issue is not as important in a
PDF, but would be nice to have, and will probably be
more crucial in the longer books).

1. Cover page: There is none.
2. No Table of Contents
3. None of the links work. Links display topic id's
instead of the title of the linked topic.
4. No index

--- "Jean T. Anderson" <jta-N3a1/uIFnjIFraO2wh7vUA@xxxxxxxxxxxxxxxx> wrote:

> For anyone who is inclined to fiddle, can you
> include some basic
> instructions on how to produce a pdf, let's say for
> just the Getting
> Started guide, using saxon and the default DITA xslt
> stylesheets as a
> starting point? Are these style sheets included in
> any of the downloads
> from http://incubator.apache.org/derby/manuals?
> Also, maybe it would
> help to post a pdf that exhibits the issues you and
> Scott discussed.
>
> -jean
>
>
> Jeff Levitt wrote:
>
> >Another issue I was hoping to discuss is the PDF
> >output of the DITA files. Scott Hutinger and I
> spent
> >some time using saxon and fop to create pdf's from
> the
> >dita, and we found that some of the issues we are
> >having with it can be worked around (for example, a
> >solution Scott found for the lack of a generated
> >index), but also some that we need more knowledge
> of
> >XSL to fix. For example, when one page links to
> >another page, the link doesnt show the title of the
> >new page, it instead displays an id for the page,
> >which is jibberish. Is there anyone out there that
> >knows XSL enough to be able to modify the DITA XSL
> >files so that they display information correctly?
> >There are currently three books available on the
> Derby
> >Manuals page that are already in DITA, so if anyone
> >wants to work with them, they are already
> available.
> >
> >
>
>
>
>




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
ide.eclipse.wtp...    bug-tracking.ro...    xfree86.cvs/200...    lisp.wxcl.devel...    file-systems.ar...    kde.devel.kwrit...    jakarta.jetspee...    qnx.openqnx.dev...    drivers.openib/...    ports.xbox.deve...    gis.gdal.devel/...    netbsd.ports.ma...    ubuntu.marketin...    systemtap/2005-...    web.omniweb/200...    mail.qmail.ldap...    hardware.soekri...    os.netbsd.devel...    audio.madman.ge...    tv.freeguide-tv...    cluster.openmos...    education.ezpro...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation