Hi, I am a fairly new Xournal user and found it useful for drawing quick sketches of diagrams and the like for the LaTeX document I was working on. To do that, I wrote a small tool, which reads Xournals .xoj files and generates TikZ [1] code from them. It does not support all features of the xoj file format (yet), but it serves its purpose very well. It supports removing redundant parts of strokes, can detect circles and rectangles to write them in the tikz file as such and it even features pressure sensivity.
The tool is built around a collection of python modules (named xojtools), which are very modular and are designed to be useful for other xournal-file- parsing python projects. Possible other tools I could imagine are for example * xoj2tex to convert an entire multi-page xournal file with a pdf as the background to a LaTeX file. The pdfpages package might come in handy [2] * xoj2pst to convert a sketch to pstricks ... if anyone still uses that ;-) * xoj2pdf as an extension to xoj2tex to create pdf file right away. That might create smaller output files than Xournals PDF export? * xoj2ascii ... just kidding Patches and Feedback are always welcome, just clone it on https://github.com/flyser/xoj2tikz or download the latest release in the download section [3] I hope someone else will find this as useful as I do. -- Best regards, Fabian Henze [1] http://en.wikipedia.org/wiki/PGF/TikZ [2] http://tex.stackexchange.com/q/15314/11433 [3] https://github.com/Flyser/xoj2tikz/downloads ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Xournal-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xournal-devel
