50 lines
1.5 KiB
Plaintext
50 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 0.9.5
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
%%
|
|
%% 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: license.t2t
|
|
|
|
|
|
%% Fake help sections
|
|
@comment{@@dialog-replace@@}
|
|
@comment{@@dialog-find@@}
|
|
@comment{@@prefs-dialog@@}
|
|
@comment{@@prefs-plugins@@}
|
|
@comment{@@prefs-accels@@}
|
|
@comment{@@prefs-file-selector@@}
|
|
@comment{@@dialog-find-in-files@@}
|
|
@comment{@@dialog-find-file@@}
|
|
@comment{@@file-selector@@}
|