bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#62278: 28.2; Outline in DocTeX mode


From: Jan Braun
Subject: bug#62278: 28.2; Outline in DocTeX mode
Date: Sat, 25 Mar 2023 08:08:20 +0100

Hello again,

Regarding my previous assumption:

> But even with this code added: we may have to dig deeper 
> into the problem?  Look, my actual (fith) DTX files looks
> somewhat similiar to this:
> 
> % \iffalse meta-comment
> % Real comment about the file and its purpose
> % ...
> % \fi
> %\iffalse
> %<driver>
> \documentclass[…]{…}
> \usepackage{…} % and other usual LaTeX preamble stuff
> \EnableCrossrefs
> \CodelineIndex
> \RecordChanges
> \setcounter{IndexColumns}{2}
> 
> \begin{document}
>  \DocInput{key-label.dtx}
> \end{document}
> %<driver>
> %/fi
> %
> % \changes{…} % lots of "TeXDoc preamble“ stuff
> % …
> %
> % \title{…}
> % \author{…}
> % \date{…}
> % \maketitle
> % … Rest of the LaTeX/DocTeX document body
> 
> Although I haven’t dived into the Outline code, maybe 
> Emacs sees \end{document} and stops folding there?  

I addd some DocTeX code into the document environment, like this:

% \iffalse meta-comment
% Real comment about the file and its purpose
% ...
% \fi
%\iffalse
%<driver>
\documentclass[…]{…}
\usepackage{…} % and other usual LaTeX preamble stuff
\EnableCrossrefs
\CodelineIndex
\RecordChanges
\setcounter{IndexColumns}{2}

\begin{document}
 \DocInput{key-label.dtx}
% \sectio{…}
% \subsection{…}
\end{document}
%<driver>
%/fi

and it didn’t fold :-(

Sorry.

   Jan






reply via email to

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