Broken document
Eckhard Höffner
eckhard.hoffner at gmail.com
Wed Mar 15 14:09:49 UTC 2023
I can reproduce the error.
I have TeX Live (https://tug.org/texlive) version 2022. But refstyle.cfg
and refstyle.sty haven't changed since 2010 (according to the files).
That's what Lyx produces, if refstyle is used:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[british]{article}
\usepackage{mathptmx}
\usepackage{newtxmath}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{refstyle}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\AtBeginDocument{\providecommand\figref[1]{\ref{fig:#1}}}
\RS at ifundefined{subsecref}
{\newref{subsec}{name = \RSsectxt}}
{}
\RS at ifundefined{thmref}
{\def\RSthmtxt{theorem~}\newref{thm}{name = \RSthmtxt}}
{}
\RS at ifundefined{lemref}
{\def\RSlemtxt{lemma~}\newref{lem}{name = \RSlemtxt}}
{}
\makeatother
\usepackage{babel}
\begin{document}
\figref{1}
Blindtext
\begin{figure}[p]
\caption{\label{fig:1}}
XXX
\end{figure}
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Am 15.03.23 um 14:55 schrieb Scott Kostyshak:
> I'm not sure if it is any better but note that there is a .iso for installing TeXLive.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20230315/f7538d00/attachment-0001.html>
More information about the lyx-users
mailing list