Skip to content

Conversation

@cderv
Copy link
Collaborator

@cderv cderv commented Sep 1, 2020

This will fix #322

Currently, ctex() format is broken because it should use the pandoc default template as stated in 23ecb21 but the changes was not complete.

We missed that as it was not properly tested.

Dependency on Rmarkdown needs to be bumped to 1.18, that is the minimum version that use the default pandoc template.

Also small typo in the skeleton as a duplicated documentclass field was introduced in header.

but generic pdf_document_format was still defaulting to included template. This requires rmarkdown >=1.18 to default to pandoc's template.
@cderv cderv requested a review from yihui September 1, 2020 13:35
Copy link
Contributor

@yihui yihui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We still need to allow users to customize the template, so shouldn't hard-code it inside ctex_article().

@cderv cderv requested a review from yihui September 1, 2020 15:54
@cderv
Copy link
Collaborator Author

cderv commented Sep 1, 2020

Changes made.

Copy link
Contributor

@yihui yihui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect. Thank you!

@yihui yihui merged commit 963d0d1 into rstudio:master Sep 1, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2021
@cderv cderv deleted the fix-ctex branch July 23, 2021 07:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Couldn't find template file ctex/resources/template.tex

2 participants