[OS X TeX] abbreviations in Bibtex

Manfred Braun manfred.braun at uni-due.de
Fri Jul 9 18:05:04 EDT 2021


Zbigniew,

Did you try to run “my” bib file? I didn’t copy the line @string{Acta = …} from your file but typed it in manually. Maybe our quotation marks are still different. It’s just for curiosity, you have already found a solution.

Manfred

> On 09 Jul 2021, at 23:12, Nitecki, Zbigniew H. <Zbigniew.Nitecki at tufts.edu> wrote:
> 
> Manfred:
> (Thanks for pointing out the typo)
> Your minimal example suggests that the problem is not the quotation marks, since you used my (modified) version directly in your minimal example.
> 
> Tamer: 
> I’ll try the braces instead of quotes, though it looks like that is not the problem.
> I used quotes because in the Latex Companion they consistently use quotes for defining the strings even though on a preceding page (e.g., p. 768, near top) they say that curly braces can be used when specifying names.  In fact, I have always pretty consistently used braces to delimit fields in bibtex entries.
> 
> After writing the responses above (to Manfred and Tamer) I went and changed all the quotation marks (in the definitions of strings) with curly braces, and it took care of my problem.   But I still don’t understand why the quotation marks didn’t work for me, even though they worked for Manfred (using the same .bib file).
> 
> Oh well, the mysteries of life…;-)
> 
> Zbigniew Nitecki
> Department of Mathematics
> Tufts University
> Medford, MA 02155
> 
> telephones:
> Office    (617)627-3843
> Dept.    (617)627-3234
> Dept. fax    (617)627-3966
> http://www.tufts.edu/~znitecki/ <http://www.tufts.edu/~znitecki/>
> 
> 
> 
>> On Jul 9, 2021, at 16:19, Manfred Braun <manfred.braun at uni-due.de <mailto:manfred.braun at uni-due.de>> wrote:
>> 
>> Well, I’m using here a rather old Macbook with TeXShop Version 4.44. I simply type  "Acta Mathematica” 
>> with the double quotation mark (above the number 2 on my German keyboard), and it comes out correctly. See the minimal example:
>> 
>> (Just as a side remark: There is a typo in title= … residues des ….)
>> 
>> Hope you find out the right key. By the way, I think that the editors should not be too smart and anticipate what one wants to type. Good luck,
>> 
>> Manfred 
>> 
>>> On 09 Jul 2021, at 21:31, Nitecki, Zbigniew H. <Zbigniew.Nitecki at tufts.edu <mailto:Zbigniew.Nitecki at tufts.edu>> wrote:
>>> 
>>> Yes, I set the TeXShop editor to auto complete quotes, so hitting the (double) quote key gives me opening…closing.  I’ve frogotten how to turn this off.
>>> I went through and changed the initial quotes by deleting then typing the double quotation sign and erasing the first part.  Am I correct that I have now entered the
>>> correct form of quotation mark?  If not, how do I get it on my computer?
>>> 
>>> Here is my full list of abbreviations, with all the quotes changed as indicated above.  Is this right or should I do something else to that?
>>> @string{Acta =''Acta Mathematica''}
>>> @string{AmJMath =''American Journal of Mathematics''}
>>> @string{AMMonth =''American Mathematical Monthly''}
>>> @string{AMS =''American Mathematical Society''}
>>> @string{Annals =''Annals of Mathematics''}
>>> @string{AnnENS =''Annales scientifiques de l'{\'E}cole Normal Superiore''}
>>> @string{BAMS =''Bulletin of the AMS''}
>>> @string{BSM =''Bulletin des sciences math{\'e}matiques''}
>>> @string{CRAS =''Comptes rendus habdomadires des s{\/e}ances de l'Acad{\'e}mie des Sciences, Paris''}
>>> @string{Fundamenta=''Fundamenta Mathematicae''}
>>> @string{JDMV =''Jahresbericht der Deutschen Mathematiker-Vereinigung''}
>>> @strintg{JMpa =''Journal de Math{\'e}matiques Pures et Appliqu{\'e}es''}
>>> @string{JraM =''Journal f{\"u}r die reine und angewandte Mathematik''}
>>> @string{MathAnn =''Mathmatische Annalen''}
>>> @string{MathMag =''Mathematics Magazine''}
>>> @string{MessMath =''The Messenger of Mathematics''}
>>> @string{MonatsfM =''Monatshefte f{\"u}r Mathematik''}
>>> @string{PAMS =''Proceedings of the AMS''}
>>> @string{PCambPhil =''Proceedings of the Cambridge Mathematical Society''}
>>> @string{PLMS =''Proceedings of the London Mathematical Society''}
>>> @string{RendLincei  =''Rendconditi del Reale Accademia del Lincei''}
>>> @string{RendPalermo=''Rendconditi del Circulo Matematico di Palermo''}
>>> @string{RevHistSci  =''Revue d'histoire des sciences''}
>>> @string{TAMS =''Transactions of the AMS''}
>>> @string{TCambPhil =''Transactions of the Cambridge Philosophical Society''}
>>> 
>>> I still get an error message:
>>> 
>>> 
>>> Zbigniew Nitecki
>>> Department of Mathematics
>>> Tufts University
>>> Medford, MA 02155
>>> 
>>> telephones:
>>> Office    (617)627-3843
>>> Dept.    (617)627-3234
>>> Dept. fax    (617)627-3966
>>> http://www.tufts.edu/~znitecki/ <http://www.tufts.edu/~znitecki/>
>>> 
>>> 
>>> 
>>>> On Jul 9, 2021, at 15:04, Manfred Braun <manfred.braun at uni-due.de <mailto:manfred.braun at uni-due.de>> wrote:
>>>> 
>>>> I think the reason is that you have written ”Acta Mathematica” with opening and closing quotation marks. It should be simply "Acta Mathematica".  Maybe your editor converts the quotation marks automatically to opening and closing, which are different.
>>>> 
>>>> Manfred
>>>>  
>>>>> On 09 Jul 2021, at 19:54, Nitecki, Zbigniew H. <Zbigniew.Nitecki at tufts.edu <mailto:Zbigniew.Nitecki at tufts.edu>> wrote:
>>>>> 
>>>>> I’m confused by the following phenomenon:
>>>>> 
>>>>> Following the LaTex Companion, \S 13.2.3 (pp 769ff), I tried to make my references to standard journals uniform by putting, at the beginning of my .bib file, a set of abbreviations in the following format (eg):
>>>>>> @string{Acta =``Acta Mathematica''}
>>>>> 
>>>>> and then use the abbreviation in the following way (eg):
>>>>>> @article{Poincare:residues,
>>>>>> author={Henri Poincar\'e},
>>>>>> title={\foreignlanguage{french}{Sur les residusdes int\'egrales doubles}},
>>>>>> journal=Acta, 
>>>>>> volume={9}, 
>>>>>> year={1886/7}, 
>>>>>> pages={321-380}
>>>>>> }
>>>>> 
>>>>> 
>>>>> I get an error messages in my console:
>>>>>> This is BibTeX, Version 0.99d (TeX Live 2017)
>>>>>> The top-level auxiliary file: Coeur.aux
>>>>>> The style file: plain.bst
>>>>>> Database file #1: calculus.bib
>>>>>> Warning--string name "``acta" is undefined
>>>>>> --line 2 of file calculus.bib
>>>>>> Missing "}" in string command---line 2 of file calculus.bib
>>>>>>  : @string{acta  =``acta 
>>>>>>  :                       Mathematica''}
>>>>>> I'm skipping whatever remains of this command
>>>>> 
>>>>> 
>>>>> and it seems to quit after a lot of these kinds of errors.
>>>>> 
>>>>> What am I doing wrong?  Has the format changed since the Latex Companion was written?
>>>>> 
>>>>> 
>>>>> 
>>>>> Zbigniew Nitecki
>>>>> Department of Mathematics
>>>>> Tufts University
>>>>> Medford, MA 02155
>>>>> 
>>>>> telephones:
>>>>> Office    (617)627-3843
>>>>> Dept.    (617)627-3234
>>>>> Dept. fax    (617)627-3966
>>>>> http://www.tufts.edu/~znitecki/ <http://www.tufts.edu/~znitecki/>
>>>>> 
>>>>> 
>>>>> 
>>>>> ----------- Please Consult the Following Before Posting -----------
>>>>> TeX FAQ: http://www.tex.ac.uk/faq <http://www.tex.ac.uk/faq>
>>>>> List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/TeX/ <https://sites.esm.psu.edu/~gray/TeX/>
>>>>> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx <http://dir.gmane.org/gmane.comp.tex.macosx>
>>>>>                https://email.esm.psu.edu/pipermail/macosx-tex/ <https://email.esm.psu.edu/pipermail/macosx-tex/>
>>>>> TeX on Mac OS X Website: http://mactex-wiki.tug.org/ <http://mactex-wiki.tug.org/>
>>>>> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex <https://email.esm.psu.edu/mailman/listinfo/macosx-tex>
>>>> 
>>>> ----------- Please Consult the Following Before Posting -----------
>>>> TeX FAQ: http://www.tex.ac.uk/faq <http://www.tex.ac.uk/faq>
>>>> List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/TeX/ <https://sites.esm.psu.edu/~gray/TeX/>
>>>> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx <http://dir.gmane.org/gmane.comp.tex.macosx>
>>>>                https://email.esm.psu.edu/pipermail/macosx-tex/ <https://email.esm.psu.edu/pipermail/macosx-tex/>
>>>> TeX on Mac OS X Website: http://mactex-wiki.tug.org/ <http://mactex-wiki.tug.org/>
>>>> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex <https://email.esm.psu.edu/mailman/listinfo/macosx-tex>
>>> 
>>> ----------- Please Consult the Following Before Posting -----------
>>> TeX FAQ: http://www.tex.ac.uk/faq <http://www.tex.ac.uk/faq>
>>> List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/TeX/ <https://sites.esm.psu.edu/~gray/TeX/>
>>> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx <http://dir.gmane.org/gmane.comp.tex.macosx>
>>>                https://email.esm.psu.edu/pipermail/macosx-tex/ <https://email.esm.psu.edu/pipermail/macosx-tex/>
>>> TeX on Mac OS X Website: http://mactex-wiki.tug.org/ <http://mactex-wiki.tug.org/>
>>> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex <https://email.esm.psu.edu/mailman/listinfo/macosx-tex>
>> 
>> <nitecki.tex><nitecki.bib><nitecki.pdf>
> 
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/TeX/
> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
>                https://email.esm.psu.edu/pipermail/macosx-tex/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20210710/87e5c649/attachment.htm>


More information about the MacOSX-TeX mailing list