Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: What's the best plain Documentation format?

by Abigail-II (Bishop)
on May 26, 2003 at 22:15 UTC ( [id://260904]=note: print w/replies, xml ) Need Help??


in reply to What's the best plain Documentation format?

For writing documentation, I would only consider three formats: plain text, LaTeX, and POD.

Plain text has two huge advantages. First, it's simple, you don't need any special tools to read or write it. WYSIWYG even in the simplest text editor, and it causes no problem for the blind (something I care a lot about). Second avantage is that it is nowadays about the only format that's cross platform. I can read plain text documents that were created more than 30 years ago, and I have no doubt that a plain text document created today will be readable 30 years from now. RFC's have been written in plain text since RFC 1, and they will be written in plain text for the foreseeable future. What's good enough for RFC's is certainly good enough for my documentation. Another advantage is that plain text is so "plain", it really lets you focus on the content.

LaTeX is great. It allows you to separate content from presentation by using stylesheets, without prohibiting you from doing complicated stuff. There are lots of free packages available enabling you to create sophisticated documents easily. It's the Perl of documentation languages, but with less ugliness. For documentation in dead tree format, it would be my first choice.

I only use POD for documenting Perl programs, and mainly because it's common to do. When installing stuff with CPAN, documentation gets automatically extracted. But the markup of POD is minimal, it doesn't give that much more than plain text is giving you. The existance of a pod2man, and the non-existance of text2man makes that I still use POD.

Abigail

  • Comment on Re: What's the best plain Documentation format?

Replies are listed 'Best First'.
[OT] Re: Re: What's the best plain Documentation format?
by Jenda (Abbot) on May 27, 2003 at 12:39 UTC

    Lucky girl boy (thanks particle). If I happened to get a (OK, 30 is too much) 10 years old text in Czech I'm sure I'd at least had to go and search for a charset convertor. And if I'd be lucky I would 1) find out what charset is the text in and 2) be able to find a convertor that still knows that charset.

    If on the other hand I'd be unlucky the text would already be "converted" from a charset it's not in. I once wasted several days trying to find out why the heck do the accentuated characters come out wrong only to find out the FoxPro ODBC drivers automaticaly "converted" the strings from cp852 to win1250 even though they were in koi8cs or something. And since I was not able to turn the automatic conversion off I had to convert back and then convert correctly. If the data could talk I'm not sure what would it say.

    Jenda
    Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
       -- Rick Osborne

    Edit by castaway: Closed small tag in signature

      I agree, although it's not quite as bad for German. You can usually guess the characters and search/replace them -- unless some stupid MTA decided to just throw away that 8th bit instead of using something like MIME.

      I tend to go UTF-8 for my plaintext docs, and hope it'll be around for a while.

Re: Re: What's the best plain Documentation format?
by gmpassos (Priest) on May 27, 2003 at 01:25 UTC
    Can you give some tools for Latex, since I don't know much about it?

    Graciliano M. P.
    "The creativity is the expression of the liberty".

      The tools I use are: a plain text editor like vi; latex, to take the latex files and turn them into dvi; xdvi, to display dvi files; dvips to turn dvi files into PostScript; and dvipdf to turn dvi into PDF. Oh, and lp to print the PostScript files.

      Abigail

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://260904]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (1)
As of 2024-04-25 00:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found