]> git.lyx.org Git - lyx.git/blob - src/tex2lyx/TODO.txt
Linguistics: add support for Discourse Representation Structures
[lyx.git] / src / tex2lyx / TODO.txt
1 This file lists features that are supported by LyX but not yet converted (or
2 not converted completely) by tex2lyx. Currently, (all?) features up to the
3 current file format are listed. The table is organized in three columns:
4
5
6 Format:        First file format that supports the feature. In some cases the
7                feature may habe been revised in later file formats.
8 LaTeX feature: LaTeX package, command or environment
9 LyX feature:   LyX inset or document setting
10
11
12 Format LaTeX feature                        LyX feature
13 224    external insets defined in           InsetExternal
14        lib/external_templates.
15        (- RasterImage clashes with InsetGraphics
16         - Dia and LilyPond are an \includegraphics and can therefore only be imported as image
17         - Chess diagram, PDF pages and Spreadsheet are supported)
18        (Xfig figure, Lilypond, Dia diagram can be supported by looking at the file extension)
19 254    automatic esint loading              \use_esint
20 267    XeTeX                                utf8 encoding
21 326    PDFLaTeX for external insets         InsetExternal
22 329    master documents                     \master
23 358    custom bibtex command                \bibtex_command
24        Maybe via the
25        % !BIB program = 
26        comment understood by some TeX editors
27 358    custom makeindex command             \index_command
28 364    branch file name suffix              \filename_suffix
29 371    automatic mhchem loading             \use_mhchem
30 390    forward/reverse search               \forward_search, \forward_macro
31 399    automatic mathdots loading           \use_mathdots
32 411    support for polyglossia              \language_package (the cases of no package, of babel and of custom package is supported)
33 415    automatic undertilde loading         \use_package undertilde
34 443    unicode-math.sty                     InsetMath*
35 453    automatic stmaryrd loading           \use_package stmaryrd
36 457    automatic stackrel loading           \use_package stackrel
37 575    numbering of lines (lineno)          \use_lineno, \lineno_options
38 577    new covington gloss macros (Linguistics module)
39        \digloss[opt]{one}{two}{three}        \begin_inset Flex Interlinear Gloss (2 Lines) (Argument 1, Argument post:1, Argument post:2)
40        \trigloss[opt]{one}{two}{three}{four} \begin_inset Flex Interlinear Gloss (3 Lines) (Argument 1, Argument post:1, Argument post:2, Argument post:3)
41 578    Discourse Representation Structures (Linguistics module)
42        \drs{arg1}{content}                   \begin_inset Flex DRS (Argument 1)
43        \drs*{arg1}{content}                  \begin_inset Flex DRS* (Argument 1)
44        \ifdrs{arg1}{content}{post1}{post2}   \begin_inset Flex IfThen-DRS (Argument 1, Argument post:1, Argument post:2)
45        \condrs{arg1}{content}{post1}{post2}{post3}  \begin_inset Flex Cond-DRS (Argument 1, Argument post:1, Argument post:2, Argument post:3)
46        \qdrs{arg1}{content}{post1}{post2}{post3}{post4} \begin_inset Flex QDRS (Argument 1, Argument post:1, Argument post:2, Argument post:3, Argument post:4)
47        \negdrs{arg1}{content}                \begin_inset Flex NegDRS (Argument 1)
48        \sdrs{arg1}[arg2}{content}            \begin_inset Flex SDRS (Argument 1, Argument 2)
49
50
51 General
52
53 * Use the language information provided by Language.cpp and the languages file (for babel/lyx/polyglossia name, quote style etc.)
54   instead of hardcoding this information in Preamble.cpp.
55
56 * Store alias commands for characters in a file with
57   "lib/unicodesymbols"-format, e.g.
58
59     0x200b "\\dots" "" "" "" # HORIZONTAL ELLIPSIS
60     0x200b "\\ldots" "" "" "\\ldots" # HORIZONTAL ELLIPSIS
61     0x200b "\\textellipsis" "" "" "" # HORIZONTAL ELLIPSIS
62
63   Look up LaTeX->Unicode conversion in the combined files.