xref: /petsc/doc/manualpages/doctext/latex.def (revision 53673ba54f5aaba04b9d49ab22cf56c7a7461fe9)
1*46696af2SBarry Smith#
2*46696af2SBarry Smith# These are the definitions for doc2lt and doctext HTML output
3*46696af2SBarry Smith#
4*46696af2SBarry Smith# Doc2lt single line entry
5*46696af2SBarry Smithpreamble
6*46696af2SBarry Smithpostamble  %n
7*46696af2SBarry Smithkey        %n\k{%1}
8*46696af2SBarry Smithdefinition \DeFn{%1}}%n
9*46696af2SBarry Smithsynopsis   {\CoDe{%N="\\"%1%N}
10*46696af2SBarry Smith#
11*46696af2SBarry Smith# Doctext output
12*46696af2SBarry Smithsection    %n\subhead{%1}%n
13*46696af2SBarry Smiths_synopsis %n\subhead{Synopsis}%n\startvb\begin{verbatim}%n%m="verbatim"
14*46696af2SBarry Smithe_synopsis %n\end{verbatim}%n\endvb%n%m=""
15*46696af2SBarry Smithem_dash    ---
16*46696af2SBarry Smitheop        \endmanpage%n
17*46696af2SBarry Smithbop        \startmanpage%n
18*46696af2SBarry Smithlinebreak  \nextline%n
19*46696af2SBarry Smiths_arg      %n\startarg{
20*46696af2SBarry Smiths_defn     {
21*46696af2SBarry Smithe_defn     }%n
22*46696af2SBarry Smithe_arg      }
23*46696af2SBarry Smith# Only do the actual title
24*46696af2SBarry Smithmantitle   \mantitle{%1}{%2}{%3}%n\manname{%1}%n
25*46696af2SBarry Smithlocation   %n\location{%1}%n
26