doc-src/IsarRef/Thy/document/Document_Preparation.tex
author bulwahn
Fri, 01 Jul 2011 10:45:51 +0200
changeset 43613 7afbaf5a406b
parent 42936 48a0a9db3453
child 43618 1c43134ff988
permissions -rw-r--r--
adding a minimalistic documentation of the value antiquotation in the Isar reference manual
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
     1
%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
     2
\begin{isabellebody}%
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
     3
\def\isabellecontext{Document{\isaliteral{5F}{\isacharunderscore}}Preparation}%
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
     4
%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
     5
\isadelimtheory
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
     6
%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
     7
\endisadelimtheory
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
     8
%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
     9
\isatagtheory
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    10
\isacommand{theory}\isamarkupfalse%
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
    11
\ Document{\isaliteral{5F}{\isacharunderscore}}Preparation\isanewline
42651
e3fdb7c96be5 formal Base theory;
wenzelm
parents: 42626
diff changeset
    12
\isakeyword{imports}\ Base\ Main\isanewline
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    13
\isakeyword{begin}%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    14
\endisatagtheory
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    15
{\isafoldtheory}%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    16
%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    17
\isadelimtheory
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    18
%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    19
\endisadelimtheory
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    20
%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    21
\isamarkupchapter{Document preparation \label{ch:document-prep}%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    22
}
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    23
\isamarkuptrue%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    24
%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    25
\begin{isamarkuptext}%
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
    26
Isabelle/Isar provides a simple document preparation system
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
    27
  based on regular {PDF-\LaTeX} technology, with full support for
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
    28
  hyper-links and bookmarks.  Thus the results are well suited for WWW
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
    29
  browsing and as printed copies.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    30
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
    31
  \medskip Isabelle generates {\LaTeX} output while running a
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    32
  \emph{logic session} (see also \cite{isabelle-sys}).  Getting
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    33
  started with a working configuration for common situations is quite
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    34
  easy by using the Isabelle \verb|mkdir| and \verb|make|
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    35
  tools.  First invoke
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    36
\begin{ttbox}
28505
f98751bd715f updated generated file;
wenzelm
parents: 27881
diff changeset
    37
  isabelle mkdir Foo
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    38
\end{ttbox}
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
    39
  to initialize a separate directory for session \verb|Foo| (it
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
    40
  is safe to experiment, since \verb|isabelle mkdir| never
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
    41
  overwrites existing files).  Ensure that \verb|Foo/ROOT.ML|
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    42
  holds ML commands to load all theories required for this session;
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    43
  furthermore \verb|Foo/document/root.tex| should include any
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    44
  special {\LaTeX} macro packages required for your document (the
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    45
  default is usually sufficient as a start).
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    46
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    47
  The session is controlled by a separate \verb|IsaMakefile|
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    48
  (with crude source dependencies by default).  This file is located
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    49
  one level up from the \verb|Foo| directory location.  Now
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    50
  invoke
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    51
\begin{ttbox}
28505
f98751bd715f updated generated file;
wenzelm
parents: 27881
diff changeset
    52
  isabelle make Foo
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    53
\end{ttbox}
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    54
  to run the \verb|Foo| session, with browser information and
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    55
  document preparation enabled.  Unless any errors are reported by
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    56
  Isabelle or {\LaTeX}, the output will appear inside the directory
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
    57
  defined by the \verb|ISABELLE_BROWSER_INFO| setting (as
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
    58
  reported by the batch job in verbose mode).
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    59
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    60
  \medskip You may also consider to tune the \verb|usedir|
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
    61
  options in \verb|IsaMakefile|, for example to switch the output
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
    62
  format between \verb|pdf| and \verb|dvi|, or activate the
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    63
  \verb|-D| option to retain a second copy of the generated
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
    64
  {\LaTeX} sources (for manual inspection or separate runs of
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
    65
  \hyperlink{executable.latex}{\mbox{\isa{\isatt{latex}}}}).
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    66
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    67
  \medskip See \emph{The Isabelle System Manual} \cite{isabelle-sys}
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    68
  for further details on Isabelle logic sessions and theory
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    69
  presentation.  The Isabelle/HOL tutorial \cite{isabelle-hol-book}
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
    70
  also covers theory presentation to some extent.%
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    71
\end{isamarkuptext}%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    72
\isamarkuptrue%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    73
%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    74
\isamarkupsection{Markup commands \label{sec:markup}%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    75
}
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    76
\isamarkuptrue%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    77
%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    78
\begin{isamarkuptext}%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    79
\begin{matharray}{rcl}
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
    80
    \indexdef{}{command}{header}\hypertarget{command.header}{\hyperlink{command.header}{\mbox{\isa{\isacommand{header}}}}} & : & \isa{{\isaliteral{22}{\isachardoublequote}}toplevel\ {\isaliteral{5C3C72696768746172726F773E}{\isasymrightarrow}}\ toplevel{\isaliteral{22}{\isachardoublequote}}} \\[0.5ex]
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
    81
    \indexdef{}{command}{chapter}\hypertarget{command.chapter}{\hyperlink{command.chapter}{\mbox{\isa{\isacommand{chapter}}}}} & : & \isa{{\isaliteral{22}{\isachardoublequote}}local{\isaliteral{5F}{\isacharunderscore}}theory\ {\isaliteral{5C3C72696768746172726F773E}{\isasymrightarrow}}\ local{\isaliteral{5F}{\isacharunderscore}}theory{\isaliteral{22}{\isachardoublequote}}} \\
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
    82
    \indexdef{}{command}{section}\hypertarget{command.section}{\hyperlink{command.section}{\mbox{\isa{\isacommand{section}}}}} & : & \isa{{\isaliteral{22}{\isachardoublequote}}local{\isaliteral{5F}{\isacharunderscore}}theory\ {\isaliteral{5C3C72696768746172726F773E}{\isasymrightarrow}}\ local{\isaliteral{5F}{\isacharunderscore}}theory{\isaliteral{22}{\isachardoublequote}}} \\
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
    83
    \indexdef{}{command}{subsection}\hypertarget{command.subsection}{\hyperlink{command.subsection}{\mbox{\isa{\isacommand{subsection}}}}} & : & \isa{{\isaliteral{22}{\isachardoublequote}}local{\isaliteral{5F}{\isacharunderscore}}theory\ {\isaliteral{5C3C72696768746172726F773E}{\isasymrightarrow}}\ local{\isaliteral{5F}{\isacharunderscore}}theory{\isaliteral{22}{\isachardoublequote}}} \\
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
    84
    \indexdef{}{command}{subsubsection}\hypertarget{command.subsubsection}{\hyperlink{command.subsubsection}{\mbox{\isa{\isacommand{subsubsection}}}}} & : & \isa{{\isaliteral{22}{\isachardoublequote}}local{\isaliteral{5F}{\isacharunderscore}}theory\ {\isaliteral{5C3C72696768746172726F773E}{\isasymrightarrow}}\ local{\isaliteral{5F}{\isacharunderscore}}theory{\isaliteral{22}{\isachardoublequote}}} \\
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
    85
    \indexdef{}{command}{text}\hypertarget{command.text}{\hyperlink{command.text}{\mbox{\isa{\isacommand{text}}}}} & : & \isa{{\isaliteral{22}{\isachardoublequote}}local{\isaliteral{5F}{\isacharunderscore}}theory\ {\isaliteral{5C3C72696768746172726F773E}{\isasymrightarrow}}\ local{\isaliteral{5F}{\isacharunderscore}}theory{\isaliteral{22}{\isachardoublequote}}} \\
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
    86
    \indexdef{}{command}{text\_raw}\hypertarget{command.text-raw}{\hyperlink{command.text-raw}{\mbox{\isa{\isacommand{text{\isaliteral{5F}{\isacharunderscore}}raw}}}}} & : & \isa{{\isaliteral{22}{\isachardoublequote}}local{\isaliteral{5F}{\isacharunderscore}}theory\ {\isaliteral{5C3C72696768746172726F773E}{\isasymrightarrow}}\ local{\isaliteral{5F}{\isacharunderscore}}theory{\isaliteral{22}{\isachardoublequote}}} \\[0.5ex]
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
    87
    \indexdef{}{command}{sect}\hypertarget{command.sect}{\hyperlink{command.sect}{\mbox{\isa{\isacommand{sect}}}}} & : & \isa{{\isaliteral{22}{\isachardoublequote}}proof\ {\isaliteral{5C3C72696768746172726F773E}{\isasymrightarrow}}\ proof{\isaliteral{22}{\isachardoublequote}}} \\
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
    88
    \indexdef{}{command}{subsect}\hypertarget{command.subsect}{\hyperlink{command.subsect}{\mbox{\isa{\isacommand{subsect}}}}} & : & \isa{{\isaliteral{22}{\isachardoublequote}}proof\ {\isaliteral{5C3C72696768746172726F773E}{\isasymrightarrow}}\ proof{\isaliteral{22}{\isachardoublequote}}} \\
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
    89
    \indexdef{}{command}{subsubsect}\hypertarget{command.subsubsect}{\hyperlink{command.subsubsect}{\mbox{\isa{\isacommand{subsubsect}}}}} & : & \isa{{\isaliteral{22}{\isachardoublequote}}proof\ {\isaliteral{5C3C72696768746172726F773E}{\isasymrightarrow}}\ proof{\isaliteral{22}{\isachardoublequote}}} \\
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
    90
    \indexdef{}{command}{txt}\hypertarget{command.txt}{\hyperlink{command.txt}{\mbox{\isa{\isacommand{txt}}}}} & : & \isa{{\isaliteral{22}{\isachardoublequote}}proof\ {\isaliteral{5C3C72696768746172726F773E}{\isasymrightarrow}}\ proof{\isaliteral{22}{\isachardoublequote}}} \\
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
    91
    \indexdef{}{command}{txt\_raw}\hypertarget{command.txt-raw}{\hyperlink{command.txt-raw}{\mbox{\isa{\isacommand{txt{\isaliteral{5F}{\isacharunderscore}}raw}}}}} & : & \isa{{\isaliteral{22}{\isachardoublequote}}proof\ {\isaliteral{5C3C72696768746172726F773E}{\isasymrightarrow}}\ proof{\isaliteral{22}{\isachardoublequote}}} \\
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    92
  \end{matharray}
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
    93
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
    94
  Markup commands provide a structured way to insert text into the
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
    95
  document generated from a theory.  Each markup command takes a
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
    96
  single \hyperlink{syntax.text}{\mbox{\isa{text}}} argument, which is passed as argument to a
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
    97
  corresponding {\LaTeX} macro.  The default macros provided by
40802
3cd23f676c5b updated generated files;
wenzelm
parents: 40406
diff changeset
    98
  \verb|~~/lib/texinputs/isabelle.sty| can be redefined according
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
    99
  to the needs of the underlying document and {\LaTeX} styles.
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   100
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   101
  Note that formal comments (\secref{sec:comments}) are similar to
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   102
  markup commands, but have a different status within Isabelle/Isar
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   103
  syntax.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   104
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   105
  \begin{railoutput}
42662
2080fe35abea updated generated files;
wenzelm
parents: 42658
diff changeset
   106
\rail@begin{5}{}
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   107
\rail@bar
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   108
\rail@term{\hyperlink{command.chapter}{\mbox{\isa{\isacommand{chapter}}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   109
\rail@nextbar{1}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   110
\rail@term{\hyperlink{command.section}{\mbox{\isa{\isacommand{section}}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   111
\rail@nextbar{2}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   112
\rail@term{\hyperlink{command.subsection}{\mbox{\isa{\isacommand{subsection}}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   113
\rail@nextbar{3}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   114
\rail@term{\hyperlink{command.subsubsection}{\mbox{\isa{\isacommand{subsubsection}}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   115
\rail@nextbar{4}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   116
\rail@term{\hyperlink{command.text}{\mbox{\isa{\isacommand{text}}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   117
\rail@endbar
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   118
\rail@bar
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   119
\rail@nextbar{1}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   120
\rail@nont{\hyperlink{syntax.target}{\mbox{\isa{target}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   121
\rail@endbar
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   122
\rail@nont{\hyperlink{syntax.text}{\mbox{\isa{text}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   123
\rail@end
42662
2080fe35abea updated generated files;
wenzelm
parents: 42658
diff changeset
   124
\rail@begin{7}{}
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   125
\rail@bar
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   126
\rail@term{\hyperlink{command.header}{\mbox{\isa{\isacommand{header}}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   127
\rail@nextbar{1}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   128
\rail@term{\hyperlink{command.text-raw}{\mbox{\isa{\isacommand{text{\isaliteral{5F}{\isacharunderscore}}raw}}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   129
\rail@nextbar{2}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   130
\rail@term{\hyperlink{command.sect}{\mbox{\isa{\isacommand{sect}}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   131
\rail@nextbar{3}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   132
\rail@term{\hyperlink{command.subsect}{\mbox{\isa{\isacommand{subsect}}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   133
\rail@nextbar{4}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   134
\rail@term{\hyperlink{command.subsubsect}{\mbox{\isa{\isacommand{subsubsect}}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   135
\rail@nextbar{5}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   136
\rail@term{\hyperlink{command.txt}{\mbox{\isa{\isacommand{txt}}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   137
\rail@nextbar{6}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   138
\rail@term{\hyperlink{command.txt-raw}{\mbox{\isa{\isacommand{txt{\isaliteral{5F}{\isacharunderscore}}raw}}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   139
\rail@endbar
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   140
\rail@nont{\hyperlink{syntax.text}{\mbox{\isa{text}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   141
\rail@end
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   142
\end{railoutput}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   143
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   144
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   145
  \begin{description}
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   146
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   147
  \item \hyperlink{command.header}{\mbox{\isa{\isacommand{header}}}} provides plain text markup just preceding
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   148
  the formal beginning of a theory.  The corresponding {\LaTeX} macro
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   149
  is \verb|\isamarkupheader|, which acts like \hyperlink{command.section}{\mbox{\isa{\isacommand{section}}}} by default.
27052
5c48cecb981b updated generated file;
wenzelm
parents: 27042
diff changeset
   150
  
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   151
  \item \hyperlink{command.chapter}{\mbox{\isa{\isacommand{chapter}}}}, \hyperlink{command.section}{\mbox{\isa{\isacommand{section}}}}, \hyperlink{command.subsection}{\mbox{\isa{\isacommand{subsection}}}},
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   152
  and \hyperlink{command.subsubsection}{\mbox{\isa{\isacommand{subsubsection}}}} mark chapter and section headings
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   153
  within the main theory body or local theory targets.  The
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   154
  corresponding {\LaTeX} macros are \verb|\isamarkupchapter|,
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   155
  \verb|\isamarkupsection|, \verb|\isamarkupsubsection| etc.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   156
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   157
  \item \hyperlink{command.sect}{\mbox{\isa{\isacommand{sect}}}}, \hyperlink{command.subsect}{\mbox{\isa{\isacommand{subsect}}}}, and \hyperlink{command.subsubsect}{\mbox{\isa{\isacommand{subsubsect}}}}
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   158
  mark section headings within proofs.  The corresponding {\LaTeX}
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   159
  macros are \verb|\isamarkupsect|, \verb|\isamarkupsubsect| etc.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   160
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   161
  \item \hyperlink{command.text}{\mbox{\isa{\isacommand{text}}}} and \hyperlink{command.txt}{\mbox{\isa{\isacommand{txt}}}} specify paragraphs of plain
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   162
  text.  This corresponds to a {\LaTeX} environment \verb|\begin{isamarkuptext}| \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{5C3C646F74733E}{\isasymdots}}{\isaliteral{22}{\isachardoublequote}}} \verb|\end{isamarkuptext}| etc.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   163
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   164
  \item \hyperlink{command.text-raw}{\mbox{\isa{\isacommand{text{\isaliteral{5F}{\isacharunderscore}}raw}}}} and \hyperlink{command.txt-raw}{\mbox{\isa{\isacommand{txt{\isaliteral{5F}{\isacharunderscore}}raw}}}} insert {\LaTeX}
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   165
  source into the output, without additional markup.  Thus the full
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   166
  range of document manipulations becomes available, at the risk of
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   167
  messing up document output.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   168
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   169
  \end{description}
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   170
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   171
  Except for \hyperlink{command.text-raw}{\mbox{\isa{\isacommand{text{\isaliteral{5F}{\isacharunderscore}}raw}}}} and \hyperlink{command.txt-raw}{\mbox{\isa{\isacommand{txt{\isaliteral{5F}{\isacharunderscore}}raw}}}}, the text
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   172
  passed to any of the above markup commands may refer to formal
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   173
  entities via \emph{document antiquotations}, see also
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   174
  \secref{sec:antiq}.  These are interpreted in the present theory or
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   175
  proof context, or the named \isa{{\isaliteral{22}{\isachardoublequote}}target{\isaliteral{22}{\isachardoublequote}}}.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   176
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   177
  \medskip The proof markup commands closely resemble those for theory
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   178
  specifications, but have a different formal status and produce
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   179
  different {\LaTeX} macros.  The default definitions coincide for
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   180
  analogous commands such as \hyperlink{command.section}{\mbox{\isa{\isacommand{section}}}} and \hyperlink{command.sect}{\mbox{\isa{\isacommand{sect}}}}.%
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   181
\end{isamarkuptext}%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   182
\isamarkuptrue%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   183
%
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   184
\isamarkupsection{Document Antiquotations \label{sec:antiq}%
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   185
}
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   186
\isamarkuptrue%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   187
%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   188
\begin{isamarkuptext}%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   189
\begin{matharray}{rcl}
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   190
    \indexdef{}{antiquotation}{theory}\hypertarget{antiquotation.theory}{\hyperlink{antiquotation.theory}{\mbox{\isa{theory}}}} & : & \isa{antiquotation} \\
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   191
    \indexdef{}{antiquotation}{thm}\hypertarget{antiquotation.thm}{\hyperlink{antiquotation.thm}{\mbox{\isa{thm}}}} & : & \isa{antiquotation} \\
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   192
    \indexdef{}{antiquotation}{lemma}\hypertarget{antiquotation.lemma}{\hyperlink{antiquotation.lemma}{\mbox{\isa{lemma}}}} & : & \isa{antiquotation} \\
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   193
    \indexdef{}{antiquotation}{prop}\hypertarget{antiquotation.prop}{\hyperlink{antiquotation.prop}{\mbox{\isa{prop}}}} & : & \isa{antiquotation} \\
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   194
    \indexdef{}{antiquotation}{term}\hypertarget{antiquotation.term}{\hyperlink{antiquotation.term}{\mbox{\isa{term}}}} & : & \isa{antiquotation} \\
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   195
    \indexdef{}{antiquotation}{term\_type}\hypertarget{antiquotation.term-type}{\hyperlink{antiquotation.term-type}{\mbox{\isa{term{\isaliteral{5F}{\isacharunderscore}}type}}}} & : & \isa{antiquotation} \\
32898
e871d897969c term styles also cover antiquotations term_type and typeof
haftmann
parents: 32893
diff changeset
   196
    \indexdef{}{antiquotation}{typeof}\hypertarget{antiquotation.typeof}{\hyperlink{antiquotation.typeof}{\mbox{\isa{typeof}}}} & : & \isa{antiquotation} \\
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   197
    \indexdef{}{antiquotation}{const}\hypertarget{antiquotation.const}{\hyperlink{antiquotation.const}{\mbox{\isa{const}}}} & : & \isa{antiquotation} \\
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   198
    \indexdef{}{antiquotation}{abbrev}\hypertarget{antiquotation.abbrev}{\hyperlink{antiquotation.abbrev}{\mbox{\isa{abbrev}}}} & : & \isa{antiquotation} \\
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   199
    \indexdef{}{antiquotation}{typ}\hypertarget{antiquotation.typ}{\hyperlink{antiquotation.typ}{\mbox{\isa{typ}}}} & : & \isa{antiquotation} \\
39437
8c23c61c6d5c updated generated file;
wenzelm
parents: 32898
diff changeset
   200
    \indexdef{}{antiquotation}{type}\hypertarget{antiquotation.type}{\hyperlink{antiquotation.type}{\mbox{\isa{type}}}} & : & \isa{antiquotation} \\
8c23c61c6d5c updated generated file;
wenzelm
parents: 32898
diff changeset
   201
    \indexdef{}{antiquotation}{class}\hypertarget{antiquotation.class}{\hyperlink{antiquotation.class}{\mbox{\isa{class}}}} & : & \isa{antiquotation} \\
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   202
    \indexdef{}{antiquotation}{text}\hypertarget{antiquotation.text}{\hyperlink{antiquotation.text}{\mbox{\isa{text}}}} & : & \isa{antiquotation} \\
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   203
    \indexdef{}{antiquotation}{goals}\hypertarget{antiquotation.goals}{\hyperlink{antiquotation.goals}{\mbox{\isa{goals}}}} & : & \isa{antiquotation} \\
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   204
    \indexdef{}{antiquotation}{subgoals}\hypertarget{antiquotation.subgoals}{\hyperlink{antiquotation.subgoals}{\mbox{\isa{subgoals}}}} & : & \isa{antiquotation} \\
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   205
    \indexdef{}{antiquotation}{prf}\hypertarget{antiquotation.prf}{\hyperlink{antiquotation.prf}{\mbox{\isa{prf}}}} & : & \isa{antiquotation} \\
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   206
    \indexdef{}{antiquotation}{full\_prf}\hypertarget{antiquotation.full-prf}{\hyperlink{antiquotation.full-prf}{\mbox{\isa{full{\isaliteral{5F}{\isacharunderscore}}prf}}}} & : & \isa{antiquotation} \\
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   207
    \indexdef{}{antiquotation}{ML}\hypertarget{antiquotation.ML}{\hyperlink{antiquotation.ML}{\mbox{\isa{ML}}}} & : & \isa{antiquotation} \\
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   208
    \indexdef{}{antiquotation}{ML\_type}\hypertarget{antiquotation.ML-type}{\hyperlink{antiquotation.ML-type}{\mbox{\isa{ML{\isaliteral{5F}{\isacharunderscore}}type}}}} & : & \isa{antiquotation} \\
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   209
    \indexdef{}{antiquotation}{ML\_struct}\hypertarget{antiquotation.ML-struct}{\hyperlink{antiquotation.ML-struct}{\mbox{\isa{ML{\isaliteral{5F}{\isacharunderscore}}struct}}}} & : & \isa{antiquotation} \\
40802
3cd23f676c5b updated generated files;
wenzelm
parents: 40406
diff changeset
   210
    \indexdef{}{antiquotation}{file}\hypertarget{antiquotation.file}{\hyperlink{antiquotation.file}{\mbox{\isa{file}}}} & : & \isa{antiquotation} \\
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   211
  \end{matharray}
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   212
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   213
  The overall content of an Isabelle/Isar theory may alternate between
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   214
  formal and informal text.  The main body consists of formal
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   215
  specification and proof commands, interspersed with markup commands
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   216
  (\secref{sec:markup}) or document comments (\secref{sec:comments}).
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   217
  The argument of markup commands quotes informal text to be printed
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   218
  in the resulting document, but may again refer to formal entities
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   219
  via \emph{document antiquotations}.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   220
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   221
  For example, embedding of ``\isa{{\isaliteral{40}{\isacharat}}{\isaliteral{7B}{\isacharbraceleft}}term\ {\isaliteral{5B}{\isacharbrackleft}}show{\isaliteral{5F}{\isacharunderscore}}types{\isaliteral{5D}{\isacharbrackright}}\ {\isaliteral{22}{\isachardoublequote}}f\ x\ {\isaliteral{3D}{\isacharequal}}\ a\ {\isaliteral{2B}{\isacharplus}}\ x{\isaliteral{22}{\isachardoublequote}}{\isaliteral{7D}{\isacharbraceright}}}''
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   222
  within a text block makes
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   223
  \isa{{\isacharparenleft}f{\isasymColon}{\isacharprime}a\ {\isasymRightarrow}\ {\isacharprime}a{\isacharparenright}\ {\isacharparenleft}x{\isasymColon}{\isacharprime}a{\isacharparenright}\ {\isacharequal}\ {\isacharparenleft}a{\isasymColon}{\isacharprime}a{\isacharparenright}\ {\isacharplus}\ x} appear in the final {\LaTeX} document.
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   224
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   225
  Antiquotations usually spare the author tedious typing of logical
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   226
  entities in full detail.  Even more importantly, some degree of
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   227
  consistency-checking between the main body of formal text and its
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   228
  informal explanation is achieved, since terms and types appearing in
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   229
  antiquotations are checked within the current theory or proof
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   230
  context.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   231
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   232
  \begin{railoutput}
42662
2080fe35abea updated generated files;
wenzelm
parents: 42658
diff changeset
   233
\rail@begin{1}{}
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   234
\rail@term{\isa{{\isaliteral{40}{\isacharat}}{\isaliteral{7B}{\isacharbraceleft}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   235
\rail@nont{\isa{antiquotation}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   236
\rail@term{\isa{{\isaliteral{7D}{\isacharbraceright}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   237
\rail@end
43613
7afbaf5a406b adding a minimalistic documentation of the value antiquotation in the Isar reference manual
bulwahn
parents: 42936
diff changeset
   238
\rail@begin{23}{\indexdef{}{syntax}{antiquotation}\hypertarget{syntax.antiquotation}{\hyperlink{syntax.antiquotation}{\mbox{\isa{antiquotation}}}}}
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   239
\rail@bar
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   240
\rail@term{\hyperlink{antiquotation.theory}{\mbox{\isa{theory}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   241
\rail@nont{\isa{options}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   242
\rail@nont{\hyperlink{syntax.name}{\mbox{\isa{name}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   243
\rail@nextbar{1}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   244
\rail@term{\hyperlink{antiquotation.thm}{\mbox{\isa{thm}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   245
\rail@nont{\isa{options}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   246
\rail@nont{\isa{styles}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   247
\rail@nont{\hyperlink{syntax.thmrefs}{\mbox{\isa{thmrefs}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   248
\rail@nextbar{2}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   249
\rail@term{\hyperlink{antiquotation.lemma}{\mbox{\isa{lemma}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   250
\rail@nont{\isa{options}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   251
\rail@nont{\hyperlink{syntax.prop}{\mbox{\isa{prop}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   252
\rail@term{\isa{\isakeyword{by}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   253
\rail@nont{\hyperlink{syntax.method}{\mbox{\isa{method}}}}[]
42617
77d239840285 more precise rail diagrams;
wenzelm
parents: 42596
diff changeset
   254
\rail@bar
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   255
\rail@nextbar{3}
42617
77d239840285 more precise rail diagrams;
wenzelm
parents: 42596
diff changeset
   256
\rail@nont{\hyperlink{syntax.method}{\mbox{\isa{method}}}}[]
77d239840285 more precise rail diagrams;
wenzelm
parents: 42596
diff changeset
   257
\rail@endbar
77d239840285 more precise rail diagrams;
wenzelm
parents: 42596
diff changeset
   258
\rail@nextbar{4}
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   259
\rail@term{\hyperlink{antiquotation.prop}{\mbox{\isa{prop}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   260
\rail@nont{\isa{options}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   261
\rail@nont{\isa{styles}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   262
\rail@nont{\hyperlink{syntax.prop}{\mbox{\isa{prop}}}}[]
42617
77d239840285 more precise rail diagrams;
wenzelm
parents: 42596
diff changeset
   263
\rail@nextbar{5}
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   264
\rail@term{\hyperlink{antiquotation.term}{\mbox{\isa{term}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   265
\rail@nont{\isa{options}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   266
\rail@nont{\isa{styles}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   267
\rail@nont{\hyperlink{syntax.term}{\mbox{\isa{term}}}}[]
42617
77d239840285 more precise rail diagrams;
wenzelm
parents: 42596
diff changeset
   268
\rail@nextbar{6}
43613
7afbaf5a406b adding a minimalistic documentation of the value antiquotation in the Isar reference manual
bulwahn
parents: 42936
diff changeset
   269
\rail@term{\hyperlink{antiquotation.value}{\mbox{\isa{value}}}}[]
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   270
\rail@nont{\isa{options}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   271
\rail@nont{\isa{styles}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   272
\rail@nont{\hyperlink{syntax.term}{\mbox{\isa{term}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   273
\rail@nextbar{7}
43613
7afbaf5a406b adding a minimalistic documentation of the value antiquotation in the Isar reference manual
bulwahn
parents: 42936
diff changeset
   274
\rail@term{\hyperlink{antiquotation.term-type}{\mbox{\isa{term{\isaliteral{5F}{\isacharunderscore}}type}}}}[]
42617
77d239840285 more precise rail diagrams;
wenzelm
parents: 42596
diff changeset
   275
\rail@nont{\isa{options}}[]
77d239840285 more precise rail diagrams;
wenzelm
parents: 42596
diff changeset
   276
\rail@nont{\isa{styles}}[]
77d239840285 more precise rail diagrams;
wenzelm
parents: 42596
diff changeset
   277
\rail@nont{\hyperlink{syntax.term}{\mbox{\isa{term}}}}[]
77d239840285 more precise rail diagrams;
wenzelm
parents: 42596
diff changeset
   278
\rail@nextbar{8}
43613
7afbaf5a406b adding a minimalistic documentation of the value antiquotation in the Isar reference manual
bulwahn
parents: 42936
diff changeset
   279
\rail@term{\hyperlink{antiquotation.typeof}{\mbox{\isa{typeof}}}}[]
7afbaf5a406b adding a minimalistic documentation of the value antiquotation in the Isar reference manual
bulwahn
parents: 42936
diff changeset
   280
\rail@nont{\isa{options}}[]
7afbaf5a406b adding a minimalistic documentation of the value antiquotation in the Isar reference manual
bulwahn
parents: 42936
diff changeset
   281
\rail@nont{\isa{styles}}[]
7afbaf5a406b adding a minimalistic documentation of the value antiquotation in the Isar reference manual
bulwahn
parents: 42936
diff changeset
   282
\rail@nont{\hyperlink{syntax.term}{\mbox{\isa{term}}}}[]
7afbaf5a406b adding a minimalistic documentation of the value antiquotation in the Isar reference manual
bulwahn
parents: 42936
diff changeset
   283
\rail@nextbar{9}
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   284
\rail@term{\hyperlink{antiquotation.const}{\mbox{\isa{const}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   285
\rail@nont{\isa{options}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   286
\rail@nont{\hyperlink{syntax.term}{\mbox{\isa{term}}}}[]
43613
7afbaf5a406b adding a minimalistic documentation of the value antiquotation in the Isar reference manual
bulwahn
parents: 42936
diff changeset
   287
\rail@nextbar{10}
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   288
\rail@term{\hyperlink{antiquotation.abbrev}{\mbox{\isa{abbrev}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   289
\rail@nont{\isa{options}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   290
\rail@nont{\hyperlink{syntax.term}{\mbox{\isa{term}}}}[]
43613
7afbaf5a406b adding a minimalistic documentation of the value antiquotation in the Isar reference manual
bulwahn
parents: 42936
diff changeset
   291
\rail@nextbar{11}
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   292
\rail@term{\hyperlink{antiquotation.typ}{\mbox{\isa{typ}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   293
\rail@nont{\isa{options}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   294
\rail@nont{\hyperlink{syntax.type}{\mbox{\isa{type}}}}[]
43613
7afbaf5a406b adding a minimalistic documentation of the value antiquotation in the Isar reference manual
bulwahn
parents: 42936
diff changeset
   295
\rail@nextbar{12}
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   296
\rail@term{\hyperlink{antiquotation.type}{\mbox{\isa{type}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   297
\rail@nont{\isa{options}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   298
\rail@nont{\hyperlink{syntax.name}{\mbox{\isa{name}}}}[]
43613
7afbaf5a406b adding a minimalistic documentation of the value antiquotation in the Isar reference manual
bulwahn
parents: 42936
diff changeset
   299
\rail@nextbar{13}
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   300
\rail@term{\hyperlink{antiquotation.class}{\mbox{\isa{class}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   301
\rail@nont{\isa{options}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   302
\rail@nont{\hyperlink{syntax.name}{\mbox{\isa{name}}}}[]
42617
77d239840285 more precise rail diagrams;
wenzelm
parents: 42596
diff changeset
   303
\rail@nextbar{14}
43613
7afbaf5a406b adding a minimalistic documentation of the value antiquotation in the Isar reference manual
bulwahn
parents: 42936
diff changeset
   304
\rail@term{\hyperlink{antiquotation.text}{\mbox{\isa{text}}}}[]
7afbaf5a406b adding a minimalistic documentation of the value antiquotation in the Isar reference manual
bulwahn
parents: 42936
diff changeset
   305
\rail@nont{\isa{options}}[]
7afbaf5a406b adding a minimalistic documentation of the value antiquotation in the Isar reference manual
bulwahn
parents: 42936
diff changeset
   306
\rail@nont{\hyperlink{syntax.name}{\mbox{\isa{name}}}}[]
7afbaf5a406b adding a minimalistic documentation of the value antiquotation in the Isar reference manual
bulwahn
parents: 42936
diff changeset
   307
\rail@nextbar{15}
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   308
\rail@term{\hyperlink{antiquotation.goals}{\mbox{\isa{goals}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   309
\rail@nont{\isa{options}}[]
43613
7afbaf5a406b adding a minimalistic documentation of the value antiquotation in the Isar reference manual
bulwahn
parents: 42936
diff changeset
   310
\rail@nextbar{16}
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   311
\rail@term{\hyperlink{antiquotation.subgoals}{\mbox{\isa{subgoals}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   312
\rail@nont{\isa{options}}[]
43613
7afbaf5a406b adding a minimalistic documentation of the value antiquotation in the Isar reference manual
bulwahn
parents: 42936
diff changeset
   313
\rail@nextbar{17}
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   314
\rail@term{\hyperlink{antiquotation.prf}{\mbox{\isa{prf}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   315
\rail@nont{\isa{options}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   316
\rail@nont{\hyperlink{syntax.thmrefs}{\mbox{\isa{thmrefs}}}}[]
43613
7afbaf5a406b adding a minimalistic documentation of the value antiquotation in the Isar reference manual
bulwahn
parents: 42936
diff changeset
   317
\rail@nextbar{18}
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   318
\rail@term{\hyperlink{antiquotation.full-prf}{\mbox{\isa{full{\isaliteral{5F}{\isacharunderscore}}prf}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   319
\rail@nont{\isa{options}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   320
\rail@nont{\hyperlink{syntax.thmrefs}{\mbox{\isa{thmrefs}}}}[]
43613
7afbaf5a406b adding a minimalistic documentation of the value antiquotation in the Isar reference manual
bulwahn
parents: 42936
diff changeset
   321
\rail@nextbar{19}
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   322
\rail@term{\hyperlink{antiquotation.ML}{\mbox{\isa{ML}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   323
\rail@nont{\isa{options}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   324
\rail@nont{\hyperlink{syntax.name}{\mbox{\isa{name}}}}[]
43613
7afbaf5a406b adding a minimalistic documentation of the value antiquotation in the Isar reference manual
bulwahn
parents: 42936
diff changeset
   325
\rail@nextbar{20}
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   326
\rail@term{\hyperlink{antiquotation.ML-type}{\mbox{\isa{ML{\isaliteral{5F}{\isacharunderscore}}type}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   327
\rail@nont{\isa{options}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   328
\rail@nont{\hyperlink{syntax.name}{\mbox{\isa{name}}}}[]
43613
7afbaf5a406b adding a minimalistic documentation of the value antiquotation in the Isar reference manual
bulwahn
parents: 42936
diff changeset
   329
\rail@nextbar{21}
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   330
\rail@term{\hyperlink{antiquotation.ML-struct}{\mbox{\isa{ML{\isaliteral{5F}{\isacharunderscore}}struct}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   331
\rail@nont{\isa{options}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   332
\rail@nont{\hyperlink{syntax.name}{\mbox{\isa{name}}}}[]
43613
7afbaf5a406b adding a minimalistic documentation of the value antiquotation in the Isar reference manual
bulwahn
parents: 42936
diff changeset
   333
\rail@nextbar{22}
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   334
\rail@term{\hyperlink{antiquotation.file}{\mbox{\isa{file}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   335
\rail@nont{\isa{options}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   336
\rail@nont{\hyperlink{syntax.name}{\mbox{\isa{name}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   337
\rail@endbar
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   338
\rail@end
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   339
\rail@begin{3}{\isa{options}}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   340
\rail@term{\isa{{\isaliteral{5B}{\isacharbrackleft}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   341
\rail@bar
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   342
\rail@nextbar{1}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   343
\rail@plus
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   344
\rail@nont{\isa{option}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   345
\rail@nextplus{2}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   346
\rail@cterm{\isa{{\isaliteral{2C}{\isacharcomma}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   347
\rail@endplus
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   348
\rail@endbar
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   349
\rail@term{\isa{{\isaliteral{5D}{\isacharbrackright}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   350
\rail@end
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   351
\rail@begin{2}{\isa{option}}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   352
\rail@bar
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   353
\rail@nont{\hyperlink{syntax.name}{\mbox{\isa{name}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   354
\rail@nextbar{1}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   355
\rail@nont{\hyperlink{syntax.name}{\mbox{\isa{name}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   356
\rail@term{\isa{{\isaliteral{3D}{\isacharequal}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   357
\rail@nont{\hyperlink{syntax.name}{\mbox{\isa{name}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   358
\rail@endbar
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   359
\rail@end
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   360
\rail@begin{2}{\isa{styles}}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   361
\rail@term{\isa{{\isaliteral{28}{\isacharparenleft}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   362
\rail@plus
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   363
\rail@nont{\isa{style}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   364
\rail@nextplus{1}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   365
\rail@cterm{\isa{{\isaliteral{2C}{\isacharcomma}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   366
\rail@endplus
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   367
\rail@term{\isa{{\isaliteral{29}{\isacharparenright}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   368
\rail@end
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   369
\rail@begin{2}{\isa{style}}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   370
\rail@plus
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   371
\rail@nont{\hyperlink{syntax.name}{\mbox{\isa{name}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   372
\rail@nextplus{1}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   373
\rail@endplus
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   374
\rail@end
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   375
\end{railoutput}
42617
77d239840285 more precise rail diagrams;
wenzelm
parents: 42596
diff changeset
   376
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   377
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   378
  Note that the syntax of antiquotations may \emph{not} include source
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   379
  comments \verb|(*|~\isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{5C3C646F74733E}{\isasymdots}}{\isaliteral{22}{\isachardoublequote}}}~\verb|*)| nor verbatim
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   380
  text \verb|{|\verb|*|~\isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{5C3C646F74733E}{\isasymdots}}{\isaliteral{22}{\isachardoublequote}}}~\verb|*|\verb|}|.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   381
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   382
  \begin{description}
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   383
  
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   384
  \item \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{40}{\isacharat}}{\isaliteral{7B}{\isacharbraceleft}}theory\ A{\isaliteral{7D}{\isacharbraceright}}{\isaliteral{22}{\isachardoublequote}}} prints the name \isa{{\isaliteral{22}{\isachardoublequote}}A{\isaliteral{22}{\isachardoublequote}}}, which is
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   385
  guaranteed to refer to a valid ancestor theory in the current
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   386
  context.
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   387
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   388
  \item \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{40}{\isacharat}}{\isaliteral{7B}{\isacharbraceleft}}thm\ a\isaliteral{5C3C5E7375623E}{}\isactrlsub {\isadigit{1}}\ {\isaliteral{5C3C646F74733E}{\isasymdots}}\ a\isaliteral{5C3C5E7375623E}{}\isactrlsub n{\isaliteral{7D}{\isacharbraceright}}{\isaliteral{22}{\isachardoublequote}}} prints theorems \isa{{\isaliteral{22}{\isachardoublequote}}a\isaliteral{5C3C5E7375623E}{}\isactrlsub {\isadigit{1}}\ {\isaliteral{5C3C646F74733E}{\isasymdots}}\ a\isaliteral{5C3C5E7375623E}{}\isactrlsub n{\isaliteral{22}{\isachardoublequote}}}.
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   389
  Full fact expressions are allowed here, including attributes
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   390
  (\secref{sec:syn-att}).
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   391
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   392
  \item \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{40}{\isacharat}}{\isaliteral{7B}{\isacharbraceleft}}prop\ {\isaliteral{5C3C7068693E}{\isasymphi}}{\isaliteral{7D}{\isacharbraceright}}{\isaliteral{22}{\isachardoublequote}}} prints a well-typed proposition \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{5C3C7068693E}{\isasymphi}}{\isaliteral{22}{\isachardoublequote}}}.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   393
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   394
  \item \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{40}{\isacharat}}{\isaliteral{7B}{\isacharbraceleft}}lemma\ {\isaliteral{5C3C7068693E}{\isasymphi}}\ by\ m{\isaliteral{7D}{\isacharbraceright}}{\isaliteral{22}{\isachardoublequote}}} proves a well-typed proposition
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   395
  \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{5C3C7068693E}{\isasymphi}}{\isaliteral{22}{\isachardoublequote}}} by method \isa{m} and prints the original \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{5C3C7068693E}{\isasymphi}}{\isaliteral{22}{\isachardoublequote}}}.
27453
eecd9d84e41b added lemma antiquotation
haftmann
parents: 27054
diff changeset
   396
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   397
  \item \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{40}{\isacharat}}{\isaliteral{7B}{\isacharbraceleft}}term\ t{\isaliteral{7D}{\isacharbraceright}}{\isaliteral{22}{\isachardoublequote}}} prints a well-typed term \isa{{\isaliteral{22}{\isachardoublequote}}t{\isaliteral{22}{\isachardoublequote}}}.
43613
7afbaf5a406b adding a minimalistic documentation of the value antiquotation in the Isar reference manual
bulwahn
parents: 42936
diff changeset
   398
  
7afbaf5a406b adding a minimalistic documentation of the value antiquotation in the Isar reference manual
bulwahn
parents: 42936
diff changeset
   399
  \item \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{40}{\isacharat}}{\isaliteral{7B}{\isacharbraceleft}}value\ t{\isaliteral{7D}{\isacharbraceright}}{\isaliteral{22}{\isachardoublequote}}} evaluates a term \isa{{\isaliteral{22}{\isachardoublequote}}t{\isaliteral{22}{\isachardoublequote}}} and prints its result.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   400
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   401
  \item \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{40}{\isacharat}}{\isaliteral{7B}{\isacharbraceleft}}term{\isaliteral{5F}{\isacharunderscore}}type\ t{\isaliteral{7D}{\isacharbraceright}}{\isaliteral{22}{\isachardoublequote}}} prints a well-typed term \isa{{\isaliteral{22}{\isachardoublequote}}t{\isaliteral{22}{\isachardoublequote}}}
32898
e871d897969c term styles also cover antiquotations term_type and typeof
haftmann
parents: 32893
diff changeset
   402
  annotated with its type.
e871d897969c term styles also cover antiquotations term_type and typeof
haftmann
parents: 32893
diff changeset
   403
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   404
  \item \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{40}{\isacharat}}{\isaliteral{7B}{\isacharbraceleft}}typeof\ t{\isaliteral{7D}{\isacharbraceright}}{\isaliteral{22}{\isachardoublequote}}} prints the type of a well-typed term
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   405
  \isa{{\isaliteral{22}{\isachardoublequote}}t{\isaliteral{22}{\isachardoublequote}}}.
32898
e871d897969c term styles also cover antiquotations term_type and typeof
haftmann
parents: 32893
diff changeset
   406
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   407
  \item \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{40}{\isacharat}}{\isaliteral{7B}{\isacharbraceleft}}const\ c{\isaliteral{7D}{\isacharbraceright}}{\isaliteral{22}{\isachardoublequote}}} prints a logical or syntactic constant
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   408
  \isa{{\isaliteral{22}{\isachardoublequote}}c{\isaliteral{22}{\isachardoublequote}}}.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   409
  
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   410
  \item \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{40}{\isacharat}}{\isaliteral{7B}{\isacharbraceleft}}abbrev\ c\ x\isaliteral{5C3C5E7375623E}{}\isactrlsub {\isadigit{1}}\ {\isaliteral{5C3C646F74733E}{\isasymdots}}\ x\isaliteral{5C3C5E7375623E}{}\isactrlsub n{\isaliteral{7D}{\isacharbraceright}}{\isaliteral{22}{\isachardoublequote}}} prints a constant abbreviation
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   411
  \isa{{\isaliteral{22}{\isachardoublequote}}c\ x\isaliteral{5C3C5E7375623E}{}\isactrlsub {\isadigit{1}}\ {\isaliteral{5C3C646F74733E}{\isasymdots}}\ x\isaliteral{5C3C5E7375623E}{}\isactrlsub n\ {\isaliteral{5C3C65717569763E}{\isasymequiv}}\ rhs{\isaliteral{22}{\isachardoublequote}}} as defined in the current context.
39437
8c23c61c6d5c updated generated file;
wenzelm
parents: 32898
diff changeset
   412
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   413
  \item \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{40}{\isacharat}}{\isaliteral{7B}{\isacharbraceleft}}typ\ {\isaliteral{5C3C7461753E}{\isasymtau}}{\isaliteral{7D}{\isacharbraceright}}{\isaliteral{22}{\isachardoublequote}}} prints a well-formed type \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{5C3C7461753E}{\isasymtau}}{\isaliteral{22}{\isachardoublequote}}}.
39437
8c23c61c6d5c updated generated file;
wenzelm
parents: 32898
diff changeset
   414
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   415
  \item \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{40}{\isacharat}}{\isaliteral{7B}{\isacharbraceleft}}type\ {\isaliteral{5C3C6B617070613E}{\isasymkappa}}{\isaliteral{7D}{\isacharbraceright}}{\isaliteral{22}{\isachardoublequote}}} prints a (logical or syntactic) type
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   416
    constructor \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{5C3C6B617070613E}{\isasymkappa}}{\isaliteral{22}{\isachardoublequote}}}.
39437
8c23c61c6d5c updated generated file;
wenzelm
parents: 32898
diff changeset
   417
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   418
  \item \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{40}{\isacharat}}{\isaliteral{7B}{\isacharbraceleft}}class\ c{\isaliteral{7D}{\isacharbraceright}}{\isaliteral{22}{\isachardoublequote}}} prints a class \isa{c}.
39437
8c23c61c6d5c updated generated file;
wenzelm
parents: 32898
diff changeset
   419
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   420
  \item \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{40}{\isacharat}}{\isaliteral{7B}{\isacharbraceleft}}text\ s{\isaliteral{7D}{\isacharbraceright}}{\isaliteral{22}{\isachardoublequote}}} prints uninterpreted source text \isa{s}.  This is particularly useful to print portions of text according
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   421
  to the Isabelle document style, without demanding well-formedness,
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   422
  e.g.\ small pieces of terms that should not be parsed or
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   423
  type-checked yet.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   424
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   425
  \item \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{40}{\isacharat}}{\isaliteral{7B}{\isacharbraceleft}}goals{\isaliteral{7D}{\isacharbraceright}}{\isaliteral{22}{\isachardoublequote}}} prints the current \emph{dynamic} goal
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   426
  state.  This is mainly for support of tactic-emulation scripts
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   427
  within Isar.  Presentation of goal states does not conform to the
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   428
  idea of human-readable proof documents!
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   429
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   430
  When explaining proofs in detail it is usually better to spell out
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   431
  the reasoning via proper Isar proof commands, instead of peeking at
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   432
  the internal machine configuration.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   433
  
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   434
  \item \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{40}{\isacharat}}{\isaliteral{7B}{\isacharbraceleft}}subgoals{\isaliteral{7D}{\isacharbraceright}}{\isaliteral{22}{\isachardoublequote}}} is similar to \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{40}{\isacharat}}{\isaliteral{7B}{\isacharbraceleft}}goals{\isaliteral{7D}{\isacharbraceright}}{\isaliteral{22}{\isachardoublequote}}}, but
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   435
  does not print the main goal.
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   436
  
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   437
  \item \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{40}{\isacharat}}{\isaliteral{7B}{\isacharbraceleft}}prf\ a\isaliteral{5C3C5E7375623E}{}\isactrlsub {\isadigit{1}}\ {\isaliteral{5C3C646F74733E}{\isasymdots}}\ a\isaliteral{5C3C5E7375623E}{}\isactrlsub n{\isaliteral{7D}{\isacharbraceright}}{\isaliteral{22}{\isachardoublequote}}} prints the (compact) proof terms
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   438
  corresponding to the theorems \isa{{\isaliteral{22}{\isachardoublequote}}a\isaliteral{5C3C5E7375623E}{}\isactrlsub {\isadigit{1}}\ {\isaliteral{5C3C646F74733E}{\isasymdots}}\ a\isaliteral{5C3C5E7375623E}{}\isactrlsub n{\isaliteral{22}{\isachardoublequote}}}. Note that this
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   439
  requires proof terms to be switched on for the current logic
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   440
  session.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   441
  
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   442
  \item \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{40}{\isacharat}}{\isaliteral{7B}{\isacharbraceleft}}full{\isaliteral{5F}{\isacharunderscore}}prf\ a\isaliteral{5C3C5E7375623E}{}\isactrlsub {\isadigit{1}}\ {\isaliteral{5C3C646F74733E}{\isasymdots}}\ a\isaliteral{5C3C5E7375623E}{}\isactrlsub n{\isaliteral{7D}{\isacharbraceright}}{\isaliteral{22}{\isachardoublequote}}} is like \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{40}{\isacharat}}{\isaliteral{7B}{\isacharbraceleft}}prf\ a\isaliteral{5C3C5E7375623E}{}\isactrlsub {\isadigit{1}}\ {\isaliteral{5C3C646F74733E}{\isasymdots}}\ a\isaliteral{5C3C5E7375623E}{}\isactrlsub n{\isaliteral{7D}{\isacharbraceright}}{\isaliteral{22}{\isachardoublequote}}}, but prints the full proof terms, i.e.\ also displays
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   443
  information omitted in the compact proof term, which is denoted by
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   444
  ``\isa{{\isaliteral{5F}{\isacharunderscore}}}'' placeholders there.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   445
  
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   446
  \item \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{40}{\isacharat}}{\isaliteral{7B}{\isacharbraceleft}}ML\ s{\isaliteral{7D}{\isacharbraceright}}{\isaliteral{22}{\isachardoublequote}}}, \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{40}{\isacharat}}{\isaliteral{7B}{\isacharbraceleft}}ML{\isaliteral{5F}{\isacharunderscore}}type\ s{\isaliteral{7D}{\isacharbraceright}}{\isaliteral{22}{\isachardoublequote}}}, and \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{40}{\isacharat}}{\isaliteral{7B}{\isacharbraceleft}}ML{\isaliteral{5F}{\isacharunderscore}}struct\ s{\isaliteral{7D}{\isacharbraceright}}{\isaliteral{22}{\isachardoublequote}}} check text \isa{s} as ML value, type, and
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   447
  structure, respectively.  The source is printed verbatim.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   448
40802
3cd23f676c5b updated generated files;
wenzelm
parents: 40406
diff changeset
   449
  \item \isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{40}{\isacharat}}{\isaliteral{7B}{\isacharbraceleft}}file\ path{\isaliteral{7D}{\isacharbraceright}}{\isaliteral{22}{\isachardoublequote}}} checks that \isa{{\isaliteral{22}{\isachardoublequote}}path{\isaliteral{22}{\isachardoublequote}}} refers to a
3cd23f676c5b updated generated files;
wenzelm
parents: 40406
diff changeset
   450
  file (or directory) and prints it verbatim.
3cd23f676c5b updated generated files;
wenzelm
parents: 40406
diff changeset
   451
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   452
  \end{description}%
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   453
\end{isamarkuptext}%
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   454
\isamarkuptrue%
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   455
%
42936
wenzelm
parents: 42669
diff changeset
   456
\isamarkupsubsection{Styled antiquotations%
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   457
}
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   458
\isamarkuptrue%
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   459
%
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   460
\begin{isamarkuptext}%
32893
dbef0e6438ec updated generated documentation
haftmann
parents: 30397
diff changeset
   461
The antiquotations \isa{thm}, \isa{prop} and \isa{term} admit an extra \emph{style} specification to modify the
dbef0e6438ec updated generated documentation
haftmann
parents: 30397
diff changeset
   462
  printed result.  A style is specified by a name with a possibly
dbef0e6438ec updated generated documentation
haftmann
parents: 30397
diff changeset
   463
  empty number of arguments;  multiple styles can be sequenced with
dbef0e6438ec updated generated documentation
haftmann
parents: 30397
diff changeset
   464
  commas.  The following standard styles are available:
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   465
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   466
  \begin{description}
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   467
  
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   468
  \item \isa{lhs} extracts the first argument of any application
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   469
  form with at least two arguments --- typically meta-level or
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   470
  object-level equality, or any other binary relation.
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   471
  
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   472
  \item \isa{rhs} is like \isa{lhs}, but extracts the second
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   473
  argument.
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   474
  
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   475
  \item \isa{{\isaliteral{22}{\isachardoublequote}}concl{\isaliteral{22}{\isachardoublequote}}} extracts the conclusion \isa{C} from a rule
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   476
  in Horn-clause normal form \isa{{\isaliteral{22}{\isachardoublequote}}A\isaliteral{5C3C5E7375623E}{}\isactrlsub {\isadigit{1}}\ {\isaliteral{5C3C4C6F6E6772696768746172726F773E}{\isasymLongrightarrow}}\ {\isaliteral{5C3C646F74733E}{\isasymdots}}\ A\isaliteral{5C3C5E7375623E}{}\isactrlsub n\ {\isaliteral{5C3C4C6F6E6772696768746172726F773E}{\isasymLongrightarrow}}\ C{\isaliteral{22}{\isachardoublequote}}}.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   477
  
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   478
  \item \isa{{\isaliteral{22}{\isachardoublequote}}prem{\isaliteral{22}{\isachardoublequote}}} \isa{n} extract premise number
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   479
  \isa{{\isaliteral{22}{\isachardoublequote}}n{\isaliteral{22}{\isachardoublequote}}} from from a rule in Horn-clause
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   480
  normal form \isa{{\isaliteral{22}{\isachardoublequote}}A\isaliteral{5C3C5E7375623E}{}\isactrlsub {\isadigit{1}}\ {\isaliteral{5C3C4C6F6E6772696768746172726F773E}{\isasymLongrightarrow}}\ {\isaliteral{5C3C646F74733E}{\isasymdots}}\ A\isaliteral{5C3C5E7375623E}{}\isactrlsub n\ {\isaliteral{5C3C4C6F6E6772696768746172726F773E}{\isasymLongrightarrow}}\ C{\isaliteral{22}{\isachardoublequote}}}
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   481
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   482
  \end{description}%
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   483
\end{isamarkuptext}%
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   484
\isamarkuptrue%
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   485
%
42936
wenzelm
parents: 42669
diff changeset
   486
\isamarkupsubsection{General options%
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   487
}
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   488
\isamarkuptrue%
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   489
%
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   490
\begin{isamarkuptext}%
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   491
The following options are available to tune the printed output
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   492
  of antiquotations.  Note that many of these coincide with global ML
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   493
  flags of the same names.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   494
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   495
  \begin{description}
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   496
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   497
  \item \indexdef{}{antiquotation option}{show\_types}\hypertarget{antiquotation option.show-types}{\hyperlink{antiquotation option.show-types}{\mbox{\isa{show{\isaliteral{5F}{\isacharunderscore}}types}}}}~\isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{3D}{\isacharequal}}\ bool{\isaliteral{22}{\isachardoublequote}}} and
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   498
  \indexdef{}{antiquotation option}{show\_sorts}\hypertarget{antiquotation option.show-sorts}{\hyperlink{antiquotation option.show-sorts}{\mbox{\isa{show{\isaliteral{5F}{\isacharunderscore}}sorts}}}}~\isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{3D}{\isacharequal}}\ bool{\isaliteral{22}{\isachardoublequote}}} control
30397
b6212ae21656 markup antiquotation options;
wenzelm
parents: 30172
diff changeset
   499
  printing of explicit type and sort constraints.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   500
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   501
  \item \indexdef{}{antiquotation option}{show\_structs}\hypertarget{antiquotation option.show-structs}{\hyperlink{antiquotation option.show-structs}{\mbox{\isa{show{\isaliteral{5F}{\isacharunderscore}}structs}}}}~\isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{3D}{\isacharequal}}\ bool{\isaliteral{22}{\isachardoublequote}}}
30397
b6212ae21656 markup antiquotation options;
wenzelm
parents: 30172
diff changeset
   502
  controls printing of implicit structures.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   503
40879
ca132ef44944 configuration option "show_abbrevs" supersedes print mode "no_abbrevs", with inverted meaning;
wenzelm
parents: 40802
diff changeset
   504
  \item \indexdef{}{antiquotation option}{show\_abbrevs}\hypertarget{antiquotation option.show-abbrevs}{\hyperlink{antiquotation option.show-abbrevs}{\mbox{\isa{show{\isaliteral{5F}{\isacharunderscore}}abbrevs}}}}~\isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{3D}{\isacharequal}}\ bool{\isaliteral{22}{\isachardoublequote}}}
ca132ef44944 configuration option "show_abbrevs" supersedes print mode "no_abbrevs", with inverted meaning;
wenzelm
parents: 40802
diff changeset
   505
  controls folding of abbreviations.
ca132ef44944 configuration option "show_abbrevs" supersedes print mode "no_abbrevs", with inverted meaning;
wenzelm
parents: 40802
diff changeset
   506
42669
04dfffda5671 more conventional naming scheme: names_long, names_short, names_unique;
wenzelm
parents: 42662
diff changeset
   507
  \item \indexdef{}{antiquotation option}{names\_long}\hypertarget{antiquotation option.names-long}{\hyperlink{antiquotation option.names-long}{\mbox{\isa{names{\isaliteral{5F}{\isacharunderscore}}long}}}}~\isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{3D}{\isacharequal}}\ bool{\isaliteral{22}{\isachardoublequote}}} forces
30397
b6212ae21656 markup antiquotation options;
wenzelm
parents: 30172
diff changeset
   508
  names of types and constants etc.\ to be printed in their fully
b6212ae21656 markup antiquotation options;
wenzelm
parents: 30172
diff changeset
   509
  qualified internal form.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   510
42669
04dfffda5671 more conventional naming scheme: names_long, names_short, names_unique;
wenzelm
parents: 42662
diff changeset
   511
  \item \indexdef{}{antiquotation option}{names\_short}\hypertarget{antiquotation option.names-short}{\hyperlink{antiquotation option.names-short}{\mbox{\isa{names{\isaliteral{5F}{\isacharunderscore}}short}}}}~\isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{3D}{\isacharequal}}\ bool{\isaliteral{22}{\isachardoublequote}}}
30397
b6212ae21656 markup antiquotation options;
wenzelm
parents: 30172
diff changeset
   512
  forces names of types and constants etc.\ to be printed unqualified.
b6212ae21656 markup antiquotation options;
wenzelm
parents: 30172
diff changeset
   513
  Note that internalizing the output again in the current context may
b6212ae21656 markup antiquotation options;
wenzelm
parents: 30172
diff changeset
   514
  well yield a different result.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   515
42669
04dfffda5671 more conventional naming scheme: names_long, names_short, names_unique;
wenzelm
parents: 42662
diff changeset
   516
  \item \indexdef{}{antiquotation option}{names\_unique}\hypertarget{antiquotation option.names-unique}{\hyperlink{antiquotation option.names-unique}{\mbox{\isa{names{\isaliteral{5F}{\isacharunderscore}}unique}}}}~\isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{3D}{\isacharequal}}\ bool{\isaliteral{22}{\isachardoublequote}}}
30397
b6212ae21656 markup antiquotation options;
wenzelm
parents: 30172
diff changeset
   517
  determines whether the printed version of qualified names should be
b6212ae21656 markup antiquotation options;
wenzelm
parents: 30172
diff changeset
   518
  made sufficiently long to avoid overlap with names declared further
b6212ae21656 markup antiquotation options;
wenzelm
parents: 30172
diff changeset
   519
  back.  Set to \isa{false} for more concise output.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   520
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   521
  \item \indexdef{}{antiquotation option}{eta\_contract}\hypertarget{antiquotation option.eta-contract}{\hyperlink{antiquotation option.eta-contract}{\mbox{\isa{eta{\isaliteral{5F}{\isacharunderscore}}contract}}}}~\isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{3D}{\isacharequal}}\ bool{\isaliteral{22}{\isachardoublequote}}}
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   522
  prints terms in \isa{{\isaliteral{5C3C6574613E}{\isasymeta}}}-contracted form.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   523
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   524
  \item \indexdef{}{antiquotation option}{display}\hypertarget{antiquotation option.display}{\hyperlink{antiquotation option.display}{\mbox{\isa{display}}}}~\isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{3D}{\isacharequal}}\ bool{\isaliteral{22}{\isachardoublequote}}} indicates
30397
b6212ae21656 markup antiquotation options;
wenzelm
parents: 30172
diff changeset
   525
  if the text is to be output as multi-line ``display material'',
b6212ae21656 markup antiquotation options;
wenzelm
parents: 30172
diff changeset
   526
  rather than a small piece of text without line breaks (which is the
b6212ae21656 markup antiquotation options;
wenzelm
parents: 30172
diff changeset
   527
  default).
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   528
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   529
  In this mode the embedded entities are printed in the same style as
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   530
  the main theory text.
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   531
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   532
  \item \indexdef{}{antiquotation option}{break}\hypertarget{antiquotation option.break}{\hyperlink{antiquotation option.break}{\mbox{\isa{break}}}}~\isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{3D}{\isacharequal}}\ bool{\isaliteral{22}{\isachardoublequote}}} controls
30397
b6212ae21656 markup antiquotation options;
wenzelm
parents: 30172
diff changeset
   533
  line breaks in non-display material.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   534
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   535
  \item \indexdef{}{antiquotation option}{quotes}\hypertarget{antiquotation option.quotes}{\hyperlink{antiquotation option.quotes}{\mbox{\isa{quotes}}}}~\isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{3D}{\isacharequal}}\ bool{\isaliteral{22}{\isachardoublequote}}} indicates
30397
b6212ae21656 markup antiquotation options;
wenzelm
parents: 30172
diff changeset
   536
  if the output should be enclosed in double quotes.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   537
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   538
  \item \indexdef{}{antiquotation option}{mode}\hypertarget{antiquotation option.mode}{\hyperlink{antiquotation option.mode}{\mbox{\isa{mode}}}}~\isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{3D}{\isacharequal}}\ name{\isaliteral{22}{\isachardoublequote}}} adds \isa{name} to the print mode to be used for presentation.  Note that the
30397
b6212ae21656 markup antiquotation options;
wenzelm
parents: 30172
diff changeset
   539
  standard setup for {\LaTeX} output is already present by default,
b6212ae21656 markup antiquotation options;
wenzelm
parents: 30172
diff changeset
   540
  including the modes \isa{latex} and \isa{xsymbols}.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   541
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   542
  \item \indexdef{}{antiquotation option}{margin}\hypertarget{antiquotation option.margin}{\hyperlink{antiquotation option.margin}{\mbox{\isa{margin}}}}~\isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{3D}{\isacharequal}}\ nat{\isaliteral{22}{\isachardoublequote}}} and
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   543
  \indexdef{}{antiquotation option}{indent}\hypertarget{antiquotation option.indent}{\hyperlink{antiquotation option.indent}{\mbox{\isa{indent}}}}~\isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{3D}{\isacharequal}}\ nat{\isaliteral{22}{\isachardoublequote}}} change the margin
30397
b6212ae21656 markup antiquotation options;
wenzelm
parents: 30172
diff changeset
   544
  or indentation for pretty printing of display material.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   545
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   546
  \item \indexdef{}{antiquotation option}{goals\_limit}\hypertarget{antiquotation option.goals-limit}{\hyperlink{antiquotation option.goals-limit}{\mbox{\isa{goals{\isaliteral{5F}{\isacharunderscore}}limit}}}}~\isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{3D}{\isacharequal}}\ nat{\isaliteral{22}{\isachardoublequote}}}
30397
b6212ae21656 markup antiquotation options;
wenzelm
parents: 30172
diff changeset
   547
  determines the maximum number of goals to be printed (for goal-based
b6212ae21656 markup antiquotation options;
wenzelm
parents: 30172
diff changeset
   548
  antiquotation).
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   549
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   550
  \item \indexdef{}{antiquotation option}{source}\hypertarget{antiquotation option.source}{\hyperlink{antiquotation option.source}{\mbox{\isa{source}}}}~\isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{3D}{\isacharequal}}\ bool{\isaliteral{22}{\isachardoublequote}}} prints the
30397
b6212ae21656 markup antiquotation options;
wenzelm
parents: 30172
diff changeset
   551
  original source text of the antiquotation arguments, rather than its
b6212ae21656 markup antiquotation options;
wenzelm
parents: 30172
diff changeset
   552
  internal representation.  Note that formal checking of
b6212ae21656 markup antiquotation options;
wenzelm
parents: 30172
diff changeset
   553
  \hyperlink{antiquotation.thm}{\mbox{\isa{thm}}}, \hyperlink{antiquotation.term}{\mbox{\isa{term}}}, etc. is still
b6212ae21656 markup antiquotation options;
wenzelm
parents: 30172
diff changeset
   554
  enabled; use the \hyperlink{antiquotation.text}{\mbox{\isa{text}}} antiquotation for unchecked
b6212ae21656 markup antiquotation options;
wenzelm
parents: 30172
diff changeset
   555
  output.
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   556
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   557
  Regular \isa{{\isaliteral{22}{\isachardoublequote}}term{\isaliteral{22}{\isachardoublequote}}} and \isa{{\isaliteral{22}{\isachardoublequote}}typ{\isaliteral{22}{\isachardoublequote}}} antiquotations with \isa{{\isaliteral{22}{\isachardoublequote}}source\ {\isaliteral{3D}{\isacharequal}}\ false{\isaliteral{22}{\isachardoublequote}}} involve a full round-trip from the original source
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   558
  to an internalized logical entity back to a source form, according
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   559
  to the syntax of the current context.  Thus the printed output is
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   560
  not under direct control of the author, it may even fluctuate a bit
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   561
  as the underlying theory is changed later on.
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   562
42626
6ac8c55c657e eliminated some duplicate "def" positions;
wenzelm
parents: 42617
diff changeset
   563
  In contrast, \hyperlink{antiquotation option.source}{\mbox{\isa{source}}}~\isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{3D}{\isacharequal}}\ true{\isaliteral{22}{\isachardoublequote}}}
30397
b6212ae21656 markup antiquotation options;
wenzelm
parents: 30172
diff changeset
   564
  admits direct printing of the given source text, with the desirable
b6212ae21656 markup antiquotation options;
wenzelm
parents: 30172
diff changeset
   565
  well-formedness check in the background, but without modification of
b6212ae21656 markup antiquotation options;
wenzelm
parents: 30172
diff changeset
   566
  the printed text.
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   567
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   568
  \end{description}
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   569
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   570
  For boolean flags, ``\isa{{\isaliteral{22}{\isachardoublequote}}name\ {\isaliteral{3D}{\isacharequal}}\ true{\isaliteral{22}{\isachardoublequote}}}'' may be abbreviated as
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   571
  ``\isa{name}''.  All of the above flags are disabled by default,
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   572
  unless changed from ML, say in the \verb|ROOT.ML| of the
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   573
  logic session.%
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   574
\end{isamarkuptext}%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   575
\isamarkuptrue%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   576
%
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   577
\isamarkupsection{Markup via command tags \label{sec:tags}%
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   578
}
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   579
\isamarkuptrue%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   580
%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   581
\begin{isamarkuptext}%
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   582
Each Isabelle/Isar command may be decorated by additional
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   583
  presentation tags, to indicate some modification in the way it is
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   584
  printed in the document.
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   585
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   586
  \begin{railoutput}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   587
\rail@begin{2}{\indexdef{}{syntax}{tags}\hypertarget{syntax.tags}{\hyperlink{syntax.tags}{\mbox{\isa{tags}}}}}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   588
\rail@plus
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   589
\rail@nextplus{1}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   590
\rail@cnont{\isa{tag}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   591
\rail@endplus
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   592
\rail@end
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   593
\rail@begin{2}{\isa{tag}}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   594
\rail@term{\isa{{\isaliteral{25}{\isacharpercent}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   595
\rail@bar
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   596
\rail@nont{\hyperlink{syntax.ident}{\mbox{\isa{ident}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   597
\rail@nextbar{1}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   598
\rail@nont{\hyperlink{syntax.string}{\mbox{\isa{string}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   599
\rail@endbar
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   600
\rail@end
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   601
\end{railoutput}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   602
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   603
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   604
  Some tags are pre-declared for certain classes of commands, serving
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   605
  as default markup if no tags are given in the text:
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   606
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   607
  \medskip
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   608
  \begin{tabular}{ll}
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   609
    \isa{{\isaliteral{22}{\isachardoublequote}}theory{\isaliteral{22}{\isachardoublequote}}} & theory begin/end \\
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   610
    \isa{{\isaliteral{22}{\isachardoublequote}}proof{\isaliteral{22}{\isachardoublequote}}} & all proof commands \\
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   611
    \isa{{\isaliteral{22}{\isachardoublequote}}ML{\isaliteral{22}{\isachardoublequote}}} & all commands involving ML code \\
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   612
  \end{tabular}
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   613
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   614
  \medskip The Isabelle document preparation system
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   615
  \cite{isabelle-sys} allows tagged command regions to be presented
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   616
  specifically, e.g.\ to fold proof texts, or drop parts of the text
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   617
  completely.
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   618
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   619
  For example ``\hyperlink{command.by}{\mbox{\isa{\isacommand{by}}}}~\isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{25}{\isacharpercent}}invisible\ auto{\isaliteral{22}{\isachardoublequote}}}'' causes
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   620
  that piece of proof to be treated as \isa{invisible} instead of
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   621
  \isa{{\isaliteral{22}{\isachardoublequote}}proof{\isaliteral{22}{\isachardoublequote}}} (the default), which may be shown or hidden
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   622
  depending on the document setup.  In contrast, ``\hyperlink{command.by}{\mbox{\isa{\isacommand{by}}}}~\isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{25}{\isacharpercent}}visible\ auto{\isaliteral{22}{\isachardoublequote}}}'' forces this text to be shown
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   623
  invariably.
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   624
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   625
  Explicit tag specifications within a proof apply to all subsequent
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   626
  commands of the same level of nesting.  For example, ``\hyperlink{command.proof}{\mbox{\isa{\isacommand{proof}}}}~\isa{{\isaliteral{22}{\isachardoublequote}}{\isaliteral{25}{\isacharpercent}}visible\ {\isaliteral{5C3C646F74733E}{\isasymdots}}{\isaliteral{22}{\isachardoublequote}}}~\hyperlink{command.qed}{\mbox{\isa{\isacommand{qed}}}}'' forces the whole
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   627
  sub-proof to be typeset as \isa{visible} (unless some of its parts
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   628
  are tagged differently).
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   629
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   630
  \medskip Command tags merely produce certain markup environments for
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   631
  type-setting.  The meaning of these is determined by {\LaTeX}
40802
3cd23f676c5b updated generated files;
wenzelm
parents: 40406
diff changeset
   632
  macros, as defined in \verb|~~/lib/texinputs/isabelle.sty| or
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   633
  by the document author.  The Isabelle document preparation tools
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   634
  also provide some high-level options to specify the meaning of
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   635
  arbitrary tags to ``keep'', ``drop'', or ``fold'' the corresponding
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   636
  parts of the text.  Logic sessions may also specify ``document
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   637
  versions'', where given tags are interpreted in some particular way.
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   638
  Again see \cite{isabelle-sys} for further details.%
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   639
\end{isamarkuptext}%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   640
\isamarkuptrue%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   641
%
42658
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   642
\isamarkupsection{Railroad diagrams%
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   643
}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   644
\isamarkuptrue%
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   645
%
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   646
\begin{isamarkuptext}%
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   647
\begin{matharray}{rcl}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   648
    \indexdef{}{antiquotation}{rail}\hypertarget{antiquotation.rail}{\hyperlink{antiquotation.rail}{\mbox{\isa{rail}}}} & : & \isa{antiquotation} \\
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   649
  \end{matharray}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   650
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   651
  \begin{railoutput}
42662
2080fe35abea updated generated files;
wenzelm
parents: 42658
diff changeset
   652
\rail@begin{1}{}
42658
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   653
\rail@term{\isa{rail}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   654
\rail@nont{\isa{string}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   655
\rail@end
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   656
\end{railoutput}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   657
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   658
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   659
  The \hyperlink{antiquotation.rail}{\mbox{\isa{rail}}} antiquotation allows to include syntax
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   660
  diagrams into Isabelle documents.  {\LaTeX} requires the style file
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   661
  \verb|~~/lib/texinputs/pdfsetup.sty|, which can be used via
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   662
  \verb|\usepackage{pdfsetup}| in \verb|root.tex|, for
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   663
  example.
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   664
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   665
  The rail specification language is quoted here as Isabelle \hyperlink{syntax.string}{\mbox{\isa{string}}}; it has its own grammar given below.
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   666
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   667
  \begin{railoutput}
42662
2080fe35abea updated generated files;
wenzelm
parents: 42658
diff changeset
   668
\rail@begin{3}{}
42658
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   669
\rail@plus
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   670
\rail@bar
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   671
\rail@nextbar{1}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   672
\rail@nont{\isa{rule}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   673
\rail@endbar
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   674
\rail@nextplus{2}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   675
\rail@cterm{\isa{{\isaliteral{3B}{\isacharsemicolon}}}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   676
\rail@endplus
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   677
\rail@end
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   678
\rail@begin{3}{\isa{rule}}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   679
\rail@bar
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   680
\rail@nextbar{1}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   681
\rail@bar
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   682
\rail@nont{\isa{identifier}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   683
\rail@nextbar{2}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   684
\rail@nont{\hyperlink{syntax.antiquotation}{\mbox{\isa{antiquotation}}}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   685
\rail@endbar
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   686
\rail@term{\isa{{\isaliteral{3A}{\isacharcolon}}}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   687
\rail@endbar
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   688
\rail@nont{\isa{body}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   689
\rail@end
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   690
\rail@begin{2}{\isa{body}}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   691
\rail@plus
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   692
\rail@nont{\isa{concatenation}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   693
\rail@nextplus{1}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   694
\rail@cterm{\isa{{\isaliteral{7C}{\isacharbar}}}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   695
\rail@endplus
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   696
\rail@end
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   697
\rail@begin{3}{\isa{concatenation}}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   698
\rail@plus
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   699
\rail@nont{\isa{atom}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   700
\rail@bar
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   701
\rail@nextbar{1}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   702
\rail@term{\isa{{\isaliteral{3F}{\isacharquery}}}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   703
\rail@endbar
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   704
\rail@nextplus{2}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   705
\rail@endplus
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   706
\rail@bar
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   707
\rail@nextbar{1}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   708
\rail@bar
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   709
\rail@term{\isa{{\isaliteral{2A}{\isacharasterisk}}}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   710
\rail@nextbar{2}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   711
\rail@term{\isa{{\isaliteral{2B}{\isacharplus}}}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   712
\rail@endbar
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   713
\rail@bar
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   714
\rail@nextbar{2}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   715
\rail@nont{\isa{atom}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   716
\rail@endbar
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   717
\rail@endbar
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   718
\rail@end
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   719
\rail@begin{6}{\isa{atom}}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   720
\rail@bar
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   721
\rail@term{\isa{{\isaliteral{28}{\isacharparenleft}}}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   722
\rail@bar
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   723
\rail@nextbar{1}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   724
\rail@nont{\isa{body}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   725
\rail@endbar
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   726
\rail@term{\isa{{\isaliteral{29}{\isacharparenright}}}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   727
\rail@nextbar{2}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   728
\rail@nont{\isa{identifier}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   729
\rail@nextbar{3}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   730
\rail@bar
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   731
\rail@nextbar{4}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   732
\rail@term{\isa{{\isaliteral{40}{\isacharat}}}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   733
\rail@endbar
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   734
\rail@bar
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   735
\rail@nont{\isa{string}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   736
\rail@nextbar{4}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   737
\rail@nont{\hyperlink{syntax.antiquotation}{\mbox{\isa{antiquotation}}}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   738
\rail@endbar
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   739
\rail@nextbar{5}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   740
\rail@term{\isa{{\isaliteral{5C}{\isacharbackslash}}{\isaliteral{5C}{\isacharbackslash}}}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   741
\rail@endbar
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   742
\rail@end
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   743
\end{railoutput}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   744
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   745
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   746
  The lexical syntax of \isa{{\isaliteral{22}{\isachardoublequote}}identifier{\isaliteral{22}{\isachardoublequote}}} coincides with that of
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   747
  \hyperlink{syntax.ident}{\mbox{\isa{ident}}} in regular Isabelle syntax, but \isa{string} uses
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   748
  single quotes instead of double quotes of the standard \hyperlink{syntax.string}{\mbox{\isa{string}}} category, to avoid extra escapes.
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   749
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   750
  Each \isa{rule} defines a formal language (with optional name),
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   751
  using a notation that is similar to EBNF or regular expressions with
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   752
  recursion.  The meaning and visual appearance of these rail language
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   753
  elements is illustrated by the following representative examples.
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   754
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   755
  \begin{itemize}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   756
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   757
  \item Empty \verb|()|
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   758
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   759
  \begin{railoutput}
42662
2080fe35abea updated generated files;
wenzelm
parents: 42658
diff changeset
   760
\rail@begin{1}{}
42658
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   761
\rail@end
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   762
\end{railoutput}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   763
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   764
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   765
  \item Nonterminal \verb|A|
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   766
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   767
  \begin{railoutput}
42662
2080fe35abea updated generated files;
wenzelm
parents: 42658
diff changeset
   768
\rail@begin{1}{}
42658
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   769
\rail@nont{\isa{A}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   770
\rail@end
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   771
\end{railoutput}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   772
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   773
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   774
  \item Nonterminal via Isabelle antiquotation
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   775
  \verb|@{syntax method}|
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   776
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   777
  \begin{railoutput}
42662
2080fe35abea updated generated files;
wenzelm
parents: 42658
diff changeset
   778
\rail@begin{1}{}
42658
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   779
\rail@nont{\hyperlink{syntax.method}{\mbox{\isa{method}}}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   780
\rail@end
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   781
\end{railoutput}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   782
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   783
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   784
  \item Terminal \verb|'xyz'|
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   785
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   786
  \begin{railoutput}
42662
2080fe35abea updated generated files;
wenzelm
parents: 42658
diff changeset
   787
\rail@begin{1}{}
42658
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   788
\rail@term{\isa{xyz}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   789
\rail@end
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   790
\end{railoutput}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   791
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   792
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   793
  \item Terminal in keyword style \verb|@'xyz'|
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   794
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   795
  \begin{railoutput}
42662
2080fe35abea updated generated files;
wenzelm
parents: 42658
diff changeset
   796
\rail@begin{1}{}
42658
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   797
\rail@term{\isa{\isakeyword{xyz}}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   798
\rail@end
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   799
\end{railoutput}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   800
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   801
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   802
  \item Terminal via Isabelle antiquotation
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   803
  \verb|@@{method rule}|
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   804
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   805
  \begin{railoutput}
42662
2080fe35abea updated generated files;
wenzelm
parents: 42658
diff changeset
   806
\rail@begin{1}{}
42658
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   807
\rail@term{\hyperlink{method.rule}{\mbox{\isa{rule}}}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   808
\rail@end
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   809
\end{railoutput}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   810
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   811
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   812
  \item Concatenation \verb|A B C|
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   813
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   814
  \begin{railoutput}
42662
2080fe35abea updated generated files;
wenzelm
parents: 42658
diff changeset
   815
\rail@begin{1}{}
42658
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   816
\rail@nont{\isa{A}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   817
\rail@nont{\isa{B}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   818
\rail@nont{\isa{C}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   819
\rail@end
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   820
\end{railoutput}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   821
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   822
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   823
  \item Linebreak \verb|\\| inside
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   824
  concatenation\footnote{Strictly speaking, this is only a single
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   825
  backslash, but the enclosing \hyperlink{syntax.string}{\mbox{\isa{string}}} syntax requires a
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   826
  second one for escaping.} \verb|A B C \\ D E F|
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   827
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   828
  \begin{railoutput}
42662
2080fe35abea updated generated files;
wenzelm
parents: 42658
diff changeset
   829
\rail@begin{3}{}
42658
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   830
\rail@nont{\isa{A}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   831
\rail@nont{\isa{B}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   832
\rail@nont{\isa{C}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   833
\rail@cr{2}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   834
\rail@nont{\isa{D}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   835
\rail@nont{\isa{E}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   836
\rail@nont{\isa{F}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   837
\rail@end
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   838
\end{railoutput}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   839
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   840
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   841
  \item Variants \verb|A |\verb,|,\verb| B |\verb,|,\verb| C|
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   842
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   843
  \begin{railoutput}
42662
2080fe35abea updated generated files;
wenzelm
parents: 42658
diff changeset
   844
\rail@begin{3}{}
42658
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   845
\rail@bar
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   846
\rail@nont{\isa{A}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   847
\rail@nextbar{1}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   848
\rail@nont{\isa{B}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   849
\rail@nextbar{2}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   850
\rail@nont{\isa{C}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   851
\rail@endbar
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   852
\rail@end
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   853
\end{railoutput}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   854
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   855
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   856
  \item Option \verb|A ?|
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   857
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   858
  \begin{railoutput}
42662
2080fe35abea updated generated files;
wenzelm
parents: 42658
diff changeset
   859
\rail@begin{2}{}
42658
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   860
\rail@bar
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   861
\rail@nextbar{1}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   862
\rail@nont{\isa{A}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   863
\rail@endbar
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   864
\rail@end
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   865
\end{railoutput}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   866
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   867
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   868
  \item Repetition \verb|A *|
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   869
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   870
  \begin{railoutput}
42662
2080fe35abea updated generated files;
wenzelm
parents: 42658
diff changeset
   871
\rail@begin{2}{}
42658
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   872
\rail@plus
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   873
\rail@nextplus{1}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   874
\rail@cnont{\isa{A}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   875
\rail@endplus
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   876
\rail@end
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   877
\end{railoutput}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   878
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   879
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   880
  \item Repetition with separator \verb|A * sep|
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   881
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   882
  \begin{railoutput}
42662
2080fe35abea updated generated files;
wenzelm
parents: 42658
diff changeset
   883
\rail@begin{3}{}
42658
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   884
\rail@bar
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   885
\rail@nextbar{1}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   886
\rail@plus
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   887
\rail@nont{\isa{A}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   888
\rail@nextplus{2}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   889
\rail@cnont{\isa{sep}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   890
\rail@endplus
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   891
\rail@endbar
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   892
\rail@end
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   893
\end{railoutput}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   894
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   895
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   896
  \item Strict repetition \verb|A +|
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   897
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   898
  \begin{railoutput}
42662
2080fe35abea updated generated files;
wenzelm
parents: 42658
diff changeset
   899
\rail@begin{2}{}
42658
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   900
\rail@plus
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   901
\rail@nont{\isa{A}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   902
\rail@nextplus{1}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   903
\rail@endplus
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   904
\rail@end
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   905
\end{railoutput}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   906
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   907
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   908
  \item Strict repetition with separator \verb|A + sep|
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   909
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   910
  \begin{railoutput}
42662
2080fe35abea updated generated files;
wenzelm
parents: 42658
diff changeset
   911
\rail@begin{2}{}
42658
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   912
\rail@plus
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   913
\rail@nont{\isa{A}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   914
\rail@nextplus{1}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   915
\rail@cnont{\isa{sep}}[]
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   916
\rail@endplus
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   917
\rail@end
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   918
\end{railoutput}
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   919
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   920
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   921
  \end{itemize}%
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   922
\end{isamarkuptext}%
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   923
\isamarkuptrue%
8f5d5d71add0 some documentation of @{rail} antiquotation;
wenzelm
parents: 42651
diff changeset
   924
%
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   925
\isamarkupsection{Draft presentation%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   926
}
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   927
\isamarkuptrue%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   928
%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   929
\begin{isamarkuptext}%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   930
\begin{matharray}{rcl}
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   931
    \indexdef{}{command}{display\_drafts}\hypertarget{command.display-drafts}{\hyperlink{command.display-drafts}{\mbox{\isa{\isacommand{display{\isaliteral{5F}{\isacharunderscore}}drafts}}}}}\isa{{\isaliteral{22}{\isachardoublequote}}\isaliteral{5C3C5E7375703E}{}\isactrlsup {\isaliteral{2A}{\isacharasterisk}}{\isaliteral{22}{\isachardoublequote}}} & : & \isa{{\isaliteral{22}{\isachardoublequote}}any\ {\isaliteral{5C3C72696768746172726F773E}{\isasymrightarrow}}{\isaliteral{22}{\isachardoublequote}}} \\
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   932
    \indexdef{}{command}{print\_drafts}\hypertarget{command.print-drafts}{\hyperlink{command.print-drafts}{\mbox{\isa{\isacommand{print{\isaliteral{5F}{\isacharunderscore}}drafts}}}}}\isa{{\isaliteral{22}{\isachardoublequote}}\isaliteral{5C3C5E7375703E}{}\isactrlsup {\isaliteral{2A}{\isacharasterisk}}{\isaliteral{22}{\isachardoublequote}}} & : & \isa{{\isaliteral{22}{\isachardoublequote}}any\ {\isaliteral{5C3C72696768746172726F773E}{\isasymrightarrow}}{\isaliteral{22}{\isachardoublequote}}} \\
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   933
  \end{matharray}
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   934
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   935
  \begin{railoutput}
42662
2080fe35abea updated generated files;
wenzelm
parents: 42658
diff changeset
   936
\rail@begin{2}{}
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   937
\rail@bar
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   938
\rail@term{\hyperlink{command.display-drafts}{\mbox{\isa{\isacommand{display{\isaliteral{5F}{\isacharunderscore}}drafts}}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   939
\rail@nextbar{1}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   940
\rail@term{\hyperlink{command.print-drafts}{\mbox{\isa{\isacommand{print{\isaliteral{5F}{\isacharunderscore}}drafts}}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   941
\rail@endbar
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   942
\rail@plus
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   943
\rail@nont{\hyperlink{syntax.name}{\mbox{\isa{name}}}}[]
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   944
\rail@nextplus{1}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   945
\rail@endplus
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   946
\rail@end
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   947
\end{railoutput}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 40879
diff changeset
   948
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   949
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   950
  \begin{description}
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   951
40406
313a24b66a8d updated generated files;
wenzelm
parents: 40255
diff changeset
   952
  \item \hyperlink{command.display-drafts}{\mbox{\isa{\isacommand{display{\isaliteral{5F}{\isacharunderscore}}drafts}}}}~\isa{paths} and \hyperlink{command.print-drafts}{\mbox{\isa{\isacommand{print{\isaliteral{5F}{\isacharunderscore}}drafts}}}}~\isa{paths} perform simple output of a given list
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   953
  of raw source files.  Only those symbols that do not require
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   954
  additional {\LaTeX} packages are displayed properly, everything else
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   955
  is left verbatim.
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   956
28788
ff9d8a8932e4 updated generated files;
wenzelm
parents: 28505
diff changeset
   957
  \end{description}%
27042
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   958
\end{isamarkuptext}%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   959
\isamarkuptrue%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   960
%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   961
\isadelimtheory
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   962
%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   963
\endisadelimtheory
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   964
%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   965
\isatagtheory
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   966
\isacommand{end}\isamarkupfalse%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   967
%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   968
\endisatagtheory
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   969
{\isafoldtheory}%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   970
%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   971
\isadelimtheory
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   972
%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   973
\endisadelimtheory
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   974
\isanewline
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   975
\end{isabellebody}%
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   976
%%% Local Variables:
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   977
%%% mode: latex
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   978
%%% TeX-master: "root"
8fcf19f2168b updated generated file;
wenzelm
parents:
diff changeset
   979
%%% End: