From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Partha Pratim Ghosh Newsgroups: gmane.emacs.help Subject: Re: Orgmode + auctex + reftex + preview latex. Date: Tue, 29 Dec 2020 11:34:17 +0200 Message-ID: <87pn2tlzvq.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12907"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.2.0; emacs 26.3 Cc: Hongyi Zhao To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 29 10:34:48 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 1kuBOx-0003F9-RV for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 29 Dec 2020 10:34:47 +0100 Original-Received: from localhost ([::1]:33004 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kuBOw-0002Ty-Tu for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 29 Dec 2020 04:34:46 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kuBOb-0002Tc-Ob for help-gnu-emacs@gnu.org; Tue, 29 Dec 2020 04:34:25 -0500 Original-Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]:45909) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kuBOa-00041l-2P for help-gnu-emacs@gnu.org; Tue, 29 Dec 2020 04:34:25 -0500 Original-Received: by mail-ed1-x534.google.com with SMTP id r5so11995102eda.12 for ; Tue, 29 Dec 2020 01:34:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=CW26SlPNpRvUtCyl2fF5ImNTjIG0PxRG5euMAzrmJxI=; b=d0de2JUlVzP5CmijpgLOS6j2RUQig8eVrORcW/0pNrNk2/X6ri26xDrp2itzyWnRhK M569hipekyjX8NQoDqSZ1OL7Z4oNXTjYWhuvTasWO88D09cLy5+WFlwtQoL+2Qvc7q2Q Kvq/3/pWjZBzM4GLo47w5+T3zt9YAQh5pa8a3r3dmJ5bkLFx9IkgoJKc4tQx8nGRp6ku KiTz3+cG/g9Oag0ybOLDBZ63N3HdG71V3tPrjqw545gDeJSSpqtzSrZk/x3ZiOmhTJbq jBptUx5AS4gCLva1pqMyjtmrIdHkytKN6VG654NBf9A96ouDeTBweoVMNfvqgFajQgy2 0kQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=CW26SlPNpRvUtCyl2fF5ImNTjIG0PxRG5euMAzrmJxI=; b=GassFk2xMVQpUW2te6JueDa0McTWi71KH3PuI6P4UclBYgQ9KQuU0lsEOrtPrOKMQp HDi/Wuy1Rp2m6Vlviz7kXkm1xs7Z0UGU/Y3Nq6/dS64s0HJE5/gs55IRUE5SJSchJwAg pAlLPAzddl1Y2lXyusHiiMQ5ZcVLfVXtlh+tyKa8a6Ko6VuWnPLYnOEVD5AOv0jS3Jvx i+vQ2w9APhcPNLsaLIgR6uofxRh3n20GML0/PHWvL7LyEglOy8Ozq850MTLJzhJ9x0nU PJh9CSx0CdI4KL6b2efcxR4Lfi1I7VYKswX3nwiBioGXDTxOuixfnXknGafpW+Zq5PKS ZRYA== X-Gm-Message-State: AOAM531/fN8QmGglR89HF7uMWRGv9EWIznq7biJgKiTzwS9FBX8o3wi7 LmYtscV+1befjOD6t1kF7q2fZeJrLNMUhw== X-Google-Smtp-Source: ABdhPJxTZrrHXVYNJ8a7rhUqJCNYIn2W3qFG/PH8gN6q6LPOLTy7Odr53Hpf+guvxscpxpAYJi0s1A== X-Received: by 2002:aa7:d608:: with SMTP id c8mr44445815edr.260.1609234461534; Tue, 29 Dec 2020 01:34:21 -0800 (PST) Original-Received: from localhost (165-73-58-71.ip.afrihost.joburg. [165.73.58.71]) by smtp.gmail.com with ESMTPSA id z9sm18027595eju.123.2020.12.29.01.34.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Dec 2020 01:34:20 -0800 (PST) In-reply-to: Received-SPF: pass client-ip=2a00:1450:4864:20::534; envelope-from=ghosh.parthapratim.unisa@gmail.com; helo=mail-ed1-x534.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:126894 Archived-At: 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. 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