Re: Re: PDF and EPS vector images preview's quality is extremely bad within LyX
On 14.05.2019 20:13, Baris Erkus wrote: Try: convert -density 200 -trim -quality 100 -sharpen 0x1.0 $$i $$o you can try different numbers for 200 -- ↓↓ Please bottom-post. Start your reply here: So, with a great deal of help from Baris Erkus and according to his instructions in https://github.com/ituast/itutezLyX ('Some adjustments to LyX PDF previewer' part) I was able so solve the problem. To quote, this works: * Make sure the convert utility of ImageMagick is installed and made available to path. * Start LyX * Go to "Preferences" under the "Tools" menu. * Go to "Converters" under the "File Handling" section. * Select "PDF(graphics)" from "From Format:" and "PNG" from "To Format:" * To "Converter:" write : |convert -density *** -trim -quality 100 -sharpen 0x1.0 $$i $$o|, where *** can be 200 to start with. You may try other values based on the results. * Click "Add" button. * Click "Apply" button. * Click "Save" button. Reconfiguring and restarting doesn't seem to be necessary, but won't hurt. These instructions worked for Windows 7 using a new ImageMagick command 'magick' instead of 'convert' and with simple options: |magick -density 200 $$i $$o| |For some reason '-trim' option didn't work, but it's not mandatory.| |In my ||Ubuntu 18.04.2, XFCE 4.12 setup all of these still didn't work until I deleted default ||"PDF(graphics)->EPS" converter. With it LyX converts all PDF pictures to EPS and then somehow internally converts them to bad quality PNGs not using |||'EPS->PNG' converter settings which exists by default.| Adding 'PDF->EPS' converter back breaks PDF previews again. Even though 'EPS->PNG' converter exists, has correct options (with density and everything) and flawlessly works from the command line. | |So, delete |||"PDF(graphics)->EPS" converter if instructions for |"PDF(graphics)->PNG" converter alone don't work. ||| || -- Andrey.
Re: Lyx Help in German, although set for English > Solved by loading lyx2.3.3 via GIT
On 15.05.19 21:26, Wolfgang Engelmann wrote: On 15.05.19 21:19, Wolfgang Engelmann wrote: On 15.05.19 18:19, Jean-Marc Lasgouttes wrote: Le 15/05/2019 à 18:12, Wolfgang Engelmann a écrit : On 15.05.19 17:58, Jean-Marc Lasgouttes wrote: In LyX 2.3.3, the Help files will default to the language of the interface, If this is not found, it will try the language(s) listed by the LANGUAGE variable. Finally, it will fall back to English. I realize now that it could try the current OS language too (which is contained in LANGUAGES in Linux, but not necessarily elsewhere), but I do not know in which order. Will this help? JMarc Thanks, Helge and JMarc. I compiled the Lyx2.3.2 again, because in .lyx all the directories at the begin are empty. However, in the new compiled lyx it is the same. Am I to stupid? Can I get the files for these empty dirs from somewhere else? I meant 2.3.3, which is not released yet. If you can compile LyX, you can get the latest stable version with git clone git://git.lyx.org/lyx cd lyx git checkout 2.3.x ./autogen.sh ./configure make HTH, JMarc Thanks, JMarc, i do not know what I have to do here: wolfgang@wolfgang-Mr-Whisper-Ultra-SSD-II:/mnt/sdb/we$ mkdir lyx wolfgang@wolfgang-Mr-Whisper-Ultra-SSD-II:/mnt/sdb/we$ cd lyx wolfgang@wolfgang-Mr-Whisper-Ultra-SSD-II:/mnt/sdb/we/lyx$ ls wolfgang@wolfgang-Mr-Whisper-Ultra-SSD-II:/mnt/sdb/we/lyx$ git checkout 2.3.x fatal: Not a git repository (or any parent up to mount point /mnt/sdb) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). Wolfgang Sorry, JMarc, I see there is a Lyx Howto for git. Will try tomorrow. Thanks Wolfgang Thanks to all of you who helped. Installing lyx 2.3.3 shows now the English help files. Glad it worked. Wolfgang