Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
composition:pourquoi_n_est_ce_pas_wysiwyg4 [2018/05/24 08:39] – joseph.wright | composition:pourquoi_n_est_ce_pas_wysiwyg4 [2020/12/26 19:50] (Version actuelle) – Suppression de la page, déplacée. yannick.tanguy | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | --- | ||
- | title: | ||
- | section: Current TeX-related projects | ||
- | date: 2014-06-10 | ||
- | --- | ||
- | |||
- | '' | ||
- | outlines the reasons (or excuses) for the huge disparity of user | ||
- | interface between '' | ||
- | processors. | ||
- | |||
- | Nowadays, at last, there is a range of tools available that try either | ||
- | to bridge or to close the gap. One range modestly focuses on | ||
- | providing the user with a legible source document. | ||
- | extreme we have [`TeXmacs`](http:// | ||
- | a& | ||
- | TeX's algorithms and fonts for both editor display and printing. | ||
- | `TeXmacs` does not use the TeX | ||
- | language itself (though among other formats, LaTeX may be exported | ||
- | and imported). | ||
- | [LyX](http:// | ||
- | editor display and file formats as well, but does its print output by | ||
- | exporting to LaTeX. | ||
- | printed output, but you have the possibility of entering arbitrary | ||
- | LaTeX code. If you use constructs that LyX does not | ||
- | understand, it will just display them as source text marked red, but | ||
- | will properly export them. | ||
- | |||
- | Since a lot of work is needed to create an editor from scratch that | ||
- | actually is good at editing (as well as catering for TeX), it is | ||
- | perhaps no accident that several approaches have been implemented | ||
- | using the extensible `emacs` editor. | ||
- | prettifying range is occupied by syntax highlighting: | ||
- | tokens, comments and other stuff with special colors. | ||
- | Many free editors (including `emacs`) can cater for TeX in | ||
- | this way. Under Windows, one of the more popular editors with such | ||
- | support is the | ||
- | Shareware product [`winedt`](http:// | ||
- | Continuing the range of | ||
- | tools prettifying your input, we have the `emacs` package | ||
- | [`x-symbol`](http:// | ||
- | the WYSIWYG part of its work by replacing single TeX tokens and | ||
- | accented letter sequences with appropriate-looking characters on the | ||
- | screen. | ||
- | |||
- | A different type of tool focuses on making update and access to | ||
- | previews of the typeset document more immediate. | ||
- | in several viewers, editors and TeX executables are so-called | ||
- | '' | ||
- | document, it will upon request insert special markers for every input | ||
- | line into the typeset output. | ||
- | previewer which can be made to let its display track the page | ||
- | corresponding to the editor input position, or to let the editor jump | ||
- | to a source line corresponding to a click in the preview window. | ||
- | |||
- | An `emacs` package that combines this sort of editor movement | ||
- | tracking with automatic fast recompilations (through the use of dumped | ||
- | formats) is | ||
- | [[`WhizzyTeX`](https:// | ||
- | which is best used with a previewer by the | ||
- | same author. | ||
- | |||
- | Another `emacs` package called | ||
- | [[`preview-latex`](https:// | ||
- | tries to solve | ||
- | the problem of visual correlation between source and previews in a | ||
- | more direct way: it uses a LaTeX package to chop the document source | ||
- | into interesting fragments (like figures, text or display math) which | ||
- | it runs through LaTeX and replaces the source text of those | ||
- | fragments with the corresponding rendered output images. | ||
- | does not know about the structure of the images, at the actual cursor | ||
- | position the source text is displayed while editing rather than the | ||
- | preview. | ||
- | prettifying and fast preview approaches since it works in the source | ||
- | buffer but uses actual previews rendered by LaTeX. | ||
- | |||
- | A more ambitious contender is called TeXlite. | ||
- | system is only available on request from its author; | ||
- | it continuously updates its screen with the help of a special version | ||
- | of TeX dumping its state in a compressed format at each page and | ||
- | using hooks into TeX's line breaking mechanism for reformatting | ||
- | paragraphs on the fly. That way, it can render the output from the | ||
- | edited TeX code with interactive speed on-screen, and it offers the | ||
- | possibility of editing directly in the preview window. | ||
- | |||
- | That many of these systems occupy slightly different niches can be | ||
- | seen by comparing the range of the | ||
- | `emacs`-based solutions ranging from syntax highlighting to instant | ||
- | previewing: all of them can be activated at the same time without | ||
- | actually interfering in their respective tasks. | ||
- | |||
- | The different approaches offer various choices differing in the | ||
- | immediacy of their response, the screen area they work on (source or | ||
- | separate window), degree of correspondence of the display to the final | ||
- | output, and the balance they strike between visual aid and visual | ||
- | distraction. | ||
- | |||