From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: export to latex but *not* export the citations Date: Fri, 19 Jan 2018 07:19:56 -0800 Message-ID: References: <87a7x9ylcr.fsf@skimble.plus.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54837) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ecYSZ-00052H-R1 for emacs-orgmode@gnu.org; Fri, 19 Jan 2018 10:20:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ecYSW-0005la-KU for emacs-orgmode@gnu.org; Fri, 19 Jan 2018 10:20:03 -0500 Received: from mail-pg0-x231.google.com ([2607:f8b0:400e:c05::231]:39703) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ecYSW-0005ip-Eh for emacs-orgmode@gnu.org; Fri, 19 Jan 2018 10:20:00 -0500 Received: by mail-pg0-x231.google.com with SMTP id w17so1649006pgv.6 for ; Fri, 19 Jan 2018 07:20:00 -0800 (PST) In-reply-to: <87a7x9ylcr.fsf@skimble.plus.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Sharon Kimble Cc: org-mode-email You can try this: * Build :noexport: Put this heading in your file, and run this block. #+BEGIN_SRC emacs-lisp (flet ((org-ref-format-cite (keyword desc format) "")) (org-latex-export-to-latex)) #+END_SRC It will temporarily redefine the cite export function. It appears it replaces them with a space, but this should be a problem for latex. Sharon Kimble writes: > I'm writing a document which currently has 408 pages and over a 1,000 > footnotes, and with a size of 1.1 mbs. > > I'm exporting it to latex using 'org-latex-export-to-latex' and am now > wondering is it possible to export it *and* omit the citations? The > citations currently are showing in the org-mode source file as > '(cite:xxxx)'. > > So to clarify - the org-mode document is exported to latex and then > built into a pdf file in a separate process. The org-mode document has > citations, showing in the org-mode document as '(cite:xxxx)', where the > 'xxxx' is any one of four figures which don't have any impact on reality > in org-mode, though org-ref allows them to be seen as a quasi-bibtex > display in the mini-buffer. When the pdf file is built they are > converted into authoryear citations, and its these citations that I'm > looking to *not* display in the pdf file. I would like the citations to > still show in the org-mode source document but not to show in the final > built pdf file. > > The file, or program, that is building the pdf can be seen at [fn:1]. > > So how can I do it please? > > Thanks > Sharon. > > [fn:1] 'pdfbuild' - from tex to PDF - version 2 = http://www.sharons.org.uk/pdfbuild2.html -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu