medit/doc/medit.t2t.in
2010-01-17 00:52:16 -08:00

51 lines
1.5 KiB
Plaintext

APPNAME APPVERSION Manual
%! Target : html
%! Encoding : UTF-8
%! Options : --css-sugar
%! Options(html): --mask-email
%% 'entities'
%! Postproc: APPNAME medit
%! Postproc: APPVERSION @MOO_VERSION@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%% Sections stuff
%%
%% Convert '== Title ==[anchor]' to '== !!ANCHOR!!anchor!!Title!! ==[anchor]'
%! Preproc : '^(=+)\s*(.*)\s+\1\[(.*)\]' '\1 !!ANCHOR!!\3!!\2!! \1[\3]'
%% Remove t2t-generated '<A NAME="anchor"></A>'
%! Postproc: '<A NAME=".*"></A>' ''
%% Convert '<H1>!!ANCHOR!!anchor!!Title!!</H1>' to '<H1><a name="anchor">Title</a></H1><!-- ##anchor## -->',
%% ##anchor## is needed for makedocs to generate help-sections.h
%! Postproc: '<(H\d)>!!ANCHOR!!(.*)!!(.*)!!</\1>' '<\1><a name="\2">\3</a></\1><!-- ##\2## -->'
%% Convert remaining '!!ANCHOR!!anchor!!Title!!' to 'Title'
%! Postproc: '!!ANCHOR!!(.*)!!(.*)!!' '\2'
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%! Postproc: '@em\{(.*?)\}' '<em>\1</em>'
%! Postproc: '@comment\{(.*?)\}' '<!-- \1 -->'
APPNAME APPVERSION Manual
%!include: prefs.t2t
%!include: user-tools.t2t
%!include: prefs-file.t2t
%!include: regex.t2t
%!include: license.t2t
%% Fake help sections
@comment{##fake-dialog-replace##}
@comment{##fake-dialog-find##}
@comment{##fake-prefs-dialog##}
@comment{##fake-prefs-plugins##}
@comment{##fake-prefs-accels##}
@comment{##fake-prefs-file-selector##}
@comment{##fake-dialog-find-in-files##}
@comment{##fake-dialog-find-file##}
@comment{##fake-file-selector##}