Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Docbook Beautification
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
dkpr...@gmail.com  
View profile  
 More options Oct 25 2006, 11:24 pm
From: dkpr...@gmail.com
Date: Wed, 25 Oct 2006 23:24:32 -0400
Local: Wed, Oct 25 2006 11:24 pm
Subject: Docbook Beautification

Hey all,

First off, I wanted to introduce myself to the members of the krusader
documentation group.  I got involved a few weeks ago by answering the
call for documentation help, and have since worked on commands.docbook.

I came up with a script that formats the docbook files, and am attaching
it to this email for whatever purpose you find fit.  Basically, the
script takes docbook file names as inputs, and formats the docbook files
in a nice fashion.  The script is in plain text if you are interested in
what it does more exactly.  Please note that the script will change
poorly formatted docbooks quite drastically, so consider this when
attempting to diff against a previous revision of a given document.

If you experience any problems with it, please let me know.

Thanks all,

Dan Price

  beautify_docbook
3K Download

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Frank Schoolmeesters  
View profile  
 More options Oct 26 2006, 2:53 am
From: "Frank Schoolmeesters" <frank.schoolmeest...@gmail.com>
Date: Thu, 26 Oct 2006 08:53:23 +0200
Local: Thurs, Oct 26 2006 2:53 am
Subject: Re: [Krusader-doc] Docbook Beautification
Hi Dan,

Thanks!
I intend to use this script (the next time when i have found some time
to work at the docs ;)

bye,

Frank

On 10/26/06, dkpr...@gmail.com <dkpr...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Frank Schoolmeesters  
View profile  
 More options Oct 28 2006, 5:24 am
From: "Frank Schoolmeesters" <frank.schoolmeest...@gmail.com>
Date: Sat, 28 Oct 2006 11:24:46 +0200
Local: Sat, Oct 28 2006 5:24 am
Subject: Re: [Krusader-doc] Docbook Beautification

Hi Dan,

I have tried the script.
Could you check e.g. credits.docbook and index.docbook?
e.g. <bookinfo> and <itemizedlist>
becomes difficult to read for humans.

Thanks and bye,

Frank

On 10/26/06, Frank Schoolmeesters <frank.schoolmeest...@gmail.com> wrote:

  credits.docbook
11K Download

  index.docbook
39K Download

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Frank Schoolmeesters  
View profile  
 More options Nov 11 2006, 12:32 pm
From: "Frank Schoolmeesters" <frank.schoolmeest...@gmail.com>
Date: Sat, 11 Nov 2006 18:32:13 +0100
Local: Sat, Nov 11 2006 12:32 pm
Subject: Re: [Krusader-doc] Docbook Beautification

Hi Dan,

I have used the script with tidy as alternative parser and comitted the
beatified *.docbook files in cvs.
http://krusader.cvs.sourceforge.net/krusader/krusader_kde3/doc/en/
Tidy gives much better formatting results than xmllint for Krusaders
docbook files.

Can you change the next issues:
- use by default tidy, and as alternative xmllint
- adapt the script that it will runs from the
  krusader_kde3/doc directory and that it beatifies
  krusader_kde3/doc/en/*.docbook

So
$~/krusader_kde3/doc/./beatify_docbook
sould reslult that all *.docbook files of
~/krusader_kde3/doc/en
are beatified with tidy.

When this is done the script will be added in cvs.

FYI
i have also updated command.docbook and added some missing menu entries
http://krusader.cvs.sourceforge.net/krusader/krusader_kde3/doc/en/com...

thanks and bye,

Frank

On 11/7/06, Dan Price <dkpr...@gmail.com> wrote:

> I updated the beautification script so that you may specify an
> alternate pretty printer (tidy).  This can invoked by a command line
> switch of -a or --alternate.  If the experience with tidy is better
> than xmllint, I may switch over to it.

On 10/28/06, Frank Schoolmeesters <frank.schoolmeest...@gmail.com> wrote:

  beautify_docbook
5K Download

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Frank Schoolmeesters  
View profile  
 More options Nov 11 2006, 2:36 pm
From: "Frank Schoolmeesters" <frank.schoolmeest...@gmail.com>
Date: Sat, 11 Nov 2006 20:36:34 +0100
Local: Sat, Nov 11 2006 2:36 pm
Subject: Re: [Krusader-doc] Docbook Beautification
Hi,

Unfortunately tidy kills the docbook files, and they don't compile anymore.
tidy replaces "&" by "&amp", in some cases this is ok, but at other places
"&" is requiered and it's not authorised to change it in something else.
I have tried to find out if it possible to stop this behavour, but i
haven't found one for the moment.
So currently tidy is unusable, since the docbook files compilation
gives a lot of errors due to these unwanted "&" replacements
The formatting output to improve the human readbility is ok.

So, i committed the old docbook files again in cvs without the tidy cleanup.

bye,

Frank

On 11/11/06, Frank Schoolmeesters <frank.schoolmeest...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google