Giter Site home page Giter Site logo

Comments (4)

cmhughes avatar cmhughes commented on May 28, 2024

Thanks for reporting this issue! I'm a little busy at the moment, but I
will look at this and the other issues you've reported as soon as I can.
I'll follow-up once I've looked at them.

Thanks!

On Fri, Jul 11, 2014 at 7:06 PM, Ryan Pavlik [email protected]
wrote:

I get these errors/warnings? when trying to run on
https://gist.github.com/rpavlik/ad3f19bcd1aa150c7d6d

Just using latest Git version directly cloned, no customization, no build
process performed (is there one?), installed required packages via apt-get
on Debian Testing (actually LMDE but close enough)

These get sent to stderr and do not keep it from outputting the formatted
document afterwards.

However, if I add -w to the command line, nothing is printed and the app
hangs, must be killed with ctrl-c

Use of uninitialized value $indentNames[-1] in hash element at ../third-party/latexindent.pl/latexindent.pl line 859, line 76.
Use of uninitialized value $indentNames[-1] in hash element at ../third-party/latexindent.pl/latexindent.pl line 865, line 86.
Use of uninitialized value $indentNames[-1] in hash element at ../third-party/latexindent.pl/latexindent.pl line 896, line 86.
Use of uninitialized value $indentNames[-1] in hash element at ../third-party/latexindent.pl/latexindent.pl line 859, line 89.
Use of uninitialized value $indentNames[-1] in hash element at ../third-party/latexindent.pl/latexindent.pl line 865, line 102.
Use of uninitialized value $indentNames[-1] in hash element at ../third-party/latexindent.pl/latexindent.pl line 896, line 102.
Use of uninitialized value $indentNames[-1] in hash element at ../third-party/latexindent.pl/latexindent.pl line 859, line 104.
Use of uninitialized value $command in hash element at ../third-party/latexindent.pl/latexindent.pl line 2030, line 193.
Use of uninitialized value $command in hash element at ../third-party/latexindent.pl/latexindent.pl line 2030, line 193.
Use of uninitialized value $countzeros in numeric eq (==) at ../third-party/latexindent.pl/latexindent.pl line 1343, line 193.
Use of uninitialized value $command in hash element at ../third-party/latexindent.pl/latexindent.pl line 2030, line 193.
Use of uninitialized value $command in hash element at ../third-party/latexindent.pl/latexindent.pl line 2030, line 193.
Use of uninitialized value $countzeros in numeric eq (==) at ../third-party/latexindent.pl/latexindent.pl line 1343, line 193.
Use of uninitialized value $command in hash element at ../third-party/latexindent.pl/latexindent.pl line 2030, line 198.
Use of uninitialized value $command in hash element at ../third-party/latexindent.pl/latexindent.pl line 2030, line 198.
Use of uninitialized value $countzeros in numeric eq (==) at ../third-party/latexindent.pl/latexindent.pl line 1343, line 198.
Use of uninitialized value $command in hash element at ../third-party/latexindent.pl/latexindent.pl line 2030, line 198.
Use of uninitialized value $command in hash element at ../third-party/latexindent.pl/latexindent.pl line 2030, line 198.
Use of uninitialized value $countzeros in numeric eq (==) at ../third-party/latexindent.pl/latexindent.pl line 1343, line 198.
Use of uninitialized value $indentNames[-1] in hash element at ../third-party/latexindent.pl/latexindent.pl line 865, line 212.
Use of uninitialized value $indentNames[-1] in hash element at ../third-party/latexindent.pl/latexindent.pl line 896, line 212.
Use of uninitialized value $indentNames[-1] in hash element at ../third-party/latexindent.pl/latexindent.pl line 859, line 217.
Use of uninitialized value $indentNames[-1] in hash element at ../third-party/latexindent.pl/latexindent.pl line 859, line 224.
Use of uninitialized value $indentNames[-1] in hash element at ../third-party/latexindent.pl/latexindent.pl line 859, line 229.
Use of uninitialized value $command in hash element at ../third-party/latexindent.pl/latexindent.pl line 2030, line 236.
Use of uninitialized value $command in hash element at ../third-party/latexindent.pl/latexindent.pl line 2030, line 236.
Use of uninitialized value $countzeros in numeric eq (==) at ../third-party/latexindent.pl/latexindent.pl line 1343, line 236.
Use of uninitialized value $command in hash element at ../third-party/latexindent.pl/latexindent.pl line 2030, line 236.
Use of uninitialized value $command in hash element at ../third-party/latexindent.pl/latexindent.pl line 2030, line 236.
Use of uninitialized value $countzeros in numeric eq (==) at ../third-party/latexindent.pl/latexindent.pl line 1343, line 236.
Use of uninitialized value $command in hash element at ../third-party/latexindent.pl/latexindent.pl line 2030, line 238.
Use of uninitialized value $command in hash element at ../third-party/latexindent.pl/latexindent.pl line 2030, line 238.
Use of uninitialized value $countzeros in numeric eq (==) at ../third-party/latexindent.pl/latexindent.pl line 1343, line 238.
Use of uninitialized value $command in hash element at ../third-party/latexindent.pl/latexindent.pl line 2030, line 238.
Use of uninitialized value $command in hash element at ../third-party/latexindent.pl/latexindent.pl line 2030, line 238.
Use of uninitialized value $countzeros in numeric eq (==) at ../third-party/latexindent.pl/latexindent.pl line 1343, line 238.
Use of uninitialized value $command in hash element at ../third-party/latexindent.pl/latexindent.pl line 2030, line 249.
Use of uninitialized value $command in hash element at ../third-party/latexindent.pl/latexindent.pl line 2030, line 249.
Use of uninitialized value $countzeros in numeric eq (==) at ../third-party/latexindent.pl/latexindent.pl line 1343, line 249.
Use of uninitialized value $command in hash element at ../third-party/latexindent.pl/latexindent.pl line 2030, line 249.
Use of uninitialized value $command in hash element at ../third-party/latexindent.pl/latexindent.pl line 2030, line 249.
Use of uninitialized value $countzeros in numeric eq (==) at ../third-party/latexindent.pl/latexindent.pl line 1343, line 249.
Use of uninitialized value $command in hash element at ../third-party/latexindent.pl/latexindent.pl line 2030, line 251.
Use of uninitialized value $command in hash element at ../third-party/latexindent.pl/latexindent.pl line 2030, line 251.
Use of uninitialized value $countzeros in numeric eq (==) at ../third-party/latexindent.pl/latexindent.pl line 1343, line 251.
Use of uninitialized value $command in hash element at ../third-party/latexindent.pl/latexindent.pl line 2030, line 251.
Use of uninitialized value $command in hash element at ../third-party/latexindent.pl/latexindent.pl line 2030, line 251.
Use of uninitialized value $countzeros in numeric eq (==) at ../third-party/latexindent.pl/latexindent.pl line 1343, line 251.
Unrecognized escape \i passed through in regex; marked by <-- HERE in m/\end{\i <-- HERE su@space}/ at ../third-party/latexindent.pl/latexindent.pl line 1525, line 317.
Unrecognized escape \i passed through in regex; marked by <-- HERE in m/\end{\i <-- HERE su@space}/ at ../third-party/latexindent.pl/latexindent.pl line 1525, line 335.


Reply to this email directly or view it on GitHub
#14.

from latexindent.pl.

cmhughes avatar cmhughes commented on May 28, 2024

Thanks again for the feedback :) The latest version should now allow the -w to work fine with .tex, .sty, and .cls files (see 90ecc07). The matching of {}{} in your example is still an issue--it's next on the list.

from latexindent.pl.

cmhughes avatar cmhughes commented on May 28, 2024

Thanks for reporting this bug! Most of this has been fixed in bc987ea .

The error Unrecognized escape \i passed through in regex; marked by <-- HERE in m/\\end{\i <-- HERE su@space}/ at ../third-party/latexindent.pl/latexindent.pl line 1525, <MAINFILE> line 317. still remains, and is because \begin{\isu@space}. So far the regex doesn't account for a \\, but perhaps it should--this is next on the list.

from latexindent.pl.

cmhughes avatar cmhughes commented on May 28, 2024

This is now resolved, as of edb36c0

I added your file to the 'success' directory as testcls.cls :)

from latexindent.pl.

Related Issues (20)

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.