LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   landscape style on latex in debian squeeze (https://www.linuxquestions.org/questions/debian-26/landscape-style-on-latex-in-debian-squeeze-912472/)

prudra 11-08-2011 08:27 AM

landscape style on latex in debian squeeze
 
I have posted this on me debian forum and again posting it here to get help from a larger community of linux users.

I am facing a problem in running (on debian squeeze with texlive-latex3)
$latex file.tex
whose preamble starts with

\documentstyle[fleqn,12pt]{article}
\usepackage[lscape]{geometry}

I wanted one of the 5 pages in the document to be produced in the landscape style. But the compilation stopped here with the message

! LaTeX Error: LaTeX2e command \usepackage in LaTeX 2.09 document.

See the LaTeX manual or LaTeX Companion for explanation. ajtex
Type H <return> for immediate help.
...

l.2 \usepackage
[lscape]{geometry}

On the original installation of latex no landscape.sty file was found. Running
#apt-file search landscape.sty
gave the package name ptex-ajtex that contains landscape.sty and on installing ptex-ajtex, landscape.sty was installed in /usr/share/texmf/ptex/ajtex . The file was then copied in /usr/share/texmf-texlive/tex/latex/base before running the compilation.

I searched debian-squeeze package list but did not find neither geometry nor lscape nor landscape.
Please guide me. Thanks.
P.Rudra.

amani 11-08-2011 10:42 AM

lscape pdflscape

\begin{landscape}...

(You should see the Tex Documentation in /usr/share)

prudra 11-10-2011 04:06 AM

Quote:

Originally Posted by amani (Post 4518933)
lscape pdflscape

\begin{landscape}...

(You should see the Tex Documentation in /usr/share)

Please supply some more direction. There are so many directories in /usr/share/doc.
I tried some like texlive-base,texlive-latex, texlive-latex3 but did not find any solution.
P.Rudra.

prudra 11-11-2011 09:06 AM

After getting an answer on my debian forum I posted this answer.

Re: \usepackage[lscape]{geometry}

Postby rudra » 2011-11-11 19:54

peter_irich wrote:Try simply
\usepackage{lscape}

Peter.



Thanks, Peter.

\documentclass[fleqn,12pt]{article}
\usepackage{lscape}
\vdots
\begin{landscape}
\vdots
\end{landcape}
\vdots

worked for pdflatex command generating .pdf file.
However, it did not work for latex command generating .dvi file.

This will do for my present need. I am wondering, however, that in writing books where the Figures are generated by Xfig, exported to .eps files and included in the tex file by \includegraphics the compilation is done by latex and then the camera-ready version is produced by dvipdf command.
What shall I do? OK, I'll think about it when I'll come to it.
Thanks again.
Prasanta Rudra.


If someone in this forum gives the answer I shall be grateful.


All times are GMT -5. The time now is 04:18 PM.