From 374ad175fd3308fe6510a6337a438c2df068b782 Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Fri, 14 Jan 2011 12:42:08 +0000 Subject: 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 --- Build/source/texk/web2c/alephdir/eobase.ch | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'Build/source/texk/web2c/alephdir/eobase.ch') 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 -- cgit v1.2.3