davidcarayon / quarto-inrae-extension Goto Github PK
View Code? Open in Web Editor NEWQuarto extension for INRAE Templates
License: Other
Quarto extension for INRAE Templates
License: Other
I added your extension to my project directory, and rendered via command line: quarto render --to inrae-pdf
I got the following error:
compilation failed- error
Unable to load picture or PDF file '_extensions/inrae/ressources/photo.png'.
Should the file path be relative to the .tex file in the /ressources
directory rather than to the quarto project directory? Sorry, I'm a latex beginner. I'm using Linux.
output file index.log attached below.
Full quarto output:
pandoc
to: latex
output-file: index.tex
standalone: true
toc: true
number-sections: true
top-level-division: chapter
pdf-engine: xelatex
variables:
graphics: true
tables: true
default-image-extension: pdf
metadata
crossref:
chapters: true
documentclass: scrreprt
papersize: letter
classoption:
- DIV=11
- numbers=noendperiod
header-includes:
- '\KOMAoption{captions}{tableheading}'
block-headings: true
sansfont: Raleway
mainfont: Avenir Next LT Pro
toc-title: Sommaire
geometry:
- top=25mm
- left=25mm
- right=25mm
- bottom=25mm
bibliography:
- Mybook.bib
title: 'My Book'
date: 4/21/2023
author: Me
description: 'My Book description'
running xelatex - 1
This is XeTeX, Version 3.14159265-2.6-0.999991 (TeX Live 2019/Debian) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
updating tlmgr
updating existing packages
compilation failed- error
Unable to load picture or PDF file '_extensions/inrae/ressources/photo.png'.
<to be read again>
}
l.204 ..._extensions/inrae/ressources/photo.png}}}
%
I downloaded a zip of the latest git commit, and in the extracted directory, I did the following on the command line:
quarto render template.qmd --to inrae-pdf
And got the following error:
compilation failed- error
Misplaced \crcr.
Output file template.log attached below.
Full quarto output:
processing file: template.qmd
|.............. | 20%
ordinary text without R code
|............................ | 40%
label: unnamed-chunk-2
|.......................................... | 60%
ordinary text without R code
|........................................................ | 80%
label: unnamed-chunk-4 (with options)
List of 1
$ echo: logi FALSE
|......................................................................| 100%
ordinary text without R code
output file: template.knit.md
pandoc
to: latex
output-file: template.tex
standalone: true
pdf-engine: xelatex
variables:
graphics: true
tables: true
default-image-extension: pdf
metadata
documentclass: scrreprt
classoption:
- DIV=11
- numbers=noendperiod
papersize: letter
header-includes:
- '\KOMAoption{captions}{tableheading}'
block-headings: true
sansfont: Raleway
mainfont: Avenir Next LT Pro
toc-title: Sommaire
geometry:
- top=25mm
- left=25mm
- right=25mm
- bottom=25mm
title: Titre de la présentation
subtitle: Sous-titre de la présentation
author:
- name: '**Premier auteur**'
orcid: 0000-xxxx-xxxx-xxxx
email: [email protected]
url: 'https://lien-site.fr'
- name: Second auteur
email: [email protected]
orcid: 0000-xxxx-xxxx-xxxx
date: today
date-format: long
running xelatex - 1
This is XeTeX, Version 3.14159265-2.6-0.999991 (TeX Live 2019/Debian) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
updating tlmgr
updating existing packages
compilation failed- error
Misplaced \crcr.
\endarray ->\crcr
\egroup \egroup \@arrayright \gdef \@preamble {}
l.272 ...olor{inraefonce}{\sffamily \insertauthor}
\par
Hello David,
Thank you very much for your template. It is very useful for our slides.
I observed some errors that seem to be linked but I did not find the origin (perhaps self_contained
) :
ERROR: Reveal plugin 'RevealChalkboard is not compatible with self-contained output
){.fragment .highlight-red}
I finally fixed that by adding self-contained: false
in my header.
Do you have an opinion on these problems?
Thanks again for your work!
Hi!
First of all, awesome work. Having everyone at Inrae using the same style for their report would be awesome.
I would like to make 2 suggestions for the GitHub repo:
Thanks for your work!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.