docbook: Making pretty .html filenames (was: How to create a HOWTO on Red Hat Linux 9?)


Previous by date: 21 Oct 2003 08:09:01 -0000 Re: Online DocBook XML Validator, Owen
Next by date: 21 Oct 2003 08:09:01 -0000 Re: Making pretty .html filenames (was: How to create a HOWTO on Red Hat Linux 9?), Rodolfo J. Paiz
Previous in thread:
Next in thread: 21 Oct 2003 08:09:01 -0000 Re: Making pretty .html filenames (was: How to create a HOWTO on Red Hat Linux 9?), Rodolfo J. Paiz

Subject: Making pretty .html filenames (was: How to create a HOWTO on Red Hat Linux 9?)
From: Tabatha Marshall ####@####.####
Date: 21 Oct 2003 08:09:01 -0000
Message-Id: <1066723947.7357.5.camel@mysticchild>

I can suggest very simple method for correcting the obscure html
filenames created when you convert your doc.

For each chapter and section, add an id.  Syntax:
<chapter id="intro">
	<sect1 id="aboutauthor">

...and so forth.  When you process to html, the filenames will be
intro.html, aboutauthor.html, etc.  

Hope that helps!

Tab

On Mon, 2003-10-20 at 19:42, Martin A. Brown wrote:
>  :          4. If I try to create multiple HTML pages instead of
>  : just one, the filenames are "t1.html" and "x76.html" which seems
>  : very odd to me. Is there no way to suggest "howto-1.html" and
>  : "howto-2.html" names? I remember the old sgml-tools used to name
>  : them this way, and it seemed a much more intuitive method to me.
> 
> I, too, stumbled over this, and find that it's annoying and also
> somewhat non-intuitive, however, the fix isn't too hard.
> 
> It's the famous "use-id-as-filename" flag, which is available with
> different syntax in either a DSSSL or XSL processor.  Since you are
> using Jade (correct?), you should add the following option to your
> jade command:
> 
>   -V %use-id-as-filename%
> 
> http://docbook.sourceforge.net/release/dsssl/current/doc/html/use-id-as-filename.html

-- 
Tabatha Marshall
Web: www.merlinmonroe.com
Linux Documentation Project Review Coordinator (http://www.tldp.org)
Linux Counter Area Manager US:wa (http://counter.li.org)


Previous by date: 21 Oct 2003 08:09:01 -0000 Re: Online DocBook XML Validator, Owen
Next by date: 21 Oct 2003 08:09:01 -0000 Re: Making pretty .html filenames (was: How to create a HOWTO on Red Hat Linux 9?), Rodolfo J. Paiz
Previous in thread:
Next in thread: 21 Oct 2003 08:09:01 -0000 Re: Making pretty .html filenames (was: How to create a HOWTO on Red Hat Linux 9?), Rodolfo J. Paiz


  ©The Linux Documentation Project, 2014. Listserver maintained by dr Serge Victor on ibiblio.org servers. See current spam statz.