LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-08-2011, 08:27 AM   #1
prudra
Member
 
Registered: Dec 2010
Location: Kolkata, India
Distribution: Now only Debian Stable Mate DE on laptop.
Posts: 68
Blog Entries: 1

Rep: Reputation: 8
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.
 
Old 11-08-2011, 10:42 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
lscape pdflscape

\begin{landscape}...

(You should see the Tex Documentation in /usr/share)
 
Old 11-10-2011, 04:06 AM   #3
prudra
Member
 
Registered: Dec 2010
Location: Kolkata, India
Distribution: Now only Debian Stable Mate DE on laptop.
Posts: 68
Blog Entries: 1

Original Poster
Rep: Reputation: 8
Quote:
Originally Posted by amani View Post
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.
 
Old 11-11-2011, 09:06 AM   #4
prudra
Member
 
Registered: Dec 2010
Location: Kolkata, India
Distribution: Now only Debian Stable Mate DE on laptop.
Posts: 68
Blog Entries: 1

Original Poster
Rep: Reputation: 8
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Various segmentation faults Debian Squeeze Virtualbox running on Debian Squeeze host fordwrench Debian 1 07-21-2011 03:55 AM
LaTeX Referencing (Harvard Style) Gavin Harper Programming 1 03-31-2011 11:01 AM
Latex. How to include landscape figures in 2 column article class document? justlearning2009 Programming 1 10-05-2009 09:23 PM
How to change style of index in LaTeX? realos Linux - Software 3 05-02-2007 07:13 AM
latex question; how do I add a new style sheet qanopus Linux - Software 0 01-07-2003 05:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration