diff -r 4ce2f7607d3d -r 3db1bbc82d8d src/Doc/IsarRef/Inner_Syntax.thy --- a/src/Doc/IsarRef/Inner_Syntax.thy Tue Apr 09 13:24:00 2013 +0200 +++ b/src/Doc/IsarRef/Inner_Syntax.thy Tue Apr 09 13:55:28 2013 +0200 @@ -377,13 +377,14 @@ The string given as @{text template} may include literal text, spacing, blocks, and arguments (denoted by ``@{text _}''); the special symbol ``@{verbatim "\"}'' (printed as ``@{text "\"}'') - represents an index argument that specifies an implicit - @{text "\"} reference (see also \secref{sec:locale}). Infix and - binder declarations provide common abbreviations for particular mixfix - declarations. So in practice, mixfix templates mostly degenerate to - literal text for concrete syntax, such as ``@{verbatim "++"}'' for - an infix symbol. -*} + represents an index argument that specifies an implicit @{keyword + "structure"} reference (see also \secref{sec:locale}). Only locally + fixed variables may be declared as @{keyword "structure"}. + + Infix and binder declarations provide common abbreviations for + particular mixfix declarations. So in practice, mixfix templates + mostly degenerate to literal text for concrete syntax, such as + ``@{verbatim "++"}'' for an infix symbol. *} subsection {* The general mixfix form *} @@ -836,7 +837,7 @@ of @{syntax (inner) logic}. \item @{syntax_ref (inner) index} denotes an optional index term for - indexed syntax. If omitted, it refers to the first @{keyword + indexed syntax. If omitted, it refers to the first @{keyword_ref "structure"} variable in the context. The special dummy ``@{text "\"}'' serves as pattern variable in mixfix annotations that introduce indexed notation.