| Latest discussions |
|---|
|
doc.tags.X format changes
Updated 5 months ago |
|
[BUG] Number of calls for the last hour
Updated 6 months ago 8 replies |
|
XML-RPC not working?
Updated 12 months ago 3 replies |
|
album.getList requires user_id
Updated 12 months ago 2 replies |
|
New group API methods + group suggestion
Updated 12 months ago 8 replies |
| PDF version of documentation |
|
doc.search limit
Updated 13 months ago 12 replies |
|
[done] User alias and user ID for using in user_id
Updated 13 months ago 11 replies |
|
EXIF
Updated 13 months ago 5 replies |
|
Ipernity::API for Perl
Updated 13 months ago 3 replies |
| ... view all the discussions |
|
PDF version of documentationposted by Roberto Ballerini - travelingPosted on Friday October 10, 2008 at 20:44. 458 visits. ( permalink ) |
You must be logged on to post a reply. Sign in now?
Latest comments
–
Subscribe to the comment feed for this topic.
Dirk pro says:
I don’t know, what system is used at ipernity for displaying the API help, but it should be extended for automated PDF generation. If it will be done anually each time, the API gets extended or changed, this will be a lot of work (or the two documentations are in different states, if the PDF version will not be updated regulary).
--
Coming from a group home page (?)
So I guess those files could be exported in any formats.
Chris pro says:
For example sphinx for Python documentation,
it can output HTML and LaTeX (=>PDF).
And reStructuredText is so much easier to write than HTML...
Dirk pro replies:
You just need an XML parser that outputs the formatted API documentation contents as PostScript and then convert it to PDF. I guess, it’s not THAT hard, if the XML files for the API documentation are created in a “clean” way without missusing tags.
Maybe there is a possibility to directly convert the output, but it doesn’t matter, because it’s just one line for converting the PostScript document:
convert api.ps api.pdf
(yes, you’re right: ImageMagick is able to process PostScript files *g*)
--
Coming from a group home page (?)
Nils Pickert pro replies:
There is a DANTE Talk in german: www.dante.de/dante/events/mv27/handouts/partosch-xml/S-05 (DANTE is the german TeX Users Group). On this page there's allso some awk tricks to convert from XML to TeX.
Chris pro replies:
Chris pro replies:
reStructuredText was made to write text documents, XML not.
Yes, I am aware that I could also write a parser for SuperBizzaro documents
and convert it to any other possible format.
Hint: Write a XSL Stylesheet and use XSL Formatting Objects to create PDF files.
Dirk pro replies:
--
Seen in a group discussion (?)
Doomshammer says:
I never understood how people could chasten themself by writing configuration files (like e. g. the Jabberd config) or documentation in XML or XML-like languages
Dirk pro replies:
<?xml version="1.0" encoding="UTF-8"?>
<book xml:id="simple_book" xmlns="docbook.org/ns/docbook" version="5.0">
<title>Very simple book</title>
<chapter xml:id="chapter_1">
<title>Chapter 1</title>
<para>Hello world!</para>
<para>I hope that your day is proceeding <emphasis>splendidly</emphasis>!</para>
</chapter>
<chapter xml:id="chapter_2">
<title>Chapter 2</title>
<para>Hello again, world!</para>
</chapter>
</book>
--
Coming from a group home page (?)
Doomshammer replies: