Comments (2)
Could you expand on what the problem is here? Why would %
fix this? Why does the lack of it cause chktex to complain about page numbers?
Are you talking about a literal %
(perhaps some syntax I'm not aware of) or our alias for yas-selected-text
? Could you be more specific about where the end of the line preceding labels
means?
Since your issue title mentions "latex snippets" and labels, are you talking about https://github.com/hlissner/doom-snippets/blob/master/latex-mode/label? Or "labels" generally?
from snippets.
It comments out the linebreak after \section
or \subsection
so the \label
is on the same (logical) line.
Chktex complains because it's theoretically possible that the heading is the last line on a page, and the page number corresponding to the label won't be the same as that corresponding to the heading.
from snippets.
Related Issues (20)
- snippets always append a new line even though I `require-final-newline` to nil
- LaTeX module autocompletion breaks without enabling "snippets" module HOT 1
- Can't undo snippets HOT 2
- Problem defining snippets HOT 4
- Chaining snippets
- Accidently triggering nested snippets in LaTeX math HOT 1
- Fundamental-mode snippets pi and phi conflict with julia-latexsub HOT 10
- Update org-mode snippets to use lowercase for blocks HOT 1
- Missing plantuml-mode snippets
- Isn't there a need for a "keyword list convention" or a contribution guide? HOT 1
- Editing or disabling some of the predefined snippets HOT 1
- doom sync is giving me "Symbol's function definition is void" when doing a fresh install HOT 4
- `bang` fundamental mode snippet only on first line HOT 1
- Please add uuid to all snippets HOT 1
- `org-mode/chinese_...` snippets evaluation error HOT 1
- Org mode: Duplicate snippets HOT 1
- No such file or directory doom-snippets-lib after requiring yasnippet from my package HOT 5
- [go] spurious space when using `const` snippet in go-mode HOT 1
- erlang-mode snippets
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snippets.