MiKTeX and proTeXtProblem with Graphics and Quotes

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
Post Reply
saif
Posts: 2
Joined: Fri Oct 03, 2008 4:19 pm

Problem with Graphics and Quotes

Post by saif »

Hi,

I have recently downloaded Latex from Miktex distribution and have started going through the tutorial. I am using Texnic center as the editor. I have currently having two problems that I have been unable to solve:

1. I can't include images.
The name of the image file is being printed in a border rather than the image itself. There are no errors reported and it identifies the correct filename along with the extension. The border changes as well if I change the size but the image doesn't show. I have also tried jpg and png formats. It however, refuses to accepts eps format.

2. When I tried to use the \url{} control sequence I had to include a package called url. Now this worked fine. The urls were being printed correctly and in the pdf they were even automatically hyper-linked. However, this had a side effect. I noticed that all the quotes (') that I used in the document were not being interpreted correctly. Every quotation mark regardless of left of right is being printed as right single quote ('). If I remove the \includepackage{url} then the quotes start working normally. But, obviously then I am unable to use \url{}...

I would be very grateful if you guys could help with this problem.

Thanks.

Recommended reading 2024:

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

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

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Problem with Graphics and Quotes

Post by localghost »

saif wrote:[…] 1. I can't include images.
The name of the image file is being printed in a border rather than the image itself. There are no errors reported and it identifies the correct filename along with the extension. The border changes as well if I change the size but the image doesn't show. I have also tried jpg and png formats. It however, refuses to accepts eps format. […]
You are working in draft mode. That means that somewhere in your code your are using the draft option. That affects either the option list of the document class or the options for the graphicx package.
saif wrote:[…] 2. When I tried to use the \url{} control sequence I had to include a package called url. Now this worked fine. The urls were being printed correctly and in the pdf they were even automatically hyper-linked. However, this had a side effect. I noticed that all the quotes (') that I used in the document were not being interpreted correctly. Every quotation mark regardless of left of right is being printed as right single quote ('). If I remove the \includepackage{url} then the quotes start working normally. But, obviously then I am unable to use \url{} […]
To solve this issue it is better to create a minimal working example (MWE) that shows the problem.


Best regards and welcome to the board
Thorsten¹
saif
Posts: 2
Joined: Fri Oct 03, 2008 4:19 pm

Re: Problem with Graphics and Quotes

Post by saif »

Thanks. Problem 1 solved.

Problem 2, how do I make a working example. Lets see if this helps:

\usepackage{url}
He said, ``I'm just going out.''

The quotes are all being printed as single right quotes(') in the pdf.

But, if I remove the /usepackage{url} line than the quotes appear as they should.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Problem with Graphics and Quotes

Post by localghost »

saif wrote:[…] how do I make a working example. […]
Follow carefully the instructions on the page behind the link for the MWE I gave in my first reply.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Re: Problem with Graphics and Quotes

Post by Stefan Kottwitz »

Hi saif,

I cannot reproduce that behavior. Using the url package and your text example with quotes everything was fine, I've got left quotes. The appearance of your text could be influenced by the chosen font, its encoding, ... that's why we need a mwe like Thorsten said to examine it.

Stefan
LaTeX.org admin
Post Reply