[rfc-i] Tools for equations in draft
jhildebr at cisco.com (Joe Hildebrand (jhildebr)) Thu, 08 November 2012 19:23 UTC
From: "jhildebr at cisco.com"
Date: Thu, 08 Nov 2012 19:23:17 +0000
Subject: [rfc-i] Tools for equations in draft
In-Reply-To: <002401cdbd2e$6c68b880$453a2980$@symonics.com>
Message-ID: <A723FC6ECC552A4D8C8249D9E07425A70F6ACF9F@xmb-rcd-x10.cisco.com>
On 11/7/12 4:25 PM, "Christian Hoene" <christian.hoene at symonics.com> wrote: >some 18 months ago I wrote a tools that finds equations in drafts and >renders them nicely. The tool converts a txt draft to pdf as usual. >However, it also looks for tex equations such as $x=x+5$ or $x=\sqrt{y}$. >Those > are not printed as ASCII but printed as equations. For example, >https://tools.ietf.org/html/draft-hoene-geopriv-bli-00 ><https://tools.ietf.org/html/draft-hoene-geopriv-bli-00> is a traditional >draft but contains latex equation notations. In the attached pdf, made >with my tool, you find the rendered equations on page > 4 and 5. > >Maybe this tools is of interest to you, guys. More code is always interesting. Is it available somewhere? Here is the equivalent code in the idemponit tool: https://github.com/IETF-Formatters/html-rfc/blob/master/nits/formula.js In HTML, you create a tag like this: <img class='formula' alt='[LaTeX]'> And the tool uses Google Charts to render a .png and include it inline in your document. A worked example can be found here: http://cursive.net/draft-hildebrand-html-rfc-2012-07-29.html#math Note to folks who still need help with intuition about embedding images with RFC 2397 data URLs (sic), please view-source on that section. -- Joe Hildebrand
- [rfc-i] Tools for equations in draft Christian Hoene
- [rfc-i] Tools for equations in draft Joe Hildebrand jhildebr