Changes between Version 14 and Version 15 of LatexFormulaMacro


Ignore:
Timestamp:
Jun 13, 2015, 2:39:22 PM (9 years ago)
Author:
figaro
Comment:

Cosmetic changes, tagged with nolicense

Legend:

Unmodified
Added
Removed
Modified
  • LatexFormulaMacro

    v14 v15  
    11[[PageOutline(2-5,Contents,pullout)]]
    2 = Render Latex formula to image =
    32
    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
    54
    6 See also tagged:LaTeX
    7 
    8 == Description ==
     5== Description
    96
    107Render a latex formula to an image using Latex, dvips, and !ImageMagick. 
     
    1310
    1411In order to create the image from the formula text, the following is performed:
    15   1. create .tex file in temporary directory
    16   1. run latex on .tex file to produce .dvi file
    17   1. run dvips on .dvi file to produce .eps file
    18   1. run convert on .eps file to produce .jpg file
     12  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.
    1916
    20 == Requirements ==
     17See also tagged:LaTeX
    2118
    22  * latex
    23  * dvips
    24  * convert (from the !ImageMagic package)
    25  * ghostscript
    26 
    27 == Bugs/Feature Requests ==
     19== Bugs/Feature Requests
    2820
    2921Existing bugs and feature requests for LatexFormulaMacro are
     
    3123
    3224If you have any issues, create a
    33 [http://trac-hacks.org/newticket?component=LatexFormulaMacro&owner=vgough new ticket].
     25[/newticket?component=LatexFormulaMacro new ticket].
    3426
    35 == Download ==
     27[[TicketQuery(component=LatexFormulaMacro&group=type,format=progress)]]
     28
     29== Download
    3630
    3731Download the zipped source from [download:latexformulamacro here].
    3832
    39 == Source ==
     33== Source
    4034
    4135You can check out LatexFormulaMacro from [http://trac-hacks.org/svn/latexformulamacro here] using Subversion, or [source:latexformulamacro browse the source] with Trac.
    4236
    43 == Example ==
     37== Example
    4438
    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:
     39By 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:
    4640
    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}}}
    4844
    4945For more complicated usage, use the !{{{ ... }}} format and the "nomode" command to disable the display-math mode:
     
    6359}}}
    6460
    65 == Recent Changes ==
     61== Installation
     62
     63Requirements:
     64 * latex
     65 * dvips
     66 * convert (from the !ImageMagic package)
     67 * ghostscript
     68
     69Install as any other Trac plugin.
     70
     71== Recent Changes
    6672
    6773[[ChangeLog(latexformulamacro, 3)]]
     
    7076
    7177'''Author:''' [wiki:vgough vgough] [[BR]]
    72 '''Maintainer:''' [wiki:vgough vgough] [[BR]]
     78'''Maintainer:''' none [[BR]]
    7379'''Contributors:'''
    74 
    75 [[TagIt(macro,vgough,beta)]]
    76