I am not talking about spurious usage. Pamphlet files are supposed to contain documentation and explainations. Since they are also LaTeX files in is also common to use %% for free form comments or for temporarily removing some content, etc. For example, if I wanted to write a pamphlet file describing how to use the
)abbrev ... line in Spad source files and giving examples that were not intended to be part of any <<.....>>= ... code chunk, then including such a file could cause hard to diagnose problems in the doc/Makefile On 1 April 2014 20:30, Waldek Hebisch <hebi...@math.uni.wroc.pl> wrote: > Bill Page write: >> >> Scanning pamphlet files means that one has to be careful to avoid >> writting anything in the non-code sections or in inert code sections >> that too closely resembles >> >> )abrev ... >> >> This seems like an unnecessary arbitrary restriction on the contents >> of .spad.pamphlet files. > > IMO the idea that you can write anything in non-code sections is > wrong. Consider simple question about '$Lisp' usage that was > asked recently. Doing > > grep '\$Lisp' *.spad.pamphlet > > gives you good answer except for possible false positives in > non-code parts. False positives may cause trobles, they may > got mangled by global search and replace, etc. > > In case of ')abbrev' lines build system uses them and spurious > one may cause trouble. > It still seems odd to do this, risking false positives when all you would have to do is grep '\$Lisp' *.spad the untangled files in the target src/algebra directory. -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel+unsubscr...@googlegroups.com. To post to this group, send email to fricas-devel@googlegroups.com. Visit this group at http://groups.google.com/group/fricas-devel. For more options, visit https://groups.google.com/d/optout.