Received: (at 25601) by debbugs.gnu.org; 24 Apr 2017 11:35:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 24 07:35:20 2017 Received: from localhost ([127.0.0.1]:37190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1d2cH2-0002Vs-Mt for submit <at> debbugs.gnu.org; Mon, 24 Apr 2017 07:35:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40293) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <arash@HIDDEN>) id 1d2cH0-0002Vd-Rl for 25601 <at> debbugs.gnu.org; Mon, 24 Apr 2017 07:35:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <arash@HIDDEN>) id 1d2cGp-0003Q2-Om for 25601 <at> debbugs.gnu.org; Mon, 24 Apr 2017 07:35:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45805) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <arash@HIDDEN>) id 1d2cGp-0003Px-Kl; Mon, 24 Apr 2017 07:35:07 -0400 Received: from p5b326cc8.dip0.t-ipconnect.de ([91.50.108.200]:57227 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from <arash@HIDDEN>) id 1d2cGp-0004q7-15; Mon, 24 Apr 2017 07:35:07 -0400 From: Arash Esbati <arash@HIDDEN> To: Emmanuel Charpentier <emm.charpentier@HIDDEN> Subject: Re: bug#25601: Possible need for an update to the \TeX "preview" package. References: <41259e9e-02a6-a529-e8cd-dfe21fc207cf@HIDDEN> <86k298ha7i.fsf@HIDDEN> Date: Mon, 24 Apr 2017 13:31:31 +0200 In-Reply-To: <86k298ha7i.fsf@HIDDEN> (Arash Esbati's message of "Thu, 02 Feb 2017 16:41:05 +0100") Message-ID: <86vapujb3g.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 25601 Cc: 25601 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) Arash Esbati <arash@HIDDEN> writes: > Emmanuel Charpentier <emm.charpentier@HIDDEN> writes: > >> I recently stumbled on a problem that is not specifically bound to >> preview, but shows that a (slight) revision may be in order. See the >> transcript of a thread in comp.text.tex at >> https://groups.google.com/forum/#!topic/comp.text.tex/umzerAdDkX0 . >> >> Working on this problem, I saw that preview had an option specific to >> the XeLaTeX compiler. This made me think that an analogous solution >> was needed for the LuaTeX compiler, which uses the same mechanisms for >> font loading and font metrics. However, I do not know welle enough the >> internals of these engines to determine if the solution used for >> XeLaTeX can be applied to LuaTeX, of if specific actions are needed. >> >> Do you think that a slight revision of your package could be done (if >> only to document how to use it with LuaLaTeX) ? > > Thanks for your report. For the records, LuaTeX and pdfTeX used to > share some primitives like \pdfoutput, \pdfvorigin, \pdfhorigin, > \pdfpageheight and \pdfpagewidth. With the advent of LuaTeX 0.85, > LuaTeX uses other names for these primitives and hence the code in > preview.sty does not work with this engine. > > One can solve the issue by doing: > > \RequirePackage{luatex85} > \documentclass{article} > ... > > I will try to update this in preview.pdf. But the real solution will > have to wait. Following up myself, I had a discussion with maintainer of pst-pdf and it seems that it is not easy to make preview support recent luatex natively. Hence, I added the following line to preview.dtx: \IfFileExists{luatex85.sty}{\RequirePackage{luatex85}}{} Emmanuel, do you have a chance to install the latest preview from AUCTeX git and give it roll? TIA, Arash
bug-auctex@HIDDEN
:bug#25601
; Package auctex
.
Full text available.Received: (at 25601) by debbugs.gnu.org; 2 Feb 2017 16:33:52 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 02 11:33:52 2017 Received: from localhost ([127.0.0.1]:54188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cZKKW-0000Iw-2h for submit <at> debbugs.gnu.org; Thu, 02 Feb 2017 11:33:52 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33180) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <arash@HIDDEN>) id 1cZJW9-0007YI-Lp for 25601 <at> debbugs.gnu.org; Thu, 02 Feb 2017 10:41:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <arash@HIDDEN>) id 1cZJW0-0001dw-Eb for 25601 <at> debbugs.gnu.org; Thu, 02 Feb 2017 10:41:44 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53295) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <arash@HIDDEN>) id 1cZJW0-0001ds-BG; Thu, 02 Feb 2017 10:41:40 -0500 Received: from p54ace4ac.dip0.t-ipconnect.de ([84.172.228.172]:58480 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from <arash@HIDDEN>) id 1cZJVz-0006lB-Oq; Thu, 02 Feb 2017 10:41:40 -0500 From: Arash Esbati <arash@HIDDEN> To: Emmanuel Charpentier <emm.charpentier@HIDDEN> Subject: Re: bug#25601: Possible need for an update to the \TeX "preview" package. References: <41259e9e-02a6-a529-e8cd-dfe21fc207cf@HIDDEN> Date: Thu, 02 Feb 2017 16:41:05 +0100 In-Reply-To: <41259e9e-02a6-a529-e8cd-dfe21fc207cf@HIDDEN> (Emmanuel Charpentier's message of "Wed, 1 Feb 2017 15:26:18 +0100") Message-ID: <86k298ha7i.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.91 MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 25601 X-Mailman-Approved-At: Thu, 02 Feb 2017 11:33:51 -0500 Cc: 25601 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) Hi Emmanuel, Emmanuel Charpentier <emm.charpentier@HIDDEN> writes: > I recently stumbled on a problem that is not specifically bound to > preview, but shows that a (slight) revision may be in order. See the > transcript of a thread in comp.text.tex at > https://groups.google.com/forum/#!topic/comp.text.tex/umzerAdDkX0 . > > Working on this problem, I saw that preview had an option specific to > the XeLaTeX compiler. This made me think that an analogous solution > was needed for the LuaTeX compiler, which uses the same mechanisms for > font loading and font metrics. However, I do not know welle enough the > internals of these engines to determine if the solution used for > XeLaTeX can be applied to LuaTeX, of if specific actions are needed. > > Do you think that a slight revision of your package could be done (if > only to document how to use it with LuaLaTeX) ? Thanks for your report. For the records, LuaTeX and pdfTeX used to share some primitives like \pdfoutput, \pdfvorigin, \pdfhorigin, \pdfpageheight and \pdfpagewidth. With the advent of LuaTeX 0.85, LuaTeX uses other names for these primitives and hence the code in preview.sty does not work with this engine. One can solve the issue by doing: \RequirePackage{luatex85} \documentclass{article} ... I will try to update this in preview.pdf. But the real solution will have to wait. Best, Arash
bug-auctex@HIDDEN
:bug#25601
; Package auctex
.
Full text available.Received: (at submit) by debbugs.gnu.org; 1 Feb 2017 16:42:12 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 01 11:42:12 2017 Received: from localhost ([127.0.0.1]:53575 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cYxz1-000609-JW for submit <at> debbugs.gnu.org; Wed, 01 Feb 2017 11:42:11 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34997) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <emm.charpentier@HIDDEN>) id 1cYvqo-0002mq-0a for submit <at> debbugs.gnu.org; Wed, 01 Feb 2017 09:25:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <emm.charpentier@HIDDEN>) id 1cYvqi-0006Po-0e for submit <at> debbugs.gnu.org; Wed, 01 Feb 2017 09:25:28 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: *** X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_50,FREEMAIL_FROM, RECEIVED_FROM_WINDOWS_HOST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41395) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <emm.charpentier@HIDDEN>) id 1cYvqh-0006Pk-Tj for submit <at> debbugs.gnu.org; Wed, 01 Feb 2017 09:25:27 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <emm.charpentier@HIDDEN>) id 1cYvqd-0006H8-R6 for bug-auctex@HIDDEN; Wed, 01 Feb 2017 09:25:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <emm.charpentier@HIDDEN>) id 1cYvqa-0006PO-Ed for bug-auctex@HIDDEN; Wed, 01 Feb 2017 09:25:23 -0500 Received: from smtp1-g21.free.fr ([2a01:e0c:1:1599::10]:60307) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <emm.charpentier@HIDDEN>) id 1cYvqa-0006PK-91 for bug-auctex@HIDDEN; Wed, 01 Feb 2017 09:25:20 -0500 Received: from [127.0.0.1] (unknown [82.228.67.28]) by smtp1-g21.free.fr (Postfix) with ESMTP id 22CCFB0051B for <bug-auctex@HIDDEN>; Wed, 1 Feb 2017 15:25:18 +0100 (CET) From: Emmanuel Charpentier <emm.charpentier@HIDDEN> Subject: Possible need for an update to the \TeX "preview" package. To: bug-auctex@HIDDEN Message-ID: <41259e9e-02a6-a529-e8cd-dfe21fc207cf@HIDDEN> Date: Wed, 1 Feb 2017 15:26:18 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Windows NT kernel [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 01 Feb 2017 11:42:10 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) Dear AUCTeX maintainers, at the suggestion of David Kastrup, I forward to you a suggestin initially sent to him, to which he answered he had no time nor energy to investigate : I am a user of the knitr R package, which uses the preview package to create single-file images of R-generated figures. This package can generate tikz pictures, which are of great interest. I recently stumbled on a problem that is not specifically bound to preview, but shows that a (slight) revision may be in order. See the transcript of a thread in comp.text.tex at https://groups.google.com/forum/#!topic/comp.text.tex/umzerAdDkX0 . Working on this problem, I saw that preview had an option specific to the XeLaTeX compiler. This made me think that an analogous solution was needed for the LuaTeX compiler, which uses the same mechanisms for font loading and font metrics. However, I do not know welle enough the internals of these engines to determine if the solution used for XeLaTeX can be applied to LuaTeX, of if specific actions are needed. Do you think that a slight revision of your package could be done (if only to document how to use it with LuaLaTeX) ? Sincerely yours, Emmanuel Charpentier
Emmanuel Charpentier <emm.charpentier@HIDDEN>
:bug-auctex@HIDDEN
.
Full text available.bug-auctex@HIDDEN
:bug#25601
; Package auctex
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.