diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-01-14 12:42:08 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-01-14 12:42:08 +0000 |
commit | 374ad175fd3308fe6510a6337a438c2df068b782 (patch) | |
tree | 03aee07797daa90c4251afed78a65cab0fe05eab /Build/source/texk/web2c/alephdir/eobase.ch | |
parent | 06939aad980a794e6a68dbc930a3b6f96115dbb2 (diff) |
Mention \protected in eTeX/pdfTeX/XeTeX/Aleph/e-pTeX
error and help messages only when in extended mode
git-svn-id: svn://tug.org/texlive/trunk@21071 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/alephdir/eobase.ch')
-rw-r--r-- | Build/source/texk/web2c/alephdir/eobase.ch | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/alephdir/eobase.ch b/Build/source/texk/web2c/alephdir/eobase.ch index f4d3494938a..35a2e3bf4b4 100644 --- a/Build/source/texk/web2c/alephdir/eobase.ch +++ b/Build/source/texk/web2c/alephdir/eobase.ch @@ -2729,7 +2729,9 @@ or `\.{\\outer}', and it might or might not be expanded. The prefixes @x [49] m.1212 l.22730 - e-TeX protected help1("I'll pretend you didn't say \long or \outer or \global."); @y -help1("I'll pretend you didn't say \long or \outer or \global or \protected."); +help1("I'll pretend you didn't say \long or \outer or \global."); +if eTeX_ex then help_line[0]:=@| + "I'll pretend you didn't say \long or \outer or \global or \protected."; @z %--------------------------------------- @x [49] m.1213 l.22686 - e-TeX protected @@ -2743,14 +2745,19 @@ if a>=8 then else j:=0; if (cur_cmd<>def)and((a mod 4<>0)or(j<>0)) then begin print_err("You can't use `"); print_esc("long"); print("' or `"); - print_esc("outer"); print("' or `"); - print_esc("protected"); print("' with `"); + print_esc("outer"); + help1("I'll pretend you didn't say \long or \outer here."); + if eTeX_ex then + begin help_line[0]:=@| + "I'll pretend you didn't say \long or \outer or \protected here."; + print("' or `"); print_esc("protected"); + end; + print("' with `"); @z %--------------------------------------- @x [49] m.1213 l.22691 - e-TeX protected help1("I'll pretend you didn't say \long or \outer here."); @y - help1("I'll pretend you didn't say \long or \outer or \protected here."); @z %--------------------------------------- @x [49] m.1218 l.22749 - e-TeX protected |