diff options
| author | Damien Doligez <damien.doligez-inria.fr> | 2012-02-10 09:11:53 +0000 |
|---|---|---|
| committer | Damien Doligez <damien.doligez-inria.fr> | 2012-02-10 09:11:53 +0000 |
| commit | 53ae65e9448983b930a2729770bc52af106283d7 (patch) | |
| tree | 848ad7a32652e3371d75b2b2ce7ba00607c80ce8 /manual/styles | |
| parent | 0aa5027923451a07c90a47fbd1b7c3a915f7f5ee (diff) | |
| download | ocaml-53ae65e9448983b930a2729770bc52af106283d7.tar.gz | |
PR#5497: source code copy-paste problem with backquote character
git-svn-id: http://caml.inria.fr/svn/ocamldoc/trunk@12145 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'manual/styles')
| -rw-r--r-- | manual/styles/caml-sl.sty | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/manual/styles/caml-sl.sty b/manual/styles/caml-sl.sty index 1f1e8eddfa..a123db8304 100644 --- a/manual/styles/caml-sl.sty +++ b/manual/styles/caml-sl.sty @@ -16,17 +16,16 @@ \def\@eunderline{\egroup\underline{\box0}} {\catcode`'=\active + \catcode``=\active \global\def\caml{ \bgroup \flushleft \parindent 0pt \parskip 0pt \let\do\@makeother\dospecials - \catcode`'=\active - \chardef'=13 - \catcode`\^^M=\active - \catcode`\\=0 - \catcode`\ \active + \catcode13=\active % 13 = ^M = CR + \catcode92=0 % 92 = \ + \catcode32=\active % 32 = SPC \frenchspacing \@vobeyspaces \let\@oldpar\par @@ -36,6 +35,10 @@ \let\<\@bunderline \let\>\@eunderline \let\\\@camlbackslash + \catcode39=\active % 39 = ' + \chardef'=13 + \catcode96=\active % 96 = ` + \chardef`=18 } } |
