BibTeX, biblatex and bibermathspec disables italics in Bibliohraphy

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
Linguist
Posts: 43
Joined: Mon Nov 07, 2011 12:07 pm

mathspec disables italics in Bibliohraphy

Post by Linguist »

Hello,

It is standard in bibliographies for the title of a book to be in italics. However, I've recently found that the use of mathspec (or fontspec) "turns off" all the italics in my bibliography. Does any-one know a simple way to resolve this?

I've tried this with several different bibliography styles and the same issue occurs. When I use mathspec (or fontspec) the title is not in italics, when I comment it out the title is correctly in italics.

MWE:

Code: Select all

\documentclass{report}
\usepackage{mathspec}
\begin{document}
\cite{test}
\bibliographystyle{linquiry2}
\bibliography{Test}
\end{document}
The code for the bibliography entry in Test.bib:

Code: Select all

@Book{test,
  Title                    = {A title that should be italics},
  Address                  = {Address},
  Author                   = {Surname, Firstname},
  Publisher                = {Publisher},
  Year                     = {Year},
}
The style linquiry2 (which I normally use) is attached. As previously stated, this issue occurs also with other .bst styles.

I'm using the latest version of miktex. This wasn't an issue last year (with an older distribution?)
Attachments
linquiry2.bst
(29.48 KiB) Downloaded 420 times

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

mathspec disables italics in Bibliohraphy

Post by Johannes_B »

Make sure to get the very recent updates my making another MikTeX update.

Thanks to the TeX Chat for having a look.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

mathspec disables italics in Bibliohraphy

Post by Stefan Kottwitz »

Seems like you need to update fontspec. But as Johannes said, better update the whole MiKTeX.
If you would see other issues, note that theres another fine LaTeX software: TeX Live for Windows.

Stefan
LaTeX.org admin
Linguist
Posts: 43
Joined: Mon Nov 07, 2011 12:07 pm

mathspec disables italics in Bibliohraphy

Post by Linguist »

Hello,

Currently the problem persists.

I uninstalled MiKTeX and downloaded the latest version (which was what I had anyway, but I re-downloaded) it and the problem persisted. I ran the update and I saw that fontspec had an update, but when I try to update it I get the following error message:

Sorry, but something went wrong:
The executed process did not succeed.
fileName="C:\Program Files\MiKTeX 2.9\miktex\bin\x64\initexmf.exe", arguments="--force --mklinks --verbose", exitCode="1"

So I can't update fontspec to see if that would fix the problem because the MiKTeX updater is stuffin up. Ugh. I can't find an obvious solution for a similar MiKTeX problem online. But maybe I should start a new thread for this...
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

mathspec disables italics in Bibliohraphy

Post by Stefan Kottwitz »

Perhaps try TeX Live. It's developed by group with support by the TeX Users Group, while MiKTeX is a one-man-project. TeX Live gets a news release every year, after a thorough testing phase by users on several operating systems (Windows, Mac, Linux).

Stefan
LaTeX.org admin
Linguist
Posts: 43
Joined: Mon Nov 07, 2011 12:07 pm

mathspec disables italics in Bibliohraphy

Post by Linguist »

Thanks,

Yup, using TeX Live solves the issue! Yay!

Using TeX Live also resolves some warnings XeLatex was throwing up concerning xdvipdfmx. I'll post here so that people using MiKTeX who are googling around trying to resolve them (like I was a week or two ago...) can find this post and hopefully solve them too.

xelatex> xdvipdfmx:warning: JPEG: Inconsistent resolution may have specified in Exif and JFIF: 180x180 - 96x96
xelatex> xdvipdfmx:warning: JPEG: Inconsistent resolution may have specified in Exif and JFIF: 180x180 - 96x96
xelatex> xdvipdfmx:warning: JPEG: Inconsistent resolution may have specified in Exif and JFIF: 180x180 - 96x96
...
xelatex> xdvipdfmx:warning: JPEG: Inconsistent resolution may have specified in Exif and JFIF: 180x180 - 96x96
...
xelatex> xdvipdfmx:warning: Object @Hfootnote.150 already defined.
...
xelatex> xdvipdfmx:warning: Glyph width mismatch for TFM and font (xydash10)
xelatex> xdvipdfmx:warning: TFM: 484.375 vs. Type1 font: 486
xelatex> xdvipdfmx:warning: Glyph width mismatch for TFM and font (xydash10)
xelatex> xdvipdfmx:warning: TFM: 484.375 vs. Type1 font: 486
xelatex> xdvipdfmx:warning: Glyph width mismatch for TFM and font (xydash10)
xelatex> xdvipdfmx:warning: TFM: 484.375 vs. Type1 font: 486
xelatex> xdvipdfmx:warning: Glyph width mismatch for TFM and font (xydash10)
xelatex> xdvipdfmx:warning: TFM: 484.375 vs. Type1 font: 486
xelatex> xdvipdfmx:warning: Glyph width mismatch for TFM and font (xydash10)
xelatex> xdvipdfmx:warning: TFM: 484.375 vs. Type1 font: 486
xelatex> No unicode mapping available: GID=948, cname=ch.IPPH
xelatex> No unicode mapping available: GID=948, cname=ch.IPPH
Post Reply