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.
MiKTeX and proTeXt ⇒ Problem with Graphics and Quotes
NEW: TikZ book now 40% off at Amazon.com for a short time.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Problem with Graphics and Quotes
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:[…] 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. […]
To solve this issue it is better to create a minimal working example (MWE) that shows the problem.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{} […]
Best regards and welcome to the board
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Problem with Graphics and Quotes
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.
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.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Problem with Graphics and Quotes
Follow carefully the instructions on the page behind the link for the MWE I gave in my first reply.saif wrote:[…] how do I make a working example. […]
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
- Stefan Kottwitz
- Site Admin
- Posts: 10321
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Problem with Graphics and Quotes
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
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