TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to set the following minimal document:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
<html lang="en">
    <title>An Example of a Web page</title>
    <p>This is an example of a Web page</p>

I would like to keep the HTML text as it exists in the file and use the verbatim environment for that.

I want symmetrical typewriter double quotes rather than the typographic right/left paired double quotes.

I get the latter rather than the former when I compile the above file with lualatex.

How might I get what I want?

=== Addendum 1 ===

I downloaded the font from the blog post link suggested by Khaled Hosny below, unzipped it, and installed it on my Linux system as a system font.

fc-list | grep Inconsolata shows the font as 'Inconsolata-dz:style=dz'.

I then changed the single line with Inconsolata to Inconsolata-dz in the file above.

When I tried compiling with lualatex, it terminates prematurely with these lines:

luaotfload | Updating the font names database:
luaotfload | Scanning TEXMF fonts...
luaotfload | Scanning OS fonts...
! Font \zf@basefont=name:Inconsolata-dz at 10pt not loadable: metric data not found or bad.
<to be read again> 
l.3 \setmonofont{Inconsolata-dz}
share|improve this question
You do know that the shape you see is what is in Inconsolata, yes? See levien.com/type/myfonts/inconsolata.html – Joseph Wright Oct 31 '10 at 10:15
In reply to Addendum 1: I installed the font in ~/.fonts and it worked just fine. – Khaled Hosny Nov 1 '10 at 10:53
up vote 5 down vote accepted

What I'm getting here is the ASCII double quote, but it is drawn curly not straight in the font, and that is a known (mis)feature of Inconsolata, check this blog post for a modified version with straight quotes.

share|improve this answer
Thank you both for your replies. I was not aware of the (mis)feature of this font and even less aware of the workaround. My problem has been solved now. – chandra Oct 31 '10 at 17:32
I would appreciate an explanation of how to use your fix to use your modified version of inconsolata in a document. Thanks! – Seamus Oct 31 '10 at 21:34
I downloaded the font from the blog post link, unzipped it, and installed it on my Linux system as a system font. – chandra Nov 1 '10 at 7:34
Please see addendum in my Original post on problems encountered with using Inconsolata-dz. Grateful for pointers. – chandra Nov 2 '10 at 4:50
@chandra: I already replied above; this usually means the font is not seen by luaotfload, but the installation went fine on my side. – Khaled Hosny Nov 3 '10 at 15:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.