Slashdot Mirror


Pretty Printing From An XML File?

Omega1045 writes "Where I work we are developing a new product that receives an XML document (on a W2k workstation), and we need to format and print said document. We are currently using XSLT + CSS to build a cool little HTML page out the the XML, then use a browser to print out the HTML. However, while HTML is a nice format for display, it is not a nice format for printing. We have messed around with the idea of spitting out Rich Text with XSLT. However, Rich Text is confusing and quite frankly sucks. We are looking for a (free if possible) format that we can translate our XML document into via XSLT, and print. The best idea we have at this point is to translate into a Word or OpenOffice XML schema document, and use one of those applications to print. Other ideas?"

65 comments

  1. Postscript? by Hanji · · Score: 3, Interesting

    I'm not actually familiar with the details of postcript at all, but it certainly seems a logical format to consider if printing things is your concern.

    --
    A Minesweeper clone that doesn't suck
  2. FOP by pi_rules · · Score: 4, Informative

    Apache FOP Homepage

    Very powerful if you ask me. I used it on a project back in 2000-2001 and was pleased with how it turned out at the time. I'm sure the current product is much, much, better than it was back then.

    1. Re:FOP by danpat · · Score: 2, Informative

      I agree. XML-FO is supposed to be the W3C's "definitive" answer to an XML, page-oriented formatting language. XML-FO achieves basically exactly what PDF does, but in XML. It's supposed to be a structured representation of print-formatted data.

      I've used it quite a lot and it's great. It's very easy to transform your XML data into the XML-FO schema, from which you can use Apache-FOP (or one of the commercial tools) to turn it into a format other tools can use (PDF, ps, RTF, etc).

    2. Re:FOP by malachid69 · · Score: 2, Informative
      I agree. XML->XSL->FOP is the way to go.

      BTW, from http://www.w3schools.com/xslfo/xslfo_intro.asp:

      XSL-FO is Formally Named XSL Why this confusion? Is XSL-FO and XSL the same thing? Yes it is, but we will give you an explanation: Styling is both about transforming and formatting information. When the World Wide Web Consortium (W3C) made their first XSL Working Draft, it contained the language syntax for both transforming and formatting XML documents. Later the XSL Working Group at W3C split the original draft into separate Recommendations:

      • XSLT, a language for transforming information
      • XSL or XSL-FO, a language for formatting information
      • XPath, a language for defining parts of an XML document
      --
      http://www.google.com/profiles/malachid
    3. Re:FOP by saden1 · · Score: 1

      If you intend to print and you are not using XML-FO you're doing something wrong.

      --

      -----
      One is born into aristocracy, but mediocrity can only be achieved through hard work.
    4. Re:FOP by pmuellr · · Score: 2, Interesting
      One problem with Apache's FOP is that it doesn't support keep, orphan, widow type stuff, so it's difficult to get nice looking paginated stuff, broken at natural places. FOP supports it in the 'spec', Apache FOP doesn't support it in the implementation.

      I was using FOP to create 'slides', and it did an ok job. Nice that it supports links in the PDF file.

      I also looked at ReportLab for Python, which seemed slightly better to me than FOP, with one exception. I think the link support was not as nice as Apache's, and at the time I was too reliant on it to be able to move to ReportLab.

    5. Re:FOP by pete-classic · · Score: 1

      "Well, I don't want FOP, goddamn it! I'm a Dapper Dan man!"
      - Ulysses Everett McGill

      -Peter

    6. Re:FOP by bloo9298 · · Score: 1

      And for history buffs, this all came from James Clark's DSSSL (both a transformation system and a formatting language) for SGML.

  3. Try PDF by Mastos · · Score: 4, Informative

    I have a similiar problem I solve through the use of XSLT and XSL-FO. Use XSLT to transform the XML into XSL-FO. Then, use Apache FOP to render the XSL-FO into PDF.

    Another variation is to transform your XML into an HTML subset, then use a standard XSLT to transform the HTML into XSL-FO. A similiar technique is used by Aurigadoc to create all sorts of output formats using an XML source.

    1. Re:Try PDF by Apreche · · Score: 2, Informative

      That's a good idea. You can also translate into postscript, then send the postscript right to the printer. You can also use ps2pdf to make pdfs from the postscript. People don't realize, but postscript is actually a programming language you can write in. Turning an XML document into a postscript should be not outside the real of possibility with XSL.

      --
      The GeekNights podcast is going strong. Listen!
  4. XSLT-FO by JumpSuit+Boy · · Score: 4, Informative

    http://xml.apache.org/fop/
    http://www.cranesoftwr ights.com/training/ has a book about how do this that was created using XSLT-FO

    There are also paywhere implimentations XSLT-FO this. Basicaly it is the extension to XSLT for print.

    --
    Oh really?
  5. Consider YesLogic Prince by PornMaster · · Score: 3, Informative

    Prince is a batch formatter for converting XML into PDF and PostScript by applying Cascading Style Sheets (CSS). Unlike other formatters, Prince prints any XML vocabulary without relying on proprietary markup

  6. LaTeX by Asgard · · Score: 4, Insightful

    Generate a LaTeX document file, compile it using PDFLatex and print. Or, use normal LaTeX and print directly from it, depending if .dvi files offend you.

    1. Re:LaTeX by tigersha · · Score: 1

      Been there done that. All the horrors with metacharacters and difficulties with page layout made me switch to FO

      However, Latex's output looks better than FOP's. Only just slightly.

      --
      The dangers of excessive individualism are nothing compared to the oppressiveness of excessive collectivism
    2. Re:LaTeX by Thunderbear · · Score: 1

      Look at PassiveTeX, which renders XSL-FO (a subset though) in TeX.

      --

      --
      Thorbjørn Ravn Andersen "...and...Tubular Bells!"
  7. PCL, depending on how complex your layout is. by np_bernstein · · Score: 2, Interesting

    The company I work for dynamically fills out complicated forms and fills in their data. We use PDF, sure, but if you've got any complicated stuff where you need things to be very exact, or need to support things like mixed pages sizes, etc. You want to look into Printer Control Language, originally created by HP and supported on most printers.

    --
    RandomAndInteresting.comdefending the world from stupidity since 1979
    1. Re:PCL, depending on how complex your layout is. by shakah · · Score: 1
      We use PDF, sure, but if you've got any complicated stuff where you need things to be very exact, or need to support things like mixed pages sizes, ...
      Care to share any examples of situations where you've opted for PCL to work around PDF shortcomings?

      FWIW, I've found PDF to be pretty accurate/flexible/comprehensive in most areas.

  8. Try Docbook by Pyromage · · Score: 2, Interesting

    Docbook is an XML based document format, with support to output to many different formats, including HTML and LaTeX, as I recall.

    I'm not sure how the docbook LaTeX filters work, but you may want to avoid LaTeX, for several reasons: special characters. LaTeX doesn't do Unicode, you'll have to translate those characters. That's not a huge problem, merely an annoyance.

    But quotes can be annoying. Latex wants directional quotes. This is fine only if you have full control of your source and are willing to deal with it.

    I tried to go direct to latex on one of my projects, it's not straightforward. Unless I'm missing something obvious; if someone does know a solution, please inform me 8-}

    1. Re:Try Docbook by tigersha · · Score: 1

      Had pretty much exactly the same problems: Latex has different special characters (%, anyone) and no Unicode. And I was translating a German Dissertation with lots of statistics.

      Latex is doable but it is too much fuss in the end.

      --
      The dangers of excessive individualism are nothing compared to the oppressiveness of excessive collectivism
    2. Re:Try Docbook by Anonymous Coward · · Score: 0

      Unicode support for LaTeX. If you actually want the output to look decent, then LaTeX or TeX are worth it.

    3. Re:Try Docbook by CRCulver · · Score: 3, Informative

      LaTeX doesn't do Unicode, you'll have to translate those characters.

      Actually, LaTeX does do Unicode, and quite well. You just have to install Dominique Unruh's unicode package if your LaTeX distribution doesn't already ship it. I've used it for over a year to typeset documents with lots of Old Church Slavonic, Greek, and Hebrew, easily mixing scripts in one document and being free to keep all foreign scripts in UTF-8.

      If you would like to see some examples, check out my two tutorials for LaTeX for philologists (which I still work on and update from time to time).

  9. Docbook by ptaff · · Score: 3, Informative

    Another XML-based format is DocBook, which originally was SGML based but now has a XML DTD too. From this format you can output to ps, pdf, rtf and plenty of other formats.

    You could also hack one of the docbook XSL stylesheets (using XSLT? would be pretty!) to make it parse your own format.

    Feel ready to own one or many Tux Stickers?

  10. Apache FOP Supports Postscript by Mastos · · Score: 2, Informative

    While its support might not be complete (http://xml.apache.org/fop/output.html#ps) Apache FOP can also render into postscript. The advantage of XML-FO, while it hasn't been very well received, is it tries to be sufficiently expressive to support any number of output types from print (PDF, PS, RDF, etc) to graphics (SVG).

  11. SVG? by big+daddy+kane · · Score: 2, Interesting

    If I understand what you're asking, SVG would be a good choice. Bullet sharp text that prints excellently. It can be automatically generated and is based off of xml so it shouldn't be too hard to intergrate.

    1. Re:SVG? by hsoft · · Score: 2, Interesting

      Yup. I'd personally say "try harder with {X}HTML", but in case it fails utterly, SVG will definately be the way to go! It will be much harder for you though to transform XML into printable SVG than into XHTML.

      --
      perception is reality
    2. Re:SVG? by Anonymous Coward · · Score: 0

      It is my understanding that while SVG is great for vectorial images or text, it is no so great to arrange the text: word-wrapping is not supported or was not supported at the time I looked at it (a few months ago) for a similar project. A paragraph had to be split into multiple lines of text to look like a paragraph... I would not recommend SVG if you want to print large blocks of text.

      SVG will be a great format for images AND text a version or two down the road. But not right now.

  12. XMLPDF by WasterDave · · Score: 3, Informative

    Never quite sure what the hell it does myself, but a few people here swear by it:

    http://www.xmlpdf.com/

    Cheers,
    Dave

    --
    I write a blog now, you should be afraid.
  13. maybe...? by heistgonewrong · · Score: 1, Informative

    send it to a MySQL database, then Use PHP to creat a PDF, and print it from PDF... although I can't contest for the quality of printing from PDF. Just my 2cents.

  14. You're almost there... by BladeMelbourne · · Score: 4, Insightful

    Having been in the same situation before, this is what I suggest...

    Take the XML and the XSL and transform it into 100% valid XHTML. HTML 4 is deprecated, the standard will not be updated. XHTML 1.0 is 5 years old already - start to use it.

    Use CSS - pay attention to
    @media screen,print
    { /*Styles for browser and printer*/
    }
    @media screen
    { /*Styles for browser only*/
    }
    @media print
    { /*Styles for printer only*/
    }

    If it doesn't print well, you probably need to refresh your CSS here: http://www.w3.org/style

    Goodluck.

    1. Re:You're almost there... by Anonymous Coward · · Score: 0

      HTML 4 is deprecated, the standard will not be updated.

      HTML 4 isn't a standard, and hasn't been deprecated. In fact, as far as publishing for the web goes, most authors are better off using HTML 4 rather than XHTML of any form. Please don't spread misinformation.

      XHTML 1.0 is 5 years old already - start to use it.

      Why? XHTML 1.0 offers extremely few benefits over HTML 4 and introduces compatibility problems. For what you are suggesting - media-specific stylesheets - XHTML 1.0 has precisely zero advantages over HTML 4.

    2. Re:You're almost there... by Anonymous Coward · · Score: 0

      HTML 4 isn't a standard

      Really? The W3C seems to disagree with you. (Note the title of the document: "HTML 4.01 Specification".)

      and hasn't been deprecated.

      This much is true, however the previous poster is correct in that it will not be updated.

      as far as publishing for the web goes, most authors are better off using HTML 4 rather than XHTML

      I agree with you 100% here, but it doesn't make the original poster's information incorrect.

    3. Re:You're almost there... by stoborrobots · · Score: 1
      Really? The W3C seems to disagree with you. (Note the title of the document: "HTML 4.01 Specification".)

      So? lots of things have specifications... In fact as I read it, it says:
      HTML 4.01 Specification

      W3C Recommendation 24 December 1999
      then
      This specification defines ... the publishing language of ....
      HTML 4 is an SGML application conforming to International Standard ISO 8879 -- Standard Generalized Markup Language
      ... endorsed by the Director as a W3C Recommendation.
      W3C's role in making the Recommendation is to draw attention to the specification and to promote its widespread deployment.
      and from chapter 2:
      HTML has been extended in a number of ways. The Web depends on Web page authors and vendors sharing the same conventions for HTML.


      But I agree on the rest...
    4. Re:You're almost there... by Karma+Farmer · · Score: 1

      The original poster said HTML 4 is deprecated, the standard will not be updated.

      It is a recommendation, not a standard. There is a difference.

      It is not deprecated.

      And, to the best of my knowledge, no-one has ever formally stated that it will not be updated.

      There may be reasons to use XML and CSS in the application. The original poster was 100% incorrect about HTML 4, though.

    5. Re:You're almost there... by Magnus+Reftel · · Score: 2, Interesting
      Take the XML and the XSL and transform it into 100% valid XHTML. HTML 4 is deprecated, the standard will not be updated.

      As the poster said, they've tried HTML, and didn't like it. I very much doubt that the print quality of XHTML would be any better than HTML. (I don't quite understand either why you're including screen styles for a page that is intended only for printing.)

      As for HTML 4 being a dead end, the WHAT WG, a collaboration among developers from most browsers, are defining a set of specifications intended to extend HTML4 in the short term, and serve as a base for a fifth version of HTML later.

      --
      print "Yet another p{erl,ython} hacker\n",
    6. Re:You're almost there... by Anonymous Coward · · Score: 1, Informative

      The W3C seems to disagree with you.

      No they don't, as other people have pointed out, you have thoroughly confused the terms "specification" and "standard". If you want to hear it straight from the horse's mouth:

      The W3C has been an active voice in industry technology debates for a little over two years now. Today, we represent over one hundred and seventy developers, research organizations, government agencies, and users. We have a technical staff of three dozen folks around the world working in three Domains on thirty Activity Areas. We are not a:

      1. Standards body, because we do not make legally binding decisions
      2. Research Think-tank, because we work on the here-and-now
      3. Trade Organization, because we represent the public trust

      There you have it. The W3C are not a standards body. They don't make standards. If you want to use a standardised document format, ISO, a real standards body, has produced ISO-HTML.

    7. Re:You're almost there... by stoborrobots · · Score: 1

      Never mind - my goof...

      While W3C has not made HTML a standard, the ISO and IEC apparently have standardised "a refinement of the World Wide Web Consortium's (W3C's) Recommendation for HTML 4.0 ... Documents which conform to this International Standard also conform to the strict DTD provided by the W3C Recommendation for HTML 4.01."

    8. Re:You're almost there... by JimDabell · · Score: 1

      Yes. This still doesn't make HTML 4.01 a standard though; ISO-HTML is not identical to HTML 4.01 - it is a stricter specification. While ISO-HTML documents can also be HTML 4.01 documents, the inverse is not true.

  15. HTML is good enough by mnmn · · Score: 1

    I'm not sure why HTML isnt sufficient for you. We build an app that had to print boxlabels, HTML fit the bill nicely. Its designed for visual presentation of data, placing of text and graphics, and thats whats happening during printing or viewing for proofing. Ours is a bad example because we didnt have XML-source data but I know HTML would work fine.

    --
    "Give orange me give eat orange me eat orange give me eat orange give me you." -Nim Chimpsky
    1. Re:HTML is good enough by Doctor+O · · Score: 1

      > Its designed for visual presentation of data,
      > placing of text and graphics

      No, goddammit, it's not. It's designed for structurally marking up hypertext, thus the name. The visual presentation is being dealt with by CSS. The separation of style and content through HTML4/CSS1 is best practice since when, 1998?

      And while we're at it, how do you e.g. position an image with say 4mm full run-around at (75mm/150mm) on a printout with plain HTML? To make it short, you don't because you can't.

      Mind you, I don't pick on you personally, I just can't stand reading things like that anymore. Separation of code and presentation is best practice about everywhere, and HTML/CSS really makes it easy for everyone. It's not exactly rocket science and people would have to bitch about HTML/CSS much less if they simply wrote valid code in the appropriate languages. It's no wonder most tagsoup renders like shit in different browsers. Sadly, most 'web designers' don't get the clue, but it's been like this since the very beginning, so I will just stop complaining now and continue writing my book on the subject.

      --
      Who is General Failure and why is he reading my hard disk?
    2. Re:HTML is good enough by Anonymous Coward · · Score: 0

      wow! A book about HTML and CSS!

      Great! I can hardly wait! Such a unique idea!

      Please, give a release date before I crap my pants!

    3. Re:HTML is good enough by VTBassMatt · · Score: 2, Funny

      Welcome to my friends list.

    4. Re:HTML is good enough by Doctor+O · · Score: 1

      I know you're being modded as funny (obviously by someone who didn't check to see that you indeed added me to your friends list), but if my comment puts me onto your list, I guess you belong onto mine, too, as I tend to befriend people with similar views on some topics.

      --
      Who is General Failure and why is he reading my hard disk?
    5. Re:HTML is good enough by GQuon · · Score: 1

      I tend to do that too. It makes slashdot biased though. Biased toward my side, but still...

      --
      Irene KHAAAAAAN!
    6. Re:HTML is good enough by Doctor+O · · Score: 1

      True, true. But any medium is biased, and if it is only because you filter the content in your mind.

      Actually the friends list can serve as a nice non-idiot database, and I regularly included people with whom I disagreed but who obviously know what they're talking about. But now I am reshaping it to represent a social network, and the comments I get to see degrade in quality as I remove more and more entries from the NIDB times. Slashdot definitely should offer a finer granulation of comment moderation. If you assign modifiers to friends, FOF and maybe one or two mod categories like Funny or Insightful, you get lots of comments at +4 or +5. Making it reach up to +10 or something would definitely help.

      --
      Who is General Failure and why is he reading my hard disk?
    7. Re:HTML is good enough by GQuon · · Score: 1


      Yes, I still do that. Nice to see that other people also do/did it.
      Aslo, I give freaks more negative points than I do foes.

      --
      Irene KHAAAAAAN!
    8. Re:HTML is good enough by Doctor+O · · Score: 1

      Actually I give freaks a +2 modifier so I can see and pick on them if they say something stupid. *g* It's all just on personal preference, I guess, but to me it feels as if all those features in slashcode aren't exactly made in a way that encourage creative use, but that might be because of server load issues. I don't know perl, so I can't look it up. ;)

      --
      Who is General Failure and why is he reading my hard disk?
  16. Listen to me ;-) by cookiepus · · Score: 3, Interesting

    I've had do to just this, actually... here's the setup. Don't ask me why certain things were the way they were, certainly you can improve. I inherited some of this. But it worked...

    First, we had a bunch of product data in a MS SQL server db. We had a Java (I think) task that nightly dumped XML file (one per product) based on the DB.

    Then, we applied an XSLT transformation to each XML to produce the static HTML page for that day (static both to reduce server load and optimize google's searching of it, since Google didn't/doesn't like dynamic content)

    Then we wanted to produce a printer catalogue, so rather than printing pages, I made an XSLT that transformed the XML not into HTML but into FOP. FOP is some Java shit from Apache that takes FOP files and spits out a PDF.

    Obviously I don't remember details, but it worked.

    I had the idea to generate the PDFs not just for the printed catalogues but also as "printable version" for each HTML page. So both PDFs and HTMLs were generated nightly. Yeah it took a while but it was cool.

    It also served to improve our pagerank because (1) the PDFs made it look like we've got twice as much content and because (2) google gave higher weightings to PDFs (at the time, anyway)

    And, it was easy.

  17. ASCII by Rie+Beam · · Score: 3, Insightful

    You'd be surprised what a little coloring and some ASCII artwork can do.

  18. A project the does what you mention... by dJCL · · Score: 1, Redundant

    I just happened to be updating my resume again, decided to make it XML based and found the xml resume library on sourceforge (xmlresume.sourceforge.net)

    One of their XSLT transforms the XML to a PDF file, maybe that would be a good place to look. I only found this today, and since I'm only just learning XML, I don't know how well this applies... Enjoy!

    --
    On Arrakis: early worm gets the bird. Magister mundi sum!
    1. Re:A project the does what you mention... by pmuellr · · Score: 1

      xmlresume uses FOP, it appears, to generate PDF

  19. Me Too by KevMar · · Score: 3, Insightful

    We had this problem once, but worse.

    When I started with my current employer, we had a very complicated PDFing process. Every night a transfer workstation would copy datafiles localy from a backup of the production server. A pervasive driver was loaded to read the dat files. Access would import the data from pervasive and run a report that was saved as a RTF file. It was then opened in Word where a macro would then PDF the document and close. The PDF was then copied to the webserver for the users to download.

    What a mess and a nightmare to debug. It would work for a few months and then at seamingly random times, it would crash horibly for several days in a row.

    When it did break, i felt like I wasted a lot of time tracking down ghost problems. In my slow days I rewrote it.

    It now pulls read only data from the production server with that pervasive driver into a xml file. Then apply a xsl transform and pass the result to the FOP processor and place the result directly on the webserver.

    A process that took an hour to run now finishes in 2 minutes. It is quick enough, we run it every 20 min. FOP was quick to setup and the examples are like a blue print and easy to figure out.

    I have never had a problem with the new implementation and the end user had no impact and was unaware of the change.

    I would recomend using a FOP processor to my friends.

    --
    Im a gamer, not a grammer major. This post is full of spelling and grammer mistakes.
  20. Mod parent up! by HRbnjR · · Score: 1

    Parent is spot on!

    Everyone seems to know XSLT, but not it's sister XSLFO spec. XSL-FO is designed for exactly this!

  21. XML -> RTF via XSL... by timjones · · Score: 2, Interesting
    I have two production applications at work that convert a subset of HTML to RTF via an rtf.xsl stylesheet, with results good enough, that my users actually call it (RTF) the "print" format, whilst the HTML is (naturally) the "view" format. The subset it supports is TABLE, TBODY/THEAD, TR/TD, FONT COLOR/SIZE, @BGCOLOR attributes, and rudimentary PNG/JPEG image embedding (but only as part of the text stream & in a table cell, not as independently positioned images). I had to add a few things to plain HTML, like a "base font size", a "landscape/portrait" attribute to BODY, and attributes to pass to RTF's "\cellx" tag (because HTML auto-sizes everything, and in RTF you have to specify the position of the right edges of table cells).

    All my users use Word as a helper application, which they think is great, but it makes me cringe to think of more invocations of an MS product.

    I would loved to try producing the PDF, XSL/FO and Postscript outputs via XSL transformations, just haven't had the time to try it yet. I'm sure they would yield better results, so go for it!

  22. Please learn how to make links. by Anonymous Coward · · Score: 0
    Please learn how to make links.
    <a href="http://xml.apache.org/fop/">Apache's Formatting Objects Processor</a>
    <a href="http://www.cranesoftwrights.com/training/">C rane Softwrights</a> has a book
    (without any spaces put there by Slashdot) yields:
    Apache's Formatting Objects Processor
    Crane Softwrights has a book
    If that's too much typing for you,
    <URL:http://xml.apache.org/fop/>
    <URL:http://www. cranesoftwrights.com/training/>
    (without any spaces put there by Slashdot) yields:
    http://xml.apache.org/fop/
    http://www.cranesoftwrights.com/training/
    Also:

    There are also paywhere implimentations

    "payware".
    1. Re:Please learn how to make links. by Anonymous Coward · · Score: 0
      Please learn how to make links.
      ...

      There are also paywhere implimentations
      "payware".

      Please learn how to edit.

      "payware implementations."
  23. ... Why are you asking slashdot? by op00to · · Score: 2, Funny

    Is /. now the offical R&D contractor for every shitty, piss-ant "company" with a "product" out there?

    Seriously, buddy. It's not hard. XML -> Perl/Php/Python/Whatever P you chose -> PostScript -> pretty printing

    Google is your friend.

  24. DocBook-XSL + XSL-FO + FOP by rjshields · · Score: 2, Insightful

    Use XSLT to transform your XML to DocBook, then use DocBook XSL to convert to XSL-FO, then Apache FOP to generate a PDF.

    Alternatively, skip the DocBook step and transform straight to XSL-FO.

    --
    In this world nothing is certain but death, taxes and flawed car analogies.
  25. Other ideas... by jo42 · · Score: 0

    lpr file.xml

  26. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  27. No T in XSL-FO by rjshields · · Score: 1

    That's XSL-FO (eXtensible Style Language - Formatting Objects) - there's no such thing as XSLT-FO.

    --
    In this world nothing is certain but death, taxes and flawed car analogies.
  28. troff by Anonymous Coward · · Score: 0

    I'm amazed that no one has suggested good old troff! :-}

  29. Handling XML files...and other stuff by duplicate-nickname · · Score: 1
    I know you are looking for a free solution, but in the future if you need to do some other heaving lifting with your documents, check out DeliveryWare from Esker Software.

    I ran across this a little while ago.... DeliveryWare

    It will handle XML documents and convert to various formats and can fax, e-mail, print or do whatever with the file.

    --

    ÕÕ

  30. gvim will do it by fastdecade · · Score: 1

    gvim will do it - and command-line. Just run it with a couple of initial commands (use -c to specify comands). ":syntax on" to turn syntax highlighting on and ":hardcopy" to print.

    Haven't tried it, but should be a breeze. And a portable solution too.

  31. Slashcode by GQuon · · Score: 1

    Some parts of the slashcode are pretty easy to understand. For example, I patched it so that Underrated and Overrated would get caught in moderation. (But that's a feature that they want to keep. Despite new users filing it as a bug every three months.)

    --
    Irene KHAAAAAAN!
    1. Re:Slashcode by Doctor+O · · Score: 1

      I actually doubt that they would check in patches I make to be used on /. itself. :) But then again, I don't think they are too interested in community building, otherwise they'd have a meta section and better community features like distinguishing the friends from the mere non-idiots and fine-tuning moderation. -1 to +5 just isn't enough. It would be *so* easy to hide the scores and let users choose (I want the n highest rated comments) while maintaining a moderation limit per comment to prevent over-moderation of early comments. Actually I have designed some additions to /. as a mind play, such as "I want to read 15 minutes of good comments" or "I want to read 20 minutes of trolls". But I digress. ;)

      --
      Who is General Failure and why is he reading my hard disk?