LyXSetting up Japanese on LyX (Kubuntu 18.04, Linux)

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
pread

Setting up Japanese on LyX (Kubuntu 18.04, Linux)

Post by pread »

I went through the manuals and I still don't get what I'm supposed to do. So I installed LyX, I'm missing the Japanese classes (like jarticle), how do I install them? So it led me to the customization manual which says:
Some installations may not include a LATEX package or class file that you would like
to use within LYX. For example, you might need FoilTEX, a package for preparing
slides for overhead projectors. Modern LATEX distributions like TEXLive (2008 or
newer) or MiKTEX provide a user interface for installing such packages. For example,
with MiKTEX, you start the program “Package Manager” to get a list of available
packages. To install one of them, right click on it or use the corresponding toolbar
button.
If your LATEX distribution does not provide such a ‘package manager’, or if the
package is not available from your distribution, then follow these steps to install it
manually:
Does LyX have a package manager or not? I don't understand, sorry I'm not very technical. I simply want to be able to output pdfs in Japanese but at the moment, it only seems I can do HTML (because I'm missing the so called 'classes/packages').

Thanks in advance!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Setting up Japanese on LyX (Kubuntu 18.04, Linux)

Post by Johannes_B »

Ubuntu has Tex Live in its package repositories, but it is tecommended to install TeX from tug.

An installation from tug will be complete by default, the ubuntu install will be only basic and you need to run apt to install further packages.

Anyway, it seems like a good idea to learn LaTeX, then LyX and then how to type Japanese.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
pread

Setting up Japanese on LyX (Kubuntu 18.04, Linux)

Post by pread »

Johannes_B wrote:Ubuntu has Tex Live in its package repositories, but it is tecommended to install TeX from tug.

An installation from tug will be complete by default, the ubuntu install will be only basic and you need to run apt to install further packages.

Anyway, it seems like a good idea to learn LaTeX, then LyX and then how to type Japanese.
Thanks for getting back to me but how do I install TeX form tug? If I do install it, will it automatically fix the problem I'm currently having with jarticle? (this is the main thing I wanna fix, the installation of the extra classes)

My focus isn't to master LaTeX, I'm just learning to keep a language learning log through LyX.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Setting up Japanese on LyX (Kubuntu 18.04, Linux)

Post by Stefan Kottwitz »

LyX is a front end, like a sophisticated editor. It requires a TeX installation in the background. Verify that TeX is installed. It's possible that installing LyX also let you to install TeX in the background.

So if you installed TeX (package texlive) from the Ubuntu repositories, you just need to also add the package texlive-lang-japanese with Ubuntu. Use your Ubuntu package manager in that case.

Stefan
LaTeX.org admin
pread

Setting up Japanese on LyX (Kubuntu 18.04, Linux)

Post by pread »

Stefan Kottwitz wrote:LyX is a front end, like a sophisticated editor. It requires a TeX installation in the background. Verify that TeX is installed. It's possible that installing LyX also let you to install TeX in the background.

So if you installed TeX (package texlive) from the Ubuntu repositories, you just need to also add the package texlive-lang-japanese with Ubuntu. Use your Ubuntu package manager in that case.

Stefan
Thank you so much! I managed to install texlive then install texlive-lang-japanese. The last step was clicking 'reconfigure' for lyx and it all works now!
Post Reply