GNU bug report logs - #73161
29.4; Exporting Org Agenda to PDF with Cyrillic Characters

Previous Next

Package: emacs;

Reported by: Serghei Iakovlev <egrep <at> protonmail.ch>

Date: Tue, 10 Sep 2024 04:38:02 UTC

Severity: normal

Found in version 29.4

Full log


Message #14 received at 73161 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: 73161 <at> debbugs.gnu.org, egrep <at> protonmail.ch
Subject: Re: bug#73161: 29.4;
 Exporting Org Agenda to PDF with Cyrillic Characters
Date: Tue, 10 Sep 2024 16:53:45 +0300
> Cc: 73161 <at> debbugs.gnu.org
> From: Ihor Radchenko <yantar92 <at> posteo.net>
> Date: Tue, 10 Sep 2024 06:19:41 +0000
> 
> Serghei Iakovlev via "Bug reports for GNU Emacs, the Swiss army knife of
> text editors" <bug-gnu-emacs <at> gnu.org> writes:
> 
> > --8<---------------cut here---------------start------------->8---
> > (require 'ps-print)
> > (ps-print-buffer-with-faces
> >   (concat (file-name-sans-extension file) ".ps"))
> > (call-process "ps2pdf" nil nil nil
> >   (expand-file-name
> >     (concat (file-name-sans-extension file) ".ps"))
> >   (expand-file-name file))
> > (delete-file (concat (file-name-sans-extension file) ".ps"))
> > (message "PDF written to %s" file)
> > --8<---------------cut here---------------end--------------->8---
> 
> (A comment to Eli and other Emacs maintainers)
> 
> I believe that what we observe here is a problem in `ps-print-buffer',
> not in Org mode. In other words, it looks like Emacs bug, not Org mode
> bug.

It isn't an Org bug, but IMO Org should prominently document that the
above is only going to work for ASCII and maybe also Latin-1 text; any
other scripts, if they at all work, need ps-mule setup and BDF fonts.




This bug report was last modified 239 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.