Landscape option
Modérateur : xcasadmin
Landscape option
In general configuration the Landscape option don't seems to work, the generated postscript is always vertical. If I understand correctly this option indicates the orientation of the generated postscript.
-
- Messages : 162
- Inscription : mer. janv. 13, 2010 3:20 pm
Re: Landscape option
in the latex (.tex) file try changing:
\documentclass{article}
to
\documentclass[landscape]{article}
\documentclass{article}
to
\documentclass[landscape]{article}
Re: Landscape option
Thanks for your reply. Searching in french documentation the menu option I'm talking is "Fisch -> Imprimer -> Pre-visualisation". With this option I don't see any tex file generated, just the .ps file.
-
- Messages : 162
- Inscription : mer. janv. 13, 2010 3:20 pm
Re: Landscape option
In the file menu I use "Latex/Latex Preview". A ".tex" file is produced. I use Cygwin software to create the ps or pdf file from that. If you feel ambitious I can sent you the scripts I use.
A simple example:
I have others for enhanced styles.
A simple example:
Code : Tout sélectionner
if [ $# -eq 0 ]
then
echo 'Convert tex file to PDF - no mods'
echo 'Usage: latex_pdf <tex file>'
exit
fi
fn=$(cygpath -u $1 | sed -e 's/.[Tt][Ee][Xx]$//') # -e 's?.*/??g') # keep dir
latex $fn.tex
dvips $fn.dvi
ps2pdf $fn.ps $fn.pdf
rm $fn.aux
rm $fn.dvi
cygstart $fn.pdf
Re: Landscape option
Thanks, but I'm on linux. Supposedly the tool pdflatex convert tex files to pdf, but it returns some errors. Strange because GNU Texmacs works perfectly. Anyway, the generations of postcript works, not in landscape orientation but works.
Regards.
Regards.