From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: Re: Orgmode + auctex + reftex + preview latex. Date: Wed, 30 Dec 2020 07:24:08 +0800 Message-ID: References: <87pn2tlzvq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20954"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Partha Pratim Ghosh Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 30 00:24:45 2020 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 1kuOM9-0005Kg-2M for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 30 Dec 2020 00:24:45 +0100 Original-Received: from localhost ([::1]:57642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kuOM8-000163-4t for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 29 Dec 2020 18:24:44 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55648) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kuOLo-00015h-Ew for help-gnu-emacs@gnu.org; Tue, 29 Dec 2020 18:24:24 -0500 Original-Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]:46499) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kuOLm-0002v6-IB for help-gnu-emacs@gnu.org; Tue, 29 Dec 2020 18:24:24 -0500 Original-Received: by mail-lf1-x135.google.com with SMTP id y19so33998340lfa.13 for ; Tue, 29 Dec 2020 15:24:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=C1jrXtqJxQCrL5r2jKQqbHNVL10wMaWwAVR3G4G5ml0=; b=QHRXZrzxNAAHoV83y/ejZZlzxCWAgVoqse4PaUeu4o8GzLXyvHVilYu5H41RvQ07MM zbxbHuOnfZcsddXeCG+qKDJCAa7MfyhivYi68uTDhnCRvrvBrj+k9KIV+BEzsTmduvy8 ZDIexGW+iFLRqbZluUoMRfcjW5XCw5kNYEVm2fpzVD2UKnp+NavYQ3XR/FRXb1OAY3XW eYzzN65N5VXk8UKZldw0ODnwzLUayy9SEAKJYApuhX6aZLCXumElhCc37w8rpjV1gtKw 2JwCm96cE7GzwWfynmVEktSKF/4hKv+/vlXfzseZJ4mhZEYK0ZVf4jpMqr5qEukno0C0 4r6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=C1jrXtqJxQCrL5r2jKQqbHNVL10wMaWwAVR3G4G5ml0=; b=OF5/GzQiw0lodX8F/xwPSeOkUet7XOrWuWZxWzYkkfCha/Bhong0VO5Y3UYJsD69vE CMUaOTLRYKjQirw0is0lxa65JjF/TZDNGipFg1fljUtmoeLk7j21jqLuybaJljhA6pAt os5+rrF8xghXsmfCZv8Ebys0F5zBLFHty9wRNmw8YHCYQVO14WYAAQQqOA0Ocg3s1J0J bpIB09EVEb5rNAIomF6yptUwrSn66aLEFPxXUjSsjraGkDEJyuVaPl3JAWZbAblYMEdB 2gvZ4p9bRG2BQ99w4g1bzJGhAchOy52GODHtzPRu+seuWxl1Y0awNOH3MS7DfkOffhln yp8g== X-Gm-Message-State: AOAM533J1fRkX6cDA8kcM2I/1nx8IhCy+i/CILnhDNIfQPqE/Y99F+9X eU/LgKcQUiaNhJtO1OMY0qpY8wo3xZMJz+U1ojY= X-Google-Smtp-Source: ABdhPJxUKCIBvCTKB/C3zCBrcg/p+aCv8bqcLHmmA7DPcAYWTZlm9ItXQQL5vSt6ZEbKIyTMAx+uOYFCyIhkm/RZ7WY= X-Received: by 2002:ac2:59ce:: with SMTP id x14mr21163877lfn.545.1609284260338; Tue, 29 Dec 2020 15:24:20 -0800 (PST) In-Reply-To: <87pn2tlzvq.fsf@gmail.com> Received-SPF: pass client-ip=2a00:1450:4864:20::135; envelope-from=hongyi.zhao@gmail.com; helo=mail-lf1-x135.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.help:126907 Archived-At: On Tue, Dec 29, 2020 at 5:34 PM Partha Pratim Ghosh wrote: > > Dear All & Hongyi, > > I use AucTeX for my major LaTeX projects and Org mode for smaller ones > as well as compiling reading notes et al. For such short and brief ones > I find the Org mode LaTeX export to be very handy. I can share my > configuration separately, if you are interested, and did not do so here > fearing the mail/reply becoming too long and boring. Could you please share your configuration on github, so that people here can try/discuss it more conveniently If they want to? > > I have a few problems though: > > 1. The same notes, if I want to export to html does not do so > effectively, since I use my personal .sty file, which is incorporated > for LaTeX export but does not suit for the hrml export. So, a macro from > my .sty file just gets typed as is in the html file. Also, Xypic codes > get transferred to actual images in LaTeX export, but in the html export > gets treated as a piece of code. > > 2. I have also problems with file links in the Org mode and it is not > recognised. However, hyperref recognises the http links or doi links. > > I would be thankful if I could find some help here in solving the two > problems above. > > > With my regards and all the very best wishes, > > partha > > Hongyi Zhao writes: > > > On Mon, Dec 28, 2020 at 1:09 PM David Masterson > > wrote: > >> > >> Hongyi Zhao writes: > >> > >> > Orgmode is powerful and great, but if I want to write latex from > >> > within it, I also want to utilize the capabilities supplied by, e.g., > >> > auctex, reftex, preview latex and so on. > >> > > >> > Any hints/notes/comments for the co-operation and combination of these > >> > tools will be highly appreciated. > >> > >> Haven't used it, but this is a problem that sounds like mmm-mode (on > >> Melpa) is for, > > > > Thanks for your notes. I've filed an issue to the author of mmm-mode: > > https://github.com/purcell/mmm-mode/issues/120. > > > > Regards > -- Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials Hebei Polytechnic University of Science and Technology engineering NO. 552 North Gangtie Road, Xingtai, China