mkrphys / ipython-tikzmagic

IPython magics for generating figures with TikZ
BSD 3-Clause "New" or "Revised" License
160 stars 44 forks source link

add encoding option #14

Closed joelkim closed 7 years ago

joelkim commented 7 years ago

Happy new year! I added "-e" or "--encoding" option for non-ascii unicode encoding in order to use Hangul (Korean Letters) with tikzmagic. I appended an example in tikzmagic_test.ipynb but it requires kotex package. I hope this will be helpful for non-English users like me.

mkrphys commented 7 years ago

Sorry for taking so long to merge.

I wonder if this could be more elegantly and more generally solved by using XeLaTeX and fontspec? I do not have any experience with XeLaTeX and Korean/Japanese/Chinese/etc. letters, though.