GithubHelp home page GithubHelp logo

latex-document-outline's People

Contributors

dependabot[bot] avatar enochmakenp avatar jmafoster1 avatar

Watchers

 avatar

latex-document-outline's Issues

Add a preference "latex-document-outline.show"

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 !

Strict variable declaration seems needed in Pulsar 1.107.1

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...

Upgrade margin and collapse behavior

Objective:

  • improve the left margin of the outline to save horizontal space
  • allow collapse of image and table in section without sub-sections
    (meanwhile correct a few bugs)

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 !

collapse does not work as intended

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:

  1. Identify collapsible section of document
  2. Click arrow

Expected result:

section will collapse

Actual result

section remains expanded

Reproduction rate:
10/10

Screenshot:
image

Document part with * should be left in the outline tree

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 !

Object.dirname is deprecated.

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.