Benjamin-Loison / latex2e

The LaTeX2e kernel
https://www.latex-project.org/
LaTeX Project Public License v1.3c
0 stars 0 forks source link

Remove displaying references #25

Open Benjamin-Loison opened 4 days ago

Benjamin-Loison commented 4 days ago
\renewcommand{\cite}[1]

involves issue due to preceding non-breaking space.

Brief outline of the enhancement

LaTeX2e generally cannot add new features without an extreme amount of care to accommodate backwards compatibility. Please do not be offended if your request is closed for being infeasible.

Minimal example showing the current behaviour

\RequirePackage{latexbug}       % <--should be always the first line (see CONTRIBUTING)!
\documentclass{article}

  % Any preamble code goes here

\begin{document}

  % Demonstration of issue here

\end{document}

Minimal example showing the desired new behaviour

\RequirePackage{latexbug}       % <--should be always the first line (see CONTRIBUTING)!
\documentclass{article}

  % Any preamble code goes here

\begin{document}

  % Demonstration of issue here

\end{document}
Benjamin-Loison commented 4 days ago

A workaround consists in removing regex occurrences of:

~\\cite{[a-zA-Z\d,_.]+}
Benjamin-Loison commented 4 days ago

Related to the Tex Stack Exchange question 360910.