jmafoster1 / latex-document-outline Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
The existing command latex-document-outline:toggle, works well... but it is hard to use it to automatically open up outline-view when we open our latex project.
I'm using a project management package called "project-manager", that can set preferences in atom as for each project as indicated in the projects.cson (under the settings: section).
I wish I could set a preference like "latex-document-outline.show":"True", that would force the outline to appear when I load my project from the manager.
It is not an real issue, but merely a request for improvement :-)
Thanks !
I'm the only one to bug you with bug reports, but thanks for your effort !
I've recently installed Pulsar (1.107.1 x64) and found that the latex-document-outline was no more working, with plenty of "str not defined" errors.
I had to use the let and const keywords each time a new variable was introduced in the latex-document-outline-view.js code... and it fixed the problem :-)
I suppose, there is now some strict ECMA script rule somewhere...
Objective:
This new issue is here to track the discussion for the code in pull request #10.
The code has been tested in Pulsar 1.107.1 on x64 W10, more tests are welcome !
On the outline the sections are accompanied by an arrow, indicating they can be collapsed. However, clicking the arrow does not collapse the section.
Reproduction steps:
Expected result:
section will collapse
Actual result
section remains expanded
Reproduction rate:
10/10
In LaTeX we may use * to signify that the document part (section, subsection, chapter...) should not be numbered - however these part are part of the document outline and I think it should appear in the outline tree, which, AFAICT, is not the case currently.
Thanks !
Argument to path.dirname
must be a string
Object.dirname (/usr/share/atom/resources/app.asar/src/electron-shims.js:9:10)
new LatexDocumentOutlineView (/home/johnf/.atom/packages/latex-document-outline/lib/latex-document-outline-view.js:34:36)
<unknown> (/home/johnf/.atom/packages/latex-document-outline/lib/latex-document-outline.js:25:16)
Workspace.createItemForURI (<embedded>:27426:28)
Workspace.<anonymous> (<embedded>:27232:42)
Generator.next (null:null:null)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.