Open ice1000 opened 3 years ago
No, sorry, right now there is no such option.
I think I could do that in principle (just replaced pdflatex with xelatex): But that will require more work from me and debug, and I don't know when I will have free time. By the way, I couldn't find an easy way to include emoji, maybe you can recommend anything?
I don't know. I was just googling and they said you need luatex😭
Thanks for creating the bot! It's lovely
Maybe this will help? I modified and implemented InXeLaTeXbot on the basis of this repository, and now it is also available on Telegram: @InXeLaTeXbot. It may be a bit slow due to server performance though, you can also clone the repository and build it on your own device.
For CJK text, @InXeLaTeXbot has built-in fonts such as Source Han, you only need to add text like this in the preamble to use:
\documentclass[fontset=none, UTF8]{ctexart}
\usepackage{xeCJK} % CJK font
\setCJKmainfont{Source Han Serif} % or `Source Han Serif TC` for Traditional Chinese, etc
\setCJKsansfont{Source Han Sans}
\setCJKmonofont{Source Han Sans HW}
Thank you very much for testing! Maybe you could run it for some time and if there are no issues, I then may replace pdflatex by xelatex? And if you have time, may be you could test lualatex as well?
I've been using it for a few months, and everything seems to be working fine. In fact, I've been using it for quite some time, I've only recently sorted it out and made it public. I've recently been trying to write some scripts to make this bot easier to deploy, and some of them have been pulled into my fork.
As for your bot, I think it might also be a good idea to keep using pdflatex
until switching is provided? In this case, users will now have pdflatex
and xelatex
to choose from (There are some rendering behavior differences between pdflatex
and xelatex
, such as tikzpicture
). I'm also planning to add the toggle feature myself, but it's been slow due to being busy.
For lualatex
, I have simply tested it before, and it seems to work as well. But since I'm mainly using xelatex
instead of lualatex
, the testing may not be very adequate.
Maybe this will help? I modified and implemented InXeLaTeXbot on the basis of this repository, and now it is also available on Telegram: @InXeLaTeXbot. It may be a bit slow due to server performance though, you can also clone the repository and build it on your own device.
For CJK text, @InXeLaTeXbot has built-in fonts such as Source Han, you only need to add text like this in the preamble to use:
\documentclass[fontset=none, UTF8]{ctexart} \usepackage{xeCJK} % CJK font \setCJKmainfont{Source Han Serif} % or `Source Han Serif TC` for Traditional Chinese, etc \setCJKsansfont{Source Han Sans} \setCJKmonofont{Source Han Sans HW}
Great work, man! I was wondering how you did manage to find the built-in fonts of @InLaTeXbot, 'cause I am desperately in need of a Persian-supported font like Arial for using the XePersian package...
@amireza007, I believe that @Frederisk should be able to install some Persian fonts on his machine so that they become available to XeLaTeX. But that is on his good will...
Hmm, yes, InXeLaTeXbot runs on my own device, so I can install the fonts I need myself.
@Frederisk Yes yes, I thought there are some fonts(like the one you mentioned) included in the original bot, not the one you forked. My bad!
Sometimes we want to typo CJK or emojis