I bought a DLP-RFID1 USB RFID tag reader/writer from Digikey (Cat # 813-1013-ND). However, I was unable to locate sufficient libraries to develop software that uses it under Linux. So I have written a C++ library to do this. Read on for more information and to download it.
Read the rest of this entry »
NOTE: I am in the process of completely rewriting this script in order to add better transform support, including rotation. It should be done within a few days.
I frequently use Latex for my academic writing, and I like to use Inkscape to create images for my documents. In the past I used to export my Inkscape drawings to PNG so that I could insert them into my latex docs, but this was unsatisfactory as it meant any text in the images would not be typeset by Latex, therefore its style could be inconsistent and it wouldn’t be searchable. With Inkscape 0.48 it became possible to export the image as a pdf with a latex wrapper that typesets the image text using latex. However, I found this had several downsides: the pdf images generated were generally much larger and took longer to display than the PNGs I had been previously generating, the font sizes came out wrong, and several other issues.
To overcome these problems I hacked up a python script (originally started writing it as an XSLT, then realised XSLT sucks). The script generates an image (in user’s choice of format, I prefer PNG), and a tex file containing the latex commands to generate the type for the image.
My script has several advantages over Inkscape 0.48′s native export (as far as I can tell):
This script is undergoing active development and testing as I write my thesis. At the moment it works for me, bar the known issues listed here:
The script and an example can be downloaded here:
No trackbacks yet.
Hey,
i recently discovered the perfect possibility to get your svg-images into latex-documents. the compiler simply executes a script like yours (or use the new inkscape-version) for conversion.
Watch out laclaro.wordpress.com. I wrote in german, but google translater would do this for you.
No trackbacks yet.
Hey,
i recently discovered the perfect possibility to get your svg-images into latex-documents. the compiler simply executes a script like yours (or use the new inkscape-version) for conversion.
Watch out laclaro.wordpress.com. I wrote in german, but google translater would do this for you.