LyXCompilation error for polish language

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
BartK
Posts: 2
Joined: Sun Mar 14, 2021 7:11 pm

Compilation error for polish language

Post by BartK »

Hello.
I just installed latest Miktex and Lyx for Windows 10. Performed Miktex update and Lyx reconfiguration. Created new document for polish language and trying to export to pdf. I receive “The external program pdflatex finished with an error. It is recommended you fix this causes of the external program’s error (check the logs).

Source of the file:

Code: Select all

% Podgląd kodu źródłowego
%% LyX 2.3.6.1 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[polish]{article}
\usepackage[T1]{fontenc}
\usepackage[latin2]{inputenc}
\usepackage{babel}
\begin{document}
To 
\end{document}
Miktex pdflatex.log:
Conversion from UTF-8 byte sequence to wide character string did not succeed

When exporting to .tex file and performing compilation in Texstudio there is no problem. When performing export in Lyx for English language there is no problem.
Thanks in advance.
Last edited by BartK on Mon Mar 15, 2021 10:19 am, edited 1 time in total.

Recommended reading 2024:

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

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

BartK
Posts: 2
Joined: Sun Mar 14, 2021 7:11 pm

Compilation error for polish language

Post by BartK »

I had polish characters in folder name with the Lyx file document. After changing the name of the folder the problem is fixed.
Post Reply