A project has emerged and it necessitates going from ascii text files to a pdf that, when printed, will make a printout whose size is that of a paperback book, aprox. six and three quarter inches in height by four an one eight inches in width.
Code:
latex < try_tex.txt
From the turtorials that I have read on latex/tex, I had assumed that this would create some intermediate file that would in turn need to be converted to ps and then pdf. To my surprise, that command went direct to pdf. nice! I'm guessing this must be something that was put in to slackware or something.
Anyway, the majority of my question and and concerns with using latex have already been solved by googling and browsing tutorials.
The test text file we are using as part of our figuring-it-out process is
Quote:
\documentclass[openright,10pt]{book}
\usepackage[pdftex]{graphicx} % to force page size, I hope
% sizes from measuring an american-printed paperback book
%\pdfpagewidth 4.125in
%\pdfpageheight 6.75in
\title{A Paperback Book Sized Attempt}
\author{My Name}
\begin{document} % set titles before this line but maketiele *after*!
\textrm % force roman font - might not be needed?
\maketitle % sets title for the whole documnet, set beforehand via title commend
\chapter{Arrival}
your stuff here
\newpage % force a page break
more stuff \emph{this part italic}
\chapter{A further developement}
It seems that there is a bug where the first paragraph is not indented. Bad show. To work around this bug (we'll never fix it) we tried the commands of two back-slashes to start a new paragraph. This failed. Also tried were preceding
the pargraph with a backslash and a asterisk. This failed. Then was tried
and asterisk and a backslash. This also failed.
And now, some more more stuff, such as some ``properly `quoted' text''
A dash comes though as itself, nice. two dashes become a hyphen -- , a slightly
longer dash. Longer still, the em-dash --- uses threee
To get that three dots aka ellipsis \ldots although if you type three periods
... they will be printed as three periods but won't look the same.
So, the questions are as follows.
How to set the actual page size, in inches, using some method other than thepdfpagewidth and pdfpageheight commands.
How to fix it so that the first paragraph of a chapter is intended as are the following paragraphs.
\end{document}
|
Here are my two questions:
QUESTION ONE:
The first paragraph of a chapter is not indented. Yet all other paragraphs are. Preceding the paragraph with "*\" or "\*" (and some other things that I did but then forgot) did not work. How does one specifically tell latex "hey, turkey, do the first pargraph like the others!"
QUESTION TWO:
how to actually set the page size. There are options for letter, legal and a4, but no way to say "hey, do it this many inches by that many inches". Well, actually, there is one way, but it fails to work so it will be discounted. This failing non-working way is to use the
pdfpagewidth and pdfpageheight commands.
.
.
Thank you in advance