]> git.lyx.org Git - lyx.git/blob - development/DocBookToDo
Autotools: optimize with -Og when debugging
[lyx.git] / development / DocBookToDo
1 Things specific to layouts
2 ==========================
3
4 AASTeX
5 ------
6
7 No support for table notes. They could be implemented through <footnoteref>, but it becomes a nightmare to ensure xml:id uniqueness (the only ID available here is in the inset; mix it with the table ID?). Anyway, it would require a lot of specific code to make it work, probably not worth the effort right now. 
8
9         Related parts of the layout: 
10                 Style "Table note"
11                 InsetLayout "Flex:tablenotemark"
12         Alreayd used in the following test: 
13                 bibliography_precooked_aastex.lyx
14                 
15 Notion of MathLetters: a group of equations. No good mapping in DocBook, maybe an informalgroup? To discuss with DocBook TC. 
16 TableRefs, TableComments: no mapping in DocBook, not really a way to add these things. To discuss with DocBook TC. 
17
18 Clearly, with this kind of template, we're reaching the limits of such a system! Having a really good converter for all these cases would require a lot of very specific code. 
19
20 More general: what the heck with appendices? It's not handled in the LyX way (Document > Start Appendix Here), but in a custom way. Making this work would solve some correctness issues with this template. 
21
22
23
24 Things specific to modules
25 ==========================
26
27 AMS
28 ---
29
30 Theorems and the like do not have counter parts in DocBook. Maybe a <formalpara> could do the trick, but I'd need to find a way to shoehorn a title through the styles (i.e. a first complete tag): 
31
32         LyX:
33                 Theorem: Bla bla
34
35         DocBook:
36                 <formalpara>
37                         <title>Theorem</title>
38                         <para>Bla bla</para>
39                 </formalpara>
40
41 This would also only be a solution for single-paragraph things, as formalpara only allows one paragraph. Or a sidebar, but it's semantically very remote.