Issue in LyX 2.3.6.1 with \maketitle and \uppertitleback
Michael Ruder
rudermi at gmx.de
Fri Jan 29 13:15:27 UTC 2021
Hi,
I just upgraded to LyX 2.3.6.1 and have an issue with \uppertitleback and
multiple \maketitle. This issue did not exist in LyX 2.3.5 and before.
Attached is a small sample file. I could reproduce with scrartcl with
titlepage=true and two side document or scrreprt (I did not test other
styles). In the exported TeX source the issue can be seen.
I used a table in the \uppertitleback area (we use a revision history
there for documents) and then a \maketitle is added to every column and
line in the \uppertitleback.
Thanks for working on the great tool, we enjoy using it for many years
already!
Best regards,
--
. -Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: maketitle_bug.lyx
Type: application/lyx
Size: 3071 bytes
Desc:
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210129/b95adaa3/attachment.bin>
-------------- next part --------------
%% LyX 2.3.6.1 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[twoside,english]{scrreprt}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}
\makeatother
\usepackage{babel}
\begin{document}
\title{Titel}
\lowertitleback{%
\begin{tabular}{|c|c|}
\hline
\maketitle
Table & \maketitle
as\tabularnewline
\hline
\hline
\maketitle
Uppertitleback & \maketitle
\tabularnewline
\hline
\end{tabular}}
\maketitle
\section{Section}
text
\end{document}
More information about the lyx-devel
mailing list