mirror of https://github.com/tLDP/LDP
tweaks to process more of the GNU manuals and their little quirks
This commit is contained in:
parent
11c32fa1f6
commit
4341656bd6
|
@ -142,9 +142,12 @@ $replacement = "";
|
|||
# @-Command Action
|
||||
%patterns = (
|
||||
'\input' =>'DROPLINE',
|
||||
'o\input' =>'DROPLINE',
|
||||
'@alias' =>'ALIAS',
|
||||
'@author' =>'META',
|
||||
'@bye' =>'BYE',
|
||||
'@cartouche' =>'DROPLINE',
|
||||
'@end cartouche' =>'DROPLINE',
|
||||
'@clear' =>'CLEAR',
|
||||
# '@c' =>'COMMENT', # handled specially
|
||||
# '@comment' =>'COMMENT',
|
||||
|
@ -173,6 +176,7 @@ $replacement = "";
|
|||
'@end enumerate' =>'ORDEREDLISTEND',
|
||||
'@example' =>'LITERALBLOCK',
|
||||
'@exdent' =>'DROPLINE',
|
||||
'@finalout' =>'DROPLINE',
|
||||
'@footnotestyle' =>'DROPLINE',
|
||||
'@flushleft' =>'DROPLINE',
|
||||
'@end flushleft' =>'DROPLINE',
|
||||
|
@ -220,6 +224,8 @@ $replacement = "";
|
|||
'@smallbook' =>'DROPLINE',
|
||||
'@smallexample' =>'LITERALBLOCK',
|
||||
'@sp' =>'DROPLINE',
|
||||
'@ftable' =>'TABLE',
|
||||
'@end ftable' =>'TABLEEND',
|
||||
'@table' =>'TABLE',
|
||||
'@end table' =>'TABLEEND',
|
||||
'@multitable' =>'MULTITABLE',
|
||||
|
@ -252,10 +258,13 @@ $replacement = "";
|
|||
'@appendixsubsubsec' =>'SECT3',
|
||||
|
||||
'@cindex' =>'DROPLINE', # TODO (temporary placement)
|
||||
'@cmindex' =>'DROPLINE',
|
||||
'@cvindex' =>'DROPLINE',
|
||||
'@findex' =>'DROPLINE',
|
||||
'@kindex' =>'DROPLINE',
|
||||
'@pindex' =>'DROPLINE',
|
||||
'@tindex' =>'DROPLINE',
|
||||
'@trindex' =>'DROPLINE',
|
||||
'@vindex' =>'DROPLINE',
|
||||
|
||||
);
|
||||
|
@ -293,6 +302,7 @@ $replacement = "";
|
|||
'@.' =>'.',
|
||||
'@!' =>'!',
|
||||
'@?' =>'?',
|
||||
'@"' =>'"',
|
||||
'@exclamdown{}' =>'¡',
|
||||
'@questiondown{}' =>'¿',
|
||||
'@pounds{}' =>'£',
|
||||
|
@ -427,8 +437,8 @@ $replacement = "";
|
|||
# want any <para> tags to go inside them, not outside.
|
||||
#
|
||||
%blocks = (
|
||||
'@quotation' =>'<blockquote>',
|
||||
'@end quotation' =>'</blockquote>',
|
||||
'@quotation' =>'<blockquote><literallayout>',
|
||||
'@end quotation' =>'</literallayout></blockquote>',
|
||||
'@format' =>'<literallayout>',
|
||||
'@end format' =>'</literallayout>',
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue