Comments (12)
apologies. i think the bit.ly link in the sample code for trials is missing.
from doconce.
All files present here (except citations bib file):
https://github.com/hplgit/hplgit.github.com/tree/master/teamods/writing_reports/doconce_src
from doconce.
The second exception shouldn't occur, so that's very much a valid bug.
from doconce.
The second exception shouldn't occur, so that's very much a valid bug.
The exception goes away after all files are included in the folder. It has generated the tex file. I think some .sty files are missing (ptex2tex.sty). For which i think i need to read this: https://github.com/hplgit/ptex2tex/blob/master/README.
Which I will do tomorrow.
from doconce.
! Package minted Error: You must invoke LaTeX with the -shell-escape flag.
! Package minted Error: You must have `pygmentize' installed to use this package.
! Undefined control sequence.
l.404 \bpycod
from doconce.
Boom! suddenly I have the PDF compiled by texworks
Implementation section does not have the code written properly...
from doconce.
Although DocOnce seems to be working fair - I am having trouble with the minted package. Went around trouble shooting the minted errors online but I am stuck on an error with \inputlistings line not being fed properly. @KGHustad - by any chance do u have an idea how to deal with it?
from doconce.
I know I am not really helping by pasting all error messages here, but heres the latest:
(base) C:\Users\Pushkar Sheth\Documents\work\doconce_trials\setup4book-doconce-master\doc\src\book>doconce format pdflatex book.do.txt
running preprocess -DFORMAT=pdflatex -DDEVICE=screen book.do.txt > tmp_preprocess__book.do.txt
Could not run preprocessor:
preprocess -DFORMAT=pdflatex -DDEVICE=screen book.do.txt > tmp_preprocess__book.do.txt
'preprocess' is not recognized as an internal or external command,
operable program or batch file.
return code from preprocess: 1
Abort! (add --no_abort on the command line to avoid this abortion)
from doconce.
Have you installed preprocess in the same conda environment? If not, try conda install -c conda-forge preprocess
.
preprocess should show up when you run the following command
conda list preprocess
from doconce.
I think we are at the last leg of debugging.
the report.do.txt is generating, \inputlistings issue is also solved.
now to solve preprocess issue.
@KGHustad - do u have a more recent version of the book style format used for recently printed books?
(base) C:\Users\Pushkar Sheth\Documents\work\doconce_trials\setup4book-doconce-master\doc\src\book>conda list preprocess
# packages in environment at C:\ProgramData\Anaconda3:
#
# Name Version Build Channel
preprocess 1.2.3 py_1 conda-forge
(base) C:\Users\Pushkar Sheth\Documents\work\doconce_trials\setup4book-doconce-master\doc\src\book>doconce format pdflatex book.do.txt
running preprocess -DFORMAT=pdflatex -DDEVICE=screen book.do.txt > tmp_preprocess__book.do.txt
Could not run preprocessor:
preprocess -DFORMAT=pdflatex -DDEVICE=screen book.do.txt > tmp_preprocess__book.do.txt
'preprocess' is not recognized as an internal or external command,
operable program or batch file.
return code from preprocess: 1
Abort! (add --no_abort on the command line to avoid this abortion)
(base) C:\Users\Pushkar Sheth\Documents\work\doconce_trials\setup4book-doconce-master\doc\src\book>
from doconce.
The issue is that Windows does not seem to recognise preprocess as a command even though it should be present in the environment.
Could you try running preprocess
or preprocess.exe
in the Anaconda command prompt?
I don't know if I have ever tested preprocess on Windows, but I wasn't expecting it to cause any problems.
The book style format has not changed in the past couple of years. I know it could probably use an update, but I don't have the time to do that anytime soon.
from doconce.
I appreciate your help @KGHustad. Closing this issue here because it is external to doconce.
from doconce.
Related Issues (20)
- Collapse solutions, answers, hints don't work on Chrome for iOS HOT 3
- Support re: Unknown escapes in repl consisting of '\' and an ASCII letter now are errors.
- http --> https for netdna.bootstrapcdn.com HOT 3
- PYPI package seems to have wrong preprocess.py dependency HOT 1
- BIBFILE and publish issues? HOT 2
- conda paver via doconce conflicts with tensorflow HOT 2
- Sphinx 1.8.4 - Build Process Error HOT 14
- How to insert labels and caption in Tables? HOT 1
- Pagebreak for PDF HOT 1
- New version of book built with doconce HOT 1
- Add answers_at_end option and review behavior for solutions_at_end HOT 1
- Error: test for illegal option: --solutions at end without underscores
- Syntax example on web page is broken. HOT 1
- Broken links to Mako in documentation HOT 1
- Mistake in quickref.html about formatting the exercise section HOT 1
- Add new commands to hide answers/solutions or move them to end of document
- Using sudo pip install is regarded as bad practice and fails on Python virtual environments HOT 1
- Placement of solution in running text HOT 2
- ispell isn't anymore in ubuntu/mint HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doconce.