Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Reference without a non-breaking space" before \nameref #3793

Open
ErenBYilmaz opened this issue Dec 2, 2024 · 0 comments
Open

"Reference without a non-breaking space" before \nameref #3793

ErenBYilmaz opened this issue Dec 2, 2024 · 0 comments
Labels
bug Deficiencies in TeXiFy behaviour. good-first-issue These issues are relatively simple and good to get yourself acquainted with the codebase.

Comments

@ErenBYilmaz
Copy link

Type of JetBrains IDE (IntelliJ, PyCharm, etc.) and version

  • PyCharm 2024.2.4 (Professional Edition)
  • Build #PY-242.23726.102, built on October 22, 2024
  • Runtime version: 21.0.4+13-b509.26 amd64 (JCEF 122.1.9)
  • VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.

Operating System

Windows 10

TeXiFy IDEA version

0.9.8

What I did (steps to reproduce)

Reference a section by name.

Minimal example to reproduce the problem

\documentclass{article}
\usepackage{hyperref}
\begin{document}
    \section{ImageNet}\label{sec:imagenet}
    \ldots
    \section{Next Section}
    The \nameref{sec:imagenet} dataset is described in Section \ref{sec:imagenet}.
\end{document}

Expected behavior

The space before \ref should be marked as "Reference without a non-breaking space", but not the space before \nameref.

Actual behavior

Both spaces before \ref and before \nameref are marked as "Reference without a non-breaking space".

(if applicable) The full stacktrace of the exception thrown


@ErenBYilmaz ErenBYilmaz added bug Deficiencies in TeXiFy behaviour. untriaged Issue type still needs to be triaged or verified. labels Dec 2, 2024
@PHPirates PHPirates added good-first-issue These issues are relatively simple and good to get yourself acquainted with the codebase. and removed untriaged Issue type still needs to be triaged or verified. labels Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Deficiencies in TeXiFy behaviour. good-first-issue These issues are relatively simple and good to get yourself acquainted with the codebase.
Projects
None yet
Development

No branches or pull requests

2 participants