Article View: adobe.scripting.indesign
Article #16878Applescript (or VB) to format References?
From: NeoPrimitive
Date: Mon, 28 Jul 2003 12:48
Date: Mon, 28 Jul 2003 12:48
11 lines
2187 bytes
2187 bytes
I am pagesetting a medical research journal. The "references" section is the most tedious. I keep having to spend hours and hours applying formatting to hundreds of references since the authors never give them in the proper formats. Is there any applescript (or VB) for such things? Our journal's referencing style is a variation of the Vancouver style of referencing. An example: 56. <Bold>Cambien F, Poirier O, Lecerf L, Evans A, Cambou JP, Arveiler D.<Bold> Deletion polymorphism in the gene for angiotensin converting enzyme is a potent risk factor for myocardial infarction. <Ital>Br J Biochem<Ital> 1992, <Bold>359<Bold>, 641-644. [Each reference has a serial number, in normal font, followed by a full stop. Then the authors names in bold, then full stop. Then title of the paper, full stop. Then name of the Journal in Italics (followed by space only), then year (comma), then volume number in bold (comma), page numbers from to separated by en-dash, followed by full stop.] If anyone could give me a starter, and show how to write at least the first formatting, I'll try and complete the script myself. This is the first time I am contemplating a script and I dont have the time to start learning from the scratch since there is a big deadline looming. I work on both Mac and Windows for this project, but lately I am trying to get used to the Mac version (OS 10.2) more. So both VB and Applescript advice are welcome. neoprimitive
Technical Details
Message-ID:
<1dea17d8.-1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!in.100proofnews.com!in.100proofnews.com!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebXShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,8c572854569a1f90,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-07-28 06:07:56 PST From: NeoPrimitive <neoprimitive@hotmail.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!in.100proofnews.com!in.100proofnews.com!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Applescript (or VB) to format References? Message-ID: <1dea17d8.-1@WebX.la2eafNXanI> Date: Mon, 28 Jul 2003 05:48:17 -0700 Lines: 28 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit