# HG changeset patch # User wenzelm # Date 1533558586 -7200 # Node ID 29dbf3408021ed1b33cfb2c1fd804995479a6b52 # Parent 2862b585a0db3b2b797e67bfa9200c3c0b2646db updated documentation; diff -r 2862b585a0db -r 29dbf3408021 src/Doc/JEdit/JEdit.thy --- a/src/Doc/JEdit/JEdit.thy Thu Aug 02 16:02:56 2018 +0200 +++ b/src/Doc/JEdit/JEdit.thy Mon Aug 06 14:29:46 2018 +0200 @@ -365,9 +365,9 @@ text \ In distant past, displays with $1024 \times 768$ or $1280 \times 1024$ pixels were considered ``high resolution'' and bitmap fonts with 12 or 14 - pixels as adequate for text rendering. In 2017, we routinely see much higher - resolutions, e.g. ``Full HD'' at $1920 \times 1080$ pixels or ``Ultra HD'' / - ``4K'' at $3840 \times 2160$. + pixels as adequate for text rendering. After 2016, we have routinely seen + much higher resolutions, e.g. ``Full HD'' at $1920 \times 1080$ pixels or + ``Ultra HD'' / ``4K'' at $3840 \times 2160$. GUI frameworks are usually lagging behind, with hard-wired icon sizes and tiny fonts. Java and jEdit do provide reasonable support for very high @@ -1381,14 +1381,20 @@ Completion via abbreviations like \<^verbatim>\ALL\ or \<^verbatim>\-->\ depends on the semantic language context (\secref{sec:completion-context}). In contrast, backslash - sequences like \<^verbatim>\\forall\ \<^verbatim>\\\ are always possible, but require - additional interaction to confirm (via popup). + sequences like \<^verbatim>\\forall\ \<^verbatim>\\\ are always possible, but require additional + interaction to confirm (via popup). This is important in ambiguous + situations, e.g.\ for Isabelle document source, which may contain formal + symbols or informal {\LaTeX} macros. Backslash sequences also help when + input is broken, and thus escapes its normal semantic context: e.g.\ + antiquotations or string literals in ML, which do not allow arbitrary + backslash sequences. - The latter is important in ambiguous situations, e.g.\ for Isabelle document - source, which may contain formal symbols or informal {\LaTeX} macros. - Backslash sequences also help when input is broken, and thus escapes its - normal semantic context: e.g.\ antiquotations or string literals in ML, - which do not allow arbitrary backslash sequences. + Special symbols like \<^verbatim>\\\ or control symbols like \<^verbatim>\\<^cancel>\, + \<^verbatim>\\<^latex>\, \<^verbatim>\\<^binding>\ can have an argument: completing on a name + prefix offers a template with an empty cartouche. Thus completion of \<^verbatim>\\co\ + or \<^verbatim>\\ca\ allows to compose formal document comments quickly.\<^footnote>\It is + customary to put a space between \<^verbatim>\\\ and its argument, while + control symbols do \<^emph>\not\ allow extra space here.\ \ @@ -1889,11 +1895,13 @@ \label{fig:cite-completion} \end{figure} - Isabelle/jEdit also provides some support for editing \<^verbatim>\.bib\ files + Isabelle/jEdit also provides IDE support for editing \<^verbatim>\.bib\ files themselves. There is syntax highlighting based on entry types (according to standard Bib{\TeX} styles), a context-menu to compose entries systematically, and a SideKick tree view of the overall content; see - \figref{fig:bibtex-mode}. + \figref{fig:bibtex-mode}. Semantic checking with errors and warnings is + performed by the original \<^verbatim>\bibtex\ tool using style \<^verbatim>\plain\: different + Bib{\TeX} styles may produce slightly different results. \begin{figure}[!htb] \begin{center} @@ -1902,10 +1910,14 @@ \caption{Bib{\TeX} mode with context menu and SideKick tree view} \label{fig:bibtex-mode} \end{figure} + + Regular document preview (\secref{sec:document-preview}) of \<^verbatim>\.bib\ files + approximates the usual {\LaTeX} bibliography output in HTML (using style + \<^verbatim>\unsort\). \ -section \Document preview\ +section \Document preview \label{sec:document-preview}\ text \ The action @{action_def isabelle.preview} opens an HTML preview of the