GNU bug report logs - #62278
28.2; Outline in DocTeX mode

Previous Next

Package: emacs;

Reported by: Jan Braun <Jan.Braun <at> klein-gallien.org>

Date: Sun, 19 Mar 2023 18:15:02 UTC

Severity: normal

Tags: notabug

Found in version 28.2

Done: Arash Esbati <arash <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jan Braun <Jan.Braun <at> klein-gallien.org>
To: Arash Esbati <arash <at> gnu.org>
Cc: 62278 <at> debbugs.gnu.org
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





This bug report was last modified 2 years and 134 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.