GithubHelp home page GithubHelp logo

hello-world's People

Contributors

pbelmans avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hello-world's Issues

Step 2 : unrecognized command

Hi, I'm following the instructions in travis.yml (using Python 3.6) and have problems at step 2 of the script, where the .tex file from this repo seems to not be understood. Is there anything I can do to address the unrecognized commands?

(.env) $  plastex --renderer=Gerby ./document.tex
plasTeX version 1.0
WARNING: Directory "document" is not empty!
Delete "document"? [y/n] y
WARNING: Deleting "document"...
 ( /Users/ksb/code/hello-world-master/.env/lib/python3.6/site-
   packages/report/__init__.py
 )
 ( /Users/ksb/code/hello-world-master/.env/lib/python3.6/site-
   packages/plasTeX/Packages/amssymb.py
 )
 ( /Users/ksb/code/hello-world-master/.env/lib/python3.6/site-
   packages/plasTeX/Packages/amsmath.py
 )
 ( /Users/ksb/code/hello-world-master/.env/lib/python3.6/site-
   packages/plasTeX/Packages/hyperref.py
 )..
WARNING: unrecognized command/environment: theoremstyle
......
WARNING: unrecognized command/environment: thesubsection
ERROR: Error while expanding "numberwithin" in <string> on line 19 (type
   object 'thesubsection' has no attribute 'format')
ERROR: An error occurred while building the document object in <string> on
   line 19 (type object 'thesubsection' has no attribute 'format')
Traceback (most recent call last):
  File "/Users/ksb/code/hello-world-master/.env/bin/plastex", line 142, in <module>
    main(sys.argv)
  File "/Users/ksb/code/hello-world-master/.env/bin/plastex", line 90, in main
    tex.parse()
  File "/Users/ksb/code/hello-world-master/.env/lib/python3.6/site-packages/plasTeX/TeX.py", line 438, in parse
    for item in tokens:
  File "/Users/ksb/code/hello-world-master/.env/lib/python3.6/site-packages/plasTeX/TeX.py", line 46, in __next__
    return self._next()
  File "/Users/ksb/code/hello-world-master/.env/lib/python3.6/site-packages/plasTeX/TeX.py", line 346, in __iter__
    tokens = obj.invoke(self)
  File "/Users/ksb/code/hello-world-master/.env/lib/python3.6/site-packages/plasTeX/Packages/amsmath.py", line 144, in invoke
    ctx['the'+control].format, target)
AttributeError: type object 'thesubsection' has no attribute 'format'

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.