From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.help Subject: Re: printing with paps Date: Thu, 5 Jan 2023 11:54:36 +0300 Message-ID: References: <81014c68-1b2f-875a-a3bf-2eb8974db6ca@posteo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21656"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.2.9+54 (af2080d) (2022-11-21) Cc: "help-gnu-emacs@gnu.org" To: Gottfried Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 05 18:16:36 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pDTr1-0005RL-Ax for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 05 Jan 2023 18:16:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pDThC-0006LE-CY; Thu, 05 Jan 2023 12:06:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pDThA-0006HU-Nu for help-gnu-emacs@gnu.org; Thu, 05 Jan 2023 12:06:24 -0500 Original-Received: from stw1.rcdrun.com ([217.170.207.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pDTh8-0006Fn-Su for help-gnu-emacs@gnu.org; Thu, 05 Jan 2023 12:06:24 -0500 Original-Received: from localhost ([::ffff:102.85.153.82]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000055D56.0000000063B7038E.000021F0; Thu, 05 Jan 2023 10:06:21 -0700 Mail-Followup-To: Gottfried , "help-gnu-emacs@gnu.org" Content-Disposition: inline In-Reply-To: <81014c68-1b2f-875a-a3bf-2eb8974db6ca@posteo.de> Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_06_12=1.543, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:142126 Archived-At: * Gottfried [2023-01-02 14:07]: > > Hi Jean, > > I installed the new rcd-utilities.el and rcd-paps.el > > > Warning (comp): rcd-utilities.el:2087:57: Warning: the function > ‘rcd-asciidoctor-preview’ is not known to be defined. Disable showing > Disable logging > Warning (comp): rcd-utilities.el:2086:54: Warning: the function > ‘rcd-asciidoc-preview’ is not known to be defined. Disable showing Disable > logging > Warning (comp): rcd-utilities.el:2041:25: Warning: the function > ‘prop-match-end’ is not known to be defined. Disable showing Disable logging > Warning (comp): rcd-utilities.el:2040:27: Warning: the function > ‘prop-match-beginning’ is not known to be defined. Disable showing Disable > logging > Warning (comp): rcd-utilities.el:285:10: Warning: the function > ‘prop-match-value’ is not known to be defined. Disable showing Disable > logging > Warning (comp): rcd-utilities.el:283:33: Warning: the function > ‘text-property-search-forward’ is not known to be defined. Disable showing > Disable logging Those warnings will not influence you while using rcd-paps.el package. > when I am doing a > M-x rcd-paps-buffer-to-pdf-view > > answer > symbol's function definition is void rcd-paps-process-buffer Maybe you did not get really latest rcd-paps.el https://gnu.support/files/emacs/packages/rcd-paps/rcd-paps.el It is very useful tool to generate PDF out of any buffer of Emacs. Another issue is that I use latest `paps' from: dov/paps: A text to postscript converter through pango: https://github.com/dov/paps `paps' command as compared to GNU `a2ps' or `enscript' supports Unicode and emoji out of box. There is also basic markup that one can use: Pango – 1.0: Text Attributes and Markup: https://docs.gtk.org/Pango/pango_markup.html theoretically is possible to write translator package to convert Emacs Enriched mode, or any fontified Emacs buffer to pango markup and to generate PDF files in colors. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/