LaTeX forum ⇒ BibTeX, biblatex and bibermathspec disables italics in Bibliohraphy Topic is solved

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

mathspec disables italics in Bibliohraphy

Postby Linguist » Tue Feb 28, 2017 11:18 am

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] [Expand/Collapse] [Download] ({untitled.tex})
  1. \documentclass{report}
  2. \usepackage{mathspec}
  3. \begin{document}
  4. \cite{test}
  5. \bibliographystyle{linquiry2}
  6. \bibliography{Test}
  7. \end{document}


The code for the bibliography entry in Test.bib:

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. @Book{test,
  2. Title = {A title that should be italics},
  3. Address = {Address},
  4. Author = {Surname, Firstname},
  5. Publisher = {Publisher},
  6. Year = {Year},
  7. }


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 160 times

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

Postby Johannes_B » Tue Feb 28, 2017 7:31 pm

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: 9618
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Wed Mar 01, 2017 1:24 am

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: 41
Joined: Mon Nov 07, 2011 12:07 pm

Postby Linguist » Thu Mar 02, 2017 6:10 pm

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: 9618
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Thu Mar 02, 2017 7:06 pm

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: 41
Joined: Mon Nov 07, 2011 12:07 pm

Postby Linguist » Fri Mar 03, 2017 4:28 pm

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


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 1 guest