Re: TOC Question

2022-02-14 Thread Joseph Hesse via lyx-users

On 2/14/22 12:05, Jürgen Spitzmüller via lyx-users wrote:

Am Montag, dem 14.02.2022 um 11:43 +0200 schrieb Joseph Hesse via lyx-
users:

I am writing a book with separate chapters in a master document.  I
added an appendix and it appears in the master document below a line
that says Appendix. When I look at the TOC the appendix items do not
have a heading before them that says "Appendix", just the lettered
chapter in the appendix.  Is there a way I can get the word
"Appendix" to appear before the lettered items?

\usepackage[titletoc]{appendix}

And in the body, instead of using LyX's appendix marker, enter in TeX
mode

\begin{appendices}

before and

\end{appendices}

after the appendix.

HTH,
Jürgen


Thank you,
It worked.
Joe

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: TOC Question

2022-02-14 Thread Jürgen Spitzmüller via lyx-users
Am Montag, dem 14.02.2022 um 11:43 +0200 schrieb Joseph Hesse via lyx-
users:
> I am writing a book with separate chapters in a master document.  I 
> added an appendix and it appears in the master document below a line 
> that says Appendix. When I look at the TOC the appendix items do not 
> have a heading before them that says "Appendix", just the lettered 
> chapter in the appendix.  Is there a way I can get the word
> "Appendix" to appear before the lettered items?

\usepackage[titletoc]{appendix}

And in the body, instead of using LyX's appendix marker, enter in TeX
mode

\begin{appendices}

before and

\end{appendices}

after the appendix.

HTH,
Jürgen


signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


TOC Question

2022-02-14 Thread Joseph Hesse via lyx-users
I am writing a book with separate chapters in a master document.  I 
added an appendix and it appears in the master document below a line 
that says Appendix. When I look at the TOC the appendix items do not 
have a heading before them that says "Appendix", just the lettered 
chapter in the appendix.  Is there a way I can get the word "Appendix" 
to appear before the lettered items?

Thank you,
Joe

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


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

\rene

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[2]: Pleading Paper / TOC question

2018-05-30 Thread Baris Erkus


-- Original Message --
From: "John White" 
To: lyx-users@lists.lyx.org
Cc: "Rich Shepard" 
Sent: 31-May-18 8:57:39 AM
Subject: Re: Pleading Paper / TOC question

>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
>

Dear All,

This is a test message. I have installed a new email client to fix the 
issues with mailing list messages. Apologies for the inconvenience.

BE
>



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: TOC question

2001-07-20 Thread Jürgen Spitzmüller

On Friday, 20. July 2001 10:45, Mohammad Reza Danesh wrote:
> files. My question is how can I force only the TOC to be single
> spaced?

In TeX-Mode:

\begin{singlespace}

   [TOC-Inset]

\end{singlespace}

Jürgen

> Thanks,
> -M




TOC question

2001-07-20 Thread Mohammad Reza Danesh

I'm writing my thesis with Lyx as a multipart document (book class). Every
thing should be double spaced except the TOC. In the master file I set the
spacing to "double" and it works fine in all included files. My question is how
can I force only the TOC to be single spaced?

Thanks,
-M




RE: TOC question (solved)

2001-03-29 Thread Mohammad Reza Danesh

I just found a solution for this problem. The trick is to add:

\addcontentsline{toc}{chapter}{Abstract}
...
...

before each section.

Thanks,
-M


-Original Message-
From: Mohammad Reza Danesh [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 29, 2001 1:37 PM
To: Lyx
Subject: TOC question


I'm writing my thesis using LyX and I have a multipart document. The graduate
school requires us to have abstract, dedication, and acknowledgement before
the TOC but they should be included in the TOC. Now, in my main file, I have
each one inserted as a separate file and following them I have my TOC. The TOC
only shows the chapters AFTER the place it was inserted, i.e. TOC, List of
Figures, Intro, Chap 1, ... My questions is how can I force TOC to include
everything including the sections that are inserted before the TOC?

Thanks,
MRD.

--
Mohammad Reza Danesh   E-mail:[EMAIL PROTECTED]
Mechanical Engineering Dept.  http://www-scf.usc.edu/~daneshde
University of Southern California   1042- W 36th place, DRB 101, LA, CA, 90089




TOC question

2001-03-29 Thread Mohammad Reza Danesh

I'm writing my thesis using LyX and I have a multipart document. The graduate
school requires us to have abstract, dedication, and acknowledgement before
the TOC but they should be included in the TOC. Now, in my main file, I have
each one inserted as a separate file and following them I have my TOC. The TOC
only shows the chapters AFTER the place it was inserted, i.e. TOC, List of
Figures, Intro, Chap 1, ... My questions is how can I force TOC to include
everything including the sections that are inserted before the TOC?

Thanks,
MRD.

--
Mohammad Reza Danesh   E-mail:[EMAIL PROTECTED]
Mechanical Engineering Dept.  http://www-scf.usc.edu/~daneshde
University of Southern California   1042- W 36th place, DRB 101, LA, CA, 90089