File: fixme.plt

package info (click to toggle)
tralics 2.14.4-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch, wheezy
  • size: 17,152 kB
  • ctags: 8,260
  • sloc: cpp: 49,403; xml: 18,145; sh: 140; makefile: 118
file content (96 lines) | stat: -rw-r--r-- 2,537 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
%%%  -*- latex -*-
\ProvidesPackage{fixme}[2008/12/22 v1.0 FiXme]


%% $Id: fixme.plt,v 2.1 2009/01/15 18:10:58 grimm Exp $
%% TRALICS, copyright (C) INRIA/apics (Jose' Grimm) 2008
%% Licensed under the CeCILL free software license 
%% (See the file COPYING in the main directory for details)
%% Latex version: Copyright (C) 2007 Didier Verna

\RequirePackage{ifthen}
\RequirePackage{verbatim}

\newcommand\fxnote{\@ifnextchar[%]
  {\@fixme{note}}{\@@fixme{note}}}
\newcommand\fxwarning{\@ifnextchar[%]
  {\@fixme{warning}}{\@@fixme{warning}}}
\newcommand\fxerror{\@ifnextchar[%]
  {\@fixme{error}}{\@@fixme{error}}}
\newcommand\fixme{\@ifnextchar[%]
  {\@fixme{fatal}}{\@@fixme{fatal}}}

% Ignore optional argument
\def\@fixme#1[#2]#3{\xbox{FiXme}{\XMLaddatt{type}{#1}\XMLaddatt{opt}{#2}#3}}
\def\@@fixme#1#2{\xbox{FiXme}{\XMLaddatt{type}{#1}#2}}



\newcommand\FXInline[2]{}
\let\FXMargin\FXInline
\let\FXMarginClue\FXInline
\let\FXFootNote\FXInline
\newcommand\FXIndex[1]{}
\newcommand\FiXmeInline[1]{}
\newcommand\FiXmeMargin[1]{}
\newcommand\FiXmeFootnote[1]{}
\newcommand\FiXmeUser[1]{}
\newcommand\FiXmeIndex[1]{}
\newcommand\FiXmeInfo[1]{}
\newcommand\FiXmeWarning[1]{}
\newcommand\FXNote[1]{}
\newcommand\FXWarning[1]{}
\newcommand\FXError[1]{}
\newcommand\FXFatal[1]{}

\DeclareOption{inline}{}
\DeclareOption{noinline}{}
\DeclareOption{margin}{}
\DeclareOption{nomargin}{}
\DeclareOption{marginclue}{}
\DeclareOption{nomarginclue}{}
\DeclareOption{footnote}{}
\DeclareOption{nofootnote}{}
\DeclareOption{user}{}
\DeclareOption{nouser}{}
\DeclareOption{index}{}
\DeclareOption{noindex}{}
\DeclareOption{info}{}
\DeclareOption{noinfo}{}
\DeclareOption{warning}{}
\DeclareOption{nowarning}{}
\DeclareOption{silent}{}
\DeclareOption{nosilent}{}


\newcommand\@fxenvbegin[2]{\begin{xmlelement}{FiXmeEnv}
\XMLaddatt{type}{#1}\XMLaddatt{note}{#2}}
\newcommand\@fxenvend{\end{xmlelement}}
\newenvironment{anfxnote}[1][]{%
  \@fxenvbegin{fxnote}{#1}}{%
  \@fxenvend}
\newenvironment{anfxwarning}[1][]{%
  \@fxenvbegin{fxwarning}{#1}}{%
  \@fxenvend}
\newenvironment{anfxerror}[1][]{%
  \@fxenvbegin{fxerror}{#1}}{%
  \@fxenvend}
\newenvironment{afixme}[1][]{%
  \@fxenvbegin{fixme}{#1}}{%
  \@fxenvend}

\DeclareOption{english}{}
\DeclareOption{french}{}
\DeclareOption{francais}{}
\DeclareOption{italian}{}
\DeclareOption{german}{}
\DeclareOption{ngerman}{}
\DeclareOption{danish}{}
\DeclareOption{croatian}{}
\DeclareOption{final}{}
\DeclareOption{draft}{}

\ExecuteOptions{english,final,margin,nosilent}
\ProcessOptions*

\endinput