Comments (5)
Sure. I stripped my file down to the following one-slide example:
(sorry I had to rename it to .txt since GitHub does not like uploading .tex files).
To reproduce the error do the following:
- Open the file in Atom (with latexer enabled) as a .tex-file.
- Find the display math formula in the itemize environment, place your cursor in the end of the formula and hit spacebar.
- You will see erroneous [ and ] added in weird places.
What seems to be interesting is that when I delete the preceding block environment, the bug disappears. So probably its logic of traversing the environments after and through each other leaves the state machine in an incorrect state.
And you get extra 5 point credit for figuring out what language the example slide is written in :)
Best,
Jan
from latexer.
Hmm, yes that is quite annoying. Unfortunately I can't seem to replicate it. Could you possibly try the github version? Or wait until end of week for 0.3.1 and try it with that?
from latexer.
I can confirm the bug. I have a feeling that the occurrence of too many ]-s is more likely within another environment. For example I had this trouble when I needed to write display formulae within a block environment in beamer.
from latexer.
Could you possibly provide a small reproducible example?
from latexer.
Thanks for providing the example, I even forgot about the bug for a while (since I switched back to my old editor). Yes, that replicates the bug and occurs often in beamer slides. It also happens therein with the equation environment, but in a slightly different setting, i'll try to also boil that down to a minimal example and report back.
from latexer.
Related Issues (20)
- Cloned latexer package cannot find module atom-space-pen-views HOT 2
- Bibliography autocompletion enhancement HOT 1
- Environment auto-completion is overzealous and creates \end{} when one already exists HOT 1
- We should use a persistent datastore for speed improvements HOT 3
- Feature request: Adding support for glossary HOT 1
- Support list autocontinuation HOT 1
- After selecting ref/cite from a list, not able to get back cursor. HOT 1
- Dropdown menu not showing up in Atom 1.17 HOT 4
- Failed to activate the latexer package HOT 1
- Citation assistance for parencite HOT 4
- Wrapping math and macros
- Modal Panel broken with theme HOT 3
- Feature request: Adding support for Acronym
- TEX Root command to static
- Feature request: autocomplete for bib and refs from separate directory
- Feature Request: display the content of bibtex citation items
- Feature request: addbibresource remote support + better suffix handling
- Failed to load the latexer package
- Feature request : use texmf directory to find the bib file
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 latexer.