LaTeX.org
LaTeX.org is a TeX and LaTeX forum, suited for LaTeX beginners and experts who help them. Here are the newest questions. Sorry that the code formatting is not preserved through the RSS feed.
- BibTeX, biblatex and biber • Biblatex : No max names in alphabetic citation keyby user-112358 on February 19, 2026 at 6:49 pm
I am using Biblatex with alphabetic citation key. When I cite a source with more than 3 authors, the citation key becomes [Name1+Date]. I would like the citation key to be [Initial_1 Initial_2 Initial_3 Initial_4...Date] no matter how many authors wrote the source.How can I achieve this ? I tried modifying maxnames, minnames, maxalphanames etc. but didn't manage to do it.MWE : I would like to produce the following outputLorem Ipsum [ABCDE26].References[ABCDE26] Alice, Bob, Carol, David, and Eve. Title. 2026.Here is the latex code that I am using :\documentclass{article}\usepackage[style=alphabetic,maxnames=4,minnames=3,maxbibnames=99]{biblatex}\usepackage{filecontents}\begin{filecontents}{references.bib}@misc{source, author = {Alice and Bob and Carol and David and Eve}, year = {2026}, title = {Title},}\end{filecontents}\addbibresource{references.bib}\begin{document}Lorem Ipsum \autocite{source}.\printbibliography\end{document}Statistics: Posted by user-112358 — Thu Feb 19, 2026 8:49 pm
- BibTeX, biblatex and biber • Re: long citations for multiple formatsby joshchristlieb on February 19, 2026 at 8:39 am
This is a useful topic, I will follow it.Statistics: Posted by joshchristlieb — Thu Feb 19, 2026 10:39 am
- Text Formatting • Re: Text formattingby Jongomez on February 11, 2026 at 11:46 am
Hello Stefan,thank you for your previous suggestion about the *Language Support* section of the **enotez** manual.I have reviewed it carefully. Unfortunately, the issue I am facing is not related to language strings, but to hyperlink anchors when redefining chapter-based endnote headings.**Goal*** Endnotes grouped by chapter (split = chapter)* Custom chapter labels (e.g. “HITZAURREA”, “KAPITULUA 1”, etc.)* Working hyperlinks in both directions: * superscript in text → endnote * endnote number → back to text**Current behaviour*** Grouping by chapter works.* Custom headings work.* Hyperlinks stop working completely when redefining `\enotez@heading@chapter`.If I remove the redefinition, hyperlinks work again.**Minimal mechanism involved**I am mapping chapter numbers to custom titles and then overriding:\renewcommand*\enotez@heading@chapter[1]{%\par\bigskip{\centering\Large\bfseries \GetChapterTitle{#1}\par}\medskip}This visually works, but disables all hyperref anchors.**What I have tried*** Different compilation orders* Clearing auxiliary files* TeX Live 2024 and 2025* Avoiding counter redefinitions* Using enotez split/reset combinationsThe problem appears specifically when the internal heading macro is replaced, suggesting that some anchor creation inside enotez is lost.**Question**Is there a supported way to customise chapter-based endnote headings *without* overriding `\enotez@heading@chapter`, or a documented hook that preserves hyperlink anchors?I am trying to avoid patching internal macros if possible.Thank you very much for any guidance.Best regards,JonStatistics: Posted by Jongomez — Wed Feb 11, 2026 1:46 pm
- General • Set numwidth in \lstlistoflistingsby escherichia150 on February 11, 2026 at 11:31 am
I have a problem setting the numwidth in the \lstlistoflistings. For the\listoffigures it is possible to set the numwidht (see line 4 in the codesnippet) but the pendant for the \lstlistoflistings (see line 5 in the codesnippet) does not work. Is there a solution?Code: \documentclass[11pt,a4paper]{scrreprt}\usepackage{listings}\DeclareTOCStyleEntry[numwidth=3em]{tocline}{figure}\DeclareTOCStyleEntry[numwidth=3em]{tocline}{lstlisting}\setcounter{chapter}{100}\begin{document}\listoffigures\lstlistoflistings\chapter{Next Chapter}\begin{figure}\caption{A figure}\end{figure}\begin{lstlisting}[caption={Example code}]print("Hello world")\end{lstlisting}\end{document}Statistics: Posted by escherichia150 — Wed Feb 11, 2026 1:31 pm
- TeX Live and MacTeX • Re: Hyperref not working – only on my system?by Stefan Kottwitz on February 8, 2026 at 9:04 pm
Hi Chris,welcome to the forum!Yes, it's your local installation. The code is fine. Looks like some package tries to load a file without a name, so it ends up with ".def".At least try again in a different folder to make sure it's not a file in the document folder that causes it.Hard to say, perhaps run an update or reinstall.StefanStatistics: Posted by Stefan Kottwitz — Sun Feb 08, 2026 11:04 pm
- TeX Live and MacTeX • Hyperref not working – only on my system?by chrisbau76 on February 8, 2026 at 6:58 pm
Hi there,I cannot make the most minimal example work (see below). A friend of mine cannot reproduce the error. So I am thinking, my local files might be the problem. I just installed MacTeX 2025, which works fine – unless I use hyperref.Any ideas?Thanks!Chris BauerCode: \documentclass[11pt]{article}\usepackage{hyperref}\begin{document}test\end{document}LOG: This is pdfTeX, Version 3.141592653-2.6-1.40.28 (TeX Live 2025) (preloaded format=pdflatex) restricted \write18 enabled.entering extended mode(./Ohne-Titel.texLaTeX2e <2025-11-01>L3 programming layer <2026-01-19>(/usr/local/texlive/2025/texmf-dist/tex/latex/base/article.clsDocument Class: article 2025/01/22 v1.4n Standard LaTeX document class(/usr/local/texlive/2025/texmf-dist/tex/latex/base/size11.clo))(/usr/local/texlive/2025/texmf-dist/tex/latex/hyperref/hyperref.sty(./iftex.sty) (/usr/local/texlive/2025/texmf-dist/tex/latex/graphics/keyval.sty) (/usr/local/texlive/2025/texmf-dist/tex/latex/kvsetkeys/kvsetkeys.sty)(/usr/local/texlive/2025/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty)(/usr/local/texlive/2025/texmf-dist/tex/generic/pdfescape/pdfescape.sty(/usr/local/texlive/2025/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty)(/usr/local/texlive/2025/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty(/usr/local/texlive/2025/texmf-dist/tex/generic/infwarerr/infwarerr.sty)))(/usr/local/texlive/2025/texmf-dist/tex/latex/hycolor/hycolor.sty)(/usr/local/texlive/2025/texmf-dist/tex/latex/hyperref/nameref.sty(/usr/local/texlive/2025/texmf-dist/tex/latex/refcount/refcount.sty)(/usr/local/texlive/2025/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty (/usr/local/texlive/2025/texmf-dist/tex/latex/kvoptions/kvoptions.sty)))(/usr/local/texlive/2025/texmf-dist/tex/latex/etoolbox/etoolbox.sty)(/usr/local/texlive/2025/texmf-dist/tex/generic/stringenc/stringenc.sty)(/usr/local/texlive/2025/texmf-dist/tex/latex/hyperref/pd1enc.def)(/usr/local/texlive/2025/texmf-dist/tex/generic/intcalc/intcalc.sty)(/usr/local/texlive/2025/texmf-dist/tex/latex/hyperref/puenc.def)(/usr/local/texlive/2025/texmf-dist/tex/latex/url/url.sty)(/usr/local/texlive/2025/texmf-dist/tex/generic/bitset/bitset.sty(/usr/local/texlive/2025/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty)))./Ohne-Titel.tex:3: Extra \else.\Hy@AtEndOfPackageHook ...color}\fi \fi \fi \else \def \HyOpt@DriverType { (...l.3 \begin {document}? ./Ohne-Titel.tex:3: Extra \fi.\Hy@AtEndOfPackageHook ...\HyOpt@CustomDriver \fi \Hy@InfoNoLine {Driver\HyO...l.3 \begin {document}? ! LaTeX Error: File `.def' not found.Type X to quit or <RETURN> to proceed,or enter new name. (Default extension: def)Enter file name: (/usr/local/texlive/2025/texmf-dist/tex/latex/tools/.tex File ignored)./Ohne-Titel.tex:3: Package hyperref Error: This should not happen!(hyperref) Missing version of `.def'.See the hyperref package documentation for explanation.Type H <return> for immediate help. ... l.3 \begin {document}? ./Ohne-Titel.tex:3: Extra \fi.<argument> ...op@@ }\expandafter \@firstofone \fi l.3 \begin {document}? (/usr/local/texlive/2025/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def)(./Ohne-Titel.aux)./Ohne-Titel.tex:3: Undefined control sequence.\Hy@AtBeginDocumentHook ...lse \hyper@anchorstart {Doc-Start}\hyper@anchoren...l.3 \begin{document} ? ./Ohne-Titel.tex:3: Undefined control sequence.\Hy@AtBeginDocumentHook ...Start}\hyper@anchorend \fi \Hy@pdfstringfalse \@i...l.3 \begin{document} ? ./Ohne-Titel.tex:5: Undefined control sequence.\@hyper@@anchor ...nchor@spot \else \hyper@anchor {#1}\fi \expandafter \put@...l.5 \end{document} ? [1{/usr/local/texlive/2025/texmf-var/fonts/map/pdftex/updmap/pdftex.map}](./Ohne-Titel.aux) )</usr/local/texlive/2025/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>Output written on Ohne-Titel.pdf (1 page, 13548 bytes).SyncTeX written on Ohne-Titel.synctex.gz.Transcript written on Ohne-Titel.log.Statistics: Posted by chrisbau76 — Sun Feb 08, 2026 8:58 pm
- Announcements • DANTE Meeting March 2026 (German text)by Stefan Kottwitz on February 8, 2026 at 2:33 pm
DANTE-Frühjahrstagung März 2026Vom 12.–14. März 2026 findet die DANTE-Frühjahrstagung 2026 in Lahnau statt. Alle, die sich für TeX, LaTeX, ConTeXt, Typografie und verwandte Themen interessieren und fachlichen wie persönlichen Austausch schätzen, sind herzlich willkommen!Die Tagung läuft von Donnerstag bis Samstag, mit einem optionalen Einstieg schon am Mittwoch, 11. März, zu Einführungskursen und zum Vorabendtreff.Der Veranstalter DANTE e.V. ist der deutschsprachige Verein für Anwender von TeX, LaTeX, ConTeXt und verwandten Themen, vom Einsteiger bis zum Profi.Veranstaltungsort ist:WIWA Wilhelm Wagner GmbH & Co. KG Gewerbestraße 1–3 35633 LahnauLahnau liegt zwischen Wetzlar und Gießen. Beide Städte sind gut per Bahn erreichbar. Von dort fahren die Buslinien 24 und 240 direkt in die Nähe des Tagungsortes.Das Programm im ÜberblickMittwoch, 11. März 2026 (nachmittags)ConTeXt-Einführung (Hraban Ramm)LaTeX-Einführung (Philipp Kammerer) (jeweils bis zu 3 Stunden, TeX Live sollte man bereits installiert haben)Vorabendtreff zum lockeren AnkommenDonnerstag, 12. März 20269:00–17:00 Uhr: Vortragsprogramm (im Aufbau, siehe unten)19 Uhr AbendtreffFreitag, 13. März 20269:30 Uhr: Werksführung bei Leica Camera13:00–17:00 Uhr: Vortragsprogramm19 Uhr Gemeinsames TagungsessenSamstag, 14. März 2026 (ab 9:00 Uhr)68. Mitgliederversammlung von DANTE e.V. (auch für interessierte Nicht-Mitglieder offen)Hier ist schonmal eine Liste der bisher zugesagten Vorträge, noch ohne zeitliche Einordnung:samcarter — Zisterzienser Ziffern mit LaTeX (Lightning Talk) Zisterzienser Ziffern sind ein Zahlensystem, das im Mittelalter von Mönchen des Zisterzienserordens entwickelt wurde. Nach einer kurzen Einführung in dieses heute fast vergessene Zahlensystem werden die LaTeX-Pakete xistercian und cistercian vorgestellt, mit denen sich Zisterzienser Ziffern in LaTeX darstellen lassen.Marei Peischl & Patrick Gundlach — LaTeX und ZUGFeRD Der Vortrag erklärt, was eine elektronische Rechnung nach EN 16931 ist, welche Rolle ZUGFeRD dabei spielt und wie sich ZUGFeRD-Rechnungen mit LaTeX erstellen und nutzen lassen.Adelheid Bonnetsmüller — Having Fun With LaTeX XII In der Vortragsreihe „Having Fun With LaTeX“ werden seit vielen Jahren kleinere LaTeX-Pakete vorgestellt, die nützlich sind oder einfach Spaß machen – und in jedem Fall zeigen, wie vielfältig das LaTeX-Universum ist.Peter Turczak & Hraban Ramm — WIWAdoc – professioneller Textsatz im Unternehmen Vorstellung der Firma WIWA sowie des LaTeX-basierten Dokumentationssystems WIWAdoc für den professionellen Einsatz im Unternehmen.Hraban Ramm — Datenzentrierte Dokumente mit ConTeXt WIWA-Datenblätter werden aus verschiedenen Quellen wie CSV, JSON und Markdown mithilfe von Lua in ConTeXt zusammengestellt.Ulrike Fischer, LaTeX Team — (folgt)Frank Mittelbach, LaTeX Team — (folgt)Ulrik Vieth — OpenType Mathematikschriften: Was gibt es Neues? Überblick über aktuell verfügbare OpenType-Mathematikschriften sowie über neue Entwicklungen der letzten Zeit.Marei Peischl — Engagement bei DANTE: wie und was?Stephan Lukasczyk & Adelheid Bonnetsmüller — Campai: Einblick in das neue Mitgliederverwaltungs- und Buchungsprogramm bei DANTE e.V. Campai wird seit Ende 2023 für die Mitgliederverwaltung und seit 2025 für die Buchhaltung bei DANTE e.V. eingesetzt. Der Vortrag stellt das System vor, zeigt seine Funktionen und gibt Einblick in die praktische Arbeit damit. Fragen und Diskussionen sind ausdrücklich willkommen.Lust, selbst einen Vortrag zu halten? Es werden noch Beiträge gesucht, auch kurze Lightning Talks, sowohl zu TeX, LaTeX, ConTeXt, Schriftsatz, Schriftentwicklung als auch zu angrenzenden Themen.Alle Infos zu Anreise, Übernachtungsmöglichkeiten, genauen Zeiten, Kosten und zur Einreichung von Vorträgen finden sich hier: https://www.dante.de/veranstaltungen/dante2026/ sowie in der Einladung auf der tex-d-l Mailing-Liste.Die Anmeldung ist bereits offen: www.dante.de/anmeldung-dante-2026Neben all den Vorträgen und Workshops trifft man bekannte Gesichter wieder, lernt neue kennen und führt Gespräche, die man online so nicht hätte. Nach meiner Erfahrung ist alles sehr entspannt, offen und herzlich. Ich war schon öfter dabei und habe früher auch gelegentlich Tagungsberichte hier und da notiert.Bei Fragen kann man sich auch direkt an die Organisatoren wenden, per email an dante2026@dante.de.Bis dann!StefanStatistics: Posted by Stefan Kottwitz — Sun Feb 08, 2026 4:33 pm
- LyX • [Tool] DropLyx - A tool for collaborative LyX editing via Dropboxby JohannesEmm on February 5, 2026 at 11:20 pm
Hi,new member and long time big lyx fan here. And while trying to convince al my collaborators to use it, most often find myself using rather frustrating services like overleaf, sharepoint, or gdocs, which all have their (severe) limitations. Yet the collaborative aspect is dearly missed at lyx.Therefore, I've put together a small utility that might help if you're editing LyX documents collaboratively through Dropbox (or similar sync services).DropLyxThe problem it tries to solve:When multiple people edit the same .lyx file through Dropbox, you typically find out someone else was editing only after you've both saved conflicting versions. Then you're manually comparing .emergency files.What it does:Adds file locking (shows who's currently editing in the system tray)Auto-merges changes when you both edited different parts of the documentCreates backup files when conflicts can't be auto-resolvedRuns as a lightweight system tray appCurrent status:Windows version tested and workingLinux/macOS versions compile but need testingUses 3-way merge (baseline/local/remote) for non-conflicting changesLine-based merging, so it works reasonably well for LaTeX structureKnown limitations:Won't replace proper version control (Git + latexdiff is still better for complex projects)Line-based merging means same-line edits require manual resolution (would say pretty rare)Relies on Dropbox/sync service to propagate lock filesGitHub: https://github.com/JohannesEmm/DropLyxBinaries for Win/Linux/Mac are available here: https://github.com/JohannesEmm/DropLyx/ ... tag/v0.2.0Looking for:Anyone willing to test, especially on Linux/macOSFeedback on the merge logic and workflowBug reports / edge cases I haven't consideredBuilt this mainly because coordinating who's editing what via email/chat was getting tedious on collaborative projects, as a lyx-integrated solutions seems not on the horizon and challenging at present.CheersJohannesStatistics: Posted by JohannesEmm — Fri Feb 06, 2026 1:20 am
- Text Formatting • Trying to link the header to the first page of the chapterby Scuttlebutt on February 2, 2026 at 4:58 am
This is what I am trying right now.\fancyhead[LE,RO]{\hyperlink{chapter.\thechapter}{\leftmark}}But for some reason its not working. I think this is a deeper problem, because when I just stick \thechapter into the document it returns a 0, even though I'm in the 3rd chapter. I was able to manually increment \thechapter, but even then it didn't work. It was only when I placed a label chapter.3 that it worked (keeping the manual assignment of the chapter 3).Obviously my issue with \thechapter is its own problem that I have to solve by going through all my code, etc. I've determined its not based on \frontmatter, etc.The real question is "Is this the correct/best way to even do this? Is there a better way?"Oh, and it is using extbook as the document type, and XeLaTeX as the rendering engine, in case that matters.Statistics: Posted by Scuttlebutt — Mon Feb 02, 2026 6:58 am
- General • Re: Numbering Issue in Cross-Referencing a Definition Blockby ranaya123 on January 29, 2026 at 2:49 am
I found the solution by myself. The trick is to use referencing as follows:So the second argument (within the bracket) of the definition block is therefore the cross referencing! I didn't know that. Code: \begin{definition}{}{2_1} \ref{def:2_1}Statistics: Posted by ranaya123 — Thu Jan 29, 2026 4:49 am
- General • Numbering Issue in Cross-Referencing a Definition Blockby ranaya123 on January 27, 2026 at 5:54 pm
I have some definition blocks written in my Latex code. These blocks give a nice graphical view to my definitions and here's how the code looks like:In preamb:Code: \newtcbtheorem[number within=section]{definition}{Definition} { theorem style = plain apart, enhanced, frame hidden, breakable, boxrule=2mm,titlerule=0mm,toptitle=1mm,bottomtitle=1mm, fonttitle=\bfseries\large, fontupper=\normalsize, coltitle=black!60!PinkNude, colbacktitle=white!70!PinkNude, colback=white!80!PinkNude }{def}And here's an example definition block: Code: \begin{definition}{}{}\label{def:2_1} \begin{itemize}[leftmargin=*] \item The \textit{inertial delay} is the time delay consumed by an electrical signal to activate a single MOSFET transistor. \vspace*{1mm} \item The \textit{inertial delay} is the time delay consumed by an electrical signal to activate a single MOSFET transistor. \end{itemize} \end{definition}And the cross reference:we define the inertial delay ($\tau$\textsubscript{D}) of a MOSFET in the definition block \ref{def:2_1}.However, this does not produce the correct cross referencing as shown below:Can anybody shed a light on to what's happening here? Why the cross-referencing is wrong here?Thanks and RegardsStatistics: Posted by ranaya123 — Tue Jan 27, 2026 7:54 pm
- Templates, Wizards & Tools • Template for a novelby Worklaw on January 27, 2026 at 2:53 pm
You can download a free template, suitable for a thriller or similar, from:https://charlesrozel.github.io/Blog/202 ... plate.htmlStatistics: Posted by Worklaw — Tue Jan 27, 2026 4:53 pm
- LyX • Re: Side-by-side subfigures don't work for program listingsby jamshark70 on January 17, 2026 at 2:38 am
\includegraphics sets the baseline to the bottom. The baseline of your listing, top, is aligned with the baseline of the image, the bottom.Ohhh I see. I could never have guessed that, since both minipages are set to top alignment. That's counterintuitive, isn't it? A parent object, a minipage (top alignment), contains a child object, an \includegraphics with implicit bottom alignment -- I would really expect the child object not to be able to override the parent.But your comment pointed me to another solution -- to set middle alignment. This looks even nicer on the page than top alignment.(Still undecided whether I will continue with LyX or start writing LaTeX directly.)hjhStatistics: Posted by jamshark70 — Sat Jan 17, 2026 4:38 am
- LyX • Re: Initial pains: for now, fontsby Stefan Kottwitz on January 16, 2026 at 7:15 pm
Great! LuaTeX is often a better choice than XeTeX anyway, as the maintenance and future of XeTeX seem unclear.StefanStatistics: Posted by Stefan Kottwitz — Fri Jan 16, 2026 9:15 pm
- LyX • Re: Side-by-side subfigures don't work for program listingsby Stefan Kottwitz on January 16, 2026 at 6:54 pm
\includegraphics sets the baseline to the bottom. The baseline of your listing, top, is aligned with the baseline of the image, the bottom. A quick fix is to insert \vspace{0pt} right before the \includegraphics command; this way, the reference point will be the top, and both subfigures will be top-aligned.StefanStatistics: Posted by Stefan Kottwitz — Fri Jan 16, 2026 8:54 pm
- Text Formatting • Re: Latex Bibliography Placement Issue (MikTex+TexMaker)by ranaya123 on January 16, 2026 at 9:43 am
Finally I found where the issue was and it was a simple mistake. So after the fresh installation of MikTex and TexMaker, the cm-super package was necessary for certain texts. The solution that solved the above issue was, changing the name of the .pdf file from "main-change" to "main". Strange isn't it ? I don't understand how the name change affects the appearance of Bibliography section. Any clue ?There was no issue in the inclusion of .bib files.Statistics: Posted by ranaya123 — Fri Jan 16, 2026 11:43 am
- LyX • Side-by-side subfigures don't work for program listingsby jamshark70 on January 16, 2026 at 8:42 am
Here, I have followed the instructions in https://wiki.lyx.org/FAQ/FiguresSideBySide:FloatSubfigure (width 0.45\textwidth)Horizontal fillSubfigure (width 0.45\textwidth)In the page screenshot, the top float places a program listing into the first subfigure and an image into the second, and the program listing's top boundary aligns with the image's bottom boundary. The lower float has two images and those are horizontally aligned as I expected.https://tex.stackexchange.com/questions ... -in-memoir says "The listings has full width so that will never work. You may need to wrap the listings in a minipage to control the width" but LyX is already wrapping it in a minipage (exported):Code: \begin{figure}\begin{minipage}[t]{0.45\textwidth}%\begin{lstlisting}... code here...\end{lstlisting}%\end{minipage}\hfill{}%\begin{minipage}[t]{0.45\textwidth}%\includegraphics{../img/02-02-pd-phasor}%\end{minipage}I have to admit i really don't understand what is going on here. Why does a child element not obey its parent's bounds?Unfortunately, in this document, I expect to have many pairs of code listings alongside images; lack of a solution would be a deal-breaker. So, how to fix this?hjhStatistics: Posted by jamshark70 — Fri Jan 16, 2026 10:42 am
- LyX • Re: Initial pains: for now, fontsby jamshark70 on January 16, 2026 at 8:19 am
Are you sure that LyX is configured to use XeLaTeX? Because the default setting for LyX is pdfLaTeX (Document/Settings/Compiler), and that cannot use TTF fonts. On the other hand, you would get a fontspec error earlier because that cannot be used with pdfLaTeX at all. But check anyway, also to see if LyX is set to LuaLaTeX, which works with fontspec, but perhaps that engine doesn't find the font.Thanks.i think the point of confusion for me was that default output format with TeX fonts is PDF while the default output format with non-TeX fonts is DVI. That is, a reasonable user expectation would be that flipping the non-TeX font switch should just enable the fonts and not also switch to a radically different output format."PDF (LuaTeX)" does work.So this one is solved.hjhStatistics: Posted by jamshark70 — Fri Jan 16, 2026 10:19 am
- LyX • Re: Initial pains: for now, fontsby Stefan Kottwitz on January 15, 2026 at 10:38 am
Hi,welcome to the forum!Are you sure that LyX is configured to use XeLaTeX? Because the default setting for LyX is pdfLaTeX (Document/Settings/Compiler), and that cannot use TTF fonts. On the other hand, you would get a fontspec error earlier because that cannot be used with pdfLaTeX at all. But check anyway, also to see if LyX is set to LuaLaTeX, which works with fontspec, but perhaps that engine doesn't find the font.If LyX is also set to compile with XeLaTeX, then please make a small test document with that font, and add here as attachments:the .lyx documentthe LaTeX export documentthe logfile of a LyX runthe logfile of a xelatex runPerhaps we can see the cause then.StefanStatistics: Posted by Stefan Kottwitz — Thu Jan 15, 2026 12:38 pm
- LyX • Initial pains: for now, fontsby jamshark70 on January 15, 2026 at 7:43 am
I had been using emacs org-mode LaTeX export for writing documents, but it seems for a current project that I have outgrown this. So I was looking at LyX. I'm pretty sure it can handle what I need (maybe), but...I like Charis SIL for body text. In my ~/.fonts directory, I have the four CharisSIL-B.ttf, CharisSIL-BI.ttf, CharisSIL-I.ttf and CharisSIL-R.ttf files.In LyX, i've gone to document settings, selected "Use non-TeX fonts." Charis SIL does appear in the font menu, so clearly the font exists and is being recognized as such.Then when I view the document, I get:(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.styPackage: fontenc 2021/04/29 v2.0v Standard LaTeX package! Font \TU/lmr/m/n/10=[lmroman10-regular]:+tlig; at 10pt not loadable: metric data not found or bad.! Font \TU/lmr/bx/n/10=[lmroman10-bold]:+tlig; at 10pt not loadable: metric data not found or bad.<to be read again> ! Package fontspec Error: The font "CharisSIL" cannot be found.! Font \TU/CharisSIL(0)/m/n/10=CharisSIL:mode=node;language=dflt;+tlig; at 10pt not loadable: metric data not found or bad.<to be read again> etc. etc.Now the funny thing is, in my org-mode export setup I have:#+LATEX_HEADER: \usepackage{fontspec}#+LATEX_HEADER: \setmainfont[Ligatures={Common,TeX}]{CharisSIL}#+LATEX_HEADER: \setmonofont{Inconsolata}... and it works. So xelatex on my system has no problem with this font -- but LyX does.At this point, I've spent the majority of a working day first fighting with an intractable problem with org-mode export, and now fighting with basic rendering in LyX. I would like to stay focused on solutions here, but it has been a frustrating day of not writing but rather beating my head against fruitless web searches.(After resolving those, I will have a different problem to report, where side by side subframes are being rendered vertically rather than horizontally aligned as they are in the editor.)hjhStatistics: Posted by jamshark70 — Thu Jan 15, 2026 9:43 am
- General • Re: [Fix] LaTeX Error: Unknown message 'caption-code-by-class-deactivated' (tocbasic / KOMA-Script)by joezhou on January 12, 2026 at 4:20 pm
Thanks for your share. This solves my problem.Statistics: Posted by joezhou — Mon Jan 12, 2026 6:20 pm
- Text Formatting • Putting examples in single spaceby ishidac on January 10, 2026 at 1:50 am
Hello, everyone. I'm using a model to write my thesis, but some text formatting rules changed and I'm trying to adapt it. In my university, it is needed that the text should be in double space, and examples in single space, but either my whole file goes single space or double space. I would also like the option to have examples in double columns.Code: \example \exitem \ipa [AAAA] \excont ?? \exitem \ipa [BBBB] \excont ??This is my CLS file:Code: \NeedsTeXFormat{LaTeX2e}\ProvidesClass{configuracoes/ufpa-ppgem-abntex2}[2019/01/07 v1.0]% Repassa os parâmetros ao abntex2\DeclareOption*{\PassOptionsToClass{\CurrentOption}{abntex2}}\PassOptionsToClass{% 12pt, a4paper, brazil,}{abntex2}\ProcessOptions\relax\LoadClass{abntex2}% ==============================% PACOTES BÁSICOS% ==============================\RequirePackage[brazilian, hyperpageref]{backref}\hypersetup{linkcolor=black}\RequirePackage{makeidx}\RequirePackage{chngcntr}% -------- Contadores --------\newcounter{example}\newcounter{subexample}\renewcommand{\theexample}{(\arabic{example})}\renewcommand{\thesubexample}{\alph{subexample}.}% -------- Iniciar exemplo --------\newcommand{\example}{% \noindent \refstepcounter{example}% \setcounter{subexample}{0}% \theexample\quad}% -------- Subexemplo --------\newcommand{\exitem}{% \refstepcounter{subexample}% \par \hangindent=2.5em \hangafter=1 \makebox[2em][l]{\thesubexample}%}% -------- Continuação do mesmo subexemplo --------\newcommand{\excont}{% \par \hangindent=2.5em \hangafter=1 \hspace*{2em}%}% FONTES\RequirePackage{fontspec}% fonte principal\setmainfont{Times New Roman}% fonte IPA (Charis SIL recomendada)\newfontfamily\ipa[Scale=MatchLowercase]{Charis SIL}% -----------------------------------------------------------------------------% Configurações gerais% -----------------------------------------------------------------------------% Retira o espaço extra desnecessário nas frases\frenchspacing% Configurações do pacote backref usado sem a opção hyperpageref de backref%\renewcommand{\backrefpagesname}{Citado na(s) p\'agina(s):~}% Texto padrão antes do número das páginas\renewcommand{\backref}{}% Define as listas de item compactas (sem espaçamento entre os itens)\setlist{noitemsep, topsep=0pt, parsep=0pt, partopsep=0pt}% Define os textos da citação\renewcommand*{\backrefalt}[4]{% \ifcase #1 Nenhuma cita\c{c}\~ao no texto. \or Citado na p\'agina #2. \else Citado #1 vezes nas p\'aginas #2. \fi}\usepackage{chngcntr}\counterwithout{figure}{chapter}\counterwithout{table}{chapter}%\counterwithin{algorithm}{chapter}% Define a numeração das equações de forma sequencial%\counterwithout{equation}{chapter}% -----------------------------------------------------------------------------% Comandos de dados% -----------------------------------------------------------------------------% Comandos de dados - Departamento\providecommand{\imprimirdepartamento}{}\newcommand{\departamento}[1]{\renewcommand{\imprimirdepartamento}{#1}}\providecommand{\imprimirdepartamentof}{}\newcommand{\departamentof}[1]{\renewcommand{\imprimirdepartamentof}{#1}}% Comandos de dados - Programa\providecommand{\imprimirprograma}{}\newcommand{\programa}[1]{\renewcommand{\imprimirprograma}{#1}}% Comandos de dados - Subtítulo do trabalho\providecommand{\imprimirsubtitulo}{}\newcommand{\subtitulo}[1]{\renewcommand{\imprimirsubtitulo}{#1}}% Comandos de dados - Instituição do orientador\providecommand{\imprimirinstOrientador}{}\newcommand{\instOrientador}[1]{\renewcommand{\imprimirinstOrientador}{#1}}% Comandos de dados - Instituição do coorientador\providecommand{\imprimirinstCoorientador}{}\newcommand{\instCoorientador}[1]{\renewcommand{\imprimirinstCoorientador}{#1}}% Comandos de dados - Tipo de trabalho acadêmico (trabalho de conclusão de curso, tese, dissertação ou projeto de qualificação)\providecommand{\imprimirprojeto}{}\newcommand{\projeto}[1]{\renewcommand{\imprimirprojeto}{#1}}% Comandos de dados - Título Acadêmico a ser alcançado (Bacharel, Tecnólogo)\providecommand{\imprimirtituloAcademico}{}\newcommand{\tituloAcademico}[1]{\renewcommand{\imprimirtituloAcademico}{#1}}% Comandos de dados - Título em Inglês\providecommand{\imprimirautorcitacao}{}\newcommand{\autorcitacao}[1]{\renewcommand{\imprimirautorcitacao}{#1}}% Comandos de dados - Nome autor para citação\providecommand{\imprimirtitleabstract}{}\newcommand{\titleabstract}[1]{\renewcommand{\imprimirtitleabstract}{#1}}% Comandos de dados - Área de concentração com Rótulo\newcommand{\imprimirareaconcentracaoRotulo}{\'Area de concentra\c{c}\~ao: }\providecommand{\imprimirareaconcentracao}{}\newcommand{\areaconcentracao}[1]{\renewcommand{\imprimirareaconcentracao}{#1}}% Comandos de dados - linha de pesquisa\newcommand{\imprimirlinhapesquisaRotulo}{Linha de pesquisa: }\providecommand{\imprimirlinhapesquisa}{}\newcommand{\linhapesquisa}[1]{\renewcommand{\imprimirlinhapesquisa}{#1}}% Comandos de dados - Texto da folha de aprovação%\providecommand{\imprimirtextopadraofolhadeaprovacao}{} %\newcommand{\textopadraofolhadeaprovacao}[1]{\renewcommand{\imprimirtextopadraofolhadeaprovacao}{#1}}\providecommand{\imprimirdataaprovacao}{}\newcommand{\dataaprovacao}[1]{\renewcommand{\imprimirdataaprovacao}{#1}}\providecommand{\imprimirconceito}{}\newcommand{\conceito}[1]{\renewcommand{\imprimirconceito}{#1}}\providecommand{\imprimirnomePrimeiromembro}{}\newcommand{\nomePrimeiromembro}[1]{\renewcommand{\imprimirnomePrimeiromembro}{#1}}\providecommand{\imprimirinstPrimeiromembro}{}\newcommand{\instPrimeiromembro}[1]{\renewcommand{\imprimirinstPrimeiromembro}{#1}}\providecommand{\imprimirnomeSegundomembro}{}\newcommand{\nomeSegundomembro}[1]{\renewcommand{\imprimirnomeSegundomembro}{#1}}\providecommand{\imprimirinstSegundomembro}{}\newcommand{\instSegundomembro}[1]{\renewcommand{\imprimirinstSegundomembro}{#1}}\providecommand{\imprimirnomeTerceiromembro}{}\newcommand{\nomeTerceiromembro}[1]{\renewcommand{\imprimirnomeTerceiromembro}{#1}}\providecommand{\imprimirinstTerceiromembro}{}\newcommand{\instTerceiromembro}[1]{\renewcommand{\imprimirinstTerceiromembro}{#1}}% Comandos de dados - Logomarca da instituição\providecommand{\imprimirlogoinstituicao}{}\newcommand{\logoinstituicao}[2]{\renewcommand{\imprimirlogoinstituicao}{\includegraphics[width={#1}]{#2}}}% -----------------------------------------------------------------------------% Estilo de elementos% -----------------------------------------------------------------------------% Elementos pré-textuais\renewcommand{\pretextual}{% \pagenumbering{arabic} \aliaspagestyle{chapter}{empty} \pagestyle{empty} \aliaspagestyle{cleared}{empty} \aliaspagestyle{part}{empty}}% Configura layout para elementos textuais\renewcommand{\textual}{% %\pagenumbering{arabic} % A numeração das páginas é em algarismos arábicos, inciando em 1 \pagestyle{simple}%\pagestyle{abntheadings} \aliaspagestyle{chapter}{abntchapfirst} \nouppercaseheads \bookmarksetup{startatroot} \begin{DoubleSpacing}}% Configura layout para elementos pós-textuais\renewcommand{\postextual}{% \end{DoubleSpacing} \chapterstyle{abnt} \phantompart}% -----------------------------------------------------------------------------% Objetos flutuantes% -----------------------------------------------------------------------------% Comando que trata a fonte nos objetos flutuantes\renewcommand{\fonte}[1]{% \begin{SingleSpacing}\par\end{SingleSpacing} \centering\footnotesize{Fonte: #1}}% Comando que trata as notas nos objetos flutuantes\renewcommand{\nota}[1]{% \begin{SingleSpacing}\par\end{SingleSpacing} \begin{tabular}{l p{.85\textwidth}}% Nota: & #1 \end{tabular}}% -----------------------------------------------------------------------------% Parágrafos% -----------------------------------------------------------------------------% Tamanho da indentação do parágrafo\setlength{\parindent}{1.5cm}% Espaçamento entre um parágrafo e outro%\setlength{\parskip}{0.0cm}% -----------------------------------------------------------------------------% Fontes% -----------------------------------------------------------------------------% Redefinição de fontes\renewcommand{\ABNTEXchapterfont}{\normalfont}\renewcommand{\ABNTEXchapterfontsize}{\normalsize\bfseries}\renewcommand{\ABNTEXpartfont}{\normalfont}\renewcommand{\ABNTEXpartfontsize}{\ABNTEXchapterfontsize}\renewcommand{\ABNTEXsectionfont}{\normalfont}\renewcommand{\ABNTEXsectionfontsize}{\normalsize\bfseries}\renewcommand{\ABNTEXsubsectionfont}{\normalfont}\renewcommand{\ABNTEXsubsectionfontsize}{\normalsize}\renewcommand{\ABNTEXsubsubsectionfont}{\normalfont}\renewcommand{\ABNTEXsubsubsectionfontsize}{\normalsize}\renewcommand{\ABNTEXsubsubsubsectionfont}{\normalfont}\renewcommand{\ABNTEXsubsubsubsectionfontsize}{\normalsize}\makeatletter\renewcommand{\ABNTEXchapterupperifneeded}[1]{#1}\makeatother% -----------------------------------------------------------------------------% Sumário% -----------------------------------------------------------------------------% Travessão no sumário para apêndices e anexos%\renewcommand{\cftchapteraftersnum}{\hfill\textendash\hfill}% Insere espaço entre os itens do sumário de diferentes capítulos%\setlength{\cftbeforechapterskip}{1.0em \@plus\p@}% impedir caixa alta nos títulos\renewcommand{\ABNTEXchapterupperifneeded}[1]{#1}% remover negrito de seção e subseção no sumário\renewcommand{\cftsectionfont}{\normalfont}\renewcommand{\cftsectionpagefont}{\normalfont}\renewcommand{\cftsubsectionfont}{\normalfont}\renewcommand{\cftsubsectionpagefont}{\normalfont}%recuo\setlength{\cftsectionindent}{0em}\setlength{\cftsectionnumwidth}{3em}\setlength{\cftsubsectionindent}{3em}\setlength{\cftsubsectionnumwidth}{3.2em}\setlength{\cftsubsubsectionindent}{6.2em}\setlength{\cftsubsubsectionnumwidth}{3.4em}% -----------------------------------------------------------------------------% Listas% -----------------------------------------------------------------------------% Define os títulos das listas\addto\captionsbrazil{%% Ajusta nomes padrões do babel \renewcommand{\listadesiglasname}{LISTA DE SIGLAS} \renewcommand{\listadesimbolosname}{LISTA DE S\'{I}MBOLOS} \renewcommand{\listfigurename}{LISTA DE FIGURAS} \renewcommand{\listtablename}{LISTA DE TABELAS} \renewcommand{\indexname}{\'{I}NDICE REMISSIVO}\renewcommand{\bibname}{REFER\^{E}NCIAS}% Ajusta nomes usados com a macro \autoref \renewcommand{\pageautorefname}{p\'agina} \renewcommand{\sectionautorefname}{Se\c{c}\~ao} \renewcommand{\subsectionautorefname}{Subse\c{c}\~ao} \renewcommand{\subsubsectionautorefname}{Subsubse\c{c}\~ao} \renewcommand{\paragraphautorefname}{Subse\c{c}\~ao}}% Cria a lista de quadros\newcommand{\listofquadrosname}{Lista de Quadros}\newcommand{\quadroname}{Quadro}\newfloat[chapter]{quadro}{loq}{\quadroname}\newlistof{listofquadros}{loq}{\listofquadrosname}\newlistentry{quadro}{loq}{0}\counterwithout{quadro}{chapter}\renewcommand{\cftquadroname}{\quadroname\space}\renewcommand*{\cftquadroaftersnum}{\hfill--\hfill}% -----------------------------------------------------------------------------% Capa% -----------------------------------------------------------------------------\makeatletter\renewcommand{\imprimircapa}{ \begin{capa} \begin{center}\begin{figure}[h]\center\imprimirlogoinstituicao\end{figure}\begin{SingleSpacing} \large\MakeUppercase{\imprimirinstituicao} \\ \abntex@ifnotempty{\imprimirdepartamento} { \MakeUppercase{\imprimirdepartamento} \\ }\abntex@ifnotempty{\imprimirdepartamentof} { \MakeUppercase{\imprimirdepartamentof} \\ } \large\MakeUppercase{\imprimirprograma} \\\end{SingleSpacing} \end{center} \vspace{60pt}\begin{center}\large\MakeUppercase{\imprimirautor}\\\end{center}\vspace{60pt} %120 \begin{center} \ABNTEXchapterfont\large\MakeUppercase{\imprimirtitulo} \abntex@ifnotempty{\imprimirsubtitulo} {% {\ABNTEXchapterfont: }{\large{\imprimirsubtitulo}} } \end{center}\vspace{120pt}%\begin{center}%\large\MakeUppercase{\imprimirprojeto}%\end{center}\vfill \begin{center}\begin{SingleSpacing} \large\MakeUppercase{\imprimirlocal}\\ \large\MakeUppercase{\imprimirdata}\end{SingleSpacing} \end{center} \end{capa}}\makeatother% -----------------------------------------------------------------------------% Folha de rosto% -----------------------------------------------------------------------------\makeatletter\renewcommand{\folhaderostocontent}{% %\begin{figure}[h]%\center%\includegraphics[width=2.1cm]{ufpa}%\end{figure}%\begin{center}%\begin{SingleSpacing}%\large\MakeUppercase{\imprimirinstituicao} \\%{%\MakeUppercase{\imprimirdepartamento} \\%}%\large\MakeUppercase{\imprimirprograma} \\%\end{SingleSpacing}%\vspace{60pt}%\end{center}\begin{center}\large\MakeUppercase{\imprimirautor}\\\end{center} \setcounter{page}{1} %\begin{center} % \large\MakeUppercase{\imprimirautor}\\ %\end{center} \vspace*{60pt}%{96pt} \begin{center} \ABNTEXchapterfont\large\MakeUppercase{\imprimirtitulo} \abntex@ifnotempty{\imprimirsubtitulo}{% {\ABNTEXchapterfont: }{\large{\imprimirsubtitulo}} } \end{center} \vspace*{20pt} \abntex@ifnotempty{\imprimirpreambulo} {% \SingleSpacing \begin{tabular}{p{.25\textwidth}p{.13\textwidth}p{.44\textwidth}} & \multicolumn{2}{p{.6\textwidth}}{\small\hyphenpenalty=10000{\imprimirpreambulo}} \\ & & \\ \abntex@ifnotempty{\imprimirareaconcentracao} {% & \multicolumn{2}{p{.6\textwidth}}{\small\hyphenpenalty=10000{\imprimirareaconcentracaoRotulo\imprimirareaconcentracao}} \\ & & \\ } \abntex@ifnotempty{\imprimirlinhapesquisa} {% & \multicolumn{2}{p{.6\textwidth}}{\small\hyphenpenalty=10000{\imprimirlinhapesquisaRotulo\imprimirlinhapesquisa}} \\ & & \\ } \abntex@ifnotempty{\imprimirorientador} {% & \small\imprimirorientadorRotulo & \imprimirorientador \\ & & \small\imprimirinstOrientador \\ & & \\ } \abntex@ifnotempty{\imprimircoorientador} {% & \small\imprimircoorientadorRotulo & \imprimircoorientador \\ & & \small\imprimirinstCoorientador } \end{tabular} } \vspace*{\fill} \begin{center}\begin{SingleSpacing} \large\MakeUppercase{\imprimirlocal}\\ \large\MakeUppercase{\imprimirdata}\end{SingleSpacing} \end{center}}\makeatother% -----------------------------------------------------------------------------%% Folha de aprovação%% -----------------------------------------------------------------------------%\makeatletter%\newcommand{\imprimirfolhadeaprovacao}%{%%\begin{center}%\large\MakeUppercase{\imprimirautor}\\%\end{center}%%\vspace*{60pt}%{96pt}% \begin{folhadeaprovacao}% \vspace*{\fill}%% \begin{tabular}{p{.45\textwidth}p{.45\textwidth}}% %& \imprimirtextopadraofolhadeaprovacao \\% & \insert{estrutura\pre-textuais\folhaaprova} \\% \end{tabular}%% \vspace*{\fill}% \end{folhadeaprovacao}%}%\makeatother% ----------------------------------------\makeatletter\newcommand{\imprimirfolhadeaprovacao}{% \begin{center} \large\MakeUppercase{\imprimirautor}\\ \end{center} \vspace*{\fill} \begin{center} \ABNTEXchapterfont\large\MakeUppercase{\imprimirtitulo} \abntex@ifnotempty{\imprimirsubtitulo}{% {\ABNTEXchapterfont: }{\large{\imprimirsubtitulo}} } \end{center} \vspace*{\fill} \abntex@ifnotempty{\imprimirpreambulo} {% \SingleSpacing \begin{tabular}{p{.25\textwidth}p{.13\textwidth}p{.44\textwidth}} & \multicolumn{2}{p{.6\textwidth}}{\small\hyphenpenalty=10000{\imprimirpreambulo}} \end{tabular} } \vspace*{\fill} \noindent %DATA DE APROVA\c{C}\~AO: \imprimirdataaprovacao \\ \\ %CONCEITO: \imprimirconceito \vspace*{\fill} %\assinatura{\imprimirorientador \\ Orientador - \imprimirinstOrientador} \assinatura{\imprimirorientador \\ Orientador - PPGL/UFPA} \assinatura{\imprimircoorientador \\ Coorientadora - McGill University} \assinatura{\imprimirnomePrimeiromembro \\ Membro - \imprimirinstPrimeiromembro} \assinatura{\imprimirnomeSegundomembro \\ Membro - \imprimirinstSegundomembro} % \assinatura{\imprimirnomeTerceiromembro \\ Membro - \imprimirinstTerceiromembro} % ocultar ou não dependendo do numero de professores na banca \begin{center}\begin{SingleSpacing} \MakeUppercase{\imprimirlocal}\\ \MakeUppercase{\imprimirdata}\end{SingleSpacing} \end{center}}\makeatother% ----------------------------------------%% -----------------------------------------------------------------------------% Dedicatória% -----------------------------------------------------------------------------\renewenvironment{dedicatoria}[1][]{% \ifthenelse{\equal{#1}{}}{% \PRIVATEbookmarkthis{\dedicatorianame} }{\pretextualchapter{#1}} \vspace*{\fill} \begin{flushright} \begin{minipage}{.5\textwidth} \begin{SingleSpacing} \setlength\parindent{0pt} \setlength\parskip{12pt}}{% \end{SingleSpacing} \end{minipage} \end{flushright}}% -----------------------------------------------------------------------------% Epígrafe% -----------------------------------------------------------------------------\renewenvironment{epigrafe}[1][]{% \ifthenelse{\equal{#1}{}} {% \PRIVATEbookmarkthis{\epigraphname} }{\pretextualchapter{#1}} \vspace*{\fill} \begin{flushright} \begin{minipage}{.5\textwidth} \begin{SingleSpacing} \setlength\parindent{0pt} \setlength\parskip{12pt}}{% \end{SingleSpacing} \end{minipage} \end{flushright}}%------------------------------------------------------%Pacotes \usepackage[alf]{abntex2cite}\makeatletter\renewcommand{\cite}[2][]{% (\citeauthoronline{#2}, \citeyear{#2}% \ifx#1\empty\else, #1\fi)%}\renewcommand{\citeonline}[2][]{% \citeauthoronline{#2} (\citeyear{#2}% \ifx#1\empty\else, #1\fi)%}\makeatother % Configura as citações bibliográficas conforme a norma ABNT% PACOTES----------------------------------------------------------------------\usepackage{subcaption}\usepackage{caption}\usepackage{varwidth}\usepackage{rotating}\usepackage{hyperref}\usepackage{amsmath}\RequirePackage{fontspec}\usepackage{booktabs} % Réguas horizontais em tabelas\usepackage{color, colortbl} % Controle das cores\usepackage{float} % Necessário para tabelas/figuras em ambiente multi-colunas\usepackage{graphicx} % Inclusão de gráficos e figuras\usepackage{icomma} % Uso de vírgulas em expressões matemáticas\usepackage{indentfirst} % Indenta o primeiro parágrafo de cada seção\usepackage{microtype} % Melhora a justificação do documento\usepackage{multirow, array} % Permite tabelas com múltiplas linhas e colunas\usepackage{subeqnarray} % Permite subnumeração de equações\usepackage{lastpage} % Para encontrar última página do documento\usepackage{verbatim} % Permite apresentar texto tal como escrito no documento, ainda que sejam comandos Latex\usepackage{amsfonts, amssymb, amsmath} % Fontes e símbolos matemáticos\usepackage[algoruled, portuguese]{algorithm2e} % Permite escrever algoritmos em português%\usepackage[scaled]{helvet} % Usa a fonte Helvetica%\usepackage{times} % Usa a fonte Times%\usepackage{palatino} % Usa a fonte Palatino\usepackage{lmodern} % Usa a fonte Latin Modern\usepackage[bottom]{footmisc} % Mantém as notas de rodapé sempre na mesma posição\usepackage{ae, aecompl} % Fontes de alta qualidade\usepackage{latexsym} % Símbolos matemáticos\usepackage{lscape} % Permite páginas em modo "paisagem"%\usepackage{picinpar} % Dispor imagens em parágrafos%\usepackage{scalefnt} % Permite redimensionar tamanho da fonte%\usepackage{subfig} % Posicionamento de figuras%\usepackage{upgreek} % Fonte letras gregas%\usepackage{amsmath}%\usepackage{breqn}% Redefine a fonte para uma fonte similar a Arial (fonte Helvetica)%\renewcommand*\familydefault{\sfdefault}%------------------------------------------------------%Configurações do pdf%\include{configuracoes/pacotes}\makeatletter\hypersetup{%portuguese,colorlinks=true, % true: "links" coloridos; false: "links" em caixas de textolinkcolor=black, % Define cor dos "links" internoscitecolor=black, % Define cor dos "links" para as referências bibliográficasfilecolor=black, % Define cor dos "links" para arquivosurlcolor=black, % Define a cor dos "hiperlinks"breaklinks=true,pdftitle={\@title},pdfauthor={\@author},pdfkeywords={abnt, latex, abntex, abntex2}}\makeatother% REDEFINIÇÃO DE LABELS---------------------------------------------------------\renewcommand{\algorithmautorefname}{Algoritmo}\def\equationautorefname~#1\null{Equa\c c\~ao~(#1)\null}% CRIA ÍNDICE REMISSIVO---------------------------------------------------------\makeindex% HIFENIZAÇÃO DE PALAVRAS QUE NÃO ESTÃO NO DICIONÁRIO---------------------------\hyphenation{%qua-dros-cha-veKat-sa-gge-los}Statistics: Posted by ishidac — Sat Jan 10, 2026 3:50 am
- LyX • Emacs key bindingsby symptom-heap-chuck on January 5, 2026 at 6:33 pm
Can LyX be configured to use Emacs navigation key-bindings, like ctrl-n and ctrl-p for down/up, without replacing any of the existing bindings?Statistics: Posted by symptom-heap-chuck — Mon Jan 05, 2026 8:33 pm
- Page Layout • Re: weird visual bugby roken on January 2, 2026 at 3:57 pm
exactly, thanks a lot Statistics: Posted by roken — Fri Jan 02, 2026 5:57 pm
- Page Layout • Re: weird visual bugby Haiopaio on January 1, 2026 at 5:15 pm
In cell no.1 you may have set inadvertently multirow. Remove the checkmark in table settings and you are done.Statistics: Posted by Haiopaio — Thu Jan 01, 2026 7:15 pm
- Page Layout • weird visual bugby roken on January 1, 2026 at 11:23 am
hi i have a weird bug in my file : in the first exercice, the first item appears higher.I linked 2 images to show the Lyx Interface and result, and another link to the file. calcul de dérivés.lyxStatistics: Posted by roken — Thu Jan 01, 2026 1:23 pm
- General • Re: [Fix] LaTeX Error: Unknown message 'caption-code-by-class-deactivated' (tocbasic / KOMA-Script)by Stefan Kottwitz on December 31, 2025 at 12:45 pm
Hi gwadasly,welcome to the forum!Thanks for letting us know! It's indeed helpful to post your fix here in the forum, as people may find it later when googling for such a fix, so thanks for that.StefanStatistics: Posted by Stefan Kottwitz — Wed Dec 31, 2025 2:45 pm
- General • Re: \savebox in \newenvironmentby Stefan Kottwitz on December 31, 2025 at 12:43 pm
Hi Johannes,welcome to the forum!It's better to use a real environment here, take lrbox:Code: \documentclass{article}\newsavebox{\mybox}\newenvironment{myenviron}{%\begin{lrbox}{\mybox}}{\end{lrbox}%\usebox{\mybox}}\begin{document}\begin{myenviron}This is a test.\end{myenviron}\end{document}StefanStatistics: Posted by Stefan Kottwitz — Wed Dec 31, 2025 2:43 pm
- LyX • Re: suggestion: add supports for wsl texlive environmentby Stefan Kottwitz on December 31, 2025 at 12:33 pm
Hi,welcome to the forum!You can use a Windows TeX Live within WSL by calling them with the .exe extension, such as "pdflatex.exe filename".And you can install and use TeX Live completely in WSL using the wsl command before, such as "wsl pdflatex filename".Looks to me like what you request is already supported.If you have further suggestions or need a specific feature, you could post an issue to the TeX Live GitHub page or discuss in the TeX Live mailing list, as this is a general LaTeX users' forum here. But of course feel free to talk here as well. StefanStatistics: Posted by Stefan Kottwitz — Wed Dec 31, 2025 2:33 pm
- General • [Fix] LaTeX Error: Unknown message 'caption-code-by-class-deactivated' (tocbasic / KOMA-Script)by gwadasly on December 31, 2025 at 9:08 am
Hi everyone,I recently updated MiKTeX (December 2025) and encountered a breaking error when compiling my thesis. I managed to fix it and wanted to share the solution here to help others.**The Error:**! LaTeX Error: Unknown message 'caption-code-by-class-deactivated' for module (LaTeX) 'tocbasic'.**The Cause:**It seems to be a bug in the latest version of `tocbasic.sty` (v3.49). The package tries to use an error message before it is actually defined in the file.**The Solution (Workaround):**You need to manually edit the file `tocbasic.sty` in your LaTeX distribution folder (e.g., `.../tex/latex/koma-script/tocbasic.sty`).1. Open `tocbasic.sty`.2. Search for the block starting with: \msg_new:nnnn { tocbasic } { caption-code-by-class-deactivated }ex : \msg_new:nnnn { tocbasic } { caption-code-by-class-deactivated } { Loading~of~class-dependent~code~for~package~caption3~prevented\MessageBreak line~context. } { The~caption3~package~attempts~to~detect~classes~known~to~it\MessageBreak using~a~number~of~heuristics~and,~if~necessary,\MessageBreak reload~class-dependent~code.\MessageBreak Unfortunately,~the~code~from~caption-koma.sto,~for~example,\MessageBreak is~no~longer~compatible~with~the~KOMA-Script~package~tocbasic\MessageBreak since~KOMA-Script~3.46.\MessageBreak Therefore,~the~tocbasic~package~attempts~to~prevent~these~files\MessageBreak from~being~loaded~by~pretending~to~caption3~that~a~standard~class\MessageBreak is~being~used.\MessageBreak Since~the~caption3~package,~as~part~of~the~caption~collection,\MessageBreak is~no~longer~maintained,~and~since~the~KOMA-Script~author~himself\MessageBreak is~trying~to~maintain~the~compatibility~of~the~caption~package\MessageBreak with~KOMA-Script,~this~is~currently~the~best~known~method\MessageBreak to~prevent~unnecessary~warnings~from~caption~or~caption3. } (It is located near the end of the file).3. Cut (Ctrl+X) this entire definition block.4. Paste (Ctrl+V) it at the beginning of the file, just after the `\ExplSyntaxOn` command.ex :\if@tocbasic@old@latex@found\else \ExplSyntaxOn % --- PASTE HERE--- \msg_new:nnnn { tocbasic } { caption-code-by-class-deactivated } { ... } { ... } % ------------------------------------------- \bool_new:N \g__tocbasic_patch_all_boolThis ensures the message is defined before `tocbasic` tries to trigger it.Hope this helps!Statistics: Posted by gwadasly — Wed Dec 31, 2025 11:08 am
- LyX • suggestion: add supports for wsl texlive environmentby tty2099 on December 31, 2025 at 3:51 am
Actually, all my work is done within WSL. For commands like LaTeX, I just need to prefix them with 'wsl'. Using Linux package managers for common software is much more convenient. On Windows, maintaining package versions takes a lot of effort. While there are tools for this, they are often unsafe or require too much manual intervention. I strongly suggest adding support for TeX Live running in WSL to the Windows version.Statistics: Posted by tty2099 — Wed Dec 31, 2025 5:51 am
- Text Formatting • Re: TEX software adds unwanted spaces and misaligns square brackets on the rightby EugenioDiLorenzo on December 20, 2025 at 11:07 am
Vincent Coen and I are updating and correcting the GnuCOBOL manual, trying to understand how to proceed by looking at what's in the files.I won't deny that sometimes we feel like converting everything into a Word or LibreOffice file, with which we'd be more familiar, but for now we insist on keeping everything as is, and we're managing, albeit with difficulty.Everything we have is on this site:https://sourceforge.net/p/gnucobol/code ... doc/guide/I believe they also contain everything necessary, such as the command files for creating PDFs.Here are also the PDFs created and updated each time.Unfortunately, as you may have guessed, we don't have the experience to figure out how to fix this annoying behavior on my own. We'd love our manual to be perfect, even aesthetically.I'm looking for help on this site, hoping to find someone who can give us the right direction.I don't need you to run tests for us, but I do need detailed instructions on how to proceed.Statistics: Posted by EugenioDiLorenzo — Sat Dec 20, 2025 1:07 pm
- Text Formatting • Re: TEX software adds unwanted spaces and misaligns square brackets on the rightby Stefan Kottwitz on December 19, 2025 at 11:55 pm
Hi Eugenio,Since I posted the actual code from my TEX documentThat's not TeX code, it's texinfo code. Do you have a TeX code, possibly converted from texinfo .texi?could you tell me where I should apply your suggestion?Before the punctuation symbols. I cannot test it for you without a compilable file and information how to convert that to PDF. A simple texinfo call doesn't work here.StefanStatistics: Posted by Stefan Kottwitz — Sat Dec 20, 2025 1:55 am
- Text Formatting • Re: TEX software adds unwanted spaces and misaligns square brackets on the rightby EugenioDiLorenzo on December 19, 2025 at 5:26 pm
Hello Stefan,and thank you so much for your reply. Unfortunately, your suggestion isn't clear to me.Since I posted the actual code from my TEX document, could you tell me where I should apply your suggestion ?Something like the following ?@verbatiminclude SYN-\fileinfo\.texi{}or@verbatiminclude SYN-\fileinfo\.texi@Or should it be placed in the command inside the macro ?@diagram{Complete GnuCOBOL Program,Complete-Program-Info,Complete-Program-Info,None}{}or@diagram{Complete GnuCOBOL Program,Complete-Program-Info,Complete-Program-Info,None}@Or somewhere else?PS. Just so you know, the complete document (the GnuCOBOL Programmer's Guide, nearly 1,000 pages) can be found here:https://sourceforge.net/p/gnucobol/code ... doc/guide/Statistics: Posted by EugenioDiLorenzo — Fri Dec 19, 2025 7:26 pm
- General • Re: \savebox in \newenvironmentby Johannes on December 18, 2025 at 2:52 pm
With \bgroup and \egroup instead of the braces:Code: \documentclass{article}\usepackage{ntheorem}\newsavebox{\mybox}\newenvironment{myenviron}{%\savebox{\mybox}\bgroup}{\egroup%\usebox{\mybox}}\begin{document}\begin{myenviron}This is a test.\end{myenviron}\end{document}This is how we implemented a new enviroment, and it worked at least until 2019. Today it returns...! Missing } inserted.<inserted text> }l.16 \begin{myenviron} ?Can anyone tell me what has been changed since then?Statistics: Posted by Johannes — Thu Dec 18, 2025 4:52 pm
- Text Formatting • Re: TEX software adds unwanted spaces and misaligns square brackets on the rightby Stefan Kottwitz on December 18, 2025 at 11:32 am
Hi Eugenio,welcome to the forum!I think it's not TeX inserting additional spaces, but that's done by texinfo, which controls whitespace and adds its own punctuation spacing rules. To prevent spacing, you may use {} after a command, likeCode: @code{OBJECT-COMPUTER}{},or use @ before punctuation to suppress a space, likeCode: @code{OBJECT-COMPUTER}@,Try both at such a place and see if @ or {} helps at that point.StefanStatistics: Posted by Stefan Kottwitz — Thu Dec 18, 2025 1:32 pm
- General • Packages to reveal formattingby Nouber on December 16, 2025 at 10:05 am
Hi,I need to run my work by an editor who isn't familiar with LaTeX and usually relies on options provided by Word and pilcrow signs. I would like to make this process as smooth and easy as possible for the both of us, so I would like to compile a second version of my final draft where all the relevant info is overlaid on the page or printed on a separate page.So far I have found the layout package and I am using the option showframe with the geometry package for the general formatting. I would like to also display the size of spaces after/before a figure or a list since this is something they are strict about. It would be grand if I could display that in terms of empty lines in my font size.Are there any other packages or ways to print things like the size of vertical space after a list environment in terms of the font size I am using, or all the information [verbose] on geometry gives, but on the PDF output itself? Sadly I will not have the opportunity to show any code or log files to the editor, so running the .log file or terminal output by them is not an option.Statistics: Posted by Nouber — Tue Dec 16, 2025 12:05 pm
- Text Formatting • TEX software adds unwanted spaces and misaligns square brackets on the rightby EugenioDiLorenzo on December 15, 2025 at 3:11 pm
TEX software adds unwanted spaces and misaligns square brackets on the right In the source: https://sourceforge.net/p/gnucobol/code ... /2-1A.texithere is the macro: @diagram{Complete GnuCOBOL Program,Complete-Program-Info,Complete-Program-Info,None}which inserts the file: SYN-Complete-Program-Info.texiThis file contains some dots and ellipses...The right square brackets are correctly aligned in the source file but are misaligned in the PDF generated by TEX.Apparently, the right square brackets shift to the right when there is a period . or three periods ... in the line. TEX software adds unwanted spaces.This is part of source file: 2-1A.texi that call the macro "diagram" :@comment *********************************************************************@comment ** 2.1.17 Program Structure **@comment *********************************************************************@page@newsubsection{Program Structure}@diagram{Complete GnuCOBOL Program,Complete-Program-Info,Complete-Program-Info,None}This is the macro:@comment +-------------------------------------------------------------------+@comment | MACRO: diagram{title,fileinfo,filetex,note |@comment | |@comment | Insert a syntax diagram. Arguments are as follows: |@comment | title Title of Diagram |@comment | fileinfo "INFO" Format filename : SYN-<fileinfo>.texi |@comment | filetex "TeX" Format filename : SYN-<filetex>.texi |@comment | note Notes filename : NOTE-<note>.texi |@comment +-------------------------------------------------------------------+@macro diagram{title,fileinfo,filetex,note}@ifnottex@ifset SKELETON@sp 1@center =======================================================================@end ifset@center \title\ Syntax@center =======================================================================@sp 1@verbatiminclude SYN-\fileinfo\.texi@include NOTE-\note\.texi@end ifnottex@iftex@cartouche@smallformat@center @b{\title\ Syntax}@end smallformat@end cartouche@verbatiminclude SYN-\filetex\.texi@include NOTE-\note\.texi@end iftex@ifnottex@ifclear SKELETON@sp 1@center =======================================================================@end ifclear@end ifnottex@iftex@ifclear SKELETON@sp 1@center ------------------------------------------------------------------------------------------------------------------------@end ifclear@end iftex@end macrothis is the content of file: SYN-Complete-Program-Info.texi where right sqare brackets are vertical aligned:Code: [ IDENTIFICATION DIVISION. ] ~~ ~~~~~~~~ PROGRAM-ID|FUNCTION-ID. name-1 [ Program-Options ]. ~~~~~~~~~~ ~~~~~~~~~~~ [ ENVIRONMENT DIVISION. ] [ ~~~~~~~~~~~ ~~~~~~~~ ] [ CONFIGURATION SECTION. ] [ ~~~~~~~~~~~~~ ~~~~~~~ ] [ SOURCE-COMPUTER. Compilation-Computer-Specification. ] [ ~~~~~~~~~~~~~~~ ] [ OBJECT-COMPUTER. Execution-Computer-Specification. ] [ ~~~~~~~~~~~~~~~ ] [ REPOSITORY. Prototype-Specification... . ] [ ~~~~~~~~~~ ] [ SPECIAL-NAMES. Program-Configuration-Specification. ] [ ~~~~~~~~~~~~~ ] [ INPUT-OUTPUT SECTION. ] [ ~~~~~~~~~~~~ ~~~~~~~ ] [ FILE-CONTROL. General-File-Description... . ] [ ~~~~~~~~~~~~ ] [ I-O-CONTROL. File-Buffering-Specification... . ] ~~~~~~~~~~~ [ DATA DIVISION. ] [ ~~~~~~~~~~~~~ ] [ FILE SECTION. Detailed-File-Description... . ] [ ~~~~~~~~~~~~ ] [ WORKING-STORAGE SECTION. Permanent-Data-Definition... . ] [ ~~~~~~~~~~~~~~~ ~~~~~~~ ] [ LOCAL-STORAGE SECTION. Temporary-Data-Definition... . ] [ ~~~~~~~~~~~~~ ~~~~~~~ ] [ LINKAGE SECTION. Subprogram-Argument-Description... . ] [ ~~~~~~~ ~~~~~~~ ] [ REPORT SECTION. Report-Description... . ] [ ~~~~~~ ~~~~~~~ ] [ SCREEN SECTION. Screen-Layout-Definition... . ] ~~~~~~ ~~~~~~~ PROCEDURE DIVISION [ { USING Subprogram-Argument... } ] ~~~~~~~~~ ~~~~~~~~ [ { ~~~~~ } ] [ { CHAINING Main-Program-Argument... } ] ~~~~~~~~ [ RETURNING identifier-1 ]. ~~~~~~~~~ [ DECLARATIVES. ] [ ~~~~~~~~~~~~ ] [ Event-Handler-Routine... . ] [ END DECLARATIVES. ] ~~~ ~~~~~~~~~~~~ General-Program-Logic. [ Nested-Subprogram... ] [ END PROGRAM|FUNCTION name-1. ] ~~~ ~~~~~~~ ~~~~~~~~ TEX inserts unwanted spaces after the single dots and after ellipsis; it's unclear what the rule is, and this causes the right brackets to be misaligned.See attached image.How can I tell to TEX do not add spaces after dots and after ellipsis ?Statistics: Posted by EugenioDiLorenzo — Mon Dec 15, 2025 5:11 pm
- LaTeX Beginner's Guide • How can I write a matrix with more than 10 columns?by Stefan Kottwitz on December 14, 2025 at 8:20 am
Internally, amsmath uses an array environment with a number of columns set to MaxMatrixCols. That is a counter, intially set to 10. That's usually enough, but in case we need bigger matrices, we can modify the counter, also globally, by \setcounter{MaxMatrixCols}{<value>}. Here, we set the MaxMatrixCols value to 11, and now it compiles without error:Code: \documentclass{article}\usepackage{amsmath}\setcounter{MaxMatrixCols}{11}\begin{document}\[A = \begin{pmatrix}a_{11} & a_{12} & a_{13} & a_{14} & a_{15} & a_{16} & a_{17} & a_{18} & a_{19} & a_{10} & a_{11} \\a_{21} & a_{22} & a_{23} & a_{24} & a_{25} & a_{26} & a_{27} & a_{28} & a_{29} & a_{20} & a_{21} \end{pmatrix}\]\end{document}We get:Of course, we can also set it to a higher value. Btw. we had that question here earlier, in the topics Matrix Alignment Error and Problem with creating a matrix.StefanStatistics: Posted by Stefan Kottwitz — Sun Dec 14, 2025 10:20 am
- Page Layout • Additional tocby clauer on December 11, 2025 at 9:00 am
Hello, I’ve written a document (presets for my sound concert hall processor). After the theoretical description, I have about 50 rooms with their respective parameters. Now, I need a laminated handout and a page at the end listing the rooms.Attached the doc: Presets.texAny ideas?Statistics: Posted by clauer — Thu Dec 11, 2025 11:00 am
- LyX • TikZ previews affected by LyX UI style?by symptom-heap-chuck on December 11, 2025 at 3:04 am
It appears that TikZ previews are affected by the LyX user interface style?!When I have a regular white background and black text UI (preferences | look and feel | default UI style), I can enter LyX code wrapped by preview and have the preview show up as intended. HOWEVER, if I switch to a dark mode style (in my case, Adwaita-Dark), the TikZ previews change color and are so light they barely show up on my monitor.I attached my LyX file for reference: preview-not-working.lyxHere is what preview mode looks like when I have dark mode on:And this is what it looks like when the style is not dark mode:Ideally this shows me the diagram properly when I'm in dark mode. I don't care if it is white-on-black or black-on-white. How to make this work?Statistics: Posted by symptom-heap-chuck — Thu Dec 11, 2025 5:04 am
- Graphics, Figures & Tables • Latex Include a Graphic File as the Cover Pageby ranaya123 on December 6, 2025 at 8:19 am
I am compiling my thesis using Latex, which eventually generates a PDF file. In addition to its textual content, I want to insert a graphical image (.png) as its cover page. This is what I am doing with the help of titlepic, pdfpages Latex packages.In my permeable: \usepackage{titlepic} \usepackage{pdfpages}\begin{document} \includepdf[pages=1]{./figures/ThesisCover.png} \end{document}Now this brings the following Latex error:! Undefined control sequence. l.31 \if@titlepage The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., \hobx'), type I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined.Can anybody shed a light on how to solve this problem ?ThanksStatistics: Posted by ranaya123 — Sat Dec 06, 2025 10:19 am
- Text Formatting • Re: Trouble converting from Overleaf to TeXStudioby Amissane on December 3, 2025 at 2:47 pm
Hi,For comparison, I’ve been working with the BlabLaTeX online editor (https://www.blablatex.com), which doesn’t impose any compile-time limits, and my documents with biblatex compile normally This might help determine whether the issue is related to Overleaf’s reduced compile time or to the local TeX setup in TeXstudio.Statistics: Posted by Amissane — Wed Dec 03, 2025 4:47 pm
- XeTeX • polyglossia sanskrit and numeralsby frpatte on December 2, 2025 at 8:26 am
Bonjour,I recently came across an issue with polyglossia and sanskrit: when you put\setdefaultlanguage{sanskrit} a "\requirepackage{devanagaridigits} is called which turns numbers in devanagari scipt.Is there a way to avoid (or correct) this ie. I want to be able to get numerals in latin script even if the text script is in devanagari.Thank you.PS1- What is the difference between \setdefaultlanguage{sanskrit} and \setmainlanguage{sanskrit}PS2- Where can we see all the dependencies of a command ie. be aware that \setdefaultlanguage{sanskrit} will require devanagaridigits for instance.... I discovered this problem thanks to an error message.F.P.Statistics: Posted by frpatte — Tue Dec 02, 2025 10:26 am
- LyX • Implementing a custom module to support journalling?by symptom-heap-chuck on November 28, 2025 at 6:29 am
Hi everyone.I use LaTeX to write journals with dated entries. The way I deal with the entries with a small bit of code and a new command:Code: % journal entry command\usepackage[en-CA]{datetime2}\newcommand{\journalentry}[2]{ \renewcommand{\thesection}{\DTMdate{#1}} % numbering to date \section{#2}}With this code, I can now create new journal entries with \journalentry{2025-01-01}{My Journal Title}. The content body shows the localized date as the "section number" for each entry.This works in LaTeX. I want to do this in LyX. Instead of having to insert TeX code every time I need to use \journalentry, I want to add an entry to the top-left drop down. I'm guessing what I would do is have two entries in the drop-down, one to set the next journal entry's date and then another to set the journal entry's title.I guess custom module would let me do this, but I cannot find any documentation on how to implement a custom module. How would I get started?Statistics: Posted by symptom-heap-chuck — Fri Nov 28, 2025 8:29 am
- Text Formatting • Enotez + hyperref: Endnote links do nothing when using custom chapter-based headings (TeX Live 2024)by Jongomez on November 25, 2025 at 6:54 pm
Hello,I’m working on a book project with endnotes grouped by chapter using the enotez package in TeX Live 2024.The goal is:Endnotes grouped by chapterChapter names replaced with custom titles (e.g. “KAPITULUA 1”, “HITZAURREA”, etc.)Hyperlinks working in both directions:Clicking the superscript in the text → jump to the noteClicking the note number → jump back to the reference in the text Current issueWith the code below:The custom endnote headers work perfectly (the generic “Notes for chapter X” text disappears).But hyperlinks stop working completely: clicking the superscript number in the text does nothing.It doesn’t jump to the note, nor to the AMAI-OHARRAK chapter.This happens consistently on TeX Live 2024.MWE(Uploaded here: main_nuevo_actualizado.tex — but reduced below for clarity.)[\newcommand{\GetChapterTitle}[1]{% \ifcsname ChapterTitle@#1\endcsname \csname ChapterTitle@#1\endcsname \else Chapter #1 \fi}% Custom mapping\expandafter\gdef\csname ChapterTitle@1\endcsname{HITZAURREA}\expandafter\gdef\csname ChapterTitle@2\endcsname{SARRERA}\expandafter\gdef\csname ChapterTitle@3\endcsname{KAPITULUA 1}% (… and so on)% Custom header override\makeatletter\renewcommand*\enotez@heading@chapter[1]{% \par\bigskip {\centering\Large\bfseries \GetChapterTitle{#1}\par} \medskip}\makeatotherEffects:FeatureWorks?Custom chapter titles in endnotes✔ WorksCorrect grouping of notes per chapter✔ WorksHyperlinks to notes BrokenHyperlinks back to text Broken QuestionIs there a way to keep the custom chapter-based endnote headings and preserve the hyperlink functionality?It seems that redefining \enotez@heading@chapter disables something internal related to hyperref anchors, but I don’t know how to restore it.Any hint, workaround, or correct approach is greatly appreciated.Thank you!Statistics: Posted by Jongomez — Tue Nov 25, 2025 8:54 pm
- LyX • Re: Security Question: OpenSSL 3 DLLs (libcrypto-3.dll / libssl-3.dll) in Windows LyXby Stefan Kottwitz on November 19, 2025 at 1:21 pm
Welcome to the forum!Those SSL libraries belong to Qt, right, LyX just uses Qt. LyX can use it to download from external repositories or sources such as remote BibTeX/biblatex sources, or via URL-inserted stuff. I don't work with LyX myself, but I can imagine it works when used locally without Internet access, just using the local TeX installation. So, an option may be removing the DLLs and telling users that LyX can be used without external parts (and ignoring Qt TLS warnings like “No functional TLS backend” / “incompatible OpenSSL” etc.Replacing with updated DLLs can be better, but it may require some testing (or research). Use the same kind of DLLs (64-bit) with the same major and minor versions, just patched. Test a bit, like inserting something from an external URL. If it survives a small test, then SSL/TLS should work in general.You could also ask on more official channels, such as the mailing lists, or give this a try.StefanStatistics: Posted by Stefan Kottwitz — Wed Nov 19, 2025 3:21 pm
- LyX • Security Question: OpenSSL 3 DLLs (libcrypto-3.dll / libssl-3.dll) in Windows LyXby lyx_user1221 on November 19, 2025 at 9:31 am
Dear LyX community,I am contacting you because i am evaluating the use of LyX in a corporate environment, and i have encountered a security compliance issue regarding the OpenSSL libraries distributed with the Windows version of LyX.Specifically, the LyX installation includes the following DLLs:libcrypto-3.dlllibssl-3.dllThe internal security tools have flagged these files as containing known OpenSSL 3.x vulnerabilities (based on current CVE reports).Updating LyX to a newer version did not resolve the issue, and replacing the DLLs manually is difficult without knowing which OpenSSL 3.x build is officially supported and compatible with the LyX Windows binaries.I would appreciate guidance on the following questions:Does LyX actively use OpenSSL on Windows, or are these DLLs only present because of Qt’s network module?In other words, is OpenSSL actually required by LyX, or only loaded when optional network features are used (e.g., update checks)?Is it safe and officially supported to replace the included libcrypto-3.dll and libssl-3.dll with patched OpenSSL 3.x DLLs from trusted sources (e.g., the Win64 OpenSSL builds)?If yes, are there specific version requirements, ABI constraints, or known compatibility issues?Is there a way to disable SSL/HTTPS functionality in LyX entirely, for environments where outbound network connections are blocked anyway?Are there any plans to update or decouple the bundled OpenSSL libraries in future LyX releases?This is an important question for corporate-wide deployment, because we need a clear and supportable mitigation that does not rely on sandboxing or user-level workarounds.Any information or recommendations from the LyX developers or experienced users would be very helpful.Thank you very much for your assistance,Statistics: Posted by lyx_user1221 — Wed Nov 19, 2025 11:31 am
- Texmaker and TeXstudio • Re: How to create a Quick Build shortcut in TeXmaker?by PierreJ on November 17, 2025 at 10:53 am
Thank you very much, Stefan! Will do that.By the way, user beware: going from TeXmaker v. 5 to v. 6 looks more like a 'downdate' than an update. I've noticed several problems. Among them, highlighted text is almost unreadable. Its colour is light grey, with a light blue background. Please see the attached image. Statistics: Posted by PierreJ — Mon Nov 17, 2025 12:53 pm
- Texmaker and TeXstudio • Re: How to create a Quick Build shortcut in TeXmaker?by Stefan Kottwitz on November 16, 2025 at 4:25 pm
I don't use TeXmaker, but if you don't find a solution in the editor, I suggest using a shortcut tool to register Cmd-T for that action. Sounds like a Macbook - I work on a Macbook too and use the BetterTouchTool for such keyboard actions, mouse and touch actions, as a screenshot tool, window switcher, and more.StefanStatistics: Posted by Stefan Kottwitz — Sun Nov 16, 2025 6:25 pm