[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Font lock is slow for large doctex document

From: Arash Esbati
Subject: Re: Font lock is slow for large doctex document
Date: Fri, 16 Jul 2021 12:58:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50

Ikumi Keita <> writes:

>>>>>> Arash Esbati <> writes:
>> I'm not really familiar with writing .dtx files, so others can comment,
>> but looking at dtxtut.pdf ([1], page 21), it says:
> Thank you for providing a pointer to a good material.

You're welcome.

>> You can also have a situation where you have more than one % at line
>> beginning.
> If I understand correctly, a line with more than one % at its beginning
> in .dtx file turns into, in .sty file, a line with at least one % at its
> beginning.

Yepp, this is also my understanding.  I've prepared a test .dtx file
which is attached.  The corresponding .ins file is also attached.  Run
`pdftex dtx-test.ins' and have a look at the .sty file.  I think the
bottom line is something like this in .dtx is valid:

%% $a + b =
%% c$

and this not:

%% $a + b =
%% c$

Best, Arash

Attachment: dtx-test.dtx
Description: Binary data

Attachment: dtx-test.ins
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]