LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-17-2009, 09:20 AM   #1
ulin
LQ Newbie
 
Registered: May 2009
Posts: 4

Rep: Reputation: 0
Question Docbook output


I have a question about using docbook under slackware 12.2

I use db2html book.sgml to convert it to html files,but the name of the output files are book1.html,c47.html,c52.html
the c47.html is one of the chapter of the book.
The problem is how can i change the output name of the html files,
for example the chapter is talk about slackware ,i want to output it as slackware.html.

How to do this ?

Last edited by ulin; 05-17-2009 at 09:22 AM.
 
Old 05-17-2009, 09:42 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
You can consider modifying backends and stylesheet and possibly rename with different program.

#man db2html
 
Old 05-17-2009, 11:37 AM   #3
ulin
LQ Newbie
 
Registered: May 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Smile

Quote:
Originally Posted by amani View Post
You can consider modifying backends and stylesheet and possibly rename with different program.

#man db2html
thanks for your guide
this problem confuse me a lot.
now ,i find the solution as there are options to process the filename.
it is in '/usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl'

at line 540,

;;Use element ids as filenames?
(define %use-id-as-filename%
#f)


change to

;;Use element ids as filenames?
(define %use-id-as-filename%
#t)



Last edited by ulin; 05-17-2009 at 11:38 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DocBook DTD merchtemeagle Slackware 1 09-29-2005 11:57 AM
Charset in html-output from DocBook? BoonZie Linux - Software 0 12-14-2004 03:59 PM
Need help installing docbook-xsl [docbook xsl stylesheet kmguy Linux - Software 0 09-10-2004 12:14 AM
Need DocBook help IgD Linux - Software 1 09-23-2003 08:53 PM
docbook xml help bulliver Linux - General 0 02-01-2003 12:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration