# HG changeset patch # User wenzelm # Date 1445193836 -7200 # Node ID 6cc07122ca1486f8ed268c78fea2a3bc563177dd # Parent 34d1913f0b208c865246af02780da2e89e700dd7 clarified; diff -r 34d1913f0b20 -r 6cc07122ca14 src/Doc/Isar_Ref/Document_Preparation.thy --- a/src/Doc/Isar_Ref/Document_Preparation.thy Sun Oct 18 20:28:29 2015 +0200 +++ b/src/Doc/Isar_Ref/Document_Preparation.thy Sun Oct 18 20:43:56 2015 +0200 @@ -134,15 +134,18 @@ \<^medskip> Antiquotations are in general written @{verbatim "@{"}@{text "name [options] arguments"}@{verbatim "}"}. The short form @{verbatim - "\<^name>"}@{text "\argument\"} (without surrounding @{verbatim - "@{"}@{text "\"}@{verbatim "}"}) works for a single argument that is a - cartouche. + \\\}@{verbatim "<^"}@{text name}@{verbatim ">"}@{text + "\argument_content\"} (without surrounding @{verbatim "@{"}@{text + "\"}@{verbatim "}"}) works for a single argument that is a cartouche. + \begingroup + \def\isasymcontrolstart{\isatt{\isacharbackslash\isacharless\isacharcircum}} @{rail \ @{syntax_def antiquotation}: - '@' '{' antiquotation_body '}' | - '\\' '<' '^' @{syntax_ref name} '>' @{syntax_ref cartouche} + '@{' antiquotation_body '}' | + '\' @{syntax_ref name} '>' @{syntax_ref cartouche} \} + \endgroup %% FIXME less monolithic presentation, move to individual sections!? @{rail \ @@ -492,7 +495,7 @@ below. \begingroup - \def\isasymnewline{\isatext{\tt\isacharbackslash}} + \def\isasymnewline{\isatt{\isacharbackslash\isacharless newline\isachargreater}} @{rail \ rule? + ';' ;