Re: pleading paper part 2

2019-09-16 Thread Rich Shepard

On Sun, 15 Sep 2019, John White wrote:


Most apologies if this appears in the list twice. I keep forgetting my
proper login.


John,

Both work. Looks like you can successfully use either domain.

Regards,

Rich


Re: pleading paper part 2

2019-09-16 Thread John White
 As regular readers of this list might recall, I do a lot of work which 
requires 
pleading paper. I have that figured out pretty much. When I have a document 
that 
requires a table of contents or similar complexities I use a template with 
pleading 
paper as the background.  And when I need exact line numbers, I have a template 
for that.  But when I just want the document to have regular, evenly spaced 
lined 
numbers on the left, the template I use requires that export to ps2pdf.  If I 
export 
to lautex the line numbering starts in the middle of the page.
> 
I would much rather print with a lautex pdf all the time.  Any suggestions as 
to how 
I can get lautex to start line numbers at the top of the page?

Most apologies if this appears in the list twice.  I keep forgetting my proper 
login.

 John



pleading-SIMPLE (older-version-export-ps2pdf).lyx
Description: application/lyx


Re: pleading paper part 2

2019-09-16 Thread John White
As regular readers of this list might recall, I do a lot of work which requires 
pleading paper. I have that figured out pretty much. When I have a document 
that requires a table of contents or similar complexities I use a template with 
pleading paper as the background.  And when I need exact line numbers, I 
have a template for that.  But when I just want the document to have regular, 
evenly spaced lined numbers on the left, the template I use requires that 
export to ps2pdf.  If I export to lautex the line numbering starts in the 
middle 
of the page.

I would much rather print with a lautex pdf all the time.  Any suggestions as 
to how I can get lautex to start line numbers at the top of the page?

John


pleading-SIMPLE (older-version-export-ps2pdf).lyx
Description: application/lyx


Re: pleading paper

2018-06-07 Thread Dr Eberhard W Lisse
John,

you may have to rotate the thing (something like angle=90?)


greetings, el



On 2018-06-07 09:04 , John White wrote:
> Dr. Lisse,
> 
> Brilliant!  Thank you so much.  This is clearly the best option, I
> still have to learn more before using it.
>
> For example, I get the error:
>
> "LaTeX Error: Cannot determine size of graphic in lines.pdf (no
> BoundingBox)."
>
> But if I "show output anyway" I get lined paper.  Lines are going
> horizontal rather than vertical, but nonetheless there is my text AND
> numbered lines in the same document!
> 
> Thanks again!
> 
> John
> 
> 
> On Tuesday, June 5, 2018 11:44:33 PM PDT Dr Eberhard Lisse wrote:
>> John,
>>
>> why don't you generate the lines separately into lines.pdf and then use
>> the background package in the preamble like so
>>
>> \usepackage{background}
>> \backgroundsetup{
>>contents={%
>>   \includegraphics[width=\pagewidth]{lines.pdf}
>>},
>>angle=0,
>>scale=1.0,
>>opacity=1.0
>> }
>>
>> I do something like that with a lab request form, where I position
>> demographic data (with textpos) which remains searchable.
>>
>> greetings, el


-- 
Dr. Eberhard W. Lisse  / Obstetrician & Gynaecologist (Saar)
e...@lisse.na/ * |   Telephone: +264 81 124 6733 (cell)
PO Box 8421  /
Bachbrecht, Namibia ;/


Re: pleading paper

2018-06-07 Thread John White
Dr. Lisse,

Brilliant!  Thank you so much.  This is clearly the best option,  I still have 
to learn more before using it.

For example, I get the error:

"LaTeX Error: Cannot determine size of graphic in lines.pdf (no BoundingBox)."

But if I "show output anyway" I get lined paper.  Lines are going horizontal 
rather than vertical, but nonetheless there is my text AND numbered lines in 
the same document!

Thanks again!

John


On Tuesday, June 5, 2018 11:44:33 PM PDT Dr Eberhard Lisse wrote:
> John,
> 
> why don't you generate the lines separately into lines.pdf and then use
> the background package in the preamble like so
> 
> \usepackage{background}
> \backgroundsetup{
>contents={%
>   \includegraphics[width=\pagewidth]{lines.pdf}
>},
>angle=0,
>scale=1.0,
>opacity=1.0
> }
> 
> I do something like that with a lab request form, where I position
> demographic data (with textpos) which remains searchable.
> 
> greetings, el
> 
> On 2013-12-04 01:17 , john White wrote:
> > john White  lawquest.com> writes:
> > 
> > 
> > 
> > 
> > I need some help here, guys.  I filed a brief yesterday without pleading
> > paper because I needed the multiple index feature more and the document as
> > filed had to be searchable. Will file another one today and still another
> > one tomorrow.  The remedy of putting pleading paper in the printer before
> > printing does not work in courts where the document must be searchable.
> > This is not at all ideal. If anyone on any version of lyx with any styles
> > of any nature is able to get lyx to both print the pleading paper
> > template mentioned above AND do an index, please advise and if possible
> > forward the code.  As indicated, mine (2.06) does a bang-up job with
> > either but errors out when I try to do both.



Re: pleading paper

2018-06-05 Thread Dr Eberhard Lisse
John,

why don't you generate the lines separately into lines.pdf and then use
the background package in the preamble like so

\usepackage{background}
\backgroundsetup{
   contents={%
  \includegraphics[width=\pagewidth]{lines.pdf}
   },
   angle=0,
   scale=1.0,
   opacity=1.0
}

I do something like that with a lab request form, where I position
demographic data (with textpos) which remains searchable.

greetings, el


On 2013-12-04 01:17 , john White wrote:
> john White  lawquest.com> writes:
> 
>>
>>
> 
> I need some help here, guys.  I filed a brief yesterday without pleading
> paper because I needed the multiple index feature more and the document as
> filed had to be searchable. Will file another one today and still another
> one tomorrow.  The remedy of putting pleading paper in the printer before
> printing does not work in courts where the document must be searchable. 
> This is not at all ideal. If anyone on any version of lyx with any styles of
> any nature is able to get lyx to both print the pleading paper template
> mentioned above AND do an index, please advise and if possible forward the
> code.  As indicated, mine (2.06) does a bang-up job with either but errors
> out when I try to do both.  
> 
> 


Re: Pleading Paper / TOC question

2018-06-03 Thread John White
On Sunday, June 3, 2018 8:39:01 PM PDT Steve Litt wrote:
> On Thu, 31 May 2018 07:49:01 -0700
> 
> John White  wrote:
> > On Thursday, May 31, 2018 6:58:43 AM PDT Rich Shepard wrote:
> > > On Wed, 30 May 2018, John White wrote:
> > > > lawlist was kind enough to send me the code which, he says,
> > > > produses a table of contents and list of authorties in latex,
> > > > using pdflatex. But it does not work in lyx. Do you have a
> > > > suggestion regarding how I could get TOC and indexes to work in
> > > > lyx documents which have numbered lines along the left-hand side
> > > > of the paper? It is apparently not an easy thing to do. Yet every
> > > > lawyer who uses lyx to produce a brief with indexes and a table
> > > > of contents needs this function.
> > > 
> > > John,
> > > 
> > >I'm far from a LaTeX expert, nor do I know how LyX might differ
> > > 
> > > from the LaTeX verson of the class. I don't know how to look at the
> > > source to figure out why it's not working for you.
> > > 
> > >My suggestion is to post the code as an attachment to the mail
> > > 
> > > list and ask the devs and other LaTeX-perts if they could make it
> > > work as you (and other attorneys need it to) with LyX. Seems to me
> > > that would be a reasonable request and a useful extension to LyX's
> > > capabilities. CTAN shows 16 packages for legal documents, but all
> > > in Europe.
> > > 
> > > Best regards,
> > > 
> > > Rich
> > 
> > Would the Devs and other lyx/LaTeX experts please take a look at the
> > attached code.  Though I know little about LaTeX, I am told by
> > lawlist that it works fine with pdflatex, generating pleading paper
> > numbered along the left side, plus a table of authorities.
> > 
> > And the same code works fine in a new blank lyx document.  However,
> > as soon as I try to insert an index list in lyx 2.2.2, it blows up.
> > It would be most appreciated if the code could be altered so that it
> > a lyx document could print lined pleading paper AND a table of
> > contents and index list.
> > 
> > I am also attaching the pleadingpapercode I normally use.  It works
> > fine and prints the TOC and inserting an index list does not blow it
> > up.  However, actually indexing (insert/index entry) blows it up.
> > 
> > Thanks for assistance or suggestions.
> > 
> > John
> 
> Hi John,
> 
> If you can do it in LaTeX, why not author your pleadings in LaTeX? Is
> the problem that people with less technical chops than you will be
> typing in the content of the pleadings?
> 
> LyX is spectacular for writing books, but there are some usages better
> addressed by LaTeX, or even Plain TeX, or Asciidoc or Stylz or who
> knows what.
> 
> SteveT
> 
> Steve Litt
> June 2018 featured book: Twenty Eight Tales of Troubleshooting
> http://www.troubleshooters.com/28

Steve,

Thank you very much for the suggestions, but I think (since filing the brief on 
lined printed paper in the copier) I have just about got it to where lyx will 
print the lined and numbered paper, along with TOC, index list and indexes.  

If you open the attached file in lyx 2.2.2 and print it with Cntrl-D, and then 
ignore the many errors with "show output anyway", you can see I am almost 
there.  (I deleted most of the brief to avoid boring you).

John

PS Computer Troubleshooters looks very interesting.


2018-05-28-numbered-index-almost-works-opposition-WF-mtn-dismiss.lyx
Description: application/lyx


Re: Pleading Paper / TOC question

2018-06-03 Thread John White
Steve,

Thank you very much for the suggestions, but I think (since filing the brief on 
lined printed paper in the copier) I have just about got it to where lyx will 
print the lined and numbered paper, along with TOC, index list and indexes.  

If you open the attached file in lyx 2.2.2 and print it with Cntrl-D, and then 
ignore the many errors with "show output anyway", you can see I am almost 
there.  (I deleted most of the brief to avoid boring you).

John

On Sunday, June 3, 2018 8:39:01 PM PDT Steve Litt wrote:
> On Thu, 31 May 2018 07:49:01 -0700
> 
> John White  wrote:
> > On Thursday, May 31, 2018 6:58:43 AM PDT Rich Shepard wrote:
> > > On Wed, 30 May 2018, John White wrote:
> > > > lawlist was kind enough to send me the code which, he says,
> > > > produses a table of contents and list of authorties in latex,
> > > > using pdflatex. But it does not work in lyx. Do you have a
> > > > suggestion regarding how I could get TOC and indexes to work in
> > > > lyx documents which have numbered lines along the left-hand side
> > > > of the paper? It is apparently not an easy thing to do. Yet every
> > > > lawyer who uses lyx to produce a brief with indexes and a table
> > > > of contents needs this function.
> > > 
> > > John,
> > > 
> > >I'm far from a LaTeX expert, nor do I know how LyX might differ
> > > 
> > > from the LaTeX verson of the class. I don't know how to look at the
> > > source to figure out why it's not working for you.
> > > 
> > >My suggestion is to post the code as an attachment to the mail
> > > 
> > > list and ask the devs and other LaTeX-perts if they could make it
> > > work as you (and other attorneys need it to) with LyX. Seems to me
> > > that would be a reasonable request and a useful extension to LyX's
> > > capabilities. CTAN shows 16 packages for legal documents, but all
> > > in Europe.
> > > 
> > > Best regards,
> > > 
> > > Rich
> > 
> > Would the Devs and other lyx/LaTeX experts please take a look at the
> > attached code.  Though I know little about LaTeX, I am told by
> > lawlist that it works fine with pdflatex, generating pleading paper
> > numbered along the left side, plus a table of authorities.
> > 
> > And the same code works fine in a new blank lyx document.  However,
> > as soon as I try to insert an index list in lyx 2.2.2, it blows up.
> > It would be most appreciated if the code could be altered so that it
> > a lyx document could print lined pleading paper AND a table of
> > contents and index list.
> > 
> > I am also attaching the pleadingpapercode I normally use.  It works
> > fine and prints the TOC and inserting an index list does not blow it
> > up.  However, actually indexing (insert/index entry) blows it up.
> > 
> > Thanks for assistance or suggestions.
> > 
> > John
> 
> Hi John,
> 
> If you can do it in LaTeX, why not author your pleadings in LaTeX? Is
> the problem that people with less technical chops than you will be
> typing in the content of the pleadings?
> 
> LyX is spectacular for writing books, but there are some usages better
> addressed by LaTeX, or even Plain TeX, or Asciidoc or Stylz or who
> knows what.
> 
> SteveT
> 
> Steve Litt
> June 2018 featured book: Twenty Eight Tales of Troubleshooting
> http://www.troubleshooters.com/28


2018-05-28-almost-works-opposition-WF-mtn-dismiss.lyx
Description: application/lyx


Re: Pleading Paper / TOC question

2018-06-03 Thread Steve Litt
On Thu, 31 May 2018 07:49:01 -0700
John White  wrote:

> On Thursday, May 31, 2018 6:58:43 AM PDT Rich Shepard wrote:
> > On Wed, 30 May 2018, John White wrote:  
> > > lawlist was kind enough to send me the code which, he says,
> > > produses a table of contents and list of authorties in latex,
> > > using pdflatex. But it does not work in lyx. Do you have a
> > > suggestion regarding how I could get TOC and indexes to work in
> > > lyx documents which have numbered lines along the left-hand side
> > > of the paper? It is apparently not an easy thing to do. Yet every
> > > lawyer who uses lyx to produce a brief with indexes and a table
> > > of contents needs this function.  
> > 
> > John,
> > 
> >I'm far from a LaTeX expert, nor do I know how LyX might differ
> > from the LaTeX verson of the class. I don't know how to look at the
> > source to figure out why it's not working for you.
> > 
> >My suggestion is to post the code as an attachment to the mail
> > list and ask the devs and other LaTeX-perts if they could make it
> > work as you (and other attorneys need it to) with LyX. Seems to me
> > that would be a reasonable request and a useful extension to LyX's
> > capabilities. CTAN shows 16 packages for legal documents, but all
> > in Europe.
> > 
> > Best regards,
> > 
> > Rich  
> 
> Would the Devs and other lyx/LaTeX experts please take a look at the
> attached code.  Though I know little about LaTeX, I am told by
> lawlist that it works fine with pdflatex, generating pleading paper
> numbered along the left side, plus a table of authorities.  
> 
> And the same code works fine in a new blank lyx document.  However,
> as soon as I try to insert an index list in lyx 2.2.2, it blows up.
> It would be most appreciated if the code could be altered so that it
> a lyx document could print lined pleading paper AND a table of
> contents and index list.
> 
> I am also attaching the pleadingpapercode I normally use.  It works
> fine and prints the TOC and inserting an index list does not blow it
> up.  However, actually indexing (insert/index entry) blows it up.
> 
> Thanks for assistance or suggestions.
> 
> John 

Hi John,

If you can do it in LaTeX, why not author your pleadings in LaTeX? Is
the problem that people with less technical chops than you will be
typing in the content of the pleadings?

LyX is spectacular for writing books, but there are some usages better
addressed by LaTeX, or even Plain TeX, or Asciidoc or Stylz or who
knows what.

SteveT

Steve Litt 
June 2018 featured book: Twenty Eight Tales of Troubleshooting
http://www.troubleshooters.com/28




Re: Pleading Paper / TOC question

2018-05-31 Thread John White

On Thursday, May 31, 2018 6:58:43 AM PDT Rich Shepard wrote:
> On Wed, 30 May 2018, John White wrote:
> > lawlist was kind enough to send me the code which, he says, produses a
> > table of contents and list of authorties in latex, using pdflatex. But it
> > does not work in lyx. Do you have a suggestion regarding how I could get
> > TOC and indexes to work in lyx documents which have numbered lines along
> > the left-hand side of the paper? It is apparently not an easy thing to do.
> > Yet every lawyer who uses lyx to produce a brief with indexes and a table
> > of contents needs this function.
> 
> John,
> 
>I'm far from a LaTeX expert, nor do I know how LyX might differ from the
> LaTeX verson of the class. I don't know how to look at the source to figure
> out why it's not working for you.
> 
>My suggestion is to post the code as an attachment to the mail list and
> ask the devs and other LaTeX-perts if they could make it work as you (and
> other attorneys need it to) with LyX. Seems to me that would be a reasonable
> request and a useful extension to LyX's capabilities. CTAN shows 16
> packages for legal documents, but all in Europe.
> 
> Best regards,
> 
> Rich

Would the Devs and other lyx/LaTeX experts please take a look at the attached 
code.  Though I know little about LaTeX, I am told by lawlist that it works 
fine with pdflatex, generating pleading paper numbered along the left side, 
plus 
a table of authorities.  

And the same code works fine in a new blank lyx document.  However, as soon as 
I try to insert an index list in lyx 2.2.2, it blows up.  It would be most 
appreciated if the code could be altered so that it a lyx document could print 
lined pleading paper AND a table of contents and index list.

I am also attaching the pleadingpapercode I normally use.  It works fine and 
prints the TOC and inserting an index list does not blow it up.  However, 
actually indexing (insert/index entry) blows it up.

Thanks for assistance or suggestions.

John 

ps I remove \documentclass{article}
% \usepackage{draftwatermark}
\usepackage{geometry}
\newgeometry{top=.84in, bottom=.7in, left=1in, right=.5in}
\setlength{\footskip}{15pt}
\usepackage{ulem}
\usepackage{fancyhdr}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\usepackage{parskip}
\setlength{\parskip}{0mm}
\usepackage{pstricks}
\usepackage{quoting}
\quotingsetup{leftmargin=1in, rightmargin=1in, vskip=-1.5mm}
\makeatletter
\g@addto@macro\quoting\singlespacing
\g@addto@macro\quoting{\vspace{-2mm}}
\makeatother
\makeatletter
\renewenvironment{quotation}
{\list{}{\listparindent=0pt
\itemindent \listparindent
\leftmargin=1in
\rightmargin=1in
\topsep=-1mm
\parsep \z@ \@plus\p@}
\item\relax}
{\endlist}
\makeatother
\usepackage[T1]{pbsi}
\usepackage{times}
\renewcommand{\rmdefault}{ptm}
\renewcommand{\normalsize}{\fontsize{14}{14.5}\selectfont}

\newcommand*{\ptm}{
\fontfamily{ptm} \selectfont
\fontsize{14}{0}
\selectfont}

\newcommand*{\bsi}{
\bsifamily \selectfont
\fontsize{16}{15}
\selectfont}

\usepackage{setspace}
\doublespacing

\raggedright

\newcommand{\tab}{\hspace*{.5in}}

\newenvironment{tightcenter}{%
\setlength\topsep{0pt}
\setlength\parskip{0pt}
\begin{center}
}{%
\end{center}
}

% BEGIN left and right vertical lines, and line numbers.
\usepackage{eso-pic}
\usepackage{calc}
\newlength{\leftruleA}
\setlength{\leftruleA}{3.0\leftmargin-\marginparsep}
\newlength{\leftruleB}
\setlength{\leftruleB}{2.8\leftmargin-\marginparsep}
\newlength{\rightrule}
\setlength{\rightrule}{2.6\leftmargin+\textwidth+\marginparsep}
\AddToShipoutPicture{%
\AtPageLowerLeft {%
\put(\LenToUnit{\leftruleA},0){\rule{1pt}{\paperheight}} % First rule on the 
left
\put(\LenToUnit{\leftruleB},0){\rule{1pt}{\paperheight}} % Second rule on the 
left
\put(\LenToUnit{\rightrule},0){\rule{1pt}{\paperheight}} % Rule on the right
\rput(1.6,13.74) {
\begin{minipage}[t]{5mm}
\begin{flushright}
\begin{doublespace}
1\\2\\3\\4\\5\\6\\7\\8\\9\\10\\11\\12\\13\\14\\15\\16\\17\\18\\19\\20\\21\\22\\23\\24\\25\\26\\27\\28
\end{doublespace}
\end{flushright}
\end{minipage}
}
}
}
% END left and right vertical lines, and line numbers.

% BEGIN footer
\pagestyle{fancy}
\cfoot{\vspace{-1mm} \ptm{-\thepage-} }
\rfoot{\makebox[2in]{\hrulefill}\\INSERT}%
% END footer

\usepackage{titlesec}
\titleformat*{\section}{\large\bfseries}
\titleformat*{\subsection}{\large\bfseries}
\titleformat*{\subsubsection}{\large\bfseries}
\setlength{\footskip}{15pt}
\usepackage{color}
\lhead{\small{www.dedoimedo.com}}
\rhead{\small{all rights reserved}}
\date{}
\usepackage{caption}
\captionsetup{labelfont=bf,format=plain,indention=0cm,justification=raggedright,singlelinecheck=false}
\usepackage{enumitem}
\usepackage[hang,splitrule]{footmisc}
\addtolength{\footskip}{0.5cm}
\setlength{\footnotemargin}{0.3cm}
\setlength{\footnotesep}{0.4cm}
\usepackage{multirow}
\usepackage{rotating}
\usepackage{listings}
\renewcommand{\arraystretch}{2}
\usepackage{watermark}

\let\OrgIndex\index


Re: Pleading Paper / TOC question

2018-05-31 Thread Rich Shepard

On Wed, 30 May 2018, John White wrote:


lawlist was kind enough to send me the code which, he says, produses a
table of contents and list of authorties in latex, using pdflatex. But it
does not work in lyx. Do you have a suggestion regarding how I could get
TOC and indexes to work in lyx documents which have numbered lines along
the left-hand side of the paper? It is apparently not an easy thing to do.
Yet every lawyer who uses lyx to produce a brief with indexes and a table
of contents needs this function.


John,

  I'm far from a LaTeX expert, nor do I know how LyX might differ from the
LaTeX verson of the class. I don't know how to look at the source to figure
out why it's not working for you.

  My suggestion is to post the code as an attachment to the mail list and
ask the devs and other LaTeX-perts if they could make it work as you (and
other attorneys need it to) with LyX. Seems to me that would be a reasonable
request and a useful extension to LyX's capabilities. CTAN shows 16 packages
for legal documents, but all in Europe.

Best regards,

Rich


Re: Pleading Paper / TOC question

2018-05-30 Thread John White
On Tuesday, May 29, 2018 11:12:45 AM PDT Rich Shepard wrote:
> On Tue, 29 May 2018, John White wrote:
> > I have contacted and heard back from lawlist, the person who posted the
> > pleading paper template. Nice fellow but he is a latex guy, not a lyx guy.
> > He does not know about lyx indexes.
> > 
> > I filed the brief yesterday using lyx indexes and TOC. Before filing, I
> > had to go to the office and put blank lined and numbered (left side of
> > page) paper in the copier. I then printed to the copier and it was fine,
> > albeit the procedure is quite cumbersome. Would be much better if I could
> > print the indexed file while having lyx generate the numbers down the left
> > hand side of the paper.
> 
> John,
> 
>I would know about pleading papers only if attorneys who engage me as an
> expert consultant/witness share them with me so I have no idea why adding an
> index to the back of a document would prevent line numbers from printing.
> Doesn't make sense that they'd be related.
> 
>Because LyX supports many niche users (e.g., music composition,
> linguistics, poetry) I encourage you to ask the developers to make your
> needs workable. Seems to me that adding legal document support is a
> reasonable request.
> 
>Consider creating a short document using the lorem ipsum package to
> create dummy text with an index and line numbering and post that to the
> mail list.
> 
> Regards,
> 
> Rich

lawlist was kind enough to send me the code which, he says, produses a table 
of contents and list of authorties in latex, using pdflatex.. But it does not 
work in lyx. Do you have a suggestion regarding how I could get TOC and 
indexes to work in lyx documents which have numbered lines along the left-hand 
side of the paper?  It is apparently not an easy thing to do.  Yet every 
lawyer who uses lyx to produce a brief with indexes and a table of contents 
needs this function.

John



Re: Pleading Paper / TOC question

2018-05-29 Thread Rich Shepard

On Tue, 29 May 2018, John White wrote:


I have contacted and heard back from lawlist, the person who posted the
pleading paper template. Nice fellow but he is a latex guy, not a lyx guy.
He does not know about lyx indexes.



I filed the brief yesterday using lyx indexes and TOC. Before filing, I
had to go to the office and put blank lined and numbered (left side of
page) paper in the copier. I then printed to the copier and it was fine,
albeit the procedure is quite cumbersome. Would be much better if I could
print the indexed file while having lyx generate the numbers down the left
hand side of the paper.


John,

  I would know about pleading papers only if attorneys who engage me as an
expert consultant/witness share them with me so I have no idea why adding an
index to the back of a document would prevent line numbers from printing.
Doesn't make sense that they'd be related.

  Because LyX supports many niche users (e.g., music composition,
linguistics, poetry) I encourage you to ask the developers to make your
needs workable. Seems to me that adding legal document support is a
reasonable request.

  Consider creating a short document using the lorem ipsum package to create
dummy text with an index and line numbering and post that to the mail list.

Regards,

Rich

--
Richard Shepard, Ph.D.Have Knowledge - Will Travel
Applied Ecosystem Services, LLCTroutdale, OR 97060 USA
www[dot]appl-ecosys[dot]com   Voice: 503-667-4517Fax: 503-667-8863


Re: Pleading Paper / TOC question

2018-05-29 Thread John White
Rich,

I have contacted and heard back from lawlist, the person who posted the 
pleading paper template.s  Nice fellow but he is a latex guy, not a lyx guy. 
He does not know about lyx indexes. 

I filed the brief yesterday using lyx indexes and TOC.  Before filing, I had to 
go to the office and put blank lined and numbered (left side of page) paper in 
the copier.  I then printed to the copier and it was fine, albeit the procedure 
is quite cumbersome.   Would be much better if I could print the indexed file 
while having lyx generate the numbers down the left hand side of the paper.

John

On Monday, May 28, 2018 11:21:36 AM PDT John White wrote:
> On Monday, May 28, 2018 10:58:23 AM PDT Rich Shepard wrote:
> > On Mon, 28 May 2018, John White wrote:
> > > I am not sure docs written in 2.3 can be opened in 2.2.2 and my staff
> > > uses
> > > 2.2.2. When we are not so busy, I plan to update to latest lyx.
> > 
> > John,
> > 
> >This makes sense.
> > > 
> > > Thank you. Lawlist's post is very good. It is what I use (see my
> > > original
> > > post on Pleading Paper / TOC. It well prints any document that does not
> > > have indexes. However, adding an index blows it up.
> > > 
> >Perhaps the person who posted that solution has an idea of two about
> > 
> > adding an index to the document.
> 
> Excellent suggestion.
> 
> > Regards,
> > 
> > Rich



Re: Pleading Paper / TOC question

2018-05-28 Thread John White


On Monday, May 28, 2018 10:58:23 AM PDT Rich Shepard wrote:
> On Mon, 28 May 2018, John White wrote:
> > I am not sure docs written in 2.3 can be opened in 2.2.2 and my staff uses
> > 2.2.2. When we are not so busy, I plan to update to latest lyx.
> 
> John,
> 
>This makes sense.
> 
> > Thank you. Lawlist's post is very good. It is what I use (see my original
> > post on Pleading Paper / TOC. It well prints any document that does not
> > have indexes. However, adding an index blows it up.
> 
>Perhaps the person who posted that solution has an idea of two about
> adding an index to the document.

Excellent suggestion.

> 
> Regards,
> 
> Rich



Re: Pleading Paper / TOC question

2018-05-28 Thread John White


On Monday, May 28, 2018 10:20:22 AM PDT Rich Shepard wrote:
> On Mon, 28 May 2018, John White wrote:
> > I gave lyx  2.3. a try from debian stretch backports and the results are
> > the same, so I went back to 2.2.2 (for a while).
> 
> John,
> 
>Why not continue with 2.3.0? You're no better off with an earlier
I am not sure docs written in 2.3 can be opened in 2.2.2 and my staff uses 
2.2.2.  When we are not so busy, I plan to update to latest lyx.


> version.
> > What I am planning to do, if all else fails, is print the document, or
> > parts of it, on blank pleading paper with numbers already printed down the
> > left hand side. Lyx prints the indexes (table of contents, table of
> > authorities, table of statutes, etc,) very well.
> 
>Have you seen this solution
> ?

Thank you.  Lawlist's post is very good.  It is what I use (see my original 
post on Pleading Paper / TOC.  It well prints any document that does not have 
indexes.  However, adding an index blows it up.
> 
>I thought there were several lyx layouts for legal documents as the need
> has been expressed on the maillist several times over the past couple of
> decades.

Probably some from me. Jurgen gave me some tips on indexing a couple of years 
back.  
> 
> Regards,
> 
> Rich
John


Re: Pleading Paper / TOC question

2018-05-28 Thread Rich Shepard

On Mon, 28 May 2018, John White wrote:


I am not sure docs written in 2.3 can be opened in 2.2.2 and my staff uses
2.2.2. When we are not so busy, I plan to update to latest lyx.


John,

  This makes sense.


Thank you. Lawlist's post is very good. It is what I use (see my original
post on Pleading Paper / TOC. It well prints any document that does not
have indexes. However, adding an index blows it up.


  Perhaps the person who posted that solution has an idea of two about
adding an index to the document.

Regards,

Rich


Re: Pleading Paper / TOC question

2018-05-28 Thread Rich Shepard

On Mon, 28 May 2018, John White wrote:


I gave lyx  2.3. a try from debian stretch backports and the results are the
same, so I went back to 2.2.2 (for a while).


John,

  Why not continue with 2.3.0? You're no better off with an earlier version.


What I am planning to do, if all else fails, is print the document, or
parts of it, on blank pleading paper with numbers already printed down the
left hand side. Lyx prints the indexes (table of contents, table of
authorities, table of statutes, etc,) very well.


  Have you seen this solution
?

  I thought there were several lyx layouts for legal documents as the need
has been expressed on the maillist several times over the past couple of
decades.

Regards,

Rich


Re: Pleading Paper / TOC question

2018-05-28 Thread John White


On Monday, May 28, 2018 5:50:00 AM PDT Rich Shepard wrote:
> On Sun, 27 May 2018, John White wrote:
> > ps I use lyx 2.2.2 on debian stretch
> 
> John,
> 
>The current version (at least here on Slackware) is 2.3.0. Can you give
> that a try and see if you get desired results?
> 
> Rich

Thanks Rich,

I gave lyx  2.3. a try from debian stretch backports and the results are the 
same, so I went back to 2.2.2 (for a while).
What I am planning to do, if all else fails, is print the document, or parts 
of it, on blank pleading paper with numbers already printed down the left hand 
side.  Lyx prints the indexes (table of contents, table of authorities, table 
of statutes, etc,) very well.  

John



Re: Pleading Paper / TOC question

2018-05-28 Thread Rich Shepard

On Sun, 27 May 2018, John White wrote:


ps I use lyx 2.2.2 on debian stretch


John,

  The current version (at least here on Slackware) is 2.3.0. Can you give
that a try and see if you get desired results?

Rich


Re: Pleading Paper / TOC question

2018-05-27 Thread John White
ps I use lyx 2.2.2 on debian stretch

On Sunday, May 27, 2018 4:46:39 PM PDT John White wrote:
> Unless I take out flushright (near bottom of code), the Table of Contents
> won't print.



Re: Pleading Paper / TOC question

2018-05-27 Thread John White
Unless I take out flushright (near bottom of code), the Table of Contents won't 
print.
If I take out flushright, everything works fine but I don't get pleading paper 
with numbers down the left side.

Does anyone have a suggestion?  I would most appreciate some help as I need 
both (TOC and lined pleading paper)

Thanks in advance

John

\renewcommand\thesection{\Roman{section}}
% \renewcommand\thesubsection{\Alph{subsection}}

%\usepackage{titlesec}
\usepackage{sectsty}

\renewcommand\section{\@startsection {section}{1}{\z@}%
  {-3.5ex \@plus -1ex \@minus -.2ex}%
  {2.3ex \@plus.2ex}%
   % {\normalfont\Large\bfseries}}
{\normalfont\bfseries}}
 % {\normalfont\Large\bfseries\SS@sectfont}}
\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
  {-3.25ex\@plus -1ex \@minus -.2ex}%
  {1.5ex \@plus .2ex}%
   % {\normalfont\large\bfseries}}
{\normalfont\bfseries}}
 %  {\normalfont\Large\bfseries\SS@subsectfont}}
\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
  {-3.25ex\@plus -1ex \@minus -.2ex}%
  {1.5ex \@plus .2ex}%
 {\normalfont\smallsize\bfseries}}
 % {\normalfont\normalsize\bfseries\SS@subsubsectfont}}
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
  {3.25ex \@plus1ex \@minus.2ex}%
  {-1em}%
 {\normalfont\normalsize\bfseries}}
 % {\normalfont\normalsize\bfseries\SS@parafont}}
\renewcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
  {3.25ex \@plus1ex \@minus .2ex}%
  {-1em}%
 {\normalfont\normalsize\bfseries}}
  % {\normalfont\normalsize\bfseries\SS@subparafont}}

\renewenvironment{theindex}{%
\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
\columnseprule \z@
\columnsep 35\p@
\@mkboth{\MakeUppercase\indexname}{\MakeUppercase\indexname}%
\thispagestyle{plain}\parindent\z@
\parskip\z@ \@plus .3\p@\relax
\let\item\@idxitem%
}{%
\if@restonecol\onecolumn\else\clearpage\fi}
\addtolength{\skip\footins}{6pt}

% 
 \usepackage{geometry}
 \newgeometry{top=.85in, bottom=.85in, left=1.30in, right=.65in}
 \setlength{\footskip}{15pt}\usepackage{fancyhdr}
\usepackage{color}
\lhead{\small{www.dedoimedo.com}}
\rhead{\small{all rights reserved}}
\date{}
\usepackage{caption}
\captionsetup{labelfont=bf,format=plain,indention=0cm,justification=raggedright,singlelinecheck=false}
\usepackage{enumitem}
\usepackage[hang,splitrule]{footmisc}
\addtolength{\footskip}{0.5cm}
\setlength{\footnotemargin}{0.3cm}
\setlength{\footnotesep}{0.4cm}
\usepackage{multirow}
\usepackage{rotating}
\usepackage{listings}
\renewcommand{\arraystretch}{2} 
\usepackage{watermark}
%\usepackage{geometry}
% \newgeometry{top=.85in, bottom=.85in, left=1.0in, right=1.0in}
\usepackage{ulem}
  \usepackage{pstricks}


 

 % BEGIN left and right vertical lines, and line numbers.

 \usepackage{eso-pic}
 \usepackage{calc}
 \newlength{\leftruleA}
 \setlength{\leftruleA}{3.2\leftmargin-\marginparsep}
 \newlength{\leftruleB}
 \setlength{\leftruleB}{3.0\leftmargin-\marginparsep}
 \newlength{\rightrule}
 \setlength{\rightrule}{3.0\leftmargin+\textwidth+\marginparsep}
\AddToShipoutPicture{%
 \put(\LenToUnit{\leftruleA},0){\rule{.5pt}{\paperheight-.5in}}  % First 
rule on the left
 \put(\LenToUnit{\leftruleB},0){\rule{.5pt}{\paperheight-.5in}}  % Second 
rule on the left
 \put(\LenToUnit{\rightrule},0){\rule{.5pt}{\paperheight-.5in}}  % Rule on 
the right
   \rput(1.6,13.74){
 \begin{minipage}[t]{20mm}
%\begin{flushright}
 \begin{doublespace}
 1\\2\\3\\4\\5\\6\\7\\8\\9\\10\\11\\12\\13\\14\\15\\16\\17\\18\
\19\\20\\21\\22\\23\\24\\25\\26\\27\\28 
 \end{doublespace}
   %  \end{flushright}
 \end{minipage}  
 }
 }
 
 
 % END left and right vertical lines, and line numbers.
\let\OrgIndex\index

\renewcommand*{\index}[1]{\OrgIndex{#1}}


Re: pleading paper

2013-12-10 Thread Dr Eberhard Lisse

I find myself caught dead all the time, because I would not write a
NeoOffice document if it was one sentence :-)-O

It's a bit of a hassle to set things up sometimes, but once done, boy to
the look good.

So keep pn trying :-)-O

el

On 2013-12-08, 22:52 , Steve Litt wrote:
 On Sun, 08 Dec 2013 11:13:48 -0800
 John White j...@whitelawchartered.com wrote:
 
 Thanks Steve,

 A bit above my pay-grade, I fear.  My secretary uses libreoffice, for 
 which she has a pleading paper template (perhaps she made it). She
 has no problem getting .odt files onto searchable pdfs. I think she
 just does up the document and then adds the pleading template. Not
 sure.  I am sure that she thinks I am silly to insist on using lyx
 when searchable pleading paper with indexes is required.  On the
 other hand, to the extent that what I do can be called
 thinking, (some wouldn't call it that) I think in lyx, not .odt.

 John
 
 Hi John,
 
 Point of clarification: I wouldn't be caught dead using LyX for any
 document under 10K words. For short docs, LibreOffice is just fine. Or
 straight TeX, which is dead bang simple. If the pleadings are less than
 10K words, why fight city hall: Use LibreOffice. LibreOffice, whose
 styles suck, still takes 1/10 the time to make styles that LaTeX based
 formats like LyX do. An hour or a day to make a style is no problem if
 you allocate it over the two months it took you to bang out 100K words,
 but it's a tragedy if you allocate it over the two days a 10K document
 took to write.
 
 
 NOTE: I stop here to give a chance to those who will come in to tell me
 that styles in LyX/LaTeX would be easy if only I were good at them, or
 to claim that various packages solve all problems, or to claim that
 LyX/LaTeX doc classes are so wonderful you can simply use their
 existing styles.
 
 
 It's very possible, and I think advisable, to use LyX for some things
 and LibreOffice for others.
 
 If you often write big documents, like over 20K words, I'd recommend
 you learn a little bit more about LyX, the latex executable,
 shellscripts, index internals, LaTeX commands and environments, and the
 like. Long run, you'll have more aesthetic output, and save time.
 
 SteveT
 
 Steve Litt*  http://www.troubleshooters.com/
 Troubleshooting Training  *  Human Performance
 




Re: pleading paper

2013-12-10 Thread Dr Eberhard Lisse

I find myself caught dead all the time, because I would not write a
NeoOffice document if it was one sentence :-)-O

It's a bit of a hassle to set things up sometimes, but once done, boy to
the look good.

So keep pn trying :-)-O

el

On 2013-12-08, 22:52 , Steve Litt wrote:
 On Sun, 08 Dec 2013 11:13:48 -0800
 John White j...@whitelawchartered.com wrote:
 
 Thanks Steve,

 A bit above my pay-grade, I fear.  My secretary uses libreoffice, for 
 which she has a pleading paper template (perhaps she made it). She
 has no problem getting .odt files onto searchable pdfs. I think she
 just does up the document and then adds the pleading template. Not
 sure.  I am sure that she thinks I am silly to insist on using lyx
 when searchable pleading paper with indexes is required.  On the
 other hand, to the extent that what I do can be called
 thinking, (some wouldn't call it that) I think in lyx, not .odt.

 John
 
 Hi John,
 
 Point of clarification: I wouldn't be caught dead using LyX for any
 document under 10K words. For short docs, LibreOffice is just fine. Or
 straight TeX, which is dead bang simple. If the pleadings are less than
 10K words, why fight city hall: Use LibreOffice. LibreOffice, whose
 styles suck, still takes 1/10 the time to make styles that LaTeX based
 formats like LyX do. An hour or a day to make a style is no problem if
 you allocate it over the two months it took you to bang out 100K words,
 but it's a tragedy if you allocate it over the two days a 10K document
 took to write.
 
 
 NOTE: I stop here to give a chance to those who will come in to tell me
 that styles in LyX/LaTeX would be easy if only I were good at them, or
 to claim that various packages solve all problems, or to claim that
 LyX/LaTeX doc classes are so wonderful you can simply use their
 existing styles.
 
 
 It's very possible, and I think advisable, to use LyX for some things
 and LibreOffice for others.
 
 If you often write big documents, like over 20K words, I'd recommend
 you learn a little bit more about LyX, the latex executable,
 shellscripts, index internals, LaTeX commands and environments, and the
 like. Long run, you'll have more aesthetic output, and save time.
 
 SteveT
 
 Steve Litt*  http://www.troubleshooters.com/
 Troubleshooting Training  *  Human Performance
 




Re: pleading paper

2013-12-10 Thread Dr Eberhard Lisse

I find myself caught dead all the time, because I would not write a
NeoOffice document if it was one sentence :-)-O

It's a bit of a hassle to set things up sometimes, but once done, boy to
the look good.

So keep pn trying :-)-O

el

On 2013-12-08, 22:52 , Steve Litt wrote:
> On Sun, 08 Dec 2013 11:13:48 -0800
> John White  wrote:
> 
>> Thanks Steve,
>>
>> A bit above my pay-grade, I fear.  My secretary uses libreoffice, for 
>> which she has a pleading paper template (perhaps she made it). She
>> has no problem getting .odt files onto searchable pdfs. I think she
>> just does up the document and then adds the pleading template. Not
>> sure.  I am sure that she thinks I am silly to insist on using lyx
>> when searchable pleading paper with indexes is required.  On the
>> other hand, to the extent that what I do can be called
>> "thinking," (some wouldn't call it that) I think in lyx, not .odt.
>>
>> John
> 
> Hi John,
> 
> Point of clarification: I wouldn't be caught dead using LyX for any
> document under 10K words. For short docs, LibreOffice is just fine. Or
> straight TeX, which is dead bang simple. If the pleadings are less than
> 10K words, why fight city hall: Use LibreOffice. LibreOffice, whose
> styles suck, still takes 1/10 the time to make styles that LaTeX based
> formats like LyX do. An hour or a day to make a style is no problem if
> you allocate it over the two months it took you to bang out 100K words,
> but it's a tragedy if you allocate it over the two days a 10K document
> took to write.
> 
> 
> NOTE: I stop here to give a chance to those who will come in to tell me
> that styles in LyX/LaTeX would be easy if only I were good at them, or
> to claim that various packages solve all problems, or to claim that
> LyX/LaTeX doc classes are so wonderful you can simply use their
> existing styles.
> 
> 
> It's very possible, and I think advisable, to use LyX for some things
> and LibreOffice for others.
> 
> If you often write big documents, like over 20K words, I'd recommend
> you learn a little bit more about LyX, the latex executable,
> shellscripts, index internals, LaTeX commands and environments, and the
> like. Long run, you'll have more aesthetic output, and save time.
> 
> SteveT
> 
> Steve Litt*  http://www.troubleshooters.com/
> Troubleshooting Training  *  Human Performance
> 




Re: pleading paper

2013-12-08 Thread Steve Litt
On Sun, 8 Dec 2013 10:31:12 +
Ingar Pareliussen ingar.parelius...@dmmh.no wrote:

 Hi
 
 Indexes is often very fragile, and the pleading paper template are
 quite crude. The problem is that an index pages are very different to
 a normal page (two columns etc). However, by moving the numbering to
 after the index I were able to get it working.
 
 If you need the numbering on the index pages as well, it would be
 more tricky... And you probably either need to find another way, or
 ask someone with more LaTeX-index knowledge than me. 
 
 Ingar

I've also found that indexes often require multiple runs of latex or
makeindex, and if you really want it to work right, it's often best to
set up a shellscript to export LyX to LaTeX, then compile that, run
makeindex, compile again, then convert to ps and then pdf. This has the
added benefit of leaving behind all sorts of temp files that you can
use to troubleshoot the issue.

Thanks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


Re: pleading paper

2013-12-08 Thread John White

Thanks Steve,

A bit above my pay-grade, I fear.  My secretary uses libreoffice, for 
which she has a pleading paper template (perhaps she made it). She has 
no problem getting .odt files onto searchable pdfs. I think she just 
does up the document and then adds the pleading template. Not sure.  I 
am sure that she thinks I am silly to insist on using lyx when 
searchable pleading paper with indexes is required.  On the other hand, 
to the extent that what I do can be called thinking, (some wouldn't 
call it that) I think in lyx, not .odt.


John

Steve Litt wrote:

On Sun, 8 Dec 2013 10:31:12 +
Ingar Pareliussen ingar.parelius...@dmmh.no wrote:


Hi

Indexes is often very fragile, and the pleading paper template are
quite crude. The problem is that an index pages are very different to
a normal page (two columns etc). However, by moving the numbering to
after the index I were able to get it working.

If you need the numbering on the index pages as well, it would be
more tricky... And you probably either need to find another way, or
ask someone with more LaTeX-index knowledge than me.

Ingar

I've also found that indexes often require multiple runs of latex or
makeindex, and if you really want it to work right, it's often best to
set up a shellscript to export LyX to LaTeX, then compile that, run
makeindex, compile again, then convert to ps and then pdf. This has the
added benefit of leaving behind all sorts of temp files that you can
use to troubleshoot the issue.

Thanks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance






Re: pleading paper

2013-12-08 Thread Steve Litt
On Sun, 08 Dec 2013 11:13:48 -0800
John White j...@whitelawchartered.com wrote:

 Thanks Steve,
 
 A bit above my pay-grade, I fear.  My secretary uses libreoffice, for 
 which she has a pleading paper template (perhaps she made it). She
 has no problem getting .odt files onto searchable pdfs. I think she
 just does up the document and then adds the pleading template. Not
 sure.  I am sure that she thinks I am silly to insist on using lyx
 when searchable pleading paper with indexes is required.  On the
 other hand, to the extent that what I do can be called
 thinking, (some wouldn't call it that) I think in lyx, not .odt.
 
 John

Hi John,

Point of clarification: I wouldn't be caught dead using LyX for any
document under 10K words. For short docs, LibreOffice is just fine. Or
straight TeX, which is dead bang simple. If the pleadings are less than
10K words, why fight city hall: Use LibreOffice. LibreOffice, whose
styles suck, still takes 1/10 the time to make styles that LaTeX based
formats like LyX do. An hour or a day to make a style is no problem if
you allocate it over the two months it took you to bang out 100K words,
but it's a tragedy if you allocate it over the two days a 10K document
took to write.


NOTE: I stop here to give a chance to those who will come in to tell me
that styles in LyX/LaTeX would be easy if only I were good at them, or
to claim that various packages solve all problems, or to claim that
LyX/LaTeX doc classes are so wonderful you can simply use their
existing styles.


It's very possible, and I think advisable, to use LyX for some things
and LibreOffice for others.

If you often write big documents, like over 20K words, I'd recommend
you learn a little bit more about LyX, the latex executable,
shellscripts, index internals, LaTeX commands and environments, and the
like. Long run, you'll have more aesthetic output, and save time.

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


Re: pleading paper

2013-12-08 Thread Steve Litt
On Sun, 8 Dec 2013 10:31:12 +
Ingar Pareliussen ingar.parelius...@dmmh.no wrote:

 Hi
 
 Indexes is often very fragile, and the pleading paper template are
 quite crude. The problem is that an index pages are very different to
 a normal page (two columns etc). However, by moving the numbering to
 after the index I were able to get it working.
 
 If you need the numbering on the index pages as well, it would be
 more tricky... And you probably either need to find another way, or
 ask someone with more LaTeX-index knowledge than me. 
 
 Ingar

I've also found that indexes often require multiple runs of latex or
makeindex, and if you really want it to work right, it's often best to
set up a shellscript to export LyX to LaTeX, then compile that, run
makeindex, compile again, then convert to ps and then pdf. This has the
added benefit of leaving behind all sorts of temp files that you can
use to troubleshoot the issue.

Thanks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


Re: pleading paper

2013-12-08 Thread John White

Thanks Steve,

A bit above my pay-grade, I fear.  My secretary uses libreoffice, for 
which she has a pleading paper template (perhaps she made it). She has 
no problem getting .odt files onto searchable pdfs. I think she just 
does up the document and then adds the pleading template. Not sure.  I 
am sure that she thinks I am silly to insist on using lyx when 
searchable pleading paper with indexes is required.  On the other hand, 
to the extent that what I do can be called thinking, (some wouldn't 
call it that) I think in lyx, not .odt.


John

Steve Litt wrote:

On Sun, 8 Dec 2013 10:31:12 +
Ingar Pareliussen ingar.parelius...@dmmh.no wrote:


Hi

Indexes is often very fragile, and the pleading paper template are
quite crude. The problem is that an index pages are very different to
a normal page (two columns etc). However, by moving the numbering to
after the index I were able to get it working.

If you need the numbering on the index pages as well, it would be
more tricky... And you probably either need to find another way, or
ask someone with more LaTeX-index knowledge than me.

Ingar

I've also found that indexes often require multiple runs of latex or
makeindex, and if you really want it to work right, it's often best to
set up a shellscript to export LyX to LaTeX, then compile that, run
makeindex, compile again, then convert to ps and then pdf. This has the
added benefit of leaving behind all sorts of temp files that you can
use to troubleshoot the issue.

Thanks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance






Re: pleading paper

2013-12-08 Thread Steve Litt
On Sun, 08 Dec 2013 11:13:48 -0800
John White j...@whitelawchartered.com wrote:

 Thanks Steve,
 
 A bit above my pay-grade, I fear.  My secretary uses libreoffice, for 
 which she has a pleading paper template (perhaps she made it). She
 has no problem getting .odt files onto searchable pdfs. I think she
 just does up the document and then adds the pleading template. Not
 sure.  I am sure that she thinks I am silly to insist on using lyx
 when searchable pleading paper with indexes is required.  On the
 other hand, to the extent that what I do can be called
 thinking, (some wouldn't call it that) I think in lyx, not .odt.
 
 John

Hi John,

Point of clarification: I wouldn't be caught dead using LyX for any
document under 10K words. For short docs, LibreOffice is just fine. Or
straight TeX, which is dead bang simple. If the pleadings are less than
10K words, why fight city hall: Use LibreOffice. LibreOffice, whose
styles suck, still takes 1/10 the time to make styles that LaTeX based
formats like LyX do. An hour or a day to make a style is no problem if
you allocate it over the two months it took you to bang out 100K words,
but it's a tragedy if you allocate it over the two days a 10K document
took to write.


NOTE: I stop here to give a chance to those who will come in to tell me
that styles in LyX/LaTeX would be easy if only I were good at them, or
to claim that various packages solve all problems, or to claim that
LyX/LaTeX doc classes are so wonderful you can simply use their
existing styles.


It's very possible, and I think advisable, to use LyX for some things
and LibreOffice for others.

If you often write big documents, like over 20K words, I'd recommend
you learn a little bit more about LyX, the latex executable,
shellscripts, index internals, LaTeX commands and environments, and the
like. Long run, you'll have more aesthetic output, and save time.

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


Re: pleading paper

2013-12-08 Thread Steve Litt
On Sun, 8 Dec 2013 10:31:12 +
Ingar Pareliussen  wrote:

> Hi
> 
> Indexes is often very fragile, and the pleading paper template are
> quite crude. The problem is that an index pages are very different to
> a normal page (two columns etc). However, by moving the numbering to
> after the index I were able to get it working.
> 
> If you need the numbering on the index pages as well, it would be
> more tricky... And you probably either need to find another way, or
> ask someone with more LaTeX-index knowledge than me. 
> 
> Ingar

I've also found that indexes often require multiple runs of latex or
makeindex, and if you really want it to work right, it's often best to
set up a shellscript to export LyX to LaTeX, then compile that, run
makeindex, compile again, then convert to ps and then pdf. This has the
added benefit of leaving behind all sorts of temp files that you can
use to troubleshoot the issue.

Thanks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


Re: pleading paper

2013-12-08 Thread John White

Thanks Steve,

A bit above my pay-grade, I fear.  My secretary uses libreoffice, for 
which she has a pleading paper template (perhaps she made it). She has 
no problem getting .odt files onto searchable pdfs. I think she just 
does up the document and then adds the pleading template. Not sure.  I 
am sure that she thinks I am silly to insist on using lyx when 
searchable pleading paper with indexes is required.  On the other hand, 
to the extent that what I do can be called "thinking," (some wouldn't 
call it that) I think in lyx, not .odt.


John

Steve Litt wrote:

On Sun, 8 Dec 2013 10:31:12 +
Ingar Pareliussen  wrote:


Hi

Indexes is often very fragile, and the pleading paper template are
quite crude. The problem is that an index pages are very different to
a normal page (two columns etc). However, by moving the numbering to
after the index I were able to get it working.

If you need the numbering on the index pages as well, it would be
more tricky... And you probably either need to find another way, or
ask someone with more LaTeX-index knowledge than me.

Ingar

I've also found that indexes often require multiple runs of latex or
makeindex, and if you really want it to work right, it's often best to
set up a shellscript to export LyX to LaTeX, then compile that, run
makeindex, compile again, then convert to ps and then pdf. This has the
added benefit of leaving behind all sorts of temp files that you can
use to troubleshoot the issue.

Thanks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance






Re: pleading paper

2013-12-08 Thread Steve Litt
On Sun, 08 Dec 2013 11:13:48 -0800
John White  wrote:

> Thanks Steve,
> 
> A bit above my pay-grade, I fear.  My secretary uses libreoffice, for 
> which she has a pleading paper template (perhaps she made it). She
> has no problem getting .odt files onto searchable pdfs. I think she
> just does up the document and then adds the pleading template. Not
> sure.  I am sure that she thinks I am silly to insist on using lyx
> when searchable pleading paper with indexes is required.  On the
> other hand, to the extent that what I do can be called
> "thinking," (some wouldn't call it that) I think in lyx, not .odt.
> 
> John

Hi John,

Point of clarification: I wouldn't be caught dead using LyX for any
document under 10K words. For short docs, LibreOffice is just fine. Or
straight TeX, which is dead bang simple. If the pleadings are less than
10K words, why fight city hall: Use LibreOffice. LibreOffice, whose
styles suck, still takes 1/10 the time to make styles that LaTeX based
formats like LyX do. An hour or a day to make a style is no problem if
you allocate it over the two months it took you to bang out 100K words,
but it's a tragedy if you allocate it over the two days a 10K document
took to write.


NOTE: I stop here to give a chance to those who will come in to tell me
that styles in LyX/LaTeX would be easy if only I were good at them, or
to claim that various packages solve all problems, or to claim that
LyX/LaTeX doc classes are so wonderful you can simply use their
existing styles.


It's very possible, and I think advisable, to use LyX for some things
and LibreOffice for others.

If you often write big documents, like over 20K words, I'd recommend
you learn a little bit more about LyX, the latex executable,
shellscripts, index internals, LaTeX commands and environments, and the
like. Long run, you'll have more aesthetic output, and save time.

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


Re: pleading paper

2013-12-06 Thread John White
I gather my request is a difficult one.  I have tried myself but don't 
know latex well enough.  Perhaps will figure it out in a couple of 
months, but would like the ability to do both indexes and pleading paper 
in the same document now.


If anyone posts the code that does this, and gives me an address, to 
express my appreciation, I will send her/him a hundred dollars ($100), 
with which to buy a couple of hot Christmas toddies on me.


John


john White wrote:

john White john at lawquest.com writes:




I need some help here, guys.  I filed a brief yesterday without pleading
paper because I needed the multiple index feature more and the document as
filed had to be searchable. Will file another one today and still another
one tomorrow.  The remedy of putting pleading paper in the printer before
printing does not work in courts where the document must be searchable.
This is not at all ideal. If anyone on any version of lyx with any styles of
any nature is able to get lyx to both print the pleading paper template
mentioned above AND do an index, please advise and if possible forward the
code.  As indicated, mine (2.06) does a bang-up job with either but errors
out when I try to do both.







Re: pleading paper

2013-12-06 Thread John White
I gather my request is a difficult one.  I have tried myself but don't 
know latex well enough.  Perhaps will figure it out in a couple of 
months, but would like the ability to do both indexes and pleading paper 
in the same document now.


If anyone posts the code that does this, and gives me an address, to 
express my appreciation, I will send her/him a hundred dollars ($100), 
with which to buy a couple of hot Christmas toddies on me.


John


john White wrote:

john White john at lawquest.com writes:




I need some help here, guys.  I filed a brief yesterday without pleading
paper because I needed the multiple index feature more and the document as
filed had to be searchable. Will file another one today and still another
one tomorrow.  The remedy of putting pleading paper in the printer before
printing does not work in courts where the document must be searchable.
This is not at all ideal. If anyone on any version of lyx with any styles of
any nature is able to get lyx to both print the pleading paper template
mentioned above AND do an index, please advise and if possible forward the
code.  As indicated, mine (2.06) does a bang-up job with either but errors
out when I try to do both.







Re: pleading paper

2013-12-06 Thread John White
I gather my request is a difficult one.  I have tried myself but don't 
know latex well enough.  Perhaps will figure it out in a couple of 
months, but would like the ability to do both indexes and pleading paper 
in the same document now.


If anyone posts the code that does this, and gives me an address, to 
express my appreciation, I will send her/him a hundred dollars ($100), 
with which to buy a couple of hot Christmas toddies on me.


John


john White wrote:

john White  lawquest.com> writes:




I need some help here, guys.  I filed a brief yesterday without pleading
paper because I needed the multiple index feature more and the document as
filed had to be searchable. Will file another one today and still another
one tomorrow.  The remedy of putting pleading paper in the printer before
printing does not work in courts where the document must be searchable.
This is not at all ideal. If anyone on any version of lyx with any styles of
any nature is able to get lyx to both print the pleading paper template
mentioned above AND do an index, please advise and if possible forward the
code.  As indicated, mine (2.06) does a bang-up job with either but errors
out when I try to do both.







Re: pleading paper

2013-12-03 Thread john White
john White john at lawquest.com writes:

 
 

I need some help here, guys.  I filed a brief yesterday without pleading
paper because I needed the multiple index feature more and the document as
filed had to be searchable. Will file another one today and still another
one tomorrow.  The remedy of putting pleading paper in the printer before
printing does not work in courts where the document must be searchable. 
This is not at all ideal. If anyone on any version of lyx with any styles of
any nature is able to get lyx to both print the pleading paper template
mentioned above AND do an index, please advise and if possible forward the
code.  As indicated, mine (2.06) does a bang-up job with either but errors
out when I try to do both.  



Re: pleading paper

2013-12-03 Thread john White
john White john at lawquest.com writes:

 
 

I need some help here, guys.  I filed a brief yesterday without pleading
paper because I needed the multiple index feature more and the document as
filed had to be searchable. Will file another one today and still another
one tomorrow.  The remedy of putting pleading paper in the printer before
printing does not work in courts where the document must be searchable. 
This is not at all ideal. If anyone on any version of lyx with any styles of
any nature is able to get lyx to both print the pleading paper template
mentioned above AND do an index, please advise and if possible forward the
code.  As indicated, mine (2.06) does a bang-up job with either but errors
out when I try to do both.  



Re: pleading paper

2013-12-03 Thread john White
john White  lawquest.com> writes:

> 
> 

I need some help here, guys.  I filed a brief yesterday without pleading
paper because I needed the multiple index feature more and the document as
filed had to be searchable. Will file another one today and still another
one tomorrow.  The remedy of putting pleading paper in the printer before
printing does not work in courts where the document must be searchable. 
This is not at all ideal. If anyone on any version of lyx with any styles of
any nature is able to get lyx to both print the pleading paper template
mentioned above AND do an index, please advise and if possible forward the
code.  As indicated, mine (2.06) does a bang-up job with either but errors
out when I try to do both.  



Re: pleading paper

2013-11-30 Thread john White


I can't figure out how to get lyx to both print pleading paper AND do up an
index list.

Indexing works fine in a new lyx document, but errors out if I have the
pleading paper styles in the LaTeX preamble.

Anyone have a clue how to get lyx to do both?





Re: pleading paper

2013-11-30 Thread john White


I can't figure out how to get lyx to both print pleading paper AND do up an
index list.

Indexing works fine in a new lyx document, but errors out if I have the
pleading paper styles in the LaTeX preamble.

Anyone have a clue how to get lyx to do both?





Re: pleading paper

2013-11-30 Thread john White


I can't figure out how to get lyx to both print pleading paper AND do up an
index list.

Indexing works fine in a new lyx document, but errors out if I have the
pleading paper styles in the LaTeX preamble.

Anyone have a clue how to get lyx to do both?





Re: pleading paper

2013-03-31 Thread Rich Shepard

On Sun, 31 Mar 2013, John White wrote:

I have been unable to create a pleading paper template.  There is a laTex 
example at


http://www.latex-community.org/forum/viewtopic.php?f=47t=22708

However it does not work with lyx 2.0.5.1.  And it seems needlessly complex.


John,

  Please define it does not work with lyx 2.0.5.1. Did you save the code
as, for example, pleading.tex and open it in a LyX session?

  Some templates seem complex but that's what it takes to make it work as
desired. Once the template is tuned to your needs you need only open a new
document using that template and fill in the appropriate parts. The
complexity is behind the curtain.

  IANAL, but it looks like a useful tool.

Rich



Re: pleading paper

2013-03-31 Thread Rich Shepard

On Sun, 31 Mar 2013, John White wrote:

I have been unable to create a pleading paper template.  There is a laTex 
example at


http://www.latex-community.org/forum/viewtopic.php?f=47t=22708

However it does not work with lyx 2.0.5.1.  And it seems needlessly 
complex.


John,

  Here are the step-by-step instructions to create a new LyX template based
on the article class and the pleadings code:
http://blog.oak-tree.us/index.php/2009/11/02/custom-lyx-nih.

  I've attached the code you referenced as a .lyx file. N.B.: I've not had
to create a template from a .lyx file before or I would have done it with
this code.

Rich#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass extbook
\begin_preamble
\documentclass{article}
% \usepackage{draftwatermark}
\usepackage{geometry}
\newgeometry{top=.84in, bottom=.7in, left=1in, right=.5in}
\setlength{\footskip}{15pt}
\usepackage{ulem}
\usepackage{fancyhdr}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\usepackage{parskip}
\setlength{\parskip}{0mm}
\usepackage{pstricks}
\usepackage{quoting}
\quotingsetup{leftmargin=1in, rightmargin=1in, vskip=-1.5mm}
\makeatletter
\g@addto@macro\quoting\singlespacing
\g@addto@macro\quoting{\vspace{-2mm}}
\makeatother
\makeatletter
\renewenvironment{quotation}
{\list{}{\listparindent=0pt
\itemindent\listparindent
\leftmargin=1in
\rightmargin=1in
\topsep=-1mm
\parsep\z@ \@plus\p@}
\item\relax}
{\endlist}
 \makeatother
\usepackage[T1]{pbsi}
\usepackage{times}
\renewcommand{\rmdefault}{ptm}
\renewcommand{\normalsize}{\fontsize{14}{14.5}\selectfont}

\newcommand*{\ptm}{
\fontfamily{ptm} \selectfont
\fontsize{14}{0}
\selectfont}

\newcommand*{\bsi}{
\bsifamily \selectfont
\fontsize{16}{15}
\selectfont}

\usepackage{setspace}
\doublespacing

\raggedright

\newcommand{\tab}{\hspace*{.5in}}

\newenvironment{tightcenter}{%
\setlength\topsep{0pt}
\setlength\parskip{0pt}
\begin{center}
}{%
\end{center}
}

% BEGIN left and right vertical lines, and line numbers.
\usepackage{eso-pic}
\usepackage{calc}
\newlength{\leftruleA}
\setlength{\leftruleA}{3.0\leftmargin-\marginparsep}
\newlength{\leftruleB}
\setlength{\leftruleB}{2.8\leftmargin-\marginparsep}
\newlength{\rightrule}
\setlength{\rightrule}{2.6\leftmargin+\textwidth+\marginparsep}
\AddToShipoutPicture{%
\AtPageLowerLeft{%
\put(\LenToUnit{\leftruleA},0){\rule{1pt}{\paperheight}}  % First rule 
on the left

\put(\LenToUnit{\leftruleB},0){\rule{1pt}{\paperheight}}  % Second rule 
on the left
\put(\LenToUnit{\rightrule},0){\rule{1pt}{\paperheight}}  % Rule on the 
right
\rput(1.6,13.74){
\begin{minipage}[t]{5mm}
\begin{flushright}
\begin{doublespace}

1\\2\\3\\4\\5\\6\\7\\8\\9\\10\\11\\12\\13\\14\\15\\16\\17\\18\\19\\20\\21\\22\\23\\24\\25\\26\\27\\28
\end{doublespace}
\end{flushright}
\end{minipage}
}
}
}
% END left and right vertical lines, and line numbers.

% BEGIN footer
\pagestyle{fancy}
\cfoot{\vspace{-1mm} \ptm{-\thepage-} }
\rfoot{\makebox[2in]{\hrulefill}\\INSERT}%
% END footer
\begin{document}

\begin{singlespace*}

INSERT

~\\

Attorney for INSERT,

INSERT

\end{singlespace*}

\vspace*{18mm}

\begin{tightcenter}
SUPERIOR COURT OF THE STATE OF CALIFORNIA \\ FOR THE COUNTY OF LOS ANGELES
\end{tightcenter}

\vspace*{16.25mm}

% BEGIN caption.
{
\begin{minipage}[t]{3in}

In re the Marriage of

INSERT,

\tab \tab \tab Petitioner,

\tab \tab v.

INSERT,

\tab \tab \tab Respondent,

\makebox[3in]{\hrulefill}

\end{minipage}
\begin{minipage}[t]{5mm}
\begin{singlespace*}
)\\)\\)\\)\\)\\)\\)\\)\\)\\)\\)
\end{singlespace*}
\end{minipage}
\begin{minipage}[t]{3in}

Case Number: ~ INSERT

INSERT


\end{minipage}
}
% END caption.

\vspace{5mm}

\tab TO THE ABOVE-ENTITLED COURT AND TO THE PARTIES HEREIN AND THEIR ATTORNEYS 
OF RECORD:


\hspace*{3in}Respectfully submitted,\\

~\\
~\\

\begin{singlespace*}

Date: ~ \today \hspace*{30mm} By: ~ \makebox[3in]{\hrulefill}
\hspace*{3.5in}INSERT

\hspace*{3.5in}Attorney for INSERT,

\hspace*{3.5in}INSERT


Re: pleading paper

2013-03-31 Thread Rich Shepard

On Sun, 31 Mar 2013, John White wrote:

I have been unable to create a pleading paper template.  There is a laTex 
example at


http://www.latex-community.org/forum/viewtopic.php?f=47t=22708

However it does not work with lyx 2.0.5.1.  And it seems needlessly complex.


John,

  Please define it does not work with lyx 2.0.5.1. Did you save the code
as, for example, pleading.tex and open it in a LyX session?

  Some templates seem complex but that's what it takes to make it work as
desired. Once the template is tuned to your needs you need only open a new
document using that template and fill in the appropriate parts. The
complexity is behind the curtain.

  IANAL, but it looks like a useful tool.

Rich



Re: pleading paper

2013-03-31 Thread Rich Shepard

On Sun, 31 Mar 2013, John White wrote:

I have been unable to create a pleading paper template.  There is a laTex 
example at


http://www.latex-community.org/forum/viewtopic.php?f=47t=22708

However it does not work with lyx 2.0.5.1.  And it seems needlessly 
complex.


John,

  Here are the step-by-step instructions to create a new LyX template based
on the article class and the pleadings code:
http://blog.oak-tree.us/index.php/2009/11/02/custom-lyx-nih.

  I've attached the code you referenced as a .lyx file. N.B.: I've not had
to create a template from a .lyx file before or I would have done it with
this code.

Rich#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass extbook
\begin_preamble
\documentclass{article}
% \usepackage{draftwatermark}
\usepackage{geometry}
\newgeometry{top=.84in, bottom=.7in, left=1in, right=.5in}
\setlength{\footskip}{15pt}
\usepackage{ulem}
\usepackage{fancyhdr}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\usepackage{parskip}
\setlength{\parskip}{0mm}
\usepackage{pstricks}
\usepackage{quoting}
\quotingsetup{leftmargin=1in, rightmargin=1in, vskip=-1.5mm}
\makeatletter
\g@addto@macro\quoting\singlespacing
\g@addto@macro\quoting{\vspace{-2mm}}
\makeatother
\makeatletter
\renewenvironment{quotation}
{\list{}{\listparindent=0pt
\itemindent\listparindent
\leftmargin=1in
\rightmargin=1in
\topsep=-1mm
\parsep\z@ \@plus\p@}
\item\relax}
{\endlist}
 \makeatother
\usepackage[T1]{pbsi}
\usepackage{times}
\renewcommand{\rmdefault}{ptm}
\renewcommand{\normalsize}{\fontsize{14}{14.5}\selectfont}

\newcommand*{\ptm}{
\fontfamily{ptm} \selectfont
\fontsize{14}{0}
\selectfont}

\newcommand*{\bsi}{
\bsifamily \selectfont
\fontsize{16}{15}
\selectfont}

\usepackage{setspace}
\doublespacing

\raggedright

\newcommand{\tab}{\hspace*{.5in}}

\newenvironment{tightcenter}{%
\setlength\topsep{0pt}
\setlength\parskip{0pt}
\begin{center}
}{%
\end{center}
}

% BEGIN left and right vertical lines, and line numbers.
\usepackage{eso-pic}
\usepackage{calc}
\newlength{\leftruleA}
\setlength{\leftruleA}{3.0\leftmargin-\marginparsep}
\newlength{\leftruleB}
\setlength{\leftruleB}{2.8\leftmargin-\marginparsep}
\newlength{\rightrule}
\setlength{\rightrule}{2.6\leftmargin+\textwidth+\marginparsep}
\AddToShipoutPicture{%
\AtPageLowerLeft{%
\put(\LenToUnit{\leftruleA},0){\rule{1pt}{\paperheight}}  % First rule 
on the left

\put(\LenToUnit{\leftruleB},0){\rule{1pt}{\paperheight}}  % Second rule 
on the left
\put(\LenToUnit{\rightrule},0){\rule{1pt}{\paperheight}}  % Rule on the 
right
\rput(1.6,13.74){
\begin{minipage}[t]{5mm}
\begin{flushright}
\begin{doublespace}

1\\2\\3\\4\\5\\6\\7\\8\\9\\10\\11\\12\\13\\14\\15\\16\\17\\18\\19\\20\\21\\22\\23\\24\\25\\26\\27\\28
\end{doublespace}
\end{flushright}
\end{minipage}
}
}
}
% END left and right vertical lines, and line numbers.

% BEGIN footer
\pagestyle{fancy}
\cfoot{\vspace{-1mm} \ptm{-\thepage-} }
\rfoot{\makebox[2in]{\hrulefill}\\INSERT}%
% END footer
\begin{document}

\begin{singlespace*}

INSERT

~\\

Attorney for INSERT,

INSERT

\end{singlespace*}

\vspace*{18mm}

\begin{tightcenter}
SUPERIOR COURT OF THE STATE OF CALIFORNIA \\ FOR THE COUNTY OF LOS ANGELES
\end{tightcenter}

\vspace*{16.25mm}

% BEGIN caption.
{
\begin{minipage}[t]{3in}

In re the Marriage of

INSERT,

\tab \tab \tab Petitioner,

\tab \tab v.

INSERT,

\tab \tab \tab Respondent,

\makebox[3in]{\hrulefill}

\end{minipage}
\begin{minipage}[t]{5mm}
\begin{singlespace*}
)\\)\\)\\)\\)\\)\\)\\)\\)\\)\\)
\end{singlespace*}
\end{minipage}
\begin{minipage}[t]{3in}

Case Number: ~ INSERT

INSERT


\end{minipage}
}
% END caption.

\vspace{5mm}

\tab TO THE ABOVE-ENTITLED COURT AND TO THE PARTIES HEREIN AND THEIR ATTORNEYS 
OF RECORD:


\hspace*{3in}Respectfully submitted,\\

~\\
~\\

\begin{singlespace*}

Date: ~ \today \hspace*{30mm} By: ~ \makebox[3in]{\hrulefill}
\hspace*{3.5in}INSERT

\hspace*{3.5in}Attorney for INSERT,

\hspace*{3.5in}INSERT


Re: pleading paper

2013-03-31 Thread Rich Shepard

On Sun, 31 Mar 2013, John White wrote:

I have been unable to create a pleading paper template.  There is a laTex 
example at


http://www.latex-community.org/forum/viewtopic.php?f=47=22708

However it does not work with lyx 2.0.5.1.  And it seems needlessly complex.


John,

  Please define "it does not work with lyx 2.0.5.1." Did you save the code
as, for example, pleading.tex and open it in a LyX session?

  Some templates seem complex but that's what it takes to make it work as
desired. Once the template is tuned to your needs you need only open a new
document using that template and fill in the appropriate parts. The
complexity is behind the curtain.

  IANAL, but it looks like a useful tool.

Rich



Re: pleading paper

2013-03-31 Thread Rich Shepard

On Sun, 31 Mar 2013, John White wrote:

I have been unable to create a pleading paper template.  There is a laTex 
example at


http://www.latex-community.org/forum/viewtopic.php?f=47=22708

However it does not work with lyx 2.0.5.1.  And it seems needlessly 
complex.


John,

  Here are the step-by-step instructions to create a new LyX template based
on the article class and the pleadings code:
.

  I've attached the code you referenced as a .lyx file. N.B.: I've not had
to create a template from a .lyx file before or I would have done it with
this code.

Rich#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass extbook
\begin_preamble
\documentclass{article}
% \usepackage{draftwatermark}
\usepackage{geometry}
\newgeometry{top=.84in, bottom=.7in, left=1in, right=.5in}
\setlength{\footskip}{15pt}
\usepackage{ulem}
\usepackage{fancyhdr}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\usepackage{parskip}
\setlength{\parskip}{0mm}
\usepackage{pstricks}
\usepackage{quoting}
\quotingsetup{leftmargin=1in, rightmargin=1in, vskip=-1.5mm}
\makeatletter
\g@addto@macro\quoting\singlespacing
\g@addto@macro\quoting{\vspace{-2mm}}
\makeatother
\makeatletter
\renewenvironment{quotation}
{\list{}{\listparindent=0pt
\itemindent\listparindent
\leftmargin=1in
\rightmargin=1in
\topsep=-1mm
\parsep\z@ \@plus\p@}
\item\relax}
{\endlist}
 \makeatother
\usepackage[T1]{pbsi}
\usepackage{times}
\renewcommand{\rmdefault}{ptm}
\renewcommand{\normalsize}{\fontsize{14}{14.5}\selectfont}

\newcommand*{\ptm}{
\fontfamily{ptm} \selectfont
\fontsize{14}{0}
\selectfont}

\newcommand*{\bsi}{
\bsifamily \selectfont
\fontsize{16}{15}
\selectfont}

\usepackage{setspace}
\doublespacing

\raggedright

\newcommand{\tab}{\hspace*{.5in}}

\newenvironment{tightcenter}{%
\setlength\topsep{0pt}
\setlength\parskip{0pt}
\begin{center}
}{%
\end{center}
}

% BEGIN left and right vertical lines, and line numbers.
\usepackage{eso-pic}
\usepackage{calc}
\newlength{\leftruleA}
\setlength{\leftruleA}{3.0\leftmargin-\marginparsep}
\newlength{\leftruleB}
\setlength{\leftruleB}{2.8\leftmargin-\marginparsep}
\newlength{\rightrule}
\setlength{\rightrule}{2.6\leftmargin+\textwidth+\marginparsep}
\AddToShipoutPicture{%
\AtPageLowerLeft{%
\put(\LenToUnit{\leftruleA},0){\rule{1pt}{\paperheight}}  % First rule 
on the left

\put(\LenToUnit{\leftruleB},0){\rule{1pt}{\paperheight}}  % Second rule 
on the left
\put(\LenToUnit{\rightrule},0){\rule{1pt}{\paperheight}}  % Rule on the 
right
\rput(1.6,13.74){
\begin{minipage}[t]{5mm}
\begin{flushright}
\begin{doublespace}

1\\2\\3\\4\\5\\6\\7\\8\\9\\10\\11\\12\\13\\14\\15\\16\\17\\18\\19\\20\\21\\22\\23\\24\\25\\26\\27\\28
\end{doublespace}
\end{flushright}
\end{minipage}
}
}
}
% END left and right vertical lines, and line numbers.

% BEGIN footer
\pagestyle{fancy}
\cfoot{\vspace{-1mm} \ptm{-\thepage-} }
\rfoot{\makebox[2in]{\hrulefill}\\INSERT}%
% END footer
\begin{document}

\begin{singlespace*}

INSERT

~\\

Attorney for INSERT,

INSERT

\end{singlespace*}

\vspace*{18mm}

\begin{tightcenter}
SUPERIOR COURT OF THE STATE OF CALIFORNIA \\ FOR THE COUNTY OF LOS ANGELES
\end{tightcenter}

\vspace*{16.25mm}

% BEGIN caption.
{
\begin{minipage}[t]{3in}

In re the Marriage of

INSERT,

\tab \tab \tab Petitioner,

\tab \tab v.

INSERT,

\tab \tab \tab Respondent,

\makebox[3in]{\hrulefill}

\end{minipage}
\begin{minipage}[t]{5mm}
\begin{singlespace*}
)\\)\\)\\)\\)\\)\\)\\)\\)\\)\\)
\end{singlespace*}
\end{minipage}
\begin{minipage}[t]{3in}

Case Number: ~ INSERT

INSERT


\end{minipage}
}
% END caption.

\vspace{5mm}

\tab TO THE ABOVE-ENTITLED COURT AND TO THE PARTIES HEREIN AND THEIR ATTORNEYS 
OF RECORD:


\hspace*{3in}Respectfully submitted,\\

~\\
~\\

\begin{singlespace*}

Date: ~ \today \hspace*{30mm} By: ~ \makebox[3in]{\hrulefill}
\hspace*{3.5in}INSERT

\hspace*{3.5in}Attorney for INSERT,

\hspace*{3.5in}INSERT