DVI page size

This commit is contained in:
Krishna Kumar 2013-12-08 15:25:21 +00:00
parent 7a15cb3e37
commit d951988017
5 changed files with 24578 additions and 17 deletions

View File

@ -20,7 +20,8 @@ or
\subsection*{Basic MikTeX - TeX distribution}
\begin{enumerate}
\item Download Basic-MiK\TeX (32bit or 64bit) from \href{http://miktex.org/download}{http://miktex.org/download}
\item Download Basic-MiK\TeX (32bit or 64bit) from\\
\href{http://miktex.org/download}{http://miktex.org/download}
\item Run the installer
\item To add a new package go to Start >> All Programs >> MikTex >> Maintenance (Admin) and choose Package Manager
\item Select or search for packages to install
@ -28,20 +29,23 @@ or
\subsection*{TexStudio - Tex Editor}
\begin{enumerate}
\item Download TexStudio from \href{http://texstudio.sourceforge.net/\#downloads}{http://texstudio.sourceforge.net/\#downloads}
\item Download TexStudio from\\
\href{http://texstudio.sourceforge.net/\#downloads}{http://texstudio.sourceforge.net/\#downloads}
\item Run the installer
\end{enumerate}
\section*{Mac OS X}
\subsection*{MacTeX - TeX distribution}
\begin{enumerate}
\item Download the file from \href{http://mirror.ctan.org/systems/mac/mactex/MacTeX.pkg}{http://mirror.ctan.org/systems/mac/mactex/MacTeX.pkg}
\item Download the file from\\
\href{https://www.tug.org/mactex/}{https://www.tug.org/mactex/}
\item Extract and double click to run the installer. It does the entire configuration, sit back and relax.
\end{enumerate}
\subsection*{TexStudio - Tex Editor}
\begin{enumerate}
\item Download TexStudio from \href{http://texstudio.sourceforge.net/\#downloads}{http://texstudio.sourceforge.net/\#downloads}
\item Download TexStudio from\\
\href{http://texstudio.sourceforge.net/\#downloads}{http://texstudio.sourceforge.net/\#downloads}
\item Extract and Start
\end{enumerate}
@ -50,8 +54,8 @@ or
\subsection*{TeXLive - TeX distribution}
\subsubsection*{Getting the distribution:}
\begin{enumerate}
\item TexLive can be downloaded from \href{http://www.tug.org/texlive/acquire-netinstall.html}{http://www.tug.org/texlive/acquire-netinstall.html}. You might require wget to download through proxies.
\item TexLive DVD is also available in the Grad Suite
\item TexLive can be downloaded from\\
\href{http://www.tug.org/texlive/acquire-netinstall.html}{http://www.tug.org/texlive/acquire-netinstall.html}.
\item TexLive is provided by most operating system you can use (rpm,apt-get or yum) to get TexLive distributions
\end{enumerate}
@ -70,9 +74,12 @@ mount -t iso9660 -o ro,loop,noauto /your/texlive####.iso /mnt
\end{verbatim}
\item Enter command `i' for installation
\item Post-Installation configuration:\\ \href{http://www.tug.org/texlive/doc/texlive-en/texlive-en.html\#x1-320003.4.1}{http://www.tug.org/texlive/doc/texlive-en/texlive-en.html\#x1-320003.4.1}
\item Set the path for the directory of TexLive binaries in your .bashrc file\\
\textbf{For 32Bit OS}\\
\item Post-Installation configuration:\\
\href{http://www.tug.org/texlive/doc/texlive-en/texlive-en.html\#x1-320003.4.1}{http://www.tug.org/texlive/doc/texlive-en/texlive-en.html\#x1-320003.4.1}
\item Set the path for the directory of TexLive binaries in your .bashrc file
\end{enumerate}
\subsubsection*{For 32Bit OS}
For Bourne-compatible shells such as bash, and using Intel x86 GNU/Linux and a default directory setup as an example, the file to edit might be \begin{verbatim}
edit $~/.bashrc file and add following lines
PATH=/usr/local/texlive/2011/bin/i386-linux:$PATH;
@ -82,7 +89,7 @@ export MANPATH
INFOPATH=/usr/local/texlive/2011/texmf/doc/info:$INFOPATH;
export INFOPATH
\end{verbatim}
\textbf{For 64Bit}
\subsubsection*{For 64Bit}
\begin{verbatim}
edit $~/.bashrc file and add following lines
PATH=/usr/local/texlive/2011/bin/x86_64-linux:$PATH;
@ -94,16 +101,24 @@ export INFOPATH
\end{verbatim}
\end{enumerate}
%\subsection{Installing directly using Linux packages}
\subsubsection*{Fedora/RedHat/CENTOS:}
\begin{verbatim} sudo yum install texlive \end{verbatim}
\begin{verbatim}
sudo yum install texlive
sudo yum install psutils
\end{verbatim}
\subsubsection*{SUSE:}
\begin{verbatim} sudo zypper install texlive \end{verbatim}
\begin{verbatim}
sudo zypper install texlive
\end{verbatim}
\subsubsection*{Debian/Ubuntu:}
\begin{verbatim} sudo apt-get install texlive \end{verbatim}
\begin{verbatim}
sudo apt-get install texlive texlive-latex-extra
sudo apt-get install psutils
\end{verbatim}

View File

@ -130,9 +130,8 @@ supported!}
\newif\ifsetDVI\setDVIfalse
\ifx\pdfoutput\undefined
% we are not running PDFLaTeX
\LoadClass[dvips,fleqn,openright]{book}%
\AtBeginDvi{\special{papersize=\paperwidth,\paperheight}}
\setDVItrue
\LoadClass[dvips,fleqn,openright]{book}%
\else % we are running PDFLaTeX
\ifnum \pdfoutput>0
%PDF-Output
@ -142,13 +141,13 @@ supported!}
%DVI-output
\setDVItrue
\LoadClass[fleqn,openright]{book}%
\AtBeginDvi{\special{papersize=\paperwidth,\paperheight}}
\fi
\fi
%* ***************************** Print / Online ********************************
% Defines a print / online version to define page-layout and hyperrefering
\ifsetDVI
\special{papersize=\paperwidth,\paperheight}
\RequirePackage[dvips]{hyperref}
\else
\RequirePackage[unicode]{hyperref}

BIN
thesis.dvi Normal file

Binary file not shown.

Binary file not shown.

24547
thesis.ps Normal file

File diff suppressed because it is too large Load Diff