all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: 73161@debbugs.gnu.org, egrep@protonmail.ch
Subject: bug#73161: 29.4; Exporting Org Agenda to PDF with Cyrillic Characters
Date: Tue, 10 Sep 2024 16:53:45 +0300	[thread overview]
Message-ID: <86wmjjty1i.fsf@gnu.org> (raw)
In-Reply-To: <87v7z4ni82.fsf@localhost> (message from Ihor Radchenko on Tue, 10 Sep 2024 06:19:41 +0000)

> Cc: 73161@debbugs.gnu.org
> From: Ihor Radchenko <yantar92@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@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.





  reply	other threads:[~2024-09-10 13:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-09 22:38 bug#73161: 29.4; Exporting Org Agenda to PDF with Cyrillic Characters Serghei Iakovlev via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-10  6:19 ` Ihor Radchenko
2024-09-10 13:53   ` Eli Zaretskii [this message]
2024-09-10 13:51 ` Eli Zaretskii
2024-09-10 14:45   ` Eli Zaretskii
2024-09-11 12:02   ` Serghei Iakovlev via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86wmjjty1i.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=73161@debbugs.gnu.org \
    --cc=egrep@protonmail.ch \
    --cc=yantar92@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.