miktex

Miktex on Windows Vista

Hi all, I have some problems with Miktex installed on Windows Vista Business SP1/32 bit. I use miktex 2.7, ghostscript, and texniccenter 1 beta 7.50. When I compile a document with the following profiles: Latex=>DVI, Latex=>PDF everything works fine; the system crashes when I compile with profiles Latex=>PS and Latex=>PS=>PDF. The error...

How do you display straight quotes instead of curly quotes when using LaTeX's 'listings' package?

I'm using LaTeX's "listings" package to format source code. Unfortunately I get curly quotes instead of straight quotes. Since the curly quotes don't always point in the right direction, it looks bad. How can I get straight quotes instead? I'd prefer not to change or filter the source code itself. Filtering the code to properly change "...

Using sphinx/miktex to generate pdf files that displays UTF8 Japanese (CJK) text in windows

I have documentation in ReSt (UTF8) and I'm using sphinx to generate HTML and latex files. (No issues with html conversion) I then want to convert the resulting latex file to PDf. Currently I'm using MiKTeX 2.7's pdflatex.exe command to perfom this conversion. (Converting a source file without Japanese characters produces the expected...

latex - getting specific problem number

i wanted to do the following... Problem 3. in latex i use the following \newtheorem{prob}{Problem} \begin{prob} ... \end{prob} it starts as follows Problem 1., is it possible to to Problem 3. instead,... can you show me how? thanks a lot! ...

Escaping a block of text in MikTeX?

I am trying to insert a block of code into MikTeX which contains many reserved characters. Is there any way I can escape the whole block of code so that the conversion engine does not try to evaluate it? I suppose this would only work if the the code had balanced brackets. Is there a way I can convert the block of text so that all i...

\includeonly not working as expected with newclude

In LaTeX, the \includeonly statement exists to selectively add or exclude sub-documents. One quirk in the whole process is that when sections are excluded, LaTeX decides to insert a page-break. The article at http://stackoverflow.com/questions/1209065/to-have-no-pagebreak-after-include-in-latex recommends using newclude to avoid this is...

Why wont \marginpar wrap it's text [Solved]

I'm using miktex 2.8 on windows. For some reason, the \marginpar command has stopped working. It used to work as expected, but not the lines will not wrap. I have set marginparwidth to 1in and still the lines will not wrap, they just go right off the page (or right into the text for margin pars on the odd pages). If I change marginparwid...

Installing pstricks in windows with MikTex

Hello I've been trying to get pstricks to work but to no avail. I am using Miktex, and I downloaded the package from it packages manager. But when I try to build it, it always fails: This is XeTeX, Version 3.1415926-2.2-0.9995.1 (MiKTeX 2.8) entering extended mode (C:\xxxx\Desktop\untitled-6.tex LaTeX2e <2009/09/24> Babel <v3.8l> and h...

Where can i find help files or documentation for commands like \@startsection for LaTeX

I can't find official documentation for this command, help please! i look already in: latex wikibook Latex: Structured document for TEX, 2008 beginLatex...a book that comes with ProTex in the files that comes with miktex in the folder "doc" and google..... i found a lot of sites that show examples, discutions about it but i want the ...

change to letter size on teXnicCenter & MikTex

this is a very stupid question... but how come teXNicCenter and MikTex always generate an A4 size pdf paper? I reinstalled both MikTex and TecNixCenter and I made sure that I selected "Letter" to be my default paper size. nothing changes.. :| I need a letter size paper not A4. ...

How do I use TrueType fonts with LaTeX

I need to use a font family in my LaTeX documents, that is available as 18 .TTF (TrueTypeFont) files. Where do I have to copy the files in my MiKTeX 2.8 installation? How Do I make the fonts to available for LaTeX? I usually use pdfLaTeX. I read in Truetype-Fonts in LaTeX that TTF fonts are available without creating all the .TFM file...

[LaTeX] How to remove \hyphenpenalty & \pretolerance influence on section/subsection headers

Hi there, In my latex document i've set \hyphenpenalty=15000 and \pretolerance=10000 to remove word hyphenation and make text bounds even. But I can't disable this effect for section/subsection headers. All headers looks badly due to big spaces between words. Are there any solution to disable \hyphenpenalty=15000 and \pretolera...

MikTeX 2.8 doesn't add hyphenation support for pdfLaTeX

I'm using MikTeX 2.8 edition, and installed the hungarian language support and hyphenation files. Using the standard LaTeX command they work fine, but when I try to use pdfLaTeX, they don't get loaded and I get the (C:\stuff\miktex\tex\generic\babel\magyar.ldf (C:\stuff\miktex\tex\generic\babel\babel.def) Package babel /b/c12/cWarning:...

Can MikTeX create tagged PDFs?

Tagged PDFs allow for the easy reflow and accessibility of PDFs. It seems like this would be a natural use case for using LaTeX, which advocates content over style. But as far as I can tell, there is no way to create a tagged PDF with MikTeX 2.8. Does anybody know of any tips, tricks or techniques to get a tagged PDF through LaTeX witho...

Papersize problem with Latex Article Class

I'm new to Latex so hopefully this is just a simple problem. I'm using MikTex on Windows. My problem is that even though I specify the 'letterpaper' option in my class declaration (i.e., \documentclass[letterpaper]{article}), the pdf or dvi's that get created are set to use A4 paper. That is, I check the paper size of the pdf and its ...

MikTeX 2.8 and xypic error

Ever since I've updated to MiKTeX 2.8, xypic does not seem to work, to the point that, if I try build an output PDF with a latex file in which I use xymatrix, for example, I get a fatal error. I've been trying to fix this for several hours to no avail. I've gathered that this is a somewhat well-known bug having to do with the .enc files ...

How do I treat LaTeX warnings as errors

I am using the MiKTeX 2.8 distibution for Windows. We develop software primarily, and use LaTeX to make our user instructions. We use LaTeX because: It's great under source control for tracking changes etc. The source files don't suddenly decide to become corrupt, unlike Word documents. Multiple documents can share single sections, so...

Define linespacing using a Point-Value

Hello Guys, i have to write a paper where the chair claims a font size of 12pt AND a line-spacing of 15pt (which seems not to be \onehalfspacing). Can anyone tell me how to define the spacing using the value 15pt? Best regards and thanks! Philipp ...

What's the relation of file.4ct and file.4tc generated by MikTex's latex.exe

I'm currently investigation problems with our scripted documentation generation (.tex -> .pdf and .chm) and I have to admit that I'm pretty clueless when it comes to generating LaTeX. Long story short: PDF is correctly generated via pdflatex -output-format=pdf -interaction=batchmode ourfile.tex Script then goes on to call 3 times: la...

Including graphics in latex classfile

I have some class files in latex with a company logo on the titlepage. I have now stored all templates for this company in one folder and added this path to miketex. I have placed the logo in a child folder of the templates named "graphics". In the class files I then import the logo with \includegraphics{./graphics/logo}. This gives a fi...