Re: Eureka! Or, it now works

2005-07-07 Thread G. Milde
On  6.07.05, Rich Shepard wrote:
 On Wed, 6 Jul 2005, Rich Shepard wrote:
 
  I'm going to make a copy of the file and see if I can produce the numbered
 rows without the miniboxes.
 
   It works like a charm.
 
   Anyone want a LaTeX template for a OMR scanner form? It's copyrighted but
 available under the GPL.

Could you consider uploading it to the Examples section of wiki.lyx.org?

Guenter

-- 
G.Milde web.de


Re: \textcolor{} in the xcolor package -- RESOLVED

2005-07-07 Thread Rich Shepard

On Thu, 7 Jul 2005, Herbert Voss wrote:


\color{blue!50} does it for all


Herbert,

  In the preamble? I thought I'd need to use \textcolor with each string.

Thanks,

Rich

--
Dr. Richard B. Shepard, President  | Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: \textcolor{} in the xcolor package -- RESOLVED

2005-07-07 Thread Herbert Voss

Rich Shepard wrote:

On Thu, 7 Jul 2005, Herbert Voss wrote:


\color{blue!50} does it for all


  In the preamble? I thought I'd need to use \textcolor with each string.


Rich,
it's like a switch.

\color{blue!50} everythin in 50% blue \color{red!50} and now red
\color{black} and now black.

Herbert



Re: \textcolor{} in the xcolor package -- RESOLVED

2005-07-07 Thread Rich Shepard

On Thu, 7 Jul 2005, Herbert Voss wrote:


it's like a switch.


Herbert,

  I'll play with it so I understand just how to use it. However, this morning
the Xfce panel doesn't want to come up on my X desktop (first time in all the
years I've run Xfce) and I need to get this fixed. PITA!

  I realized yesterday that I need to learn how to put the column headers on
subsequent pages of my form (when there are more than 28 questions). I don't
know if I can put the strings in a fancyhdr and use
\thispagestyle{empty} for the first page or if there's a better approach. Now
that I better understand how to create the form, I see that the only real
variable is the number of rows to be printed. So I can take the column
headings out of a \multido loop and place them where needed. And I thought
that I was done. :-)

Thanks,

Rich

--
Dr. Richard B. Shepard, President  | Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Eureka! Or, it now works

2005-07-07 Thread Rich Shepard

On Thu, 7 Jul 2005, G. Milde wrote:


Could you consider uploading it to the Examples section of wiki.lyx.org?


Guenter,

  Certainly. Let me finish the final tweaks first and then I'll put it up
there.

Rich

--
Dr. Richard B. Shepard, President  | Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Lyx-1.3.5 on Fedora Core 1 install questions

2005-07-07 Thread Milos Komarcevic
Todd Denniston [EMAIL PROTECTED] writes:
 if you want a possibly easier way out (and unlike me you're not stuck on
 XForms), lyx can be compiled with qt by passing options to configure.
 
 ./configure --with-frontend=qt

I can only recommend the same.

Although a better way would be building a RPM with the lyx.spec
included in the tarball.

In the meantime, you can also use the 1.3.4 packaged RPM from 
the old fedora.us repository and install it and its dependencies
through yum/apt. 

Milos



Re: Lyx-1.3.5 on Fedora Core 1 install questions

2005-07-07 Thread Angus Leeming
Milos Komarcevic wrote:

 Todd Denniston [EMAIL PROTECTED] writes:
 if you want a possibly easier way out (and unlike me you're not stuck on
 XForms), lyx can be compiled with qt by passing options to configure.
 
 ./configure --with-frontend=qt
 
 I can only recommend the same.
 
 Although a better way would be building a RPM with the lyx.spec
 included in the tarball.

Here's what I'd use (do use) on an FC3 machine:

$ mkdir build  cd build
$ ../configure --disable-debug --enable-optimization
--with-included-gettext --with-pspell --with-frontend=qt
--with-qt-dir=/usr/lib/qt-3.3
$ make rpmdist

-- 
Angus



Broke Document and Cannot Locate Reason

2005-07-07 Thread Rich Shepard

  While cleaning up my OMR form I broke something and just cannot see where
the problem is located. When I try running latex on the file it halts with
this:

(/usr/share/texmf/tex/latex/psnfss/ot1phv.fd) aesi-logo.eps
! Too many }'s.
l.68   }

  I have gone through the file and emacs shows each closing brace has a
matching opening brace. The .log file is no more helpful -- to me. I need a
new pair of eyes to see what I keep missing. The document is below and the
log file is attached.

Thanks,

Rich

--
Dr. Richard B. Shepard, President  | Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863
===
\documentclass[letterpaper, 10pt]{article}
\usepackage{palatino}
\usepackage{multido,graphicx,xcolor}
\pagestyle{empty}
\setlength{\textwidth}{7in}
\setlength{\textheight}{9in}
\setlength{\oddsidemargin}{-5mm}
\setlength{\evensidemargin}{-5mm}
\setlength{\topmargin}{-5mm}
\setlength{\headheight}{0pt}
\setlength{\headsep}{0pt}
\setlength{\footskip}{0pt}
\parindent=0pt
\newlength{\omrx}
\setlength{\omrx}{7mm}
%% identifying information
\newcommand{\infoline}{ACME NATURAL RESOURCES CORPORATION\\
Widget Development Project EIS\\
July 7, 2005}

%% number of questions (rows)
\newcommand{\nR}{60}

\def\OLeft{\scalebox{1.2}[0.6]{\color{blue!75}\large O}}

\begin{document}
\color{blue!75}
\sffamily

%% Header
\vspace{25mm}\parbox[b]{0.5\textwidth}{\infoline} %
\hfill
\parbox[t]{0.4\textwidth}{\includegraphics[scale=0.75]{aesi-logo}}

\vspace{5mm}

%% Participant group
\begin{minipage}[t]{\textwidth}{In general, I consider %
  myself to be \hspace{2ex}Supporting %
  \hspace{1cm} Neutral \hspace{1cm} Opposing \hspace{5mm} the project.}

\vspace{0.5ex}
\hspace{6cm} \makebox[7mm]{\OLeft} \hspace{1.8cm} %
\makebox[7mm]{\OLeft} \hspace{1.9cm} \makebox[7mm]{\OLeft}
\end{minipage}

\vspace{5mm}
%% Overall headings
\hspace{5mm} \makebox[9\omrx]{PREFER FIRST} %
\hspace{3.5cm} \makebox[8\omrx]{PREFER SECOND}

\vspace{2ex}

%% Put headings on columns
\hspace*{1.2\omrx}\multido{\nColumn=1+1}{9}{\makebox[\omrx]{\nColumn}}% 
\hspace*{3.2cm}\multido{\nColumn=2+1}{8}{\makebox[\omrx]{1/\nColumn}}


\vspace{1ex}

%% Make nR rows of 9 ovals for answers
  \multido{\nRow=1+1}{\nR}{%
\makebox[\omrx]{\nRow}}
\multido{}{9}{\makebox[7mm]{\OLeft}} \hspace{3.2cm} %
\multido{}{8}{\makebox[7mm]{\OLeft}}\\[2mm]
  }

\vspace{1cm}
{\copyright 2005 Applied Ecosystem Services, Inc.}
\end{document}

omr-form.log
Description: Binary data


Re: Broke Document and Cannot Locate Reason

2005-07-07 Thread Rich Shepard

On Thu, 7 Jul 2005, Rich Shepard wrote:


... and the log file is attached.


  Now it is.

Rich

--
Dr. Richard B. Shepard, President  | Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863This is TeX, Version 3.14159 (Web2C 7.4.5) (format=latex 2003.3.8)  7 JUL 2005 
10:17
**omr-form.tex
(./omr-form.tex
LaTeX2e 2001/06/01
Babel v3.7h and hyphenation patterns for american, french, german, ngerman, n
ohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo
File: size10.clo 2001/04/21 v1.4e Standard LaTeX file (size option)
)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texmf/tex/latex/psnfss/palatino.sty
Package: palatino 2002/09/08 PSNFSS-v9.0a (SPQR) 
)
(/usr/share/texmf/tex/generic/multido/multido.sty
Package: multido 1997/03/25 package wrapper for multido.tex

(/usr/share/texmf/tex/generic/multido/multido.tex  v1.4, 93/01/14 tvz
[EMAIL PROTECTED]
\multidocount=\count88
[EMAIL PROTECTED]
))
(/usr/share/texmf/tex/latex/graphics/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)

(/usr/share/texmf/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
[EMAIL PROTECTED]@=\toks15
)
(/usr/share/texmf/tex/latex/graphics/graphics.sty
Package: graphics 2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR)

(/usr/share/texmf/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(/usr/share/texmf/tex/latex/config/graphics.cfg
File: graphics.cfg 2001/08/31 v1.1 graphics configuration of teTeX/TeXLive
)
Package graphics Info: Driver file: dvips.def on input line 80.

(/usr/share/texmf/tex/latex/graphics/dvips.def
File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
))
[EMAIL PROTECTED]@height=\dimen103
[EMAIL PROTECTED]@width=\dimen104
)
(/usr/share/texmf/tex/latex/xcolor/xcolor.sty
Package: xcolor 2004/07/04 v2.00 LaTeX color extensions (UK)

(/usr/share/texmf/tex/latex/config/color.cfg
File: color.cfg 2001/08/31 v1.1 color configuration of teTeX/TeXLive
)
Package xcolor Info: Driver file: dvips.def on input line 136.
Package xcolor Info: Color model `cmy' added on input line 972.
Package xcolor Info: Color model `HTML' added on input line 1000.
Package xcolor Info: Color model `HSB' added on input line 1006.
Package xcolor Info: Color model `Gray' added on input line 1012.
)
\omrx=\skip43
 (./omr-form.aux)
\openout1 = `omr-form.aux'.

LaTeX Font Info:Checking defaults for OML/cmm/m/it on input line 29.
LaTeX Font Info:... okay on input line 29.
LaTeX Font Info:Checking defaults for T1/cmr/m/n on input line 29.
LaTeX Font Info:... okay on input line 29.
LaTeX Font Info:Checking defaults for OT1/cmr/m/n on input line 29.
LaTeX Font Info:... okay on input line 29.
LaTeX Font Info:Checking defaults for OMS/cmsy/m/n on input line 29.
LaTeX Font Info:... okay on input line 29.
LaTeX Font Info:Checking defaults for OMX/cmex/m/n on input line 29.
LaTeX Font Info:... okay on input line 29.
LaTeX Font Info:Checking defaults for U/cmr/m/n on input line 29.
LaTeX Font Info:... okay on input line 29.
LaTeX Font Info:Try loading font information for OT1+ppl on input line 29.

(/usr/share/texmf/tex/latex/psnfss/ot1ppl.fd
File: ot1ppl.fd 2001/06/04 font definitions for OT1/ppl.
)
LaTeX Font Info:Try loading font information for OT1+phv on input line 31.

(/usr/share/texmf/tex/latex/psnfss/ot1phv.fd
File: ot1phv.fd 2001/06/04 scalable font definitions for OT1/phv.
)
File: aesi-logo.eps Graphic file (type eps)
 aesi-logo.eps
! Too many }'s.
l.68   }

? q
OK, entering \batchmode...

Overfull \hbox (868.3772pt too wide) in paragraph at lines 65--69
[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][
][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][]
 []


Underfull \hbox (badness 1) in paragraph at lines 65--69

 []

LaTeX Font Info:Try loading font information for OMS+phv on input line 71.
 (/usr/share/texmf/tex/latex/psnfss/omsphv.fd
File: omsphv.fd 
)
LaTeX Font Info:Font shape `OMS/phv/m/n' in size 10 not available
(Font)  Font shape `OMS/cmsy/m/n' tried instead on input line 71.
 [1

] (./omr-form.aux) ) 
Here is how much of TeX's memory you used:
 1024 strings out of 95847
 12165 string characters out of 1195949
 61236 words of memory out of 101
 3992 multiletter control sequences out of 1+5
 5279 words of font info for 17 fonts, out of 50 for 1000
 14 hyphenation exceptions out of 1000
 25i,5n,38p,202b,225s stack positions out of 

Re: Broke Document and Cannot Locate Reason

2005-07-07 Thread Herbert Voss

Rich Shepard wrote:

  While cleaning up my OMR form I broke something and just cannot see where
the problem is located. When I try running latex on the file it halts with
this:

(/usr/share/texmf/tex/latex/psnfss/ot1phv.fd) aesi-logo.eps
! Too many }'s.
l.68   }

  I have gone through the file and emacs shows each closing brace has a
matching opening brace. The .log file is no more helpful -- to me. I need a
new pair of eyes to see what I keep missing. The document is below and the
log file is attached.


then throw away your emacs ... :-)
my mc (the unix like norton commander) shows it ...


%% Make nR rows of 9 ovals for answers
  \multido{\nRow=1+1}{\nR}{%
\makebox[\omrx]{\nRow}}
\multido{}{9}{\makebox[7mm]{\OLeft}} \hspace{3.2cm} %
\multido{}{8}{\makebox[7mm]{\OLeft}}\\[2mm]
  }


Herbert



Re: Broke Document and Cannot Locate Reason

2005-07-07 Thread Rich Shepard

On Thu, 7 Jul 2005, Herbert Voss wrote:


 }

   ^ I wonder where that came from! How strange.

Thanks, Herbert,

Rich

--
Dr. Richard B. Shepard, President  | Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Broke Document and Cannot Locate Reason

2005-07-07 Thread Rich Shepard

On Thu, 7 Jul 2005, Rich Shepard wrote:


On Thu, 7 Jul 2005, Herbert Voss wrote:


 }

  ^ I wonder where that came from! How strange.


  Well, that closing brace was correct, there was a missing opening brace
that I had inadvertently deleted. It's all fixed now.

  On to trying to get the headers on each page after the first ...

Rich

--
Dr. Richard B. Shepard, President  | Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Conditional, Repeating Text Within \multido Loop

2005-07-07 Thread Rich Shepard

  My document has two headers that label columns:

%% Overall headings
\hspace{5mm} \makebox[9\omrx]{PREFER FIRST} %
\hspace{3.5cm} \makebox[8\omrx]{PREFER SECOND}

\vspace{2ex}

%% Put headings on columns
\hspace*{1.2\omrx}\multido{\nColumn=1+1}{9}{\makebox[\omrx]{\nColumn}}% 
\hspace*{3.2cm}\multido{\nColumn=2+1}{8}{\makebox[\omrx]{1/\nColumn}}


\vspace{1ex}

  The columns they label are created by this set of nested multido loops:

%% Make nR rows of ovals for answers
  \multido{\nRow=1+1}{\nR}{ %
 \makebox[\omrx]{\nRow}
 \multido{}{9}{\makebox[7mm]{\OLeft}} \hspace{3.2cm}
 \multido{}{8}{\makebox[7mm]{\OLeft}}\\[2mm] }

  I would like to learn how to use LaTeX's counters to determine when a page
has ended and how to then print both headings on top of the new page. A page
number is not necessary as the rows are numbered. With the header on the
first page, 29 rows are printed. Subsequent pages -- so far without column
labels -- contain 34 rows.

  Is the strategy to increment a counter after the third \multido, then
re-run the column header code after each 29 rows have been printed?

TIA,

Rich

--
Dr. Richard B. Shepard, President  | Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Conditional, Repeating Text Within \multido Loop

2005-07-07 Thread Todd Denniston
Rich Shepard wrote:
 
SNIP
I would like to learn how to use LaTeX's counters to determine when a page
 has ended and how to then print both headings on top of the new page. A page
 number is not necessary as the rows are numbered. With the header on the
 first page, 29 rows are printed. Subsequent pages -- so far without column
 labels -- contain 34 rows.
 
Is the strategy to increment a counter after the third \multido, then
 re-run the column header code after each 29 rows have been printed?
SNIP
I was thinking you might be able to do some thing like 
\newcounter{RScurpage}
\setcounter{RScurpage}{\value{page}}
%then (I don't know the LaTeX for this, so its a mix C and LaTeX)
if ( \value{RScurpage}  \value{page})
   {
print headers again
\setcounter{RScurpage}{\value{page}}
   }

i.e., every time page increments you know it is time to print a new header.

I got the commands I used above from the following two pages:
http://theoval.cmp.uea.ac.uk/~nlct/latex/novices/node69.html

http://www.tex.ac.uk/cgi-bin/texfaq2html?label=addtoreset

Hope it helps.
-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter


1.3.6pre and 1.4 windows

2005-07-07 Thread Geoffrey Lloyd
A question to anyone that might know the answer. With the large amount of work 
going into Lyx 1.3.6 for Windows am I to assume the following

1) Lyx 1.4 release is a long way off

2) It won't be released for Windows, at least initially.

Any ideas?

Geoff

Re: Conditional, Repeating Text Within \multido Loop

2005-07-07 Thread Rich Shepard

On Thu, 7 Jul 2005, Todd Denniston wrote:


I was thinking you might be able to do some thing like
\newcounter{RScurpage}
\setcounter{RScurpage}{\value{page}}
%then (I don't know the LaTeX for this, so its a mix C and LaTeX)
if ( \value{RScurpage}  \value{page})
  {
print headers again
\setcounter{RScurpage}{\value{page}}
  }


Todd,

  Thanks for the reply. I know how to set up counters, but I'm not sure they
would work within a set of nested \multido{}. More research -- on my part --
is required.

Rich

--
Dr. Richard B. Shepard, President  | Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


adding list of figures etc in TOC

2005-07-07 Thread Vaibhav Srivastava

HI all,
 Currently TOC does not include list of tables, figures and 
bibliography. How to include them in final output.


Thanks

--
Vaibhav Srivastava
Graduate Student,
Department of Electrical and Computer Engineering,
North Carolina State University,
Raleigh,NC
[EMAIL PROTECTED]
Phone: 919 412 4073




Re: 1.3.6pre and 1.4 windows

2005-07-07 Thread Angus Leeming
Geoffrey Lloyd wrote:

 A question to anyone that might know the answer. With the large amount of
 work going into Lyx 1.3.6 for Windows am I to assume the following
 
 1) Lyx 1.4 release is a long way off

It's only a long way off because there aren't enough developers who are
currently active. Nothing but bug fixes are being committed to the 1.4
tree and they're being committed at a fairly steady rate. Jürgen
Spitzmüller, Martin Vermeer and Georg Baum are real heros in this regard.

 2) It won't be released for Windows, at least initially.

What makes you say that? Nothing is committed to the 1.3.x tree without
also being committed to the 1.4 tree.

There's a large amount of work going into LyX/Win 1.3.6pre because of the
fantastic bug reports that a heap of volunteers are posting. Squashing
these bugs is really very rewarding ;-) See
http://wiki.lyx.org/Windows/LyX136pre#changelog

 Any ideas?

Some, but I try not to boast.

 Geoff
-- 
Angus



Re: adding list of figures etc in TOC

2005-07-07 Thread Geoffrey Lloyd


- Original Message - 
From: Vaibhav Srivastava [EMAIL PROTECTED]

To: Lyx-Users lyx-users@lists.lyx.org
Sent: Thursday, July 07, 2005 11:13 PM
Subject: adding list of figures etc in TOC



HI all,
 Currently TOC does not include list of tables, figures and bibliography. 
How to include them in final output.


Use the package tocbibind

If you just use the defaults this also includes the ToC in the ToC so use 
the option notoc


\usepackage[notoc]{tocbibind}

Hope this works for you.  Further options can be found in the tocbibind 
package docs








Thanks

--
Vaibhav Srivastava
Graduate Student,
Department of Electrical and Computer Engineering,
North Carolina State University,
Raleigh,NC
[EMAIL PROTECTED]
Phone: 919 412 4073







Re: adding list of figures etc in TOC

2005-07-07 Thread Geoffrey Lloyd

HI all,
 Currently TOC does not include list of tables, figures and bibliography. 
How to include them in final output.


Use the package tocbibind

If you just use the defaults this also includes the ToC in the ToC so use 
the option notoc


\usepackage[notoc]{tocbibind}


my apologies, this should read [nottoc] instead



Re: View problem with TOC and cross referencing

2005-07-07 Thread Roger McMurtrie
On Thu, 7 Jul 2005 12:22 am, Todd Denniston wrote:
 Roger McMurtrie wrote:
  I don't have a \fontscheme in lyx, nor can I see it in the LaTeX log file
  (View-LaTeX Logfile).

 It would actually be in the .lyx file and you would need to use
 less||vi||cat||grep||notepad to see it, it is a LyX setting from a dialog.
 the xset:  bad font path element ... seems rather un-helpful except that
 it tells you there is a problem with fonts, I was trying to figure out
 which font it did not like. I am not sure it is related to the problem, but
 the programmer in me wants all warnings cleaned up to be sure they are
 unrelated to the problem :).



I absolutely agree with programmer in me. So many of the messages in the 
LaTeX environment are pretty unhelpfull.
I can't find a .lyx file anywhere.
There is a .lyx directory in my home directory that contains a number of 
sub-directories and other files, such as preferences, but I can't find 
anything with \fontscheme in it.
However, I did a -- grep fontscheme ./* -- which produced nothing in my home 
directory but, in my working directory, produced:

./thesis5.lyx:\fontscheme default

This is not a structure I recognize.
Oh, maybe you meant file name.lyx, I was looking for some sort of hidden 
control file called .lyx?

I tried  less||vi||cat||grep||notepad on a lyx file and, sure enough, I got:

#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

followed by the main content.


With the help of Lyx Help-Customization Section 5.4 telling me about 
defaults.lyx, I located defaults.lyx in my home/.lyx/templates directory but 
can't see how to set up the fontscheme.


Well, now I tried  less||vi||cat||grep||notepad on defaults.lyx and got a 
preamble that looks more like the preferences that I set up for my lyx file 
but doesn't include a  /fontscheme.

From Help-Customization Section 5.4, maybe I should set Document templates: 
in the Lyx preferences dialogue to my home/.lyx/templates directory instead 
of its current setting which is /usr/local/share/lyx/templates/ ?? I'm a bit 
confused!

Thanks for your help


Roger








Re: Eureka! Or, it now works

2005-07-07 Thread G. Milde
On  6.07.05, Rich Shepard wrote:
 On Wed, 6 Jul 2005, Rich Shepard wrote:
 
  I'm going to make a copy of the file and see if I can produce the numbered
 rows without the miniboxes.
 
   It works like a charm.
 
   Anyone want a LaTeX template for a OMR scanner form? It's copyrighted but
 available under the GPL.

Could you consider uploading it to the Examples section of wiki.lyx.org?

Guenter

-- 
G.Milde web.de


Re: \textcolor{} in the xcolor package -- RESOLVED

2005-07-07 Thread Rich Shepard

On Thu, 7 Jul 2005, Herbert Voss wrote:


\color{blue!50} does it for all


Herbert,

  In the preamble? I thought I'd need to use \textcolor with each string.

Thanks,

Rich

--
Dr. Richard B. Shepard, President  | Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: \textcolor{} in the xcolor package -- RESOLVED

2005-07-07 Thread Herbert Voss

Rich Shepard wrote:

On Thu, 7 Jul 2005, Herbert Voss wrote:


\color{blue!50} does it for all


  In the preamble? I thought I'd need to use \textcolor with each string.


Rich,
it's like a switch.

\color{blue!50} everythin in 50% blue \color{red!50} and now red
\color{black} and now black.

Herbert



Re: \textcolor{} in the xcolor package -- RESOLVED

2005-07-07 Thread Rich Shepard

On Thu, 7 Jul 2005, Herbert Voss wrote:


it's like a switch.


Herbert,

  I'll play with it so I understand just how to use it. However, this morning
the Xfce panel doesn't want to come up on my X desktop (first time in all the
years I've run Xfce) and I need to get this fixed. PITA!

  I realized yesterday that I need to learn how to put the column headers on
subsequent pages of my form (when there are more than 28 questions). I don't
know if I can put the strings in a fancyhdr and use
\thispagestyle{empty} for the first page or if there's a better approach. Now
that I better understand how to create the form, I see that the only real
variable is the number of rows to be printed. So I can take the column
headings out of a \multido loop and place them where needed. And I thought
that I was done. :-)

Thanks,

Rich

--
Dr. Richard B. Shepard, President  | Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Eureka! Or, it now works

2005-07-07 Thread Rich Shepard

On Thu, 7 Jul 2005, G. Milde wrote:


Could you consider uploading it to the Examples section of wiki.lyx.org?


Guenter,

  Certainly. Let me finish the final tweaks first and then I'll put it up
there.

Rich

--
Dr. Richard B. Shepard, President  | Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Lyx-1.3.5 on Fedora Core 1 install questions

2005-07-07 Thread Milos Komarcevic
Todd Denniston [EMAIL PROTECTED] writes:
 if you want a possibly easier way out (and unlike me you're not stuck on
 XForms), lyx can be compiled with qt by passing options to configure.
 
 ./configure --with-frontend=qt

I can only recommend the same.

Although a better way would be building a RPM with the lyx.spec
included in the tarball.

In the meantime, you can also use the 1.3.4 packaged RPM from 
the old fedora.us repository and install it and its dependencies
through yum/apt. 

Milos



Re: Lyx-1.3.5 on Fedora Core 1 install questions

2005-07-07 Thread Angus Leeming
Milos Komarcevic wrote:

 Todd Denniston [EMAIL PROTECTED] writes:
 if you want a possibly easier way out (and unlike me you're not stuck on
 XForms), lyx can be compiled with qt by passing options to configure.
 
 ./configure --with-frontend=qt
 
 I can only recommend the same.
 
 Although a better way would be building a RPM with the lyx.spec
 included in the tarball.

Here's what I'd use (do use) on an FC3 machine:

$ mkdir build  cd build
$ ../configure --disable-debug --enable-optimization
--with-included-gettext --with-pspell --with-frontend=qt
--with-qt-dir=/usr/lib/qt-3.3
$ make rpmdist

-- 
Angus



Broke Document and Cannot Locate Reason

2005-07-07 Thread Rich Shepard

  While cleaning up my OMR form I broke something and just cannot see where
the problem is located. When I try running latex on the file it halts with
this:

(/usr/share/texmf/tex/latex/psnfss/ot1phv.fd) aesi-logo.eps
! Too many }'s.
l.68   }

  I have gone through the file and emacs shows each closing brace has a
matching opening brace. The .log file is no more helpful -- to me. I need a
new pair of eyes to see what I keep missing. The document is below and the
log file is attached.

Thanks,

Rich

--
Dr. Richard B. Shepard, President  | Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863
===
\documentclass[letterpaper, 10pt]{article}
\usepackage{palatino}
\usepackage{multido,graphicx,xcolor}
\pagestyle{empty}
\setlength{\textwidth}{7in}
\setlength{\textheight}{9in}
\setlength{\oddsidemargin}{-5mm}
\setlength{\evensidemargin}{-5mm}
\setlength{\topmargin}{-5mm}
\setlength{\headheight}{0pt}
\setlength{\headsep}{0pt}
\setlength{\footskip}{0pt}
\parindent=0pt
\newlength{\omrx}
\setlength{\omrx}{7mm}
%% identifying information
\newcommand{\infoline}{ACME NATURAL RESOURCES CORPORATION\\
Widget Development Project EIS\\
July 7, 2005}

%% number of questions (rows)
\newcommand{\nR}{60}

\def\OLeft{\scalebox{1.2}[0.6]{\color{blue!75}\large O}}

\begin{document}
\color{blue!75}
\sffamily

%% Header
\vspace{25mm}\parbox[b]{0.5\textwidth}{\infoline} %
\hfill
\parbox[t]{0.4\textwidth}{\includegraphics[scale=0.75]{aesi-logo}}

\vspace{5mm}

%% Participant group
\begin{minipage}[t]{\textwidth}{In general, I consider %
  myself to be \hspace{2ex}Supporting %
  \hspace{1cm} Neutral \hspace{1cm} Opposing \hspace{5mm} the project.}

\vspace{0.5ex}
\hspace{6cm} \makebox[7mm]{\OLeft} \hspace{1.8cm} %
\makebox[7mm]{\OLeft} \hspace{1.9cm} \makebox[7mm]{\OLeft}
\end{minipage}

\vspace{5mm}
%% Overall headings
\hspace{5mm} \makebox[9\omrx]{PREFER FIRST} %
\hspace{3.5cm} \makebox[8\omrx]{PREFER SECOND}

\vspace{2ex}

%% Put headings on columns
\hspace*{1.2\omrx}\multido{\nColumn=1+1}{9}{\makebox[\omrx]{\nColumn}}% 
\hspace*{3.2cm}\multido{\nColumn=2+1}{8}{\makebox[\omrx]{1/\nColumn}}


\vspace{1ex}

%% Make nR rows of 9 ovals for answers
  \multido{\nRow=1+1}{\nR}{%
\makebox[\omrx]{\nRow}}
\multido{}{9}{\makebox[7mm]{\OLeft}} \hspace{3.2cm} %
\multido{}{8}{\makebox[7mm]{\OLeft}}\\[2mm]
  }

\vspace{1cm}
{\copyright 2005 Applied Ecosystem Services, Inc.}
\end{document}

omr-form.log
Description: Binary data


Re: Broke Document and Cannot Locate Reason

2005-07-07 Thread Rich Shepard

On Thu, 7 Jul 2005, Rich Shepard wrote:


... and the log file is attached.


  Now it is.

Rich

--
Dr. Richard B. Shepard, President  | Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863This is TeX, Version 3.14159 (Web2C 7.4.5) (format=latex 2003.3.8)  7 JUL 2005 
10:17
**omr-form.tex
(./omr-form.tex
LaTeX2e 2001/06/01
Babel v3.7h and hyphenation patterns for american, french, german, ngerman, n
ohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo
File: size10.clo 2001/04/21 v1.4e Standard LaTeX file (size option)
)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texmf/tex/latex/psnfss/palatino.sty
Package: palatino 2002/09/08 PSNFSS-v9.0a (SPQR) 
)
(/usr/share/texmf/tex/generic/multido/multido.sty
Package: multido 1997/03/25 package wrapper for multido.tex

(/usr/share/texmf/tex/generic/multido/multido.tex  v1.4, 93/01/14 tvz
[EMAIL PROTECTED]
\multidocount=\count88
[EMAIL PROTECTED]
))
(/usr/share/texmf/tex/latex/graphics/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)

(/usr/share/texmf/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
[EMAIL PROTECTED]@=\toks15
)
(/usr/share/texmf/tex/latex/graphics/graphics.sty
Package: graphics 2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR)

(/usr/share/texmf/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(/usr/share/texmf/tex/latex/config/graphics.cfg
File: graphics.cfg 2001/08/31 v1.1 graphics configuration of teTeX/TeXLive
)
Package graphics Info: Driver file: dvips.def on input line 80.

(/usr/share/texmf/tex/latex/graphics/dvips.def
File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
))
[EMAIL PROTECTED]@height=\dimen103
[EMAIL PROTECTED]@width=\dimen104
)
(/usr/share/texmf/tex/latex/xcolor/xcolor.sty
Package: xcolor 2004/07/04 v2.00 LaTeX color extensions (UK)

(/usr/share/texmf/tex/latex/config/color.cfg
File: color.cfg 2001/08/31 v1.1 color configuration of teTeX/TeXLive
)
Package xcolor Info: Driver file: dvips.def on input line 136.
Package xcolor Info: Color model `cmy' added on input line 972.
Package xcolor Info: Color model `HTML' added on input line 1000.
Package xcolor Info: Color model `HSB' added on input line 1006.
Package xcolor Info: Color model `Gray' added on input line 1012.
)
\omrx=\skip43
 (./omr-form.aux)
\openout1 = `omr-form.aux'.

LaTeX Font Info:Checking defaults for OML/cmm/m/it on input line 29.
LaTeX Font Info:... okay on input line 29.
LaTeX Font Info:Checking defaults for T1/cmr/m/n on input line 29.
LaTeX Font Info:... okay on input line 29.
LaTeX Font Info:Checking defaults for OT1/cmr/m/n on input line 29.
LaTeX Font Info:... okay on input line 29.
LaTeX Font Info:Checking defaults for OMS/cmsy/m/n on input line 29.
LaTeX Font Info:... okay on input line 29.
LaTeX Font Info:Checking defaults for OMX/cmex/m/n on input line 29.
LaTeX Font Info:... okay on input line 29.
LaTeX Font Info:Checking defaults for U/cmr/m/n on input line 29.
LaTeX Font Info:... okay on input line 29.
LaTeX Font Info:Try loading font information for OT1+ppl on input line 29.

(/usr/share/texmf/tex/latex/psnfss/ot1ppl.fd
File: ot1ppl.fd 2001/06/04 font definitions for OT1/ppl.
)
LaTeX Font Info:Try loading font information for OT1+phv on input line 31.

(/usr/share/texmf/tex/latex/psnfss/ot1phv.fd
File: ot1phv.fd 2001/06/04 scalable font definitions for OT1/phv.
)
File: aesi-logo.eps Graphic file (type eps)
 aesi-logo.eps
! Too many }'s.
l.68   }

? q
OK, entering \batchmode...

Overfull \hbox (868.3772pt too wide) in paragraph at lines 65--69
[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][
][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][]
 []


Underfull \hbox (badness 1) in paragraph at lines 65--69

 []

LaTeX Font Info:Try loading font information for OMS+phv on input line 71.
 (/usr/share/texmf/tex/latex/psnfss/omsphv.fd
File: omsphv.fd 
)
LaTeX Font Info:Font shape `OMS/phv/m/n' in size 10 not available
(Font)  Font shape `OMS/cmsy/m/n' tried instead on input line 71.
 [1

] (./omr-form.aux) ) 
Here is how much of TeX's memory you used:
 1024 strings out of 95847
 12165 string characters out of 1195949
 61236 words of memory out of 101
 3992 multiletter control sequences out of 1+5
 5279 words of font info for 17 fonts, out of 50 for 1000
 14 hyphenation exceptions out of 1000
 25i,5n,38p,202b,225s stack positions out of 

Re: Broke Document and Cannot Locate Reason

2005-07-07 Thread Herbert Voss

Rich Shepard wrote:

  While cleaning up my OMR form I broke something and just cannot see where
the problem is located. When I try running latex on the file it halts with
this:

(/usr/share/texmf/tex/latex/psnfss/ot1phv.fd) aesi-logo.eps
! Too many }'s.
l.68   }

  I have gone through the file and emacs shows each closing brace has a
matching opening brace. The .log file is no more helpful -- to me. I need a
new pair of eyes to see what I keep missing. The document is below and the
log file is attached.


then throw away your emacs ... :-)
my mc (the unix like norton commander) shows it ...


%% Make nR rows of 9 ovals for answers
  \multido{\nRow=1+1}{\nR}{%
\makebox[\omrx]{\nRow}}
\multido{}{9}{\makebox[7mm]{\OLeft}} \hspace{3.2cm} %
\multido{}{8}{\makebox[7mm]{\OLeft}}\\[2mm]
  }


Herbert



Re: Broke Document and Cannot Locate Reason

2005-07-07 Thread Rich Shepard

On Thu, 7 Jul 2005, Herbert Voss wrote:


 }

   ^ I wonder where that came from! How strange.

Thanks, Herbert,

Rich

--
Dr. Richard B. Shepard, President  | Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Broke Document and Cannot Locate Reason

2005-07-07 Thread Rich Shepard

On Thu, 7 Jul 2005, Rich Shepard wrote:


On Thu, 7 Jul 2005, Herbert Voss wrote:


 }

  ^ I wonder where that came from! How strange.


  Well, that closing brace was correct, there was a missing opening brace
that I had inadvertently deleted. It's all fixed now.

  On to trying to get the headers on each page after the first ...

Rich

--
Dr. Richard B. Shepard, President  | Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Conditional, Repeating Text Within \multido Loop

2005-07-07 Thread Rich Shepard

  My document has two headers that label columns:

%% Overall headings
\hspace{5mm} \makebox[9\omrx]{PREFER FIRST} %
\hspace{3.5cm} \makebox[8\omrx]{PREFER SECOND}

\vspace{2ex}

%% Put headings on columns
\hspace*{1.2\omrx}\multido{\nColumn=1+1}{9}{\makebox[\omrx]{\nColumn}}% 
\hspace*{3.2cm}\multido{\nColumn=2+1}{8}{\makebox[\omrx]{1/\nColumn}}


\vspace{1ex}

  The columns they label are created by this set of nested multido loops:

%% Make nR rows of ovals for answers
  \multido{\nRow=1+1}{\nR}{ %
 \makebox[\omrx]{\nRow}
 \multido{}{9}{\makebox[7mm]{\OLeft}} \hspace{3.2cm}
 \multido{}{8}{\makebox[7mm]{\OLeft}}\\[2mm] }

  I would like to learn how to use LaTeX's counters to determine when a page
has ended and how to then print both headings on top of the new page. A page
number is not necessary as the rows are numbered. With the header on the
first page, 29 rows are printed. Subsequent pages -- so far without column
labels -- contain 34 rows.

  Is the strategy to increment a counter after the third \multido, then
re-run the column header code after each 29 rows have been printed?

TIA,

Rich

--
Dr. Richard B. Shepard, President  | Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Conditional, Repeating Text Within \multido Loop

2005-07-07 Thread Todd Denniston
Rich Shepard wrote:
 
SNIP
I would like to learn how to use LaTeX's counters to determine when a page
 has ended and how to then print both headings on top of the new page. A page
 number is not necessary as the rows are numbered. With the header on the
 first page, 29 rows are printed. Subsequent pages -- so far without column
 labels -- contain 34 rows.
 
Is the strategy to increment a counter after the third \multido, then
 re-run the column header code after each 29 rows have been printed?
SNIP
I was thinking you might be able to do some thing like 
\newcounter{RScurpage}
\setcounter{RScurpage}{\value{page}}
%then (I don't know the LaTeX for this, so its a mix C and LaTeX)
if ( \value{RScurpage}  \value{page})
   {
print headers again
\setcounter{RScurpage}{\value{page}}
   }

i.e., every time page increments you know it is time to print a new header.

I got the commands I used above from the following two pages:
http://theoval.cmp.uea.ac.uk/~nlct/latex/novices/node69.html

http://www.tex.ac.uk/cgi-bin/texfaq2html?label=addtoreset

Hope it helps.
-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter


1.3.6pre and 1.4 windows

2005-07-07 Thread Geoffrey Lloyd
A question to anyone that might know the answer. With the large amount of work 
going into Lyx 1.3.6 for Windows am I to assume the following

1) Lyx 1.4 release is a long way off

2) It won't be released for Windows, at least initially.

Any ideas?

Geoff

Re: Conditional, Repeating Text Within \multido Loop

2005-07-07 Thread Rich Shepard

On Thu, 7 Jul 2005, Todd Denniston wrote:


I was thinking you might be able to do some thing like
\newcounter{RScurpage}
\setcounter{RScurpage}{\value{page}}
%then (I don't know the LaTeX for this, so its a mix C and LaTeX)
if ( \value{RScurpage}  \value{page})
  {
print headers again
\setcounter{RScurpage}{\value{page}}
  }


Todd,

  Thanks for the reply. I know how to set up counters, but I'm not sure they
would work within a set of nested \multido{}. More research -- on my part --
is required.

Rich

--
Dr. Richard B. Shepard, President  | Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


adding list of figures etc in TOC

2005-07-07 Thread Vaibhav Srivastava

HI all,
 Currently TOC does not include list of tables, figures and 
bibliography. How to include them in final output.


Thanks

--
Vaibhav Srivastava
Graduate Student,
Department of Electrical and Computer Engineering,
North Carolina State University,
Raleigh,NC
[EMAIL PROTECTED]
Phone: 919 412 4073




Re: 1.3.6pre and 1.4 windows

2005-07-07 Thread Angus Leeming
Geoffrey Lloyd wrote:

 A question to anyone that might know the answer. With the large amount of
 work going into Lyx 1.3.6 for Windows am I to assume the following
 
 1) Lyx 1.4 release is a long way off

It's only a long way off because there aren't enough developers who are
currently active. Nothing but bug fixes are being committed to the 1.4
tree and they're being committed at a fairly steady rate. Jürgen
Spitzmüller, Martin Vermeer and Georg Baum are real heros in this regard.

 2) It won't be released for Windows, at least initially.

What makes you say that? Nothing is committed to the 1.3.x tree without
also being committed to the 1.4 tree.

There's a large amount of work going into LyX/Win 1.3.6pre because of the
fantastic bug reports that a heap of volunteers are posting. Squashing
these bugs is really very rewarding ;-) See
http://wiki.lyx.org/Windows/LyX136pre#changelog

 Any ideas?

Some, but I try not to boast.

 Geoff
-- 
Angus



Re: adding list of figures etc in TOC

2005-07-07 Thread Geoffrey Lloyd


- Original Message - 
From: Vaibhav Srivastava [EMAIL PROTECTED]

To: Lyx-Users lyx-users@lists.lyx.org
Sent: Thursday, July 07, 2005 11:13 PM
Subject: adding list of figures etc in TOC



HI all,
 Currently TOC does not include list of tables, figures and bibliography. 
How to include them in final output.


Use the package tocbibind

If you just use the defaults this also includes the ToC in the ToC so use 
the option notoc


\usepackage[notoc]{tocbibind}

Hope this works for you.  Further options can be found in the tocbibind 
package docs








Thanks

--
Vaibhav Srivastava
Graduate Student,
Department of Electrical and Computer Engineering,
North Carolina State University,
Raleigh,NC
[EMAIL PROTECTED]
Phone: 919 412 4073







Re: adding list of figures etc in TOC

2005-07-07 Thread Geoffrey Lloyd

HI all,
 Currently TOC does not include list of tables, figures and bibliography. 
How to include them in final output.


Use the package tocbibind

If you just use the defaults this also includes the ToC in the ToC so use 
the option notoc


\usepackage[notoc]{tocbibind}


my apologies, this should read [nottoc] instead



Re: View problem with TOC and cross referencing

2005-07-07 Thread Roger McMurtrie
On Thu, 7 Jul 2005 12:22 am, Todd Denniston wrote:
 Roger McMurtrie wrote:
  I don't have a \fontscheme in lyx, nor can I see it in the LaTeX log file
  (View-LaTeX Logfile).

 It would actually be in the .lyx file and you would need to use
 less||vi||cat||grep||notepad to see it, it is a LyX setting from a dialog.
 the xset:  bad font path element ... seems rather un-helpful except that
 it tells you there is a problem with fonts, I was trying to figure out
 which font it did not like. I am not sure it is related to the problem, but
 the programmer in me wants all warnings cleaned up to be sure they are
 unrelated to the problem :).



I absolutely agree with programmer in me. So many of the messages in the 
LaTeX environment are pretty unhelpfull.
I can't find a .lyx file anywhere.
There is a .lyx directory in my home directory that contains a number of 
sub-directories and other files, such as preferences, but I can't find 
anything with \fontscheme in it.
However, I did a -- grep fontscheme ./* -- which produced nothing in my home 
directory but, in my working directory, produced:

./thesis5.lyx:\fontscheme default

This is not a structure I recognize.
Oh, maybe you meant file name.lyx, I was looking for some sort of hidden 
control file called .lyx?

I tried  less||vi||cat||grep||notepad on a lyx file and, sure enough, I got:

#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

followed by the main content.


With the help of Lyx Help-Customization Section 5.4 telling me about 
defaults.lyx, I located defaults.lyx in my home/.lyx/templates directory but 
can't see how to set up the fontscheme.


Well, now I tried  less||vi||cat||grep||notepad on defaults.lyx and got a 
preamble that looks more like the preferences that I set up for my lyx file 
but doesn't include a  /fontscheme.

From Help-Customization Section 5.4, maybe I should set Document templates: 
in the Lyx preferences dialogue to my home/.lyx/templates directory instead 
of its current setting which is /usr/local/share/lyx/templates/ ?? I'm a bit 
confused!

Thanks for your help


Roger








Re: Eureka! Or, it now works

2005-07-07 Thread G. Milde
On  6.07.05, Rich Shepard wrote:
> On Wed, 6 Jul 2005, Rich Shepard wrote:
> 
> > I'm going to make a copy of the file and see if I can produce the numbered
> >rows without the miniboxes.
> 
>   It works like a charm.
> 
>   Anyone want a LaTeX template for a OMR scanner form? It's copyrighted but
> available under the GPL.

Could you consider uploading it to the Examples section of wiki.lyx.org?

Guenter

-- 
G.Milde web.de


Re: \textcolor{} in the xcolor package -- RESOLVED

2005-07-07 Thread Rich Shepard

On Thu, 7 Jul 2005, Herbert Voss wrote:


\color{blue!50} does it for all


Herbert,

  In the preamble? I thought I'd need to use \textcolor with each string.

Thanks,

Rich

--
Dr. Richard B. Shepard, President  | Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic"
   Voice: 503-667-4517   Fax: 503-667-8863


Re: \textcolor{} in the xcolor package -- RESOLVED

2005-07-07 Thread Herbert Voss

Rich Shepard wrote:

On Thu, 7 Jul 2005, Herbert Voss wrote:


\color{blue!50} does it for all


  In the preamble? I thought I'd need to use \textcolor with each string.


Rich,
it's like a switch.

\color{blue!50} everythin in 50% blue \color{red!50} and now red
\color{black} and now black.

Herbert



Re: \textcolor{} in the xcolor package -- RESOLVED

2005-07-07 Thread Rich Shepard

On Thu, 7 Jul 2005, Herbert Voss wrote:


it's like a switch.


Herbert,

  I'll play with it so I understand just how to use it. However, this morning
the Xfce panel doesn't want to come up on my X desktop (first time in all the
years I've run Xfce) and I need to get this fixed. PITA!

  I realized yesterday that I need to learn how to put the column headers on
subsequent pages of my form (when there are more than 28 questions). I don't
know if I can put the strings in a fancyhdr and use
\thispagestyle{empty} for the first page or if there's a better approach. Now
that I better understand how to create the form, I see that the only real
variable is the number of rows to be printed. So I can take the column
headings out of a \multido loop and place them where needed. And I thought
that I was done. :-)

Thanks,

Rich

--
Dr. Richard B. Shepard, President  | Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic"
   Voice: 503-667-4517   Fax: 503-667-8863


Re: Eureka! Or, it now works

2005-07-07 Thread Rich Shepard

On Thu, 7 Jul 2005, G. Milde wrote:


Could you consider uploading it to the Examples section of wiki.lyx.org?


Guenter,

  Certainly. Let me finish the final tweaks first and then I'll put it up
there.

Rich

--
Dr. Richard B. Shepard, President  | Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic"
   Voice: 503-667-4517   Fax: 503-667-8863


Re: Lyx-1.3.5 on Fedora Core 1 install questions

2005-07-07 Thread Milos Komarcevic
Todd Denniston <[EMAIL PROTECTED]> writes:
> if you want a possibly easier way out (and unlike me you're not stuck on
> XForms), lyx can be compiled with qt by passing options to configure.
> 
> ./configure --with-frontend=qt

I can only recommend the same.

Although a better way would be building a RPM with the lyx.spec
included in the tarball.

In the meantime, you can also use the 1.3.4 packaged RPM from 
the old fedora.us repository and install it and its dependencies
through yum/apt. 

Milos



Re: Lyx-1.3.5 on Fedora Core 1 install questions

2005-07-07 Thread Angus Leeming
Milos Komarcevic wrote:

> Todd Denniston <[EMAIL PROTECTED]> writes:
>> if you want a possibly easier way out (and unlike me you're not stuck on
>> XForms), lyx can be compiled with qt by passing options to configure.
>> 
>> ./configure --with-frontend=qt
> 
> I can only recommend the same.
> 
> Although a better way would be building a RPM with the lyx.spec
> included in the tarball.

Here's what I'd use (do use) on an FC3 machine:

$ mkdir build && cd build
$ ../configure --disable-debug --enable-optimization
--with-included-gettext --with-pspell --with-frontend=qt
--with-qt-dir=/usr/lib/qt-3.3
$ make rpmdist

-- 
Angus



Broke Document and Cannot Locate Reason

2005-07-07 Thread Rich Shepard

  While cleaning up my OMR form I broke something and just cannot see where
the problem is located. When I try running latex on the file it halts with
this:

(/usr/share/texmf/tex/latex/psnfss/ot1phv.fd) 
! Too many }'s.
l.68   }

  I have gone through the file and emacs shows each closing brace has a
matching opening brace. The .log file is no more helpful -- to me. I need a
new pair of eyes to see what I keep missing. The document is below and the
log file is attached.

Thanks,

Rich

--
Dr. Richard B. Shepard, President  | Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic"
   Voice: 503-667-4517   Fax: 503-667-8863
===
\documentclass[letterpaper, 10pt]{article}
\usepackage{palatino}
\usepackage{multido,graphicx,xcolor}
\pagestyle{empty}
\setlength{\textwidth}{7in}
\setlength{\textheight}{9in}
\setlength{\oddsidemargin}{-5mm}
\setlength{\evensidemargin}{-5mm}
\setlength{\topmargin}{-5mm}
\setlength{\headheight}{0pt}
\setlength{\headsep}{0pt}
\setlength{\footskip}{0pt}
\parindent=0pt
\newlength{\omrx}
\setlength{\omrx}{7mm}
%% identifying information
\newcommand{\infoline}{ACME NATURAL RESOURCES CORPORATION\\
Widget Development Project EIS\\
July 7, 2005}

%% number of questions (rows)
\newcommand{\nR}{60}

\def\OLeft{\scalebox{1.2}[0.6]{\color{blue!75}\large O}}

\begin{document}
\color{blue!75}
\sffamily

%% Header
\vspace{25mm}\parbox[b]{0.5\textwidth}{\infoline} %
\hfill
\parbox[t]{0.4\textwidth}{\includegraphics[scale=0.75]{aesi-logo}}

\vspace{5mm}

%% Participant group
\begin{minipage}[t]{\textwidth}{In general, I consider %
  myself to be \hspace{2ex}Supporting %
  \hspace{1cm} Neutral \hspace{1cm} Opposing \hspace{5mm} the project.}

\vspace{0.5ex}
\hspace{6cm} \makebox[7mm]{\OLeft} \hspace{1.8cm} %
\makebox[7mm]{\OLeft} \hspace{1.9cm} \makebox[7mm]{\OLeft}
\end{minipage}

\vspace{5mm}
%% Overall headings
\hspace{5mm} \makebox[9\omrx]{PREFER FIRST} %
\hspace{3.5cm} \makebox[8\omrx]{PREFER SECOND}

\vspace{2ex}

%% Put headings on columns
\hspace*{1.2\omrx}\multido{\nColumn=1+1}{9}{\makebox[\omrx]{\nColumn}}% 
\hspace*{3.2cm}\multido{\nColumn=2+1}{8}{\makebox[\omrx]{1/\nColumn}}


\vspace{1ex}

%% Make nR rows of 9 ovals for answers
  \multido{\nRow=1+1}{\nR}{%
\makebox[\omrx]{\nRow}}
\multido{}{9}{\makebox[7mm]{\OLeft}} \hspace{3.2cm} %
\multido{}{8}{\makebox[7mm]{\OLeft}}\\[2mm]
  }

\vspace{1cm}
{\copyright 2005 Applied Ecosystem Services, Inc.}
\end{document}

omr-form.log
Description: Binary data


Re: Broke Document and Cannot Locate Reason

2005-07-07 Thread Rich Shepard

On Thu, 7 Jul 2005, Rich Shepard wrote:


... and the log file is attached.


  Now it is.

Rich

--
Dr. Richard B. Shepard, President  | Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic"
   Voice: 503-667-4517   Fax: 503-667-8863This is TeX, Version 3.14159 (Web2C 7.4.5) (format=latex 2003.3.8)  7 JUL 2005 
10:17
**omr-form.tex
(./omr-form.tex
LaTeX2e <2001/06/01>
Babel  and hyphenation patterns for american, french, german, ngerman, n
ohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo
File: size10.clo 2001/04/21 v1.4e Standard LaTeX file (size option)
)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texmf/tex/latex/psnfss/palatino.sty
Package: palatino 2002/09/08 PSNFSS-v9.0a (SPQR) 
)
(/usr/share/texmf/tex/generic/multido/multido.sty
Package: multido 1997/03/25 package wrapper for multido.tex

(/usr/share/texmf/tex/generic/multido/multido.tex  v1.4, 93/01/14 
[EMAIL PROTECTED]
\multidocount=\count88
[EMAIL PROTECTED]
))
(/usr/share/texmf/tex/latex/graphics/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)

(/usr/share/texmf/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
[EMAIL PROTECTED]@=\toks15
)
(/usr/share/texmf/tex/latex/graphics/graphics.sty
Package: graphics 2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR)

(/usr/share/texmf/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(/usr/share/texmf/tex/latex/config/graphics.cfg
File: graphics.cfg 2001/08/31 v1.1 graphics configuration of teTeX/TeXLive
)
Package graphics Info: Driver file: dvips.def on input line 80.

(/usr/share/texmf/tex/latex/graphics/dvips.def
File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
))
[EMAIL PROTECTED]@height=\dimen103
[EMAIL PROTECTED]@width=\dimen104
)
(/usr/share/texmf/tex/latex/xcolor/xcolor.sty
Package: xcolor 2004/07/04 v2.00 LaTeX color extensions (UK)

(/usr/share/texmf/tex/latex/config/color.cfg
File: color.cfg 2001/08/31 v1.1 color configuration of teTeX/TeXLive
)
Package xcolor Info: Driver file: dvips.def on input line 136.
Package xcolor Info: Color model `cmy' added on input line 972.
Package xcolor Info: Color model `HTML' added on input line 1000.
Package xcolor Info: Color model `HSB' added on input line 1006.
Package xcolor Info: Color model `Gray' added on input line 1012.
)
\omrx=\skip43
 (./omr-form.aux)
\openout1 = `omr-form.aux'.

LaTeX Font Info:Checking defaults for OML/cmm/m/it on input line 29.
LaTeX Font Info:... okay on input line 29.
LaTeX Font Info:Checking defaults for T1/cmr/m/n on input line 29.
LaTeX Font Info:... okay on input line 29.
LaTeX Font Info:Checking defaults for OT1/cmr/m/n on input line 29.
LaTeX Font Info:... okay on input line 29.
LaTeX Font Info:Checking defaults for OMS/cmsy/m/n on input line 29.
LaTeX Font Info:... okay on input line 29.
LaTeX Font Info:Checking defaults for OMX/cmex/m/n on input line 29.
LaTeX Font Info:... okay on input line 29.
LaTeX Font Info:Checking defaults for U/cmr/m/n on input line 29.
LaTeX Font Info:... okay on input line 29.
LaTeX Font Info:Try loading font information for OT1+ppl on input line 29.

(/usr/share/texmf/tex/latex/psnfss/ot1ppl.fd
File: ot1ppl.fd 2001/06/04 font definitions for OT1/ppl.
)
LaTeX Font Info:Try loading font information for OT1+phv on input line 31.

(/usr/share/texmf/tex/latex/psnfss/ot1phv.fd
File: ot1phv.fd 2001/06/04 scalable font definitions for OT1/phv.
)
File: aesi-logo.eps Graphic file (type eps)
 
! Too many }'s.
l.68   }

? q
OK, entering \batchmode...

Overfull \hbox (868.3772pt too wide) in paragraph at lines 65--69
[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][
][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][]
 []


Underfull \hbox (badness 1) in paragraph at lines 65--69

 []

LaTeX Font Info:Try loading font information for OMS+phv on input line 71.
 (/usr/share/texmf/tex/latex/psnfss/omsphv.fd
File: omsphv.fd 
)
LaTeX Font Info:Font shape `OMS/phv/m/n' in size <10> not available
(Font)  Font shape `OMS/cmsy/m/n' tried instead on input line 71.
 [1

] (./omr-form.aux) ) 
Here is how much of TeX's memory you used:
 1024 strings out of 95847
 12165 string characters out of 1195949
 61236 words of memory out of 101
 3992 multiletter control sequences out of 1+5
 5279 words of font info for 17 fonts, out of 50 for 1000
 14 hyphenation exceptions out of 1000
 25i,5n,38p,202b,225s stack positions out of 1500i,500n,5000p,20b,5000s


Re: Broke Document and Cannot Locate Reason

2005-07-07 Thread Herbert Voss

Rich Shepard wrote:

  While cleaning up my OMR form I broke something and just cannot see where
the problem is located. When I try running latex on the file it halts with
this:

(/usr/share/texmf/tex/latex/psnfss/ot1phv.fd) 
! Too many }'s.
l.68   }

  I have gone through the file and emacs shows each closing brace has a
matching opening brace. The .log file is no more helpful -- to me. I need a
new pair of eyes to see what I keep missing. The document is below and the
log file is attached.


then throw away your emacs ... :-)
my mc (the unix like norton commander) shows it ...


%% Make nR rows of 9 ovals for answers
  \multido{\nRow=1+1}{\nR}{%
\makebox[\omrx]{\nRow}}
\multido{}{9}{\makebox[7mm]{\OLeft}} \hspace{3.2cm} %
\multido{}{8}{\makebox[7mm]{\OLeft}}\\[2mm]
  }


Herbert



Re: Broke Document and Cannot Locate Reason

2005-07-07 Thread Rich Shepard

On Thu, 7 Jul 2005, Herbert Voss wrote:


 }

   ^ I wonder where that came from! How strange.

Thanks, Herbert,

Rich

--
Dr. Richard B. Shepard, President  | Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic"
   Voice: 503-667-4517   Fax: 503-667-8863


Re: Broke Document and Cannot Locate Reason

2005-07-07 Thread Rich Shepard

On Thu, 7 Jul 2005, Rich Shepard wrote:


On Thu, 7 Jul 2005, Herbert Voss wrote:


 }

  ^ I wonder where that came from! How strange.


  Well, that closing brace was correct, there was a missing opening brace
that I had inadvertently deleted. It's all fixed now.

  On to trying to get the headers on each page after the first ...

Rich

--
Dr. Richard B. Shepard, President  | Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic"
   Voice: 503-667-4517   Fax: 503-667-8863


Conditional, Repeating Text Within \multido Loop

2005-07-07 Thread Rich Shepard

  My document has two headers that label columns:

%% Overall headings
\hspace{5mm} \makebox[9\omrx]{PREFER FIRST} %
\hspace{3.5cm} \makebox[8\omrx]{PREFER SECOND}

\vspace{2ex}

%% Put headings on columns
\hspace*{1.2\omrx}\multido{\nColumn=1+1}{9}{\makebox[\omrx]{\nColumn}}% 
\hspace*{3.2cm}\multido{\nColumn=2+1}{8}{\makebox[\omrx]{1/\nColumn}}


\vspace{1ex}

  The columns they label are created by this set of nested multido loops:

%% Make nR rows of ovals for answers
  \multido{\nRow=1+1}{\nR}{ %
 \makebox[\omrx]{\nRow}
 \multido{}{9}{\makebox[7mm]{\OLeft}} \hspace{3.2cm}
 \multido{}{8}{\makebox[7mm]{\OLeft}}\\[2mm] }

  I would like to learn how to use LaTeX's counters to determine when a page
has ended and how to then print both headings on top of the new page. A page
number is not necessary as the rows are numbered. With the header on the
first page, 29 rows are printed. Subsequent pages -- so far without column
labels -- contain 34 rows.

  Is the strategy to increment a counter after the third \multido, then
re-run the column header code after each 29 rows have been printed?

TIA,

Rich

--
Dr. Richard B. Shepard, President  | Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic"
   Voice: 503-667-4517   Fax: 503-667-8863


Re: Conditional, Repeating Text Within \multido Loop

2005-07-07 Thread Todd Denniston
Rich Shepard wrote:
> 

>I would like to learn how to use LaTeX's counters to determine when a page
> has ended and how to then print both headings on top of the new page. A page
> number is not necessary as the rows are numbered. With the header on the
> first page, 29 rows are printed. Subsequent pages -- so far without column
> labels -- contain 34 rows.
> 
>Is the strategy to increment a counter after the third \multido, then
> re-run the column header code after each 29 rows have been printed?

I was thinking you might be able to do some thing like 
\newcounter{RScurpage}
\setcounter{RScurpage}{\value{page}}
%then (I don't know the LaTeX for this, so its a mix C and LaTeX)
if ( \value{RScurpage} < \value{page})
   {
print headers again
\setcounter{RScurpage}{\value{page}}
   }

i.e., every time page increments you know it is time to print a new header.

I got the commands I used above from the following two pages:
http://theoval.cmp.uea.ac.uk/~nlct/latex/novices/node69.html

http://www.tex.ac.uk/cgi-bin/texfaq2html?label=addtoreset

Hope it helps.
-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter


1.3.6pre and 1.4 windows

2005-07-07 Thread Geoffrey Lloyd
A question to anyone that might know the answer. With the large amount of work 
going into Lyx 1.3.6 for Windows am I to assume the following

1) Lyx 1.4 release is a long way off

2) It won't be released for Windows, at least initially.

Any ideas?

Geoff

Re: Conditional, Repeating Text Within \multido Loop

2005-07-07 Thread Rich Shepard

On Thu, 7 Jul 2005, Todd Denniston wrote:


I was thinking you might be able to do some thing like
\newcounter{RScurpage}
\setcounter{RScurpage}{\value{page}}
%then (I don't know the LaTeX for this, so its a mix C and LaTeX)
if ( \value{RScurpage} < \value{page})
  {
print headers again
\setcounter{RScurpage}{\value{page}}
  }


Todd,

  Thanks for the reply. I know how to set up counters, but I'm not sure they
would work within a set of nested \multido{}. More research -- on my part --
is required.

Rich

--
Dr. Richard B. Shepard, President  | Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)  | Impact Assessments Using Fuzzy Logic"
   Voice: 503-667-4517   Fax: 503-667-8863


adding list of figures etc in TOC

2005-07-07 Thread Vaibhav Srivastava

HI all,
 Currently TOC does not include list of tables, figures and 
bibliography. How to include them in final output.


Thanks

--
Vaibhav Srivastava
Graduate Student,
Department of Electrical and Computer Engineering,
North Carolina State University,
Raleigh,NC
[EMAIL PROTECTED]
Phone: 919 412 4073




Re: 1.3.6pre and 1.4 windows

2005-07-07 Thread Angus Leeming
Geoffrey Lloyd wrote:

> A question to anyone that might know the answer. With the large amount of
> work going into Lyx 1.3.6 for Windows am I to assume the following
> 
> 1) Lyx 1.4 release is a long way off

It's only a long way off because there aren't enough developers who are
currently active. Nothing but bug fixes are being committed to the 1.4
tree and they're being committed at a fairly steady rate. Jürgen
Spitzmüller, Martin Vermeer and Georg Baum are real heros in this regard.

> 2) It won't be released for Windows, at least initially.

What makes you say that? Nothing is committed to the 1.3.x tree without
also being committed to the 1.4 tree.

There's a large amount of work going into LyX/Win 1.3.6pre because of the
fantastic bug reports that a heap of volunteers are posting. Squashing
these bugs is really very rewarding ;-) See
http://wiki.lyx.org/Windows/LyX136pre#changelog

> Any ideas?

Some, but I try not to boast.

> Geoff
-- 
Angus



Re: adding list of figures etc in TOC

2005-07-07 Thread Geoffrey Lloyd


- Original Message - 
From: "Vaibhav Srivastava" <[EMAIL PROTECTED]>

To: "Lyx-Users" 
Sent: Thursday, July 07, 2005 11:13 PM
Subject: adding list of figures etc in TOC



HI all,
 Currently TOC does not include list of tables, figures and bibliography. 
How to include them in final output.


Use the package tocbibind

If you just use the defaults this also includes the ToC in the ToC so use 
the option notoc


\usepackage[notoc]{tocbibind}

Hope this works for you.  Further options can be found in the tocbibind 
package docs








Thanks

--
Vaibhav Srivastava
Graduate Student,
Department of Electrical and Computer Engineering,
North Carolina State University,
Raleigh,NC
[EMAIL PROTECTED]
Phone: 919 412 4073







Re: adding list of figures etc in TOC

2005-07-07 Thread Geoffrey Lloyd

HI all,
 Currently TOC does not include list of tables, figures and bibliography. 
How to include them in final output.


Use the package tocbibind

If you just use the defaults this also includes the ToC in the ToC so use 
the option notoc


\usepackage[notoc]{tocbibind}


my apologies, this should read [nottoc] instead



Re: View problem with TOC and cross referencing

2005-07-07 Thread Roger McMurtrie
On Thu, 7 Jul 2005 12:22 am, Todd Denniston wrote:
> Roger McMurtrie wrote:
> > I don't have a \fontscheme in lyx, nor can I see it in the LaTeX log file
> > (View->LaTeX Logfile).
>
> It would actually be in the .lyx file and you would need to use
> less||vi||cat||grep||notepad to see it, it is a LyX setting from a dialog.
> the "xset:  bad font path element ..." seems rather un-helpful except that
> it tells you there is a problem with fonts, I was trying to figure out
> which font it did not like. I am not sure it is related to the problem, but
> the programmer in me wants all warnings cleaned up to be sure they are
> unrelated to the problem :).
>


I absolutely agree with "programmer in me". So many of the messages in the 
LaTeX environment are pretty unhelpfull.
I can't find a .lyx file anywhere.
There is a .lyx directory in my home directory that contains a number of 
sub-directories and other files, such as preferences, but I can't find 
anything with \fontscheme in it.
However, I did a -- grep fontscheme ./* -- which produced nothing in my home 
directory but, in my working directory, produced:

./thesis5.lyx:\fontscheme default

This is not a structure I recognize.
Oh, maybe you meant .lyx, I was looking for some sort of hidden 
control file called ".lyx"?

I tried  less||vi||cat||grep||notepad on a lyx file and, sure enough, I got:

#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

followed by the main content.


With the help of Lyx Help->Customization Section 5.4 telling me about 
defaults.lyx, I located defaults.lyx in my home/.lyx/templates directory but 
can't see how to set up the fontscheme.


Well, now I tried  less||vi||cat||grep||notepad on defaults.lyx and got a 
preamble that looks more like the preferences that I set up for my lyx file 
but doesn't include a  /fontscheme.

From Help->Customization Section 5.4, maybe I should set Document templates: 
in the Lyx preferences dialogue to my home/.lyx/templates directory instead 
of its current setting which is /usr/local/share/lyx/templates/ ?? I'm a bit 
confused!

Thanks for your help


Roger