<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Steve</span></div><div><br><span></span></div><div><span>When do you think you will push the PDF on slony.info?</span></div><div><br><span></span></div><div><span>Kind regards.</span></div><div><br><span></span></div><div><br><span></span></div><div><span>David.</span></div><div><br></div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><font face="Arial" size="2"><hr size="1"><b><span style="font-weight:bold;">De :</span></b> Steve Singer <ssinger@ca.afilias.info><br><b><span style="font-weight: bold;">À :</span></b> David TECHER <davidtecher@yahoo.fr><br><b><span style="font-weight: bold;">Cc :</span></b> Devrim GÜNDÜZ <devrim@gunduz.org>; Slony Hackers
<slony1-hackers@lists.slony.info><br><b><span style="font-weight: bold;">Envoyé le :</span></b> Mercredi 26 Octobre 2011 19h28<br><b><span style="font-weight: bold;">Objet :</span></b> Re: Re : [Slony1-hackers] Re : Re : Slony 2.1.0 PDF Documentation available<br></font><br>On 11-10-24 06:47 PM, David TECHER wrote:<br>> For sure<br><br>Thanks.<br><br>I've produced this patch to have the<br>make slony.pdf target use this steps instead of the jadetex ones. The <br>old commands seemed to work for me as well but it took a really long <br>time for the pdf to run.<br><br>With this patch slony.pdf will be included in the -doc tar file that <br>gets built/pushed to the slony.info site.<br><br>Any comments?<br><br><br><br>><br>> Step 1 - Dblatex<br>> ------------------------<br>> First of all be sure that you have dblatex installed<br>><br>> since I am on Ubuntu Lucid, I've did<br>><br>> apt-get install -y
dblatex<br>><br>> Notice: I've tryied it with dblatex 0.2.12-4 (Ubuntu Lucid) and with the<br>> last version 0.3 available from dblatex.sf.net.<br>> The two versions are Ok for me. However I am not able to confirm that my<br>> commands will work for dblatex < 0.2.12<br>><br>> Then<br>><br>> Step 2 - Generating the PDF<br>> -------------------------------------<br>> # As usual, generate the XML file<br>> cd doc/adminguide<br>> make slony.xml<br>><br>> # we need to make a few changes: replacing 'article' by 'sect1' else we<br>> will not be able to use Latex<br>> sed -i "s:<article:<sect1:g;s:</article:</sect1:g" slony.xml;<br>><br>> # We use dblatex to generate a temporary Tex file named (for example)<br>> 'slony-tmp.tex'<br>> dblatex -t tex -o slony-tmp.tex slony.xml<br>><br>> # We drop bad lines "\end{document}" generated by dblatex<br>> grep -vE
'^(\\end{document}|\\subsection\*)$' slony-tmp.tex > slony.tex<br>><br>> # We put the required '\end{document}' at the end of the Tex file<br>> echo "\end{document}" >> slony.tex<br>><br>> # Latex required to run the following command 3 times in order to<br>> generating the TOC of the document<br>><br>> pdflatex slony.tex<br>> pdflatex slony.tex<br>> pdflatex slony.tex<br>><br>> Then the PDF file is generated.<br>><br>> That's all.<br>><br>><br>> ------------------------------------------------------------------------<br>> *De :* Steve Singer <<a ymailto="mailto:ssinger@ca.afilias.info" href="mailto:ssinger@ca.afilias.info">ssinger@ca.afilias.info</a>><br>> *À :* David TECHER <<a ymailto="mailto:davidtecher@yahoo.fr" href="mailto:davidtecher@yahoo.fr">davidtecher@yahoo.fr</a>><br>> *Cc :* Devrim GÜNDÜZ <<a ymailto="mailto:devrim@gunduz.org"
href="mailto:devrim@gunduz.org">devrim@gunduz.org</a>>; Slony Hackers<br>> <<a ymailto="mailto:slony1-hackers@lists.slony.info" href="mailto:slony1-hackers@lists.slony.info">slony1-hackers@lists.slony.info</a>><br>> *Envoyé le :* Lundi 24 Octobre 2011 16h22<br>> *Objet :* Re: [Slony1-hackers] Re : Re : Slony 2.1.0 PDF Documentation<br>> available<br>><br>> On 11-10-23 12:44 PM, David TECHER wrote:<br>> > If you are interested, the files used to generated the pdf are joined to<br>> > this mail.<br>> ><br>> > slony.xml:<br>> ><br>> > The file you've got when you do<br>> ><br>> > make slony.xml<br>> ><br>> > I had to modify it manually.<br>> ><br>> > slony.tex:<br>> ><br>> > do<br>> ><br>> > pdflatex slony.tex<br>>
><br>> > Be sure to have the image 'complexenv.png' in the same directory where<br>> > the command is executed<br>><br>> To include this in the -doc tar builds going forward I need to know what<br>> commands to execute to build the PDF from the xml sources.<br>><br>> $ cd doc/adminguide<br>> $ make slony.xml<br>><br>> then what? Do I need to run<br>><br>> $ make slony.pdf<br>><br>> or something else?<br>><br>> ><br>> > ------------------------------------------------------------------------<br>> > *De :* David TECHER <<a ymailto="mailto:davidtecher@yahoo.fr" href="mailto:davidtecher@yahoo.fr">davidtecher@yahoo.fr</a> <mailto:<a ymailto="mailto:davidtecher@yahoo.fr" href="mailto:davidtecher@yahoo.fr">davidtecher@yahoo.fr</a>>><br>> > *À :* Devrim GÜNDÜZ <<a ymailto="mailto:devrim@gunduz.org"
href="mailto:devrim@gunduz.org">devrim@gunduz.org</a> <mailto:<a ymailto="mailto:devrim@gunduz.org" href="mailto:devrim@gunduz.org">devrim@gunduz.org</a>>><br>> > *Cc :* Slony Hackers <<a ymailto="mailto:slony1-hackers@lists.slony.info" href="mailto:slony1-hackers@lists.slony.info">slony1-hackers@lists.slony.info</a><br>> <mailto:<a ymailto="mailto:slony1-hackers@lists.slony.info" href="mailto:slony1-hackers@lists.slony.info">slony1-hackers@lists.slony.info</a>>><br>> > *Envoyé le :* Dimanche 23 Octobre 2011 17h53<br>> > *Objet :* [Slony1-hackers] Re : Slony 2.1.0 PDF Documentation available<br>> ><br>> > Devrim,<br>> ><br>> > I hope so.<br>> ><br>> > Thanks for your mail.<br>> ><br>> > David.<br>> ><br>> >
------------------------------------------------------------------------<br>> > *De :* Devrim GÜNDÜZ <<a ymailto="mailto:devrim@gunduz.org" href="mailto:devrim@gunduz.org">devrim@gunduz.org</a> <mailto:<a ymailto="mailto:devrim@gunduz.org" href="mailto:devrim@gunduz.org">devrim@gunduz.org</a>>><br>> > *À :* David TECHER <<a ymailto="mailto:davidtecher@yahoo.fr" href="mailto:davidtecher@yahoo.fr">davidtecher@yahoo.fr</a> <mailto:<a ymailto="mailto:davidtecher@yahoo.fr" href="mailto:davidtecher@yahoo.fr">davidtecher@yahoo.fr</a>>><br>> > *Cc :* Slony Hackers <<a ymailto="mailto:slony1-hackers@lists.slony.info" href="mailto:slony1-hackers@lists.slony.info">slony1-hackers@lists.slony.info</a><br>> <mailto:<a ymailto="mailto:slony1-hackers@lists.slony.info" href="mailto:slony1-hackers@lists.slony.info">slony1-hackers@lists.slony.info</a>>><br>> > *Envoyé le :* Samedi
22 Octobre 2011 10h42<br>> > *Objet :* Re: [Slony1-hackers] Slony 2.1.0 PDF Documentation available<br>> ><br>> > On Fri, 2011-10-21 at 23:50 +0100, David TECHER wrote:<br>> > ><br>> > > The documentation is available at<br>> > > <a href="http://www.davidgis.fr/documentation/slony/2.1.0/pdf/slony-2.1.0.pdf" target="_blank">http://www.davidgis.fr/documentation/slony/2.1.0/pdf/slony-2.1.0.pdf</a><br>> > ><br>> > > I did not attached the PDF to the mail (big file 1M even if<br>> > > compressed).<br>> > ><br>> > > Let me know if you want to put it on slony.info :)<br>> ><br>> > Thanks for the work!<br>> ><br>> > I really want to see it in slony.info, so that I can push this PDF along<br>> > with RPMs.<br>> ><br>> >
Regards,<br>> > --<br>> > Devrim GÜNDÜZ<br>> > Principal Systems Engineer @ EnterpriseDB: <a href="http://www.enterprisedb.com" target="_blank">http://www.enterprisedb.com</a><br>> > PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer<br>> > Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr<br>> > <a href="http://www.gunduz.org" target="_blank">http://www.gunduz.org</a> Twitter: <a href="http://twitter.com/devrimgunduz" target="_blank">http://twitter.com/devrimgunduz</a><br>> ><br>> ><br>> ><br>> > _______________________________________________<br>> > Slony1-hackers mailing list<br>> > <a ymailto="mailto:Slony1-hackers@lists.slony.info" href="mailto:Slony1-hackers@lists.slony.info">Slony1-hackers@lists.slony.info</a><br>> <mailto:<a ymailto="mailto:Slony1-hackers@lists.slony.info"
href="mailto:Slony1-hackers@lists.slony.info">Slony1-hackers@lists.slony.info</a>><br>> <mailto:<a ymailto="mailto:Slony1-hackers@lists.slony.info" href="mailto:Slony1-hackers@lists.slony.info">Slony1-hackers@lists.slony.info</a><br>> <mailto:<a ymailto="mailto:Slony1-hackers@lists.slony.info" href="mailto:Slony1-hackers@lists.slony.info">Slony1-hackers@lists.slony.info</a>>><br>> > <a href="http://lists.slony.info/mailman/listinfo/slony1-hackers" target="_blank">http://lists.slony.info/mailman/listinfo/slony1-hackers</a><br>> ><br>> ><br>> ><br>> ><br>> > _______________________________________________<br>> > Slony1-hackers mailing list<br>> > <a ymailto="mailto:Slony1-hackers@lists.slony.info" href="mailto:Slony1-hackers@lists.slony.info">Slony1-hackers@lists.slony.info</a> <mailto:<a ymailto="mailto:Slony1-hackers@lists.slony.info"
href="mailto:Slony1-hackers@lists.slony.info">Slony1-hackers@lists.slony.info</a>><br>> > <a href="http://lists.slony.info/mailman/listinfo/slony1-hackers" target="_blank">http://lists.slony.info/mailman/listinfo/slony1-hackers</a><br>><br>><br>><br><br><br><br></div></div></div></body></html>