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.
Post Reply
jjmm
Posts: 13
Joined: Tue Jul 12, 2016 5:23 am

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

Post by jjmm »

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

Code: Select all

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

Code: Select all

FUNCTION {bst.cite.and}
%{ " and " } % (default)
{ " 與 " } %
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

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

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

Post by Johannes_B »

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.
Post Reply