From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sharon Kimble Newsgroups: gmane.emacs.help Subject: Re: changing from \cite{1} to \cite{MacRae,2002} Date: Fri, 16 May 2014 19:24:31 +0100 Message-ID: <87k39l60ps.fsf@skimble.plus.com> References: <87lhu2lcnw.fsf@debian.uxu> <87oayxdboy.fsf@skimble.plus.com> <871tvtu22s.fsf@gmx.us> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1400264710 5260 80.91.229.3 (16 May 2014 18:25:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 May 2014 18:25:10 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Rasmus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 16 20:25:05 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WlMoa-0000Sp-6U for geh-help-gnu-emacs@m.gmane.org; Fri, 16 May 2014 20:25:04 +0200 Original-Received: from localhost ([::1]:37243 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlMoZ-0000S6-Q7 for geh-help-gnu-emacs@m.gmane.org; Fri, 16 May 2014 14:25:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlMoJ-0000NR-U0 for help-gnu-emacs@gnu.org; Fri, 16 May 2014 14:24:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WlMoF-0002gW-6M for help-gnu-emacs@gnu.org; Fri, 16 May 2014 14:24:47 -0400 Original-Received: from avasout07.plus.net ([84.93.230.235]:49935) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlMoF-0002gO-0n for help-gnu-emacs@gnu.org; Fri, 16 May 2014 14:24:43 -0400 Original-Received: from london ([146.90.132.220]) by avasout07 with smtp id 2iQg1o0044lU3kJ01iQhNM; Fri, 16 May 2014 19:24:42 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=NYlo1gz4 c=1 sm=1 tr=0 a=kGy+Rrvq4CUlqJ3C4+Z3xQ==:117 a=kGy+Rrvq4CUlqJ3C4+Z3xQ==:17 a=0Bzu9jTXAAAA:8 a=dOUBY0j0ER4A:10 a=MOo0aRRxPpQA:10 a=ihvODaAuJD4A:10 a=EBOSESyhAAAA:8 a=LlzXLoV6AAAA:8 a=xtERp6CFAAAA:8 a=iI7HsYTVAAAA:8 a=vTOLV9nr1evuEjFZxxIA:9 a=qABe919b4e2quLkz:21 a=60Bicp8MtQa2JKAf:21 a=QEXdDO2ut3YA:10 a=1Yb8Niq-HZYA:10 a=7frnbCNWaG0A:10 a=rkZWyHejC9qX3SvSqEgA:9 X-AUTH: skimble:2500 In-Reply-To: <871tvtu22s.fsf@gmx.us> (rasmus@gmx.us's message of "Fri, 16 May 2014 18:21:15 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.91 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 84.93.230.235 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:97716 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Rasmus writes: > Sharon Kimble writes: > >> Emanuel Berg writes: >> >>> Sharon Kimble writes: >>> >>>> I am using latex and working on a document all in >>>> emacs. I have been using the biblatex citation system >>>> with the style "numerical", but now want to use >>>> "authoryear". >>> >>> First, your post looks a complete mess! I don't know if >>> it is my Gnus but I doubt it as I haven't seen anything >>> that plain chaos (since my last birthday party at >>> least) - just type, man! >> >> Wrong! I don't know of any "man" called Sharon! :) >>> >>> Here is how to do it - the trick is to not have any >>> "operational" data in the biblatex file - just the >>> sources. >>> >>> For example, if you have the poor taste of taking an >>> interest in databases - in db.bib: >>> >>> @Book{mcfadden, >>> author =3D {McFadden and Hoffer and Prescott}, >>> title =3D {Modern Database Management}, >>> publisher =3D {Addison-Wesley}, >>> year =3D 1998, >>> ISBN =3D {0-8053-6054-9}, >>> edition =3D {5th edition}} >>> >>> Then, in db.tex, you keep everything to it that relates >>> to *your* activity (the pages in this example): >>> >>> \cite[pp. 233, 237]{mcfadden} >>> >>> You can see how it works in context here [1] - perhaps >>> there are a couple of settings in the .tex file that >>> prepare it all to work. Don't forget the Makefile so >>> you can invoke it all in one stroke. >> >> Yes, but! Your references appear in the text as numbers, i.e. [1] >> which is not what I'm after. I'm looking for "author/editor, year".=20 > > So pass the option "natbib" or "author-year" or whatever you prefer to > biblatex. See "texdoc biblatex", section "3.3.1 Citation Styles". > > Or use biblatex-chicago. I use it like this: > > \usepackage[authordate, natbib, backend=3Dbiber,citetracker=3Dtrue, > uniquename=3Dmininit, ibidtracker=3Dfalse, maxcitenames=3D2]{biblatex-c= hicago} Thanks for this, using your "\usepackage" above, but which do I use for the bib database? I've tried both but I'm not sure which is working.=20 =2D-8<---------------cut here---------------start------------->8--- \addbibresource{uh2014.bib} \bibliography{uh2014} =2D-8<---------------cut here---------------end--------------->8--- This is part of "uh2014.bib" =2D-8<---------------cut here---------------start------------->8--- @Article{MacRae2002, author =3D {MacRae K. Pattison J.}, title =3D {Home chemotherapy.}, journaltitle =3D {Nursing Times}, year =3D {2002}, key =3D {MacRae2002}, volume =3D {98}, number =3D {35}, pages =3D {34-35}, } =2D-8<---------------cut here---------------end--------------->8--- and in the text it is cited as =E2=95=AD=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82\cite{MacRae2002} =E2=95=B0=E2=94=80=E2=94=80=E2=94=80=E2=94=80 but it shows in the pdf as "M. K. P. J. 2002." How can I get it to show as"[MacRae2002]" please? Thanks Sharon. =2D-=20 A taste of linux =3D http://www.sharons.org.uk my git repo =3D https://bitbucket.org/boudiccas/dots TGmeds =3D http://www.tgmeds.org.uk Debian testing, Fluxbox 1.3.5, emacs 24.3.91.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJTdlfgAAoJEDaBgBkK+INbCswP/0JFWqLUqghDd+Mwp7cdoh3O VszmSRNZxAA2ZV4qIfKxSib4akHsRxcYN1oUAEa5n4w1yE7EcOGCgdNLHSPVkB7Y Isf/PmMPJWwGhbBBFBxCXjlht1QKhtxLpCMntiQl9IEbrx/KkU7mvcJPlvf9SsGQ iRN6yyyXeVat53Fg9TegRGcnRH+lAB9q23NK8qC0phd9vcgcR7HjKoh/G2TI5zH6 Z1xOmnFhZX+fGvTKd1la+ynt2mSNAsArL4pGpDuEi21aZOZOlkrnl7PCU5xnOSwd V+Ahf80i6eZlCHcw2UVLvr4sZH6g6SV3WF5FdgB43kVCQ6vBEOfhAZ7iEUF+57vL 52Lb6uMbFQrgaeTjAvxR7MNgh1getCct3GCewlVRQjnZx0C6xIuSg2GEyqMkaVzq 2rEWJblubAxGwQHO7eDrh+RruQfFr5YMP6PWYE8KfoIDQc9bB0PO3EAxpDg5+2Ch n7wXsC8S0q6L1V8Js3w2RVtrvwj3H8luvK70Sf7q8gIJCv0wCvl6MO16j/GwkI/I pJJ2+8wHy+7SCBPhISRAqxA7v8Qblqldc6hk4QYWqxdwPyniVu9y0g+T2415LpC4 QTxDV+o60BFtuYjqGsxKB41A6ooFGGlXaC8gTEy+gD++06gy0TM+UDaClkfWPVsF iXDCA/2pRR4gVrYm6Rej =R0zv -----END PGP SIGNATURE----- --=-=-=--