Changes between Version 14 and Version 15 of LatexFormulaMacro
- Timestamp:
- Jun 13, 2015, 2:39:22 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LatexFormulaMacro
v14 v15 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 = Render Latex formula to image =3 2 4 '''2006-04-20 update''': This was originally created for a project which was using Trac 0.8. However, that project went away and so I haven't been using Trac. I haven't done anything with the latex hack since then, but other people have provided some patches for newer versions of Trac & other features. If someone wants to take over this page and continue development, please do. 3 = Render Latex formula to image 5 4 6 See also tagged:LaTeX 7 8 == Description == 5 == Description 9 6 10 7 Render a latex formula to an image using Latex, dvips, and !ImageMagick. … … 13 10 14 11 In order to create the image from the formula text, the following is performed: 15 1. create .tex file in temporary directory16 1. run latex on .tex file to produce .dvi file17 1. run dvips on .dvi file to produce .eps file18 1. run convert on .eps file to produce .jpg file12 1. Create .tex file in temporary directory. 13 1. Run latex on .tex file to produce .dvi file. 14 1. Run dvips on .dvi file to produce .eps file. 15 1. Run convert on .eps file to produce .jpg file. 19 16 20 == Requirements == 17 See also tagged:LaTeX 21 18 22 * latex 23 * dvips 24 * convert (from the !ImageMagic package) 25 * ghostscript 26 27 == Bugs/Feature Requests == 19 == Bugs/Feature Requests 28 20 29 21 Existing bugs and feature requests for LatexFormulaMacro are … … 31 23 32 24 If you have any issues, create a 33 [ http://trac-hacks.org/newticket?component=LatexFormulaMacro&owner=vgoughnew ticket].25 [/newticket?component=LatexFormulaMacro new ticket]. 34 26 35 == Download == 27 [[TicketQuery(component=LatexFormulaMacro&group=type,format=progress)]] 28 29 == Download 36 30 37 31 Download the zipped source from [download:latexformulamacro here]. 38 32 39 == Source ==33 == Source 40 34 41 35 You can check out LatexFormulaMacro from [http://trac-hacks.org/svn/latexformulamacro here] using Subversion, or [source:latexformulamacro browse the source] with Trac. 42 36 43 == Example ==37 == Example 44 38 45 By default, the latex code is rendered in math mode. This allows for quick math expressions.There is also a built-in macro called "mat" which is used for formatting matricies, like this:39 By default, the latex code is rendered in math mode. This allows for quick math expressions. There is also a built-in macro called "mat" which is used for formatting matricies, like this: 46 40 47 ![[formula(\mat{R'\\G'\\B'} = \mathbf{A} \mat{R\\G\\B} + \mathbf{x})]] 41 {{{ 42 [[formula(\mat{R'\\G'\\B'} = \mathbf{A} \mat{R\\G\\B} + \mathbf{x})]] 43 }}} 48 44 49 45 For more complicated usage, use the !{{{ ... }}} format and the "nomode" command to disable the display-math mode: … … 63 59 }}} 64 60 65 == Recent Changes == 61 == Installation 62 63 Requirements: 64 * latex 65 * dvips 66 * convert (from the !ImageMagic package) 67 * ghostscript 68 69 Install as any other Trac plugin. 70 71 == Recent Changes 66 72 67 73 [[ChangeLog(latexformulamacro, 3)]] … … 70 76 71 77 '''Author:''' [wiki:vgough vgough] [[BR]] 72 '''Maintainer:''' [wiki:vgough vgough][[BR]]78 '''Maintainer:''' none [[BR]] 73 79 '''Contributors:''' 74 75 [[TagIt(macro,vgough,beta)]]76