Changeset 8669cd3 for doc/LaTeXmacros
- Timestamp:
- Mar 20, 2018, 4:22:15 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, with_gc
- Children:
- 101a4d2
- Parents:
- 1bdd261 (diff), f810e09 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- doc/LaTeXmacros
- Files:
-
- 2 edited
-
common.tex (modified) (4 diffs)
-
lstlang.sty (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
doc/LaTeXmacros/common.tex
r1bdd261 r8669cd3 11 11 %% Created On : Sat Apr 9 10:06:17 2016 12 12 %% Last Modified By : Peter A. Buhr 13 %% Last Modified On : Thu Mar 15 09:52:27201814 %% Update Count : 37 813 %% Last Modified On : Mon Mar 19 17:18:23 2018 14 %% Update Count : 379 15 15 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 16 16 … … 101 101 % index macros 102 102 \newcommand{\italic}[1]{\emph{\hyperpage{#1}}} 103 \newcommand{\Definition}[1]{\textbf{\hyperpage{#1}}} 103 104 \newcommand{\see}[1]{\emph{see}~#1} 104 105 … … 113 114 \def\impl{\@bsphack\begingroup 114 115 \def\protect##1{\string##1\space}\@sanitize 115 \@wrxref{| definition}}116 \@wrxref{|Definition}} 116 117 \newcommand{\indexcode}[1]{{\lstinline$#1$}} 117 118 \def\use{\@bsphack\begingroup … … 123 124 \if@nobreak \ifvmode\nobreak\fi\fi\@esphack} 124 125 %\newcommand{\use}[1]{\index{#1@{\lstinline$#1$}}} 125 %\newcommand{\impl}[1]{\index{\protect#1@{\lstinline$\protect#1$}| definition}}126 %\newcommand{\impl}[1]{\index{\protect#1@{\lstinline$\protect#1$}|Definition}} 126 127 127 128 % inline text and lowercase index: \Index{inline and lowercase index text} -
doc/LaTeXmacros/lstlang.sty
r1bdd261 r8669cd3 8 8 %% Created On : Sat May 13 16:34:42 2017 9 9 %% Last Modified By : Peter A. Buhr 10 %% Last Modified On : Wed Aug 30 22:11:14 201711 %% Update Count : 1 410 %% Last Modified On : Fri Mar 16 22:18:12 2018 11 %% Update Count : 16 12 12 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 13 13 … … 31 31 \lstdefinelanguage{sml} { 32 32 morekeywords= { 33 EQUAL, GREATER, LESS, NONE, SOME, abstraction, abstype, and, andalso, array, as, before, bool, 34 case, char, datatype, do, else, end, eqtype, exception, exn, false, fn, fun, functor, handle, 35 if, in, include, infix, infixr, int, let, list, local, nil, nonfix, not, o, of, op, open, 36 option, orelse, overload, print, raise, real, rec, ref, sharing, sig, signature, string, struct, 37 structure, substring, then, true, type, unit, val, vector, where, while, with, withtype, word 38 }, 39 morestring=[b]", 40 morecomment=[s]{(*}{*)}, 33 EQUAL, GREATER, LESS, NONE, SOME, abstraction, abstype, and, andalso, array, as, before, 34 bool, case, char, datatype, do, else, end, eqtype, exception, exn, false, fn, fun, functor, 35 handle, if, in, include, infix, infixr, int, let, list, local, nil, nonfix, not, o, of, op, 36 open, option, orelse, overload, print, raise, real, rec, ref, sharing, sig, signature, 37 string, struct, structure, substring, then, true, type, unit, val, vector, where, while, 38 with, withtype, word 39 }, 40 morestring=[b]", 41 morecomment=[s]{(*}{*)}, 41 42 } 42 43 … … 82 83 83 84 \lstdefinelanguage{rust}{ 85 % Keywords 84 86 morekeywords=[1]{ 85 87 abstract, alignof, as, become, box, break, const, continue, crate, do, else, enum, extern, 86 false, final, fn, for, if, impl, in, let, loop, macro, match, mod, move, mut, offsetof,87 override, priv, proc, pub, pure, ref, return, Self, self, sizeof, static, struct, super,88 trait, true, type, typeof, unsafe, unsized, use, virtual, where, while, yield88 false, final, fn, for, if, impl, in, let, loop, macro, match, mod, move, mut, offsetof, 89 override, priv, proc, pub, pure, ref, return, Self, self, sizeof, static, struct, super, 90 trait, true, type, typeof, unsafe, unsized, use, virtual, where, while, yield 89 91 }, 92 % Strings 90 93 morestring=[b]{"}, 94 % Comments 91 95 comment=[l]{//}, 92 96 morecomment=[s]{/*}{*/}, 97 % Options 93 98 sensitive=true 94 99 } 95 100 96 \lstdefinelanguage{ Pseudo}{101 \lstdefinelanguage{pseudo}{ 97 102 morekeywords={string,uint,int,bool,float}, 98 103 sensitive=true,
Note:
See TracChangeset
for help on using the changeset viewer.