Comments (9)
Can you share your repository or provide a reproducible example with me? I can't reproduce this error.
from thesisdown.
You can put your abstract in the file name specified there to have it build the abstract. Do you have a 00-abstract.Rmd
containing your abstract?
from thesisdown.
There is no error produced when I compile pdf file. It just ignores r code in 00-abstract.Rmd
.
In your example YAML you have following comment
If you are creating a PDF you'll need to write your preliminary content here or use code similar to line 20 for the files. If you are producing in a different format than PDF, you can delete or ignore lines 20-31 in this YAML header. abstract: > r if(knitr:::is_latex_output()) paste(readLines("00-abstract.Rmd"), collapse = ' ')
So I have calculations in my abstract (R code for statistics, etc) that is ignored by the compilation.
I would like to compile it with knitr.
Am I clear?
from thesisdown.
Currently, the abstract for a PDF is designed to not have any R code embedded into it viareadLines
. Can you load your R code in index.Rmd
?
from thesisdown.
You mean the abstract part to YAML header, or in the body of index.Rmd?
from thesisdown.
Place the R chunk you are loading in the body of the index.Rmd
. The index.Rmd
should load first before the abstract Rmd file. Additionally you may need to look into the template.tex file or the reedthesis.cls file to ensure that the abstract is being loaded in the spot you wish.
from thesisdown.
Dear @ismayc it worked, I just put abstract with r code chunks into the body of index.Rmd
.
Than you very much for support.
from thesisdown.
You're welcome! Thanks for bringing this up!
from thesisdown.
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org whenever possible) and link to this issue. If a reprex is not applicable, recording a short Loom video showing what you are seeing can go a long way in helping to diagnose problems.
from thesisdown.
Related Issues (20)
- Figure position in pdf HOT 2
- when citing same author twice, this is not recognized. HOT 4
- Help to change "chapter" to Spanish HOT 4
- Adapting thesisdown to new institution HOT 11
- References extra indentation HOT 2
- Putting a logo on the front page of the original thesisdown HOT 6
- Formatting tweaks HOT 3
- thesisdown::thesis_pdf required
- broken gitbook output HOT 14
- Thesisdown knit inconsistently incorporating new changes to PDF output HOT 4
- How do I include external `00--prelim.Rmd` file in the `yaml` header? HOT 8
- Thesis by Matan Mazor HOT 1
- pandoc_args --lua-filter HOT 1
- How to add \part ? HOT 2
- thesisdown and quarto HOT 3
- Thesis by ... HOT 1
- Problems in getting front matter, TOC and headings right when adapting bookdown/thesisdown to local university LaTeX template
- Unable to use single quotes in abstract.Rmd HOT 2
- apostrophe โ in the abstract file is rendered as รขโฌโข HOT 3
- Failing to knit in times new roman HOT 2
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 thesisdown.