Hello,

another problem with my wife’s switching to LyX: with the attached test
document, I get LyX complaining about the missing package subscript (the
same happens when I try to process the generated LaTeX file, also attached).

When I look at https://ctan.org/pkg/subscript it seems to indicate, that
it should be completely unnecessary. Not even package fixltx2e
<https://ctan.org/pkg/fixltx2e> (recommended by
http://wiki.lyx.org/FAQ/SpecialSymbols#superscript-subscript) seems to
be required these days.

So, I have removed in $EDITOR line \usepackage{subscript} from the .tex
file and run xelatex over it. And yes, everything was fine, subscript is
correctly displayed.

How to make LyX not to add that subscript requirement? Known bug (using
lyx-2.2.2-5.el7.x86_64)?

Best,

Matěj

-- 
https://matej.ceplovi.cz/blog/, Jabber: mc...@ceplovi.cz
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
 
Of course I'm respectable. I'm old. Politicians, ugly buildings,
and whores all get respectable if they last long enough.
      --John Huston in "Chinatown."

Attachment: Notes-ling17-1.lyx
Description: application/lyx

%% LyX 2.2.2 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass{article}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{fontspec}
\setcounter{secnumdepth}{0}
\usepackage[unicode=true,
 bookmarks=false,
 breaklinks=true,pdfborder={0 0 0},pdfborderstyle={},backref=section,colorlinks=false]
 {hyperref}

\makeatletter
\@ifundefined{date}{}{\date{}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{ifxetex}
% use microtype if available
\IfFileExists{microtype.sty}{%
\usepackage{microtype}
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
}{}

\urlstyle{same}  % don't use monospace font for urls
\IfFileExists{parskip.sty}{%
\usepackage{parskip}
}{% else
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}
}
\setlength{\emergencystretch}{3em}  % prevent overfull lines
\providecommand{\tightlist}{%
  \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}

% Redefines (sub)paragraphs to behave more like sections
\ifx\paragraph\undefined\else
\let\oldparagraph\paragraph
\renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
\fi
\ifx\subparagraph\undefined\else
\let\oldsubparagraph\subparagraph
\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
\fi

\makeatother

\usepackage{xunicode}
\begin{document}
match XP\textsubscript{syntax} XP\textsubscript{lexical}| superset
principle | readings
\end{document}

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to