X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Subject: Re: [geda-user] Text formatting From: Stefan Salewski To: geda-user AT delorie DOT com In-Reply-To: <1331337138.10630.1@kwak> References: <1331337138 DOT 10630 DOT 1 AT kwak> Content-Type: text/plain; charset="us-ascii" Date: Sat, 10 Mar 2012 01:36:19 +0100 Message-ID: <1331339779.2533.43.camel@AMD64X2.fritz.box> Mime-Version: 1.0 X-Mailer: Evolution 2.32.3 Content-Transfer-Encoding: 7bit Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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