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

Why is the CJKmainfont related configurations removed from "template.tex"? #267

Closed
findmyway opened this issue Dec 30, 2021 · 4 comments
Closed

Comments

@findmyway
Copy link
Member

findmyway commented Dec 30, 2021

At least it was there in [email protected]:

$if(CJKmainfont)$
\ifxetex
\usepackage{xeCJK}
\setCJKmainfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$}
\fi
$endif$
$if(luatexjapresetoptions)$
\ifluatex
\usepackage[$for(luatexjapresetoptions)$$luatexjapresetoptions$$sep$,$endfor$]{luatexja-preset}
\fi
$endif$
$if(CJKmainfont)$
\ifluatex
\usepackage[$for(luatexjafontspecoptions)$$luatexjafontspecoptions$$sep$,$endfor$]{luatexja-fontspec}
\setmainjfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$}
\fi
$endif$

But I'm not sure why it was removed later.

@rikhuijzer
Copy link
Collaborator

It wasn’t removed per se, I moved to another template which didn’t include it by default.

It can be added again if that would help your project. I’m currently away from keyboard though

@rikhuijzer
Copy link
Collaborator

On second thought, I removed it to make things simpler. I didn’t think it added much but apparently it does

@findmyway
Copy link
Member Author

On second thought, I removed it to make things simpler. I didn’t think it added much but apparently it does

I see. Just to make sure it is not removed by chance. I agree that most users would not need this config. And when they do, a customized template can be created.

@rikhuijzer
Copy link
Collaborator

Nice that’s it is solved then. Thanks for letting me know 👍

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