Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accent in rticles packages #21

Closed
arturochian opened this issue Jan 2, 2015 · 8 comments
Closed

Accent in rticles packages #21

arturochian opened this issue Jan 2, 2015 · 8 comments

Comments

@arturochian
Copy link

Hi, I would like to write some examples in spanish. I have some problems with accents. For example when I write "análisis" my output is like this
image

I think it's related to encoding in latex (or maybe YALM?).

Thank in advance

@hadley
Copy link
Member

hadley commented Jan 2, 2015

Could you please provide a minimal reproducible example?

@arturochian
Copy link
Author

@hadley a minimal reproducible example is here
https://github.com/arturochian/repro1
PD: I'm using JSS

@arturochian
Copy link
Author

Let see the introduction and the title

image

@arturochian
Copy link
Author

And this is my sessionInfo

R version 3.1.1 (2014-07-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)

locale:
[1] LC_COLLATE=Spanish_Peru.1252 LC_CTYPE=Spanish_Peru.1252 LC_MONETARY=Spanish_Peru.1252
[4] LC_NUMERIC=C LC_TIME=Spanish_Peru.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached):
[1] digest_0.6.4 htmltools_0.2.7 rmarkdown_0.3.9 rticles_1.0 tools_3.1.1
[6] yaml_2.1.13

@arturochian
Copy link
Author

@hadley I have recently noticed this message from R. I tried with differents encoding but they don't work. Maybe the solution is related to ctex (in chinese) template creation (maybe @yihui could also know about this behavior).

"
Not all of the characters in ~/BCRP/a/Untitled/Untitled.Rmd could be encoded using ISO8859-1. To save using a different encoding, choose "File | Save with Encoding..." from the main menu.Error in yaml::yaml.load(front_matter) :
Reader error: invalid leading UTF-8 octet: #AD at 367
Error in yaml::yaml.load(front_matter) :
Reader error: invalid leading UTF-8 octet: #AD at 340
Error in yaml::yaml.load(front_matter) :
Reader error: invalid leading UTF-8 octet: #AD at 340

"

@krlmlr
Copy link

krlmlr commented Jul 15, 2015

Has this been fixed by #38?

@yihui
Copy link
Member

yihui commented Jul 5, 2018

I believe so.

Closing this issue now, but we can re-open it if the issue persists.

@yihui yihui closed this as completed Jul 5, 2018
@github-actions
Copy link

github-actions bot commented Nov 2, 2020

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants