pdflatex

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:...

LaTeX: How to change one of section numbers to a custom letter?

Hi, I have something like this: Section 1 ... Section 2 ... Section 3 Subsection 3.1 ... Section 4 ... And I would like to have something like this: Section 1 ... Section 2 ... Section A Subsection A.1 ... Section 4 ... In other words - change one of section numbers to something else 3 == A I need this for my thesis which is writte...

Pdflatex for windows

Hi Does anyone know how to convert .tex files to .pdf in windows? I tried cygwin but it said the command "pdflatex" was not recognised Thanks Philip ...

Adding bibliography to appendices in latex

Hi everyone I am writing my thesis and i am using the chapterbib option, while it makes beautiful bibliographies for my chapters, i can't get it to do the same thing for my appendices premable: \documentclass[pdftex, 11pt, onecolumn, openany]{report} \usepackage{amsmath} \usepackage[pdftex]{graphicx} \usepackage{appendix} \usepackag...

How to change the margin of code's frame of showexpl.sty when numbers=none?

I want to align the code's frame with the formated text's frame. If the numbers=left,the mission is accomplished by configuring xleftmargin, xrightmargin, framesep, and numbersep. However, when I set numbers=none, I cannot accomplish my mission by configuring those properties. Regardless of the values set to those properties, the code'...

Can pdflatex (or any tex package) automatically rescale included images which have been reduced in size?

I'm writing my thesis in LaTeX, generating it with pdflatex. I have a large number of figures, many of which are bitmaps (as opposed to SVG) in PNG/JPEG format. I've generally created them to be fairly high resolution (say 1600x1200-ish) to ensure that whatever size they end up in the document, they'll be at least 300dpi when printed. A...

utf8 codification problem C#, writing a tex file, and compiling with pdflatex

Hi, i have the next code written in C#....it create a tex file using utf-8.....the problem is that appears that is not a real valid utf-8 file because, when i use pdflatex it doesn't recognize the characters with accents. Somebody knows a way to write a real UTF-8 file? When i use TexmakerX to create a utf8 file with the same latex code,...

pdfLaTeX + memoir class compile error

Hi, I'm in the middle of writing my thesis, and was using KOMA-Script. The document compiles just fine. I stumbled upon the memoir class yesterday, and was thinking of giving it a try, so here I am trying to compile with this class instead of KOMA-Script. First compilation is OK On second compilation, the document would not build (./fo...

LaTeX: Show block only if there is enough space left

Hi LaTeX enthusiasts and TeX programmers! I'm currently developing a single-page document class for some kind of flyers which should be generated automatically. Unfortunately the limited amount of space doesn't make it possible to display everything on the page, so I need to skip some articles completely (I don't want only one half of a...

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 ...

Latex insert date setted with \date command

Hi, I searched all morning to do this. I want to insert in my custom title page the date , author , title setted with the following commands \date{The date} \author{Me \and Other} \title{the document title} I want to insert those in my document anywhere (and my custom title page) Solution \makeatletter \@date \@title \makeatother...

Generating pdf from latex

I have been using two computers to generating pdf files from latex file by Winshell, but the characters (or images) in the pdf files generated from latex file on one computer looks always much more clear than the pdf pdf file generated by the same file on the other computer. Could anyone tell me what the problem is, or how to improve the...

Compiling multiple LaTeX files in Windows

I have a folder with many LaTeX files that all use the same custom LaTeX class. Now I want to recompile all of these LaTeX files. They are aranged in separate folders with the same name for the main files as the folder, e.g., foo0001/foo0001.tex, foo0002/foo0002.tex. Is there a way, using a Windows bat script, to compile/build all thes...

How can I generate a PDF index from pdfLaTeX?

I often generate reports from pdfLaTeX using TeXworks, and would like to generate a document index, which will appear in the sidebar of a PDF viewer, (e.g. evince, Adobe Reader). Are there any packages which will allow me to do so? ...

Force pdflatex to create one box per word.

Good evening everyone! I'm converting ebook files to ereader-optimized pdf files (the sony ereader can't propertly justify text). I'm therefore converting html to latex, and then building the latex output using pdflatex. The sony reader has a function to lookup words in a dictionary. However, it figures out words by analysing boxes; an...

How to insert code into a latex doc.

This seems like a trivial question but google has not give me any fast results. How to do I insert code into a latex document? Is there something like: \begin{code} ... \end{code} Or how should I do this. The only thing that I really need is indentation and a fixed width font. Syntax highlighting could be nice although it is def...

How to link to a glossary item (using package glossaries)

In my document i'm using the package glossaries to create a glossary. Everything works fine except that the is no link between the words in the text and the corresponding entry in my glossary (so you can click the word to be explained and get to the glossary entry). The most important parts of my document: %----Header---- ... \usepack...

Beamer latex question

How to remove the navigation bar of sections and subsections on the top of each slide generated from a beamer latex file? (The usepackage I use is beamerthemesplit} Thanks! ...

Defining a header wich background color in Latex

For a small project I'm trying something that feels as if it should be peanut, but au contraire (Hey, that's french, never thought I'd remember some parts of that. anyway...). The thing is, I want a latex layout where the header and footer span the entire pagewidth and have a background color, and also can have some elements on the left,...

Conditional compilation in a LaTeX document.

I want to generalize a template I have and one of the items is setting a few variables before generating a PDF to send to someone. In my Makefile I have set: ${OBJS}/main.pdf: main.tex ${DEPS} pdflatex -output-directory=${OBJS} "\def\recipiant{${RECIPIANT}} \def\revision{${REVISION}} \include{main}" Though I would like to not worry ...