X-Git-Url: https://gapil.gnulinux.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=macro.tex;h=9f4ea326119848df6281c73faa7ef3ddba8c0b8a;hb=e7010c3fbd41a2de44c7b513c5de6e2c6d7ab4b4;hp=d8af80e45a2662601993c21a519ae92429f6b283;hpb=ff76d56c6a2c280cbe4f153173488871d7b12336;p=gapil.git diff --git a/macro.tex b/macro.tex index d8af80e..9f4ea32 100644 --- a/macro.tex +++ b/macro.tex @@ -147,6 +147,28 @@ \newcommand{\link}[1]{\texttt{#1}} % html link \newcommand{\ctyp}[1]{\texttt{#1}} % C standard type +\newcommand{\headfile}[1]{% +\index{file!include!{#1}@{{\tt {#1}}}}\texttt{#1}% +%\index{#1@{{\tt {#1}} (direttiva)}}\texttt{#1}% +} % header file name +\newcommand{\procfile}[1]{% +\index{file!filesystem~\texttt{/proc}!{#1}@{{\tt {#1}}}}\texttt{#1}% +%\index{#1@{{\tt {#1}} (direttiva)}}\texttt{#1}% +} % /proc file name +\newcommand{\sysfile}[1]{% +\index{file!di~sistema!{#1}@{{\tt {#1}}}}\texttt{#1}% +%\index{#1@{{\tt {#1}} (direttiva)}}\texttt{#1}% +} % system file name +\newcommand{\conffile}[1]{% +\index{file!di~configurazione!{#1}@{{\tt {#1}}}}\texttt{#1}% +%\index{#1@{{\tt {#1}} (direttiva)}}\texttt{#1}% +} % configuration file name +\newcommand{\procrelfile}[2]{% +\index{file!filesystem~\texttt{/proc}!{#2}@{{\tt {#1}/{#2}}}}\texttt{#2}% +%\index{#1@{{\tt {#1}} (direttiva)}}\texttt{#1}% +} + + \newcommand{\type}[1]{% \index{tipo!{#1}@{{\tt {#1}}}}\texttt{#1}% %\index{#1@{{\tt {#1}} (tipo)}}\texttt{#1}%