Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
GNU TeXmacs
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Features== [[File:Mathematical typesetting with TeXmacs.png|alt=|thumb|A screenshot showing mathematical formulas and italic font. A cyan focus frame surrounds the innermost environment (a formula environment) the cursor is in, while the subtle gray box surrounds another active tag (the theorem environment).|420x420px]] Like in many [[WYSIWYG]] editors (such as [[Microsoft Word]]), authors manipulate a document on screen which should print to a similar-looking paper copy. The goal of TeXmacs is to provide a WYSIWYG editor that nevertheless makes it possible to write correctly structured documents with aesthetically pleasing typesetting results. Despite its name, TeXmacs is not a front-end to [[TeX]] or [[LaTeX]].<ref>{{cite web |url=http://www.texmacs.org/Samples/texmacs.pdf |title=GNU TeXmacs: a scientific editing platform |last=van der Hoeven |first=Joris |website=www.texmacs.org |date=2006-08-21 |pages=7f |quote=Since TeXmacs is not a LaTeX front-end, it follows that we can only ensure correct conversions for a (quite large) sublanguage of LaTeX. |access-date=2016-01-16}}</ref> However, TeXmacs documents can be converted to either [[TeX]] or LaTeX. LaTeX also can be imported (to some extent), and both import from and export to [[HTML]], Scheme, Verbatim, and [[XML]] is provided;<ref>{{cite web |url=http://www.texmacs.org/tmweb/help/faq.en.html#general-1 |title=Frequently asked questions |last1=van der Hoeven |first1=Joris |last2=Seidl |first2=Andreas |website=www.texmacs.org |year=2011 |access-date=2016-01-16}}</ref> the HTML export is stylable with CSS (since version 1.99.14). There is a converter for [[MathML]] as well, and TeXmacs can output [[PDF]] and [[PostScript]] for printing.<ref>{{cite web |url=http://www.texmacs.org/tmweb/home/welcome.en.html |title=Welcome to GNU TeXmacs |last=van der Hoeven |first=Joris |website=www.texmacs.org |year=2012 |access-date=2016-01-16}}</ref> TeXmacs can handle mathematical [[formula]]s, tables, images, [[Cross-reference|cross-references]] and [[Citation|citations]]. It can be used as a front-end to a number of [[computer algebra system]]s such as [[Maxima (software)|Maxima]], [[FriCAS]] and [[SageMath]], and can in turn integrate some of their output into its typesetting. TeXmacs also supports a [[Scheme (programming language)|Scheme]] extension language called [[GNU Guile|Guile]] for customizing the program and writing extensions. It also features a [[presentation software|presentation]] mode and a small [[technical drawing]] editor and there are plans to evolve towards a complete scientific [[office suite]] with [[spreadsheet]] capabilities. An implementation of spreadsheets is present starting from version 1.99.12; spreadsheets in TeXmacs can take advantage of plugins (for example Python or Maxima) to compute cell values. TeXmacs currently runs on most Unix-based architectures including [[Linux]], [[FreeBSD]], [[Cygwin]], [[Haiku (operating system)|Haiku]] and [[macOS]]. Along with the Cygwin version, a native [[Porting|port]] is available for [[Microsoft Windows]]. === The TeXmacs editor === In the TeXmacs editor structure and appearance of the document are represented at the same time;<ref name=":1">{{Cite journal|last=van der Hoeven|first=Joris|title=GNU TeXmacs, A free, structured, wysiwyg and technical text editor|url=http://cahiers.gutenberg.eu.org/cg-bin/article/CG_2001___39-40_39_0.pdf|journal=Cahiers Gutenberg|volume=39-40|pages=39β50}}</ref> the structure is made evident to the user by surrounding logical units of the document in nested focus frames carrying color cues that are displayed according to the movement of the cursor.<ref>{{Cite web|title=The TeXmacs manual. 2.2, Typing structured text.|url=https://www.texmacs.org/tmweb/documents/manuals/texmacs-manual.en.pdf|access-date=2020-11-20}}</ref> A detailed description of the structure in the proximity of the cursor is provided in the footer of the editor window, finely selectable with left-right arrow presses.<ref name=":1" /> In the editor it is possible to switch between text mode and source mode editing, and support for the composition of macros is present; the source editor is [[Structure editor|syntax-aware]].<ref>{{Cite web|title=GNU TEXMACS user manual; 11.2. Rendering of style files and packages|url=http://www.texmacs.org/tmweb/documents/manuals/texmacs-manual.en.pdf|access-date=2020-11-27}}</ref> === Mathematical typography === TeXmacs facilitates the inputting of mathematical formulas by mapping sequences of keyboard presses to symbols. For example, the symbol <math>\Rightarrow</math> can be input by typing {{kbd|1==>}}. Some symbols have no such representation (<math>\Uparrow</math> for instance). These can be input with {{keypress|tab}} key (e.g. for <math>\Uparrow</math> the key presses are {{kbd|1==>}}{{keypress|tab}}{{keypress|tab}} . This keyboard-based entry differs from other formulae editors, that tend to provide point-and-click menus for this task.<ref>See the user manual : Β« [http://www.texmacs.org/tmweb/manual/webman-math.en.html#auto-6 Typing mathematical symbols] Β».</ref> === Batch processing === It is possible to use TeXmacs as a [[batch processing|batch processor]] (which is [[LaTeX]]'s usual operation mode), using [[Xvfb|X virtual framebuffer]] to avoid opening unwanted windows while processing. For example, the command {{sxhl|$ xvfb-run texmacs --convert article.tm article.pdf --quit|console}} generates a [[PDF]] file "article.pdf" from a TeXmacs document "article.tm".
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)