Comments (4)
krantz.cls
is quite complicated, and I'd recommend contacting the CRC LaTeX help desk for any LaTeX issues.
An alternative solution is to customize the output
hook, which doesn't require using the listings package: https://github.com/yihui/knitr-examples/blob/master/077-wrap-output.Rmd
from bookdown-crc.
If you don't use krantz.cls
documentclass as CRC uses it, does it works ?
It is possible listings package is conflicting with krantz maybe ?
Unfortunately, this is LaTeX expertise and I am not that expert - @yihui do you know if krantz
has issue with listings ?
from bookdown-crc.
This is for a CRC book so I do need to use the krantz.cls
from bookdown-crc.
This is for a CRC book so I do need to use the krantz.cls
I understand that. Just if listings
package is not working with krantz.cls
, another solution needs to be found.
As I said I am no LaTeX expert - I can fix issue if there is some with bookdown. However, if you need a LaTeX solution for this, you should look into LaTeX specific Q&A place.
If you are publishing a book with CRC, don't they have a LaTeX helpdesk you could reach out to ?
FWIW, this is the preamble we use with the CRC publish book R Markdown cookbook (https://github.com/rstudio/rmarkdown-cookbook/blob/master/latex/preamble.tex)
I don't remember exactly what we have done to keep the line to their expected length. @yihui may know more, but he is off right now, and will add to my answers as soon as he can.
Thanks for your patience !
from bookdown-crc.
Related Issues (16)
- LaTeX Error: Environment rmdtip undefined. HOT 13
- Clicking on a chapter jumps to the next chapter instead. HOT 9
- Section number appears twice in the compiled book.
- PART items is not displaying in correct order in content
- Use of "caption" breaks "krantz" HOT 1
- The short vertical and horizontal lines at corners HOT 4
- LaTeX Error: Command \href undefined when building pdf book in CRC style HOT 1
- Rendering of unicode characters fails HOT 2
- fig.cap markdown isn't parsed when out.width is specified. HOT 4
- \href{} applied to \includegraphics{} doesn't appear to work for pdf HOT 2
- Soft wrap long code output in pdf_output HOT 2
- Index entry page numbering is incorrect when TOC is long
- Unnumbered chapters appear twice in TOC
- Failed to render HOT 1
- Where is the PDF?
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 bookdown-crc.