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 | ||
fichiers:xml:convertir_du_html_en_latex2 [2018/06/02 15:37] – joseph.wright | 5_fichiers:xml:convertir_du_html_en_latex2 [2023/03/05 20:52] (Version actuelle) – Remise en forme de la page. Ajout de liens. jejust | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | --- | + | ====== |
- | title: | + | |
- | category: misc | + | |
- | permalink: / | + | |
- | redirect_from: | + | |
- | date: 2014-06-10 | + | |
- | --- | + | |
SGML is a very important system for document storage and interchange, | SGML is a very important system for document storage and interchange, | ||
but it has no formatting features; its companion ISO standard | but it has no formatting features; its companion ISO standard | ||
- | DSSSL | + | DSSSL (see [[http:// |
- | (see [http:// | + | |
transformations and formatting, | transformations and formatting, | ||
- | but this has not yet been widely implemented. Some SGML authoring | + | but this has not yet been widely implemented. Some SGML authoring systems |
- | systems (e.g., SoftQuad | + | (//e.g.// [[wp> |
- | abilities, | + | and there are high-end specialist SGML typesetting systems (//e.g.// [[https:// |
- | there are high-end specialist SGML typesetting systems (e.g., Miles33' | + | '' |
- | `Genera`). However, the majority of SGML users probably transform | + | the source to an existing typesetting system when they want to print. |
- | the source to an existing typesetting system when they want to print. | + | TeX is a good candidate for this. |
- | TeX is a good candidate for this. There are three approaches to writing a | + | There are three approaches to writing a translator: |
- | translator: | + | |
- | | + | |
- | 1. | + | - Write a free-standing translator in the traditional way, with tools like '' |
- | | + | |
- | | + | |
- | 2. Use a specialist language designed for SGML transformations; | + | * David Megginson' |
- | | + | * Joachim Schrod and Christine Detig' |
- | | + | Both of these allow the user to write " |
- | | + | |
- | 3. Build a translator on top of an existing SGML parser. | + | |
- | | + | |
- | `nsgmls`, and this produces a much simpler output format, | + | |
- | | + | |
- | | + | |
- | | + | |
- | + | ||
- | 4. | + | If these packages don't meet your needs for an average SGML typesetting job, |
- | David Megginson' | + | you need the big commercial stuff. |
- | [`sgmlspm`](http:// | + | |
- | written in `Perl` 5. | + | |
- | 5. | + | |
- | Joachim Schrod and Christine Detig' | + | |
- | [`STIL`](ftp:// | + | |
- | | + | |
- | + | ||
- | + | ||
- | Both of these allow the user to write '' | + | |
- | element, with plenty of access to attributes, entities, and | + | |
- | information about the context within the document tree. | + | |
- | + | ||
- | + | ||
- | | + | |
- | | + | |
Since HTML is simply an example of SGML, we do not need a specific | Since HTML is simply an example of SGML, we do not need a specific | ||
- | system for HTML. However, Nathan Torkington developed | + | system for HTML. However, Nathan Torkington developed |
- | `html2latex` from the HTML parser in NCSA's | + | from the HTML parser in NCSA's Xmosaic package. |
- | Xmosaic package. | + | |
The program takes an HTML file and generates a LaTeX file from it. | The program takes an HTML file and generates a LaTeX file from it. | ||
The conversion code is subject to NCSA restrictions, | The conversion code is subject to NCSA restrictions, | ||
source is available on CTAN. | source is available on CTAN. | ||
- | Michel Goossens and Janne Saarela published a very useful summary of | + | Michel Goossens and Janne Saarela published a [[https:// |
- | SGML, and of public domain tools for writing and manipulating it, in | + | and of public domain tools for writing and manipulating it, in [[https:// |
- | TUGboat 16(2). | + | |
+ | ----- | ||
+ | |||
+ | //Source:// [[faquk> | ||
+ | {{htmlmetatags> | ||
+ | metatag-og: | ||
+ | metatag-og: | ||
+ | }} | ||