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

Issue Rendering Default Fork #20

Open
alapo opened this issue Jan 31, 2019 · 5 comments
Open

Issue Rendering Default Fork #20

alapo opened this issue Jan 31, 2019 · 5 comments

Comments

@alapo
Copy link

alapo commented Jan 31, 2019

Good morning,

I am attempting to use this template in English for a book I have writing (it looks amazing!). I am in the process of translating the comments and other scripts. Before doing that, I forked the project and attempted to run the current project on Windows 7 x64.

I am running into issues when I attempt knitting the index.Rmd file. The issue arises on line 8

img

Not being familiar with this level of script, do you have any suggestions?

@bubifengyun
Copy link
Owner

it seems that it should be,

Sys.setlocale(category = "LC_TIME", locale = 'en_US.UTF-8')

I add localdate= in the head of this line for not show the Sys.setlocale()'s result

If your OS is in English Language Environment, you can remove this line.

@alapo
Copy link
Author

alapo commented Feb 1, 2019

Thank you that fixed my issue. Do you have any other suggestions for an English speaking programmer on using this (using Windows)?

I am doing my best to read thru the code, specifically 802-appendix-makebook.Rmd to compile the book.
Alt text

Would love to compliment to this great release.

@bubifengyun
Copy link
Owner

happy spring festival. if written in english, it must be a good idea. I think I can add one option for language selection. I am busy in those days, later I will add english support.

@bubifengyun
Copy link
Owner

have you compile successfully? any questions are welcome. if you compile successfully, could you tell me the steps in windows? I had never compiled in other os except linux. thank you.

@bubifengyun
Copy link
Owner

I had added English Support. You can add 'english' in index.Rmd like those.

--- 
title: "深度易经"
englishtitle: "Deepin Bible"
classoption: [doctor, openright, twoside, english]
skip many many parameters config.
---

then you will get in English. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants