Python notebook entries

Introducing dot2texi: Create graphs within LaTeX using dot2tex

In which I present dot2texi, a LaTeX package that allows you to include graphs in the DOT graph description language directly in your LaTeX documents. The dot2tex tool is used to invoke Graphviz for graph layout, and to transform the output from Graphviz to LaTeX code. The process is automated if shell escape is enabled

Read more | Published 2007-11-12 (2 years, 3 months ago) | Comments: 8 | Categories: LaTeX, Python, Graphics, News

Dot2tex v. 2.5.0 released

""I'm pleased to announce the 2.5.0 release of dot2tex. New in this version is:

  • The new tikz output format for tighter integration with PGF and TikZ
  • Alternative edge label placement
  • Custom edges

Read more | Published 2007-06-28 (2 years, 8 months ago) | Comments: 7 | Categories: LaTeX, Python, Graphics, News

Parsing Simulink mdl files with Pyparsing

In which I present a simple parser for Simulink mdl files, made using the excellent Pyparsing library.

Read more | Published 2007-05-14 (2 years, 10 months ago) | Comments: 31 | Categories: Python, Programming

Dot2tex v. 2.0.0 released

""I'm pleased to announce the 2.0.0 release of dot2tex. New in this version is:

  • A new preprocessing mode that will adjust the size of nodes and edge labels to fit the output from LaTeX.
  • Better error handling. Added logging for debugging purposes.
  • More control of vertical label alignment.

Read more | Published 2007-04-23 (2 years, 10 months ago) | Categories: LaTeX, Python, Graphics, News

Dot2tex v. 1.5.0 released

""I'm pleased to announce the 1.5.0 release of dot2tex. New in this version is:

  • Backend specific styles
  • Extended template system
  • Many new command line options

Read more | Published 2006-10-22 (3 years, 4 months ago) | Comments: 3 | Categories: LaTeX, Python, Graphics, News

Introducing dot2tex - A Graphviz to LaTeX converter

dot2tex is a tool for converting graphs generated by Graphviz to formats suitable for use with LaTeX. Currently dot2tex generates code for PSTricks and PGF/TikZ. The purpose of dot2tex is to give graphs a more LaTeX look and feel.

Read more | Published 2006-09-11 (3 years, 6 months ago) | Comments: 2 | Categories: LaTeX, Python, Graphics, News

An online tool for converting citations to the BibTeX format

BibConverter is an online tool I have written for converting citations from IEEEXplore and Engineering Village (EV2) to the BibTeX format. It extracts data from text copied directly from the web and outputs BibTeX records that contains much more information than citations exported using the export functionality provided by these bibliographic services. Try it out at http://www.bibconverter.net

Read more | Published 2005-06-26 (4 years, 8 months ago) | Comments: 13 | Categories: LaTeX, Python

Syntax highlighting source code for the web with SilverCity

Syntax highlighting of code snippets is something I've always wanted to implement on fauskes.net. I wanted to generate colorized HTML from XML/HTML, CSS, PHP, LaTeX and Python source code. Writing a full-fledge, multi language syntax highlighter is not a trivial task, and I felt no need for reinventing the wheel. Therefore I went looking for an existing Python package to do all the hard work for me. Fortunately I found SilverCity.

Read more | Published 2005-02-27 (5 years ago) | Comments: 4 | Categories: Python, Webdev, Programming

Embedding equations in HTML - Part II

This is the second part of my article on how to easily embed mathematics in XHTML documents using LaTeX. In part one I discussed various aspects concerning browsers and markup. In part two I'll get technical and show you how I have implemented a solution in my CMS.

Read more | Published 2005-02-15 (5 years ago) | Comments: 8 | Categories: LaTeX, Python, Webdev

Embedding equations in HTML - Part I

As a PhD student I need tools for typesetting mathematical equations. However, when writing for the web, I seldom use equations. This is mostly because I don't need them, but also because the lack of support for mathematics in HTML makes it a nuisance. I'm currently working on a simple CMS for my web site, so why not include a way to easily embed and display mathematical equations in my web pages?

Read more | Published 2005-01-26 (5 years, 1 month ago) | Categories: LaTeX, Python, Webdev