Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python2 or Python3 #14

Open
ofenerci opened this issue May 8, 2019 · 1 comment
Open

Python2 or Python3 #14

ofenerci opened this issue May 8, 2019 · 1 comment

Comments

@ofenerci
Copy link

ofenerci commented May 8, 2019

Hello,
I followed the instructions on Readme file and installed the bookbuilder. When I type a command and run:
bookbuilder build tex inside the "example-repo" directory. I see two directories created: "build" and "images". Inside the tex directory, there is a tex file but it is empty. I wonder what I am doing wrong.

@HeatherW
Copy link
Contributor

HeatherW commented May 9, 2019

Hi
This project is a bit outdated now and is not being actively maintained. It runs off LaTeX 2012 and Python 2. It was also created for a specific xml format that was developed for Siyavula Education. So to get it working you would likely need the following:

  • LaTeX 2012 installed
  • Python 2 running
  • All files must end with .cnxmlplus for the script to find them

The file https://github.com/Siyavula/bookbuilder/blob/master/LibBookbuilder/chapter.py handles most of the conversion functions for this project. The code that actually parses the html is installed by the requirements file but you can access that repository directly: https://github.com/Siyavula/cnxml-validator. This repo contains the spec that we use for the cnxmlplus format. Most likely though for the use case you are looking at you would need to use this repo and the cnxml-validator as ideas to get you started in building your own setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants