LyX ⇒ LyX dispaying incorrect characters in Math Mode - Linux Mint
LyX dispaying incorrect characters in Math Mode - Linux Mint
I actually asked this question originally on the LaTeX stack exchange and it was suggested I ask here instead. Basically I installed Linux Mint 19.1 a few days ago. Before that I was a Windows user. I installed Texlive-full from the ubuntu repository and then LyX. The problem is that LyX displays the incorrect characters in math mode. For example instead of the greek alphabet when I type "\alpha" or "\beta" it prints bold font English letters "a" and "b". Instead of a minus sign it displays "lyxminus". Some characters are still correct such as epsilon but the majority are wrong. the output PDF is correct. I have tried reinstalling both LyX and TexLive. I think it may be the fonts on Mint itself. I tried to update Mint but that made no difference. If anyone has solved this in the past this or knows how to fix it I will appreciate the help.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
LyX dispaying incorrect characters in Math Mode - Linux Mint
welcome to the forum!
Is it a LyX displaying issue, or is the PDF output wrong too?
Can you please post a sample .lyx file, the pdfLaTeX export file (for us LaTeX users without LyX to check the same), and the .log file? The Attachments link is below the text edit field, when writing a post.
Stefan
LyX dispaying incorrect characters in Math Mode - Linux Mint
Thanks for the response. It's only in LyX, the output file is fine.
Jimmy
- Attachments
-
- Screenshot
- lyx screenshot.png (74.25 KiB) Viewed 8652 times
-
- Example.log
- .log
- (32.54 KiB) Downloaded 484 times
-
- Example.lyx
- Input
- (2.25 KiB) Downloaded 439 times
-
- Example.pdf
- Output
- (10.9 KiB) Downloaded 438 times
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
LyX dispaying incorrect characters in Math Mode - Linux Mint
dpkg -i lyx.deb
)It seems to be a LyX issue since it's find in the pdfLaTeX output, or a Mint font rendering issue. If there's a newer version of LyX than you installed, I would give the newer one a try.
Stefan
LyX dispaying incorrect characters in Math Mode - Linux Mint
The problem now seems to be fixed. I removed LyX from the system entirely and used synaptic package manager to install LyX rather than apt (command line tool). This may have installed a more recent version, as it is the most up to date release available according to https://repology.org/project/lyx/version which is the full list of LyX versions for Linux.
-
- Posts: 1
- Joined: Mon Mar 02, 2020 4:03 pm
LyX dispaying incorrect characters in Math Mode - Linux Mint
"fonts-lyx" (version: 2.2.4-0ubuntu0.18.04.1)
using Synaptic Package Manager. Earlier I removed LyX using
sudo apt-get remove lyx (remove your repository version)
sudo apt-get autoremove (remove repository dependencies)
as instructed on the LyX official page. Then I tried the fresh installation first using the method suggested by the LyX official page:
sudo add-apt-repository ppa:lyx-devel/release (add the PPA for the 'release', i.e. stable, compilation)
sudo apt-get update (update so that apt is aware of the new PPA)
sudo apt-get install lyx (install from the PPA)
Then I removed LyX once more and tried another fresh installation using Synaptic. Neither method had solved the problem for me until I installed "fonts-lyx" (version: 2.2.4-0ubuntu0.18.04.1) using Synaptic. This solved the problem. After that I updated LyX using Terminal and "fonts-lyx (to version: 2.3.4.2-1~bionic~ppa1)" using Synaptic.