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

package/class not recognized if options contain linebreak #2843

Open
mbertucci47 opened this issue Jan 11, 2023 · 0 comments
Open

package/class not recognized if options contain linebreak #2843

mbertucci47 opened this issue Jan 11, 2023 · 0 comments

Comments

@mbertucci47
Copy link
Contributor

Environment

  • TeXstudio: 4.5.1beta2
  • Qt: 6.4.2
  • OS: Windows 10
  • TeX distribution: miktex

Some packages and classes have options that contain a csv list in braces, option={key1,key2,...}. If an invocation of \documentclass or \usepackage uses such an option and contains a line break inside the braces, TXS doesn't recognize it. For example

beamr

The same problem holds for \usepackage.

Example source

\documentclass[xcolor={table,
	svgnames}]{beamer}

\begin{document}

\begin{frame}
aaa

\color{Teal}{xyz}
\end{frame}

\end{document}
@sunderme sunderme pinned this issue Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants