From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/11422 Path: news.gmane.org!not-for-mail From: Matthew Pickering Newsgroups: gmane.text.pandoc Subject: Re: Word document with Endnote references to latex Date: Fri, 5 Dec 2014 22:08:09 +0000 Message-ID: References: <3ee6112f-4e06-480c-ad39-008de30734d9@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1417817295 12715 80.91.229.3 (5 Dec 2014 22:08:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Dec 2014 22:08:15 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCO2LGEC4AIBBSOZRCSAKGQENCW7DIQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Dec 05 23:08:11 2014 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-lb0-f191.google.com ([209.85.217.191]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xx12p-0005nj-4h for gtp-pandoc-discuss@m.gmane.org; Fri, 05 Dec 2014 23:08:11 +0100 Original-Received: by mail-lb0-f191.google.com with SMTP id u10sf133251lbd.28 for ; Fri, 05 Dec 2014 14:08:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe; bh=UWbSY4R9F8MP4NmG0MpcB/IqkUtD34lfadcCTaStY+A=; b=tdAuzubJ22ye9TTlDDcfeiicLVy4JLYY5JazqnSclRcUHS/QNCsebO0aiqTheLJf3Z HbgcJZZ+ZIx+wJ96+eVOGsj2/Aaxi2EP+oZdB355hppbSmPkCV45a5Xc7yudYQ9CwsPF a25qRK0vxprxejQegT6i6mfmUCmBCrZ0a3s8ko6w7TutIXQbx4njVQDiISlEpce2+tjf C33oPn/78g3xeKMuKfDj/ysa8YHiSbIweXAPTldWieoXADhNXQwmlGPKvmodfRZdG5cZ TDSN67jhEzK52Pkjy68O5TIWxCL998Ly+zpeQYbn2dnhmrzHO2naG2B/cGWVg851UM6+ diQA== X-Received: by 10.152.143.8 with SMTP id sa8mr23727lab.32.1417817291021; Fri, 05 Dec 2014 14:08:11 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.152.4.169 with SMTP id l9ls179950lal.101.gmail; Fri, 05 Dec 2014 14:08:09 -0800 (PST) X-Received: by 10.152.43.50 with SMTP id t18mr25062lal.8.1417817289480; Fri, 05 Dec 2014 14:08:09 -0800 (PST) Original-Received: from mail-la0-x234.google.com (mail-la0-x234.google.com. [2a00:1450:4010:c03::234]) by gmr-mx.google.com with ESMTPS id xj7si1179623lbb.0.2014.12.05.14.08.09 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 05 Dec 2014 14:08:09 -0800 (PST) Received-SPF: pass (google.com: domain of matthewtpickering-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4010:c03::234 as permitted sender) client-ip=2a00:1450:4010:c03::234; Original-Received: by mail-la0-x234.google.com with SMTP id hs14so1397841lab.39 for ; Fri, 05 Dec 2014 14:08:09 -0800 (PST) X-Received: by 10.153.11.129 with SMTP id ei1mr4993851lad.11.1417817289370; Fri, 05 Dec 2014 14:08:09 -0800 (PST) Original-Received: by 10.114.21.130 with HTTP; Fri, 5 Dec 2014 14:08:09 -0800 (PST) In-Reply-To: X-Original-Sender: matthewtpickering-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of matthewtpickering-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4010:c03::234 as permitted sender) smtp.mail=matthewtpickering-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dkim=pass header.i=@gmail.com; dmarc=pass (p=NONE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:11422 Archived-At: I think there might be specific endnote -> bibtex conversion tools as well which would probably work better. On Fri, Dec 5, 2014 at 9:51 PM, Mark Szepieniec wrote: > Pandoc is just seeing your citations as internal hyperlinks (to the > respective references), it just read your reference list as text, and > doesn't realize they are actually references. You will need to convert your > references to bibtex form, either manually, or with the tool Matthew > mentioned. > > The transformation of \hyperrefs into \cites could be done with a pandoc > filter (if you can code python or haskell), or you could do a search and > replace in your text editor. > > > > On Fri, Dec 5, 2014 at 10:41 PM, BerndB wrote: >> >> Okay... I used pandoc and could create a file looking like a LaTex file >> which also compiles. >> >> pandoc Thesis.docx -s -o Thesis.tex >> >> ==== The compiled PDF file >> ============================================================================================ >> >> On the first look, it is impressive. Looks like I would need it. However, >> I do not understand how the literature references are transformed. In fact, >> I would need something like an additional bibliography output. >> >> === Inside the .tex file >> ======================================================================================================= >> >> Looking into the .tex file, [1] has been replaced by >> "{[}\hyperref[ux5fENREFux5f1]{1}{]}" which obviously corresponds to the >> following entry at the end of the document: >> >> "References >> >> \hyperdef{}{ux5fENREFux5f1}{}{}1. Ogawa J, Shimizu S: Microbial enzymes: >> new industrial applications from traditional screening methods. Trends >> in biotechnology 1999, 17:13-21." >> >> >> =========================================================================================================================== >> >> So, I am pretty close. But I would need \cite{bibTexKey} instead of >> \hyperref[ux5fENREFux5f1], and I would need to access an extra bibliography >> file, such that I can change the references in the .tex file afterwards. >> . >> >> On Friday, December 5, 2014 10:20:08 PM UTC+1, Mark Szepieniec wrote: >>> >>> I think Matthew means that the tool he linked to does a good job of >>> transforming text such as >>> >>> Watscon JD, Crick F, "Molecular Structure of Nucleic Acids: A Structure >>> for Deoxyribose Nucleic Acid", Nature (1953) >>> >>> into a structured reference that latex can work with. However, one would >>> then still need to manually change each instance of "[1]" in the original >>> document to "\cite{watsoncrick}", or something similar. >>> >>> In your case, if I understand correctly, your references would also have >>> to be transformed from EndNote's format to bibtex (Latex's format). This is >>> not something that pandoc can do. >>> >>> On Fri, Dec 5, 2014 at 9:11 PM, BerndB wrote: >>>> >>>> Hi, thanks for trying to help! ;) >>>> >>>> But I do not understand what you mean with "manually". >>>> >>>> I maintained and included references with Endnote. It is a reference >>>> manager for Word. >>>> >>>> On Friday, December 5, 2014 9:07:10 PM UTC+1, Matthew Pickering wrote: >>>>> >>>>> If you have manually typed out the references then I don't think there >>>>> is. I had success using this tool to convert[1] references to a more >>>>> suitable format but I had to manually update all the citation points >>>>> obviously. >>>>> >>>>> [1]: http://text2bib.economics.utoronto.ca/ >>>>> >>>>> On Fri, Dec 5, 2014 at 7:51 PM, BerndB wrote: >>>>> > Hello, >>>>> > >>>>> > I have a huge Word document with about 100 references that I included >>>>> > with >>>>> > Endnote. (I started with Word to maintain comment bubbles for the >>>>> > references >>>>> > and to use track changes. However, I would now prefer to have the >>>>> > final >>>>> > version as a latex document to apply to the common standards.) >>>>> > >>>>> > ================================== >>>>> > Example >>>>> > ================================== >>>>> > Somewhere in the text: Genes are coded in the DNA of an organism [1]. >>>>> > >>>>> > (...) >>>>> > >>>>> > References (at the end of the document): 1. Watscon JD, Crick F, >>>>> > "Molecular >>>>> > Structure of Nucleic Acids: A Structure for Deoxyribose Nucleic >>>>> > Acid", >>>>> > Nature (1953) >>>>> > ================================== >>>>> > >>>>> > Is there any possibility to convert the Word file into a LaTex file >>>>> > (while >>>>> > also transforming the references into proper LaTex references)? >>>>> > >>>>> > How would I do it with pandoc? >>>>> > >>>>> > -- >>>>> > You received this message because you are subscribed to the Google >>>>> > Groups >>>>> > "pandoc-discuss" group. >>>>> > To unsubscribe from this group and stop receiving emails from it, >>>>> > send an >>>>> > email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>> > To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>> > To view this discussion on the web visit >>>>> > >>>>> > https://groups.google.com/d/msgid/pandoc-discuss/e00e6fe3-0102-4888-b1a1-9da10fe1f6b4%40googlegroups.com. >>>>> > For more options, visit https://groups.google.com/d/optout. >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "pandoc-discuss" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>> To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/pandoc-discuss/3ee6112f-4e06-480c-ad39-008de30734d9%40googlegroups.com. >>>> >>>> For more options, visit https://groups.google.com/d/optout. >>> >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "pandoc-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/pandoc-discuss/b2730c9c-d8a2-4bee-888c-3e7a19b8bd28%40googlegroups.com. >> >> For more options, visit https://groups.google.com/d/optout. > > > -- > You received this message because you are subscribed to the Google Groups > "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/CAE4-1rWDn7OewemXC7r8gKVm%3DOSagH1cy0PQm7knwti7yUwQ%3Dg%40mail.gmail.com. > > For more options, visit https://groups.google.com/d/optout.