Ralf Angeli <[EMAIL PROTECTED]> writes:

> * David Kastrup (2005-10-14) writes:
>
>> And it would appear that the following in bigfoot.dtx (which has
>> bigfoot.drv as its master file) gets completely ignored when parsing:
>>
>> %    \begin{macrocode}
>> %<driver> \documentclass{ltxdoc}
>> %<driver> \usepackage{bigfoot}
>> %<driver> \usepackage{tabularx}
>> %<driver> \usepackage{hyperref}
>> %    \end{macrocode}
>
> Well, in `TeX-auto-parse-region' there is an
> (unless (TeX-in-comment) ...
> Due to the % characters those lines are regarded as comments.  We
> could either modify `TeX-in-comment' in order for it to behave
> differently in docTeX mode or modify `TeX-auto-parse-region' to look
> into comments (i.e. lines starting with % characters in this case) in
> docTeX mode as well.  I expect the first suggestion to break things
> all over the board.  The second one should be safer.  Besides we
> should maybe stop parsing contents of macrocode environments.

Well, the _real_ fix would be to have the darn master file bigfoot.drv
parsed instead of getting its parse info overwritten with that of
bigfoot.dtx.  Everything else is just patching around symptoms.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


_______________________________________________
auctex-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to