texstudio-org / texstudio-org/texstudio
Structure panel empty in DTX files.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 3.6k
- Forks
- 403
- Avg merge
- 3h 14m
- Merged PRs (30d)
- 12
Description
Environment
- TeXstudio: 2.12.10
- Qt: Qt Version 5.8.0, compiled with Qt 5.8.0 R
- OS: Windows 10, Version 1803.
- TeX distribution: Miktex.
Expected behavior
In DTX files, a line
%\section{Introduction}
should cause an entry in the structure view, since the document contents in DTX files are contained exclusively in commented lines.
Actual behavior
The structure view remains empty. It is not affected by the "Show elements in comments" option, which apprently refers to comment-environments only.
How to reproduce
Type %\section{foo}. Save as .dtx file.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in a saved .dtx file using the documented %\section{foo} input, then inspect the structure view and the "Show elements in comments" behavior. The fix is complete when section commands inside commented DTX lines produce structure entries without requiring comment-environment handling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, latex
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100