LaTeX forum ⇒ BibTeX, biblatex and biberHow to replace the "and" between two authors with the "and" in Chinese?

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
jjmm
Posts: 9
Joined: Tue Jul 12, 2016 5:23 am

How to replace the "and" between two authors with the "and" in Chinese?

Postby jjmm » Sat Jul 07, 2018 4:21 pm

Hi,

I am typing a Chinese document by latex on Mac, TexStudio. Part of my bibliography are in Chinese. I do not have any problem showing the Chinese texts and bibliography, but have trouble replacing the citation "Smith and Johnson (1998)” with “Smith 與 Johnson (1998)”, where "與", the character between “Smith" and “Johnson” is the “and” in Chinese. In other words, I try to change the “ and “ between the two authors to Chinese.

I understand I need to rewrite the following lines in the .bst file

  1. FUNCTION {bst.cite.and}
  2. { " and " } % (default)


as

  1. FUNCTION {bst.cite.and}
  2. %{ " and " } % (default)
  3. { " 與 " } %


However, when I compile the tex file, it shows "Smith ? Johnson (1998)”. It can’t read the “ and “ in Chinese. I am able to replace the "and" with something else, like "\&" I use XeLaTex. Is there any solution? Thank you very much!!

jjmm

User avatar
Johannes_B
Site Moderator
Posts: 3805
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sat Jul 07, 2018 4:36 pm

I am almost sure BibTeX cannot handle this.

Are you open to using the more modern biblatex with biber? It can handle utf8 and different languages easily. -> https://en.wikibooks.org/wiki/LaTeX/Bib ... _and_biber
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 4 guests