Bug 461960 - Error when export cyrillic text through pandoc PDF(latext)
Summary: Error when export cyrillic text through pandoc PDF(latext)
Status: CLOSED UPSTREAM
Alias: None
Product: ghostwriter
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: megan.conkle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-17 18:14 UTC by Igor Murzich
Modified: 2022-12-12 17:52 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Error screen (26.24 KB, image/png)
2022-11-17 18:14 UTC, Igor Murzich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Murzich 2022-11-17 18:14:56 UTC
Created attachment 153843 [details]
Error screen

SUMMARY
***
When I try to export cyrillyc text to pdf using pandoc I obtain error: "LaTeX Error: Unicode character Р (U+0420) not set up for use with LaTeX."
***

STEPS TO REPRODUCE
1. Prepare cyrillic text (example: Русский тест)
2. File / Export / pandoc / PDF(LaTex)

OBSERVED RESULT
Error producing PDF.
! LaTeX Error: Unicode character Р (U+0420)
               not set up for use with LaTeX.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.58 Р

EXPECTED RESULT
exported pdf file

SOFTWARE/OS VERSIONS
Ghostwriter 2.2.0
Operating System: KDE neon 5.26
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Kernel Version: 5.19.14-051914-generic (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Comment 1 megan.conkle 2022-11-24 08:48:02 UTC
Does this error occur if you use Pandoc from the command line?
Comment 2 Bug Janitor Service 2022-12-09 05:12:57 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Igor Murzich 2022-12-09 18:04:31 UTC
(In reply to megan.conkle from comment #1)
> Does this error occur if you use Pandoc from the command line?

Yes, error occurs when use pandoc from command line. Small experiments and browsing internet gave me a solution:

pandoc -f markdown -t pdf -o hello.pdf --pdf-engine=xelatex -V mainfont="Linux Libertine O" hello.txt

(source: https://stackoverflow.com/questions/18178084/pandoc-and-foreign-characters)