weave makes me curious

Wolfgang Helbig helbig at mailbox.org
Sat Sep 12 14:43:01 CEST 2020


Hi Andreas,

> I don't know why weave adds '\1' and '\2' in the first case.  But then I
> also don't know why you'd use the double-comments (of different kinds)
> anyway.

I used the double comments just to demonstrate with a minimal text. To see a real world example, look at section 9 in tex-fpc.pdf of my TeX distribution at

 https://ctan.org/tex-archive/systems/unix/tex-fpc

I found out, that line 3 gets indented, if and only if line 2 does not end with a comment.

> If you add '{}' after '@{...@}' in order to break the lines for each
> 'hard comment', then you should better use
> 
> @{line 1@}@/
> @{line 2@}@/
> begin @{line 3@}@+ end

Thanks for the hint.

Greetings,

Wolfgang Helbig
Stauferstr. 22
71334 Waiblingen
07151 920 227
https://www.stophateforprofit.org




More information about the texhax mailing list.