Mail Archives: geda-user/2012/03/09/19:37:06
On Sat, 2012-03-10 at 00:52 +0100, Kai-Martin wrote:
>
> > How can we add this, without breaking existing code?
>
> My favorite: Add the ability to parse and render latex commands.
I am unsure again...
When looking at the fine PDF of Wojciech Kazubski I thought: Yes, we
should have subscript. But after a more detailed look: Can a schematic
editor really make complete beautiful graphics, or will always something
be missing? For the later case, post-processing with tools like inkscape
may be the better choice, and we should concentrate on good SVG output.
(Indeed, for making graphics for papers and text books, inkscape may be
the one and only tool? When no simulation or board generation is
desired.) I am not sure if gschem can generate SVG at all currently, but
it should be easy, as cairo supports it.
Pango should be able to render basic text attributes, and it has its own
simple markup tags
http://developer.gnome.org/pango/stable/PangoMarkupFormat.html
So the pango way should be very easy and would work for all cairo output
formats like Screen, PNG, PDF, SVG, PostScript...
For LaTeX I have no idea how it may work. For me it was already a non
trivial task to get the overbar (overline in LaTeX), because that is not
native supported by Pango...
Do you know which text attributes inkscape supports, and how input is
done? I know you are using it, and do not complain about 5 seconds of
startup time as some do...
Best regards
Stefan Salewski
- Raw text -