Re: Option to get Thesaurus

2005-01-28 Thread Jean-Marc Lasgouttes
 Paul == Paul Smith [EMAIL PROTECTED] writes:

Paul On Thu, 27 Jan 2005 17:05:33 -0500, Michael Wojcik
Paul [EMAIL PROTECTED] wrote:
 My understanding of one of Jean-Marc's comments in this thread was
 that he only just now fixed the configure script to note that
 Aiksaurus had been found during configuration.

Paul You are right, Michael: Jean-Marc said so. However, he is not
Paul right, apparently. In fact, after having made the symbolic link
Paul suggested by you, I proceeded with make and make install, and
Paul the final result was successful, i.e., Aiksaurus was finally
Paul made available inside LyX. In spite of this fact, no mention to
Paul Aiksaurus was made at the end of the command configure.

The change of the output of the configure command has been done in
1.3.6cvs and 1.4.0cvs. Is this what you are using? 

If you do have access to cvs, there is some testing that I would like
you to do (I do not have aiksaurus here). Basically, I think we do not
need libbz2 to make it work. Could you try a patch if I produced one?

JMarc


Re: Option to get Thesaurus

2005-01-28 Thread Paul Smith
On Fri, 28 Jan 2005 10:02:39 +0100, Jean-Marc Lasgouttes
[EMAIL PROTECTED] wrote:
 The change of the output of the configure command has been done in
 1.3.6cvs and 1.4.0cvs. Is this what you are using?
 
 If you do have access to cvs, there is some testing that I would like
 you to do (I do not have aiksaurus here). Basically, I think we do not
 need libbz2 to make it work. Could you try a patch if I produced one?

Jean-Marc,

I am using LyX 1.3.5. However, I can try your package if you tell me
how to get the 1.3.6cvs version of LyX. (I can get the 1.4.0cvs from
ftp.sylvan.com, but not the 1.3.6cvs.)

Regards,

Paul


Re: accents no work

2005-01-28 Thread Angus Leeming
Christopher Winkler wrote:
 Kile is able to do it, so there must be a solution.

I don't think that the two statements can be connected

Kile is a pure Qt-app so all the magic is handled internally by Qt. LyX is
not a pure Qt app so everything must be translated at the boundary bwtween
the LyX core and the Qt libraries. Sometimes we mess up. Sometimes Qt do.
We have some control over our own mess ups.

Note that I'm not saying who's fault this particular bug is ;-)

-- 
Angus



Re: follow-up: relyx / lyx2lyx problems -- next bug

2005-01-28 Thread Jose' Matos
On Thursday 27 January 2005 22:27, Sven Schreiber wrote:

 from-relyx
 # The reLyX bundled with LyX 1.3 created this file.
 # For more info see http://www.lyx.org/
 \lyxformat 2.15
 \textclass article
 \use_natbib 0
 \use_numerical_citations 0

 \layout Standard



 \LyXTable
 multicol5
 1 2 0 0 0 0 0 0
 0 0 0 0

  This line is bogus. This is clearly wrong, it shouldn't be here.
  The line above says that this table has 1 line and two columns.

  Bellow we have discription for the columns and then for all cells (2), so 
this line is completly wrong. :-(

 8 0 0  
 8 0 0  
 0 8 0 0 0 0 0  
 0 8 0 0 0 0 0  


 \begin_inset Formula \( 7
 \latex latex

 \backslash )*
 \latex default
 *
 \newline

 \begin_inset Formula \( 4
 \latex latex

 \backslash )*
 \latex default
 *
 \newline


 \the_end
 /from-relyx

 Now I don't know much about the lyx-format, but this looks a bit strange
 considering where it came from... With this input, lyx2lyx hangs!
 forever.

  lyx2lyx must trust in some way the input file. It is very difficult to 
distinguish and guard against all the different possibilities. At least 
with regard to older lyx formats. That is one of the main reasons why we 
have been cleaning the file format in 1.4, actually we had more file format 
changes in 1.4 than all the previous versions combined. (!) :-)

 Workaround/solution: put a blank after the closing $, like this:
 $x$ **.

 (@Günter Milde: next item for the latex-import-wiki: avoid having
 something directly after the closing math-$.)

 Note that if a thing like $x$** exists only once in the source, then
 lyx2lyx doesn't hang but the output is of course not what it's intended
 to be. And if the source is just the line $7$**  $4$** (without the
 tabular), same thing: no hang, but strange lyx output.

 Hey -- wait a minute: relyx is written in perl, right? Maybe $* gets
 evaluated directly by perl although it's not supposed to be? (Don't know
 what's the special meaning of $* in perl.) Oh well, just a wild idea.

 I hope this is useful for the relyx-programmer(s) to squash the bug...

  That is the problem. The perl code can be quite difficult to grok, and no 
one here has enough knowledge to fix it. :-(

 -sven

-- 
José Abílio


solved: beginner question: cyrillic

2005-01-28 Thread Christopher Winkler
Am Do Januar 27 2005 23:33 schrieb Matej Cepl:

 Whatever you do in kile, you should principally be able to do with ERT in
 LyX (ERT = Evil Red Text, which is a method how to write LaTeX commands
 directly in LyX). Generally speaking, the true solution for your problem of
 multi-encoded documents will come when LaTeX will fully support Unicode,
 which is unfortunately not the case yet.

Thank you, that was it! Great!
For all interested in how to do this: Get the cyrillic.sty package from your 
closest ctan-sever. Install it into the proper LaTeX-Folder. Run texhash as 
root. Start LyX and let it reconfigure.
Than add \usepackage{cyrillic} to the LaTeX-Preamble in the format/document 
section. Than add any text with latin letters with ERT and the command 
\textcyrsf{any text}. Then start dvi and be happy!
For further questions - ask me.

Christopher



how to export lyx files to ascii with bibtex references ?

2005-01-28 Thread Martin A. Hansen
hello


i would like to save my document to ascii text, but bibtex references
are not saved. is there a way to solve this?



best regards


martin


Re: how to export lyx files to ascii with bibtex references ?

2005-01-28 Thread Angus Leeming
Martin A. Hansen wrote:
 I would like to save my document to ascii text, but bibtex references
 are not saved. is there a way to solve this?

You mean that they are cited in the text, but that there's no Reference
section at the end of the document with the cited entries? That's not
easy.

You can do it with a bit of hacking and a script though.

First, gather together all your citations:

$ sed -n -f citation_keys.sed yourfile.lyx | sort -u | \
  sed -f citation_1liner.sed  citation_keys.txt

I attach both sed files.

Then, use this dataset to create yet another sed script and use that to
modify the attached script, bib2bbl.sh.in

$ sed s/CITATION_DATA/`cat citation_keys.txt`/ bib2latex.sh.in  \
  bib2latex.sh

Finally, run this shell script to generate a latex file of your references.
Something like:

$ sh bib2latex.sh docs/references.bib citations.tex plainnat article

where docs/references.bib is my BibTeX database and the output is to go in
citations.tex

You should even be able to import this document into LyX and output as
ASCII ;-)

Hope it works but caveat emptor.

-- 
Angus

bib2latex.sh.in
Description: application/shellscript
:loop
$!{
N
s/\n/,/
tloop
}
# We're interested only in the lines containing citation insets
/^\\begin_inset LatexCommand \\cite/{

# Extract the keys
s/^\\begin_inset LatexCommand \\cite[^{]*{\([^}]*\)} */\1/

# Split multiple, comma-separated keys onto multiple lines
s/,/\
/g

# Print the output
p
}


Re: how to export lyx files to ascii with bibtex references ?

2005-01-28 Thread G. Milde
On 28.01.05, Martin A. Hansen wrote:
 hello
 
 
 i would like to save my document to ascii text, but bibtex references
 are not saved. is there a way to solve this?

You could run a dvi to ASCII converter (like dvi2tty) after exporting to dvi.
See man dvi2tty for usage. 
The output quality is said to be low, though.

You could even define a new ASCII(dvi2tty) format and converters in
EditPreferences to get an FileExportASCII(dvi2tty) entry.

Günter



-- 
G.Milde web.de


Re: Option to get Thesaurus

2005-01-28 Thread Jean-Marc Lasgouttes
 Paul == Paul Smith [EMAIL PROTECTED] writes:

Paul I am using LyX 1.3.5. However, I can try your package if you
Paul tell me how to get the 1.3.6cvs version of LyX. (I can get the
Paul 1.4.0cvs from ftp.sylvan.com, but not the 1.3.6cvs.)

OK, in 1.3.5, find in config/confgure.ac the bit of code that reads:

AC_ARG_WITH(aiksaurus,
  [  --without-aiksaurus do not use the Aiksaurus library],
  [lyx_use_aiksaurus=$withval])
if test x$lyx_use_aiksaurus != xno; then
AC_CHECK_LIB(Aiksaurus, main,
[AC_DEFINE(HAVE_LIBAIKSAURUS,1,[Define this if you have the AikSaurus 
library])
 AIKSAURUS_LIBS=-lAiksaurus -lbz2
],,-lbz2)

Replace the last line with
])

[this means that we think aiksaurus does not need the libbz2 library
to operate]

Then run ./autoconf.sh and the configure as usual. Does it (still)
work?

JMarc


Re: Spacing in List of Tables

2005-01-28 Thread Stephen Buonopane
  This is one the copyeditor caught. In the list of tables, the table
numbers are left-aligned and there's a small space between the number 
and
the table caption. This works fine until it gets to Chapter 12, Table 
10 and
beyond. With the four digits (and separating period; e.g., 12.10) 
there is
no longer a space between the digits and the title.

Rich,
I think this will take a bit of latex hacking, but there might also be 
some package out there that does this?
The command \listoftables uses a predefined List environment, so you 
need to change \labelwidth that is defined by \listoftables. My first 
try would be to use a \renewcommand. You might also dig around in your 
tex tree a bit and look at the Latex code that is invoked by 
\listoftables.

Steve


Re: Option to get Thesaurus

2005-01-28 Thread Paul Smith
On Fri, 28 Jan 2005 15:43:38 +0100, Jean-Marc Lasgouttes
[EMAIL PROTECTED] wrote:
 Then run ./autoconf.sh and the configure as usual. Does it (still)
 work?

There is no ./autoconf.sh, Jean-Marc. Do you mean ./autogen.sh?

Paul


Re: Option to get Thesaurus

2005-01-28 Thread Jean-Marc Lasgouttes
 Paul == Paul Smith [EMAIL PROTECTED] writes:

Paul On Fri, 28 Jan 2005 15:43:38 +0100, Jean-Marc Lasgouttes
Paul [EMAIL PROTECTED] wrote:
 Then run ./autoconf.sh and the configure as usual. Does it (still)
 work?

Paul There is no ./autoconf.sh, Jean-Marc. Do you mean ./autogen.sh?

Yes, sorry.

JMarc


Re: Option to get Thesaurus

2005-01-28 Thread Michael Wojcik
Paul Smith wrote:
In fact, after having made the symbolic link suggested by
you, I proceeded with make and make install, and the final result was
successful, i.e., Aiksaurus was finally made available inside LyX. In
spite of this fact, no mention to Aiksaurus was made at the end of the
command configure.
Glad to hear it.
I've done a draft Wiki Tips page for this hint:
http://wiki.lyx.org/pmwiki.php/Playground/MwojcikWikiSandbox
If there are no objections, I'll try adding it to the Tips section. 
(This is my first Wiki piece, so I thought I'd give the experts a chance 
to glance over it first.)

I can also do a Tip for my Windows lyx2lyx.cmd hack.
--
Michael Wojcik


Re: LyX-TeX Log Location?

2005-01-28 Thread Michael Wojcik
Rich Shepard wrote:
On Thu, 27 Jan 2005, G. Milde wrote:
Another guess is, that you saw the standard output of LyX and programs it
called (like bibtex). If you start LyX from a x-terminal emulator, you
will see a lot of messages (and with the -dbg something option even
more.
  I used -dbg 128 but didn't see the same messages as before. Oh, well.
Something else worth trying, in general, is to run an X console window 
(with a program like xconsole, or an xterm with the -C option to become 
the system console), so that console messages aren't hidden until you 
exit X.

Some of this ends up in ~./xsession-errors.
  Don't have one of those on my system.
It's actually ~/.xsession-errors - that is, a file named 
.xsession-errors in your home directory.

--
Michael Wojcik


accents no work (new)

2005-01-28 Thread =?iso-8859-1?q?Marcelo=20Acu=FFfffff1a?=
Hello,
Thanks Ingar, Angus, Helge, Günter, Christopher, Martin, Jose, ...
I will search for an upgrade to Suse 9.2, Kde 3.3.
 
Marcelo
 




-
 250MB gratis, Antivirus y Antispam
 Correo Yahoo!, el mejor correo web del mundo
 Abrí tu cuenta aquí

(Chapter*) in Table of Contents?

2005-01-28 Thread =?iso-8859-1?q?Marcelo=20Acu=FFfffff1a?=


Hello

I am writing a long book. This book have: (in spanish)

Preface (Chapter*)

Acknowledgments (Chapter*)

Introduccion (Chapter*)

Chapter 1 (Chapter)

Chapter 2 (Chapter)

and so on,

I want that Preface, and so on, appears in Table of Contents.

I want that Preface ... Introducción no appears in TOC with numbers like 
Chapters.

How I can get it?

Thanks.

Marcelo

 

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar

Re: Option to get Thesaurus

2005-01-28 Thread Paul Smith
On Fri, 28 Jan 2005 15:43:38 +0100, Jean-Marc Lasgouttes
[EMAIL PROTECTED] wrote:
 OK, in 1.3.5, find in config/confgure.ac the bit of code that reads:
 
 AC_ARG_WITH(aiksaurus,
   [  --without-aiksaurus do not use the Aiksaurus library],
   [lyx_use_aiksaurus=$withval])
 if test x$lyx_use_aiksaurus != xno; then
 AC_CHECK_LIB(Aiksaurus, main,
 [AC_DEFINE(HAVE_LIBAIKSAURUS,1,[Define this if you have the AikSaurus 
 library])
  AIKSAURUS_LIBS=-lAiksaurus -lbz2
 ],,-lbz2)
 
 Replace the last line with
 ])
 
 [this means that we think aiksaurus does not need the libbz2 library
 to operate]
 
 Then run ./autoconf.sh and the configure as usual. Does it (still)
 work?

Jean-Marc,

I did as you suggested and it worked, i.e., Aiksaurus has been made
available inside LyX.

Regards,

Paul


Re: how to export lyx files to ascii with bibtex references ?

2005-01-28 Thread Matej Cepl
G. Milde wrote:
 i would like to save my document to ascii text, but bibtex references
 are not saved. is there a way to solve this?
 
 You could run a dvi to ASCII converter (like dvi2tty) after exporting to
 dvi. See man dvi2tty for usage.
 The output quality is said to be low, though.
 
 You could even define a new ASCII(dvi2tty) format and converters in
 EditPreferences to get an FileExportASCII(dvi2tty) entry.

Alternatively use some export to HTML and then run the result with lynx
-dump.

Matej

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
There's a long-standing bug relating to the x86 architecture that
allows you to install Windows.
-- Matthew D. Fuller




Re: Option to get Thesaurus

2005-01-28 Thread Jean-Marc Lasgouttes
 Paul == Paul Smith [EMAIL PROTECTED] writes:

Paul I did as you suggested and it worked, i.e., Aiksaurus has been
Paul made available inside LyX.

Thanks for the testing. I will do this change then.

JMarc


Re: Spacing in List of Tables

2005-01-28 Thread =?ISO-8859-1?Q?Uwe_St=F6hr?=
Rich Shepard wrote:
In the list of tables, the table
numbers are left-aligned and there's a small space between the number and
the table caption. This works fine until it gets to Chapter 12, Table 10 
and beyond. With the four digits (and separating period; e.g., 12.10) there is
no longer a space between the digits and the title.
To change this, redefine the [EMAIL PROTECTED] commands. They are described in 
detail in the book The LaTeX Companion 2nd Edition in sec. 2.3.2 (p.49).

regards Uwe


Re: Spacing in List of Tables

2005-01-28 Thread Rich Shepard
On Sat, 29 Jan 2005, Uwe Stöhr wrote:
To change this, redefine the [EMAIL PROTECTED] commands. They are described in
detail in the book The LaTeX Companion 2nd Edition in sec. 2.3.2 (p.49).
Uwe,
  Thank you very much. TLC2 is right here at my desk as I write; it answers
many of my questions, but sometimes I need a pointer.
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863

Re: Spacing in List of Tables

2005-01-28 Thread Rich Shepard
On Sat, 29 Jan 2005, Uwe Stöhr wrote:
To change this, redefine the [EMAIL PROTECTED] commands. They are described in 
detail in the book The LaTeX Companion 2nd Edition in sec. 2.3.2 (p.49).
Uwe,
  On page 50 I read that changes to [EMAIL PROTECTED] should be made in the 
class
file. Do I change Springer's svmono class or put the redefinition in the
preamble?
Thanks again,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863

Re: (Chapter*) in Table of Contents?

2005-01-28 Thread =?ISO-8859-1?Q?Uwe_St=F6hr?=
Marcelo Acuÿf1a wrote:
This book have:
Preface (Chapter*)
Acknowledgments (Chapter*)
Introduccion (Chapter*)
I want that Preface, and so on, appears in Table of Contents.
I want that Preface ... Introducción no appears in TOC with numbers like 
Chapters.
Use after the chapter names the command
\addcontentsline{ext}{type}{text}
in ERT. ext is the file extension for the list: toc for the TOC, 
lof for the list of figures, and lot for the list of tables. type 
is the paragraph type, in your case chapter.
E.g. for Preface, you have to write:

\addcontentsline{toc}{chapter}{\protect\numberline{}Preface}
The commands \protect\numberline{} are added to indent the toc entry 
so that it is at the position of normal chapters entries, that have a 
number at the beginning. (look at the attached example)

Note: If you're using a koma-script class, you can directly use the 
Addchap environment for chapters that should appear without numbers in 
the toc.

regards Uwe
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrbook
\options fleqn
\language english
\inputencoding auto
\fontscheme ae
\graphics default
\paperfontsize 12
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 4
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle empty
\bullet 1
1
34
-1
\end_bullet
\bullet 2
2
35
-1
\end_bullet
\bullet 3
2
7
-1
\end_bullet

\layout Standard


\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\layout Chapter*

Preface
\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
addcontentsline{toc}{chapter}{
\backslash 
protect
\backslash 
numberline{}Preface}
\end_inset 


\layout Chapter*

Acknowledgements
\layout Chapter*

Introductions
\layout Chapter

Chapter
\the_end


Re: Spacing in List of Tables

2005-01-28 Thread Uwe Stöhr
Rich Shepard schrieb:
Do I change Springer's svmono class or put the redefinition in the
preamble?
I put them in the preamble, e.g.:
[EMAIL PROTECTED]@dottedtocline{2}{1.5em}{2.8em}}
[EMAIL PROTECTED]@dottedtocline{3}{4.3em}{3.6em}}
regards Uwe


Re: Spacing in List of Tables

2005-01-28 Thread Rich Shepard
On Sat, 29 Jan 2005, Uwe Stöhr wrote:
I put them in the preamble, e.g.:
[EMAIL PROTECTED]@dottedtocline{2}{1.5em}{2.8em}}
[EMAIL PROTECTED]@dottedtocline{3}{4.3em}{3.6em}}
Uwe,
  Danke!
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863

Re: Spacing in List of Tables

2005-01-28 Thread Rich Shepard
On Sat, 29 Jan 2005, Uwe Stöhr wrote:
I put them in the preamble, e.g.:
[EMAIL PROTECTED]@dottedtocline{2}{1.5em}{2.8em}}
[EMAIL PROTECTED]@dottedtocline{3}{4.3em}{3.6em}}
Uwe,
  My situation is illustrated at the bottom of page 51 (see example for
10.10). On page 52 the recommeded fix is to use
\makeatletter
[EMAIL PROTECTED]@dottedtocline}{2}{1.5em}{3em}}
\makeatother
  But they also recommend adjusting other commands, too, to keep a balanced
look. Is that the purpose of changing subsubsection, too?
  I've tried your examples (at the top) with more room on the last
parameter, but it seems to make no difference when I look at the dvi output
in gv.
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863

Re: (Chapter*) in Table of Contents?

2005-01-28 Thread =?iso-8859-1?q?Marcelo=20Acu=FFfffff1a?=

Thanks, Uwe.

Marcelo Acuña. 

San Marcos Sierras. Córdoba. Argentina.


__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar

Re: Spacing in List of Tables

2005-01-28 Thread =?UTF-8?B?VXdlIFN0w7Zocg==?=
Rich Shepard wrote:
\makeatletter
[EMAIL PROTECTED]@dottedtocline}{2}{1.5em}{3em}}
\makeatother
Only for information: You don't need the \makeatxxx commands when you 
use them in the preamble, because LyX does this automatically in the 
background.

  But they also recommend adjusting other commands, too, to keep a balanced
look. Is that the purpose of changing subsubsection, too?
Changing the [EMAIL PROTECTED] command is not always necessary, its your 
decision what looks nice and what not.
I changed it because I have subsubsections with long numbers in my 
document (something like 12.13.17).

  I've tried your examples (at the top) with more room on the last
parameter, but it seems to make no difference when I look at the dvi output
in gv.
Play a bit with the parameter values, my examples are optimized for 
another book class and a special font width.
(If nothing helps, try to define the commands with \AtBeginDocument.)

regards Uwe


Re: Spacing in List of Tables

2005-01-28 Thread Rich Shepard
On Sat, 29 Jan 2005, [UTF-8] Uwe Stöhr wrote:
I changed it because I have subsubsections with long numbers in my
document (something like 12.13.17).
Uwe,
  I have a problem with only two tables in the List of Tables: 12.10 and
12.11. There's no problem in the Table of Contents or List of Figures.
Play a bit with the parameter values, my examples are optimized for
another book class and a special font width. (If nothing helps, try to
define the commands with \AtBeginDocument.)
  I've made the {numwidth} field 5.8em! The space is clearly visible in the
Table of Contents but no effect on the List of Tables. ARRRGGGHH-H-H-H!
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863

Re: Spacing in List of Tables

2005-01-28 Thread Rich Shepard
On Sat, 29 Jan 2005, [UTF-8] Uwe Stöhr wrote:
Play a bit with the parameter values, my examples are optimized for
another book class and a special font width. (If nothing helps, try to
define the commands with \AtBeginDocument.)
Uwe,
  Please excuse my frustration. Here's what I've learned from my
experimentation:
  1.) With the [EMAIL PROTECTED] in the preamble, the spacing is
drastically altered, but the List of Tables still has 10.10 and 10.11
smashed against the text.
  2.) With the [EMAIL PROTECTED] in an ERT box between the gray
placeholder boxes for List of Figures and List of Tables, the literal
command prints at the end of the List of Figures and the two problem table
numbers have no more spacing.
  Searching through Chapter 2 of TLC2 (and checking the index) I don't see a
way to increase number spacing for only the .lot entries. Is there such a
way? Perhaps I did not have the LaTeX commands properly formatted in the ERT
box and that's why it was read as literal text rather than a command.
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863

Re: Spacing in List of Tables

2005-01-28 Thread Herbert Voss
Rich Shepard wrote:
  1.) With the [EMAIL PROTECTED] in the preamble, the spacing is
drastically altered, but the List of Tables still has 10.10 and 10.11
smashed against the text.
http://TeXnik.de/tocloft/TOC.phtml#label
using tocloft.sty for this is easier
  2.) With the [EMAIL PROTECTED] in an ERT box between the gray
placeholder boxes for List of Figures and List of Tables, the literal
command prints at the end of the List of Figures and the two problem table
numbers have no more spacing.
all should go into the preamble
Hebrert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


Re: failed import of latex doc (relyx produces something that causes lyx2lyx to hang)

2005-01-28 Thread Andre Poenitz
On Wed, Jan 26, 2005 at 06:59:29PM -0500, Michael Wojcik wrote:
 I understand that that wouldn't work even if it had a .py extension.
 That mechanism is triggered only if you click on the blighter or such
 like. Apparently. The only sure fire way to get things working is to
 invoke it as python path to/lyx2lyx.
 
 Actually, at least in XP (and, presumably, Win2003), if the association
 for the py file extension is correct, running foo.py from the command
 line works fine, as does eg system(foo.py).  I didn't bother testing
 OS functions like CreateProcess, or check the source to see how lyx2lyx
 is being run.  It's a bit moot as long as lyx2lyx doesn't have an extension.

It has no extension.

Andre'


Re: How to cross reference a float

2005-01-28 Thread Andre Poenitz
On Wed, Jan 26, 2005 at 11:41:56AM -0500, Steve Litt wrote:
 Seriously, there's got to be some way to make it easier. Your method
 of fig: is a start, and makes things tolerable (THANKS!), but I'm
 wondering if something could be done with automatic labels or maybe
 local labels.

I think one thing that could and should be offered is to add the
possibility to create a label in the 'insert reference' dialog. I
usually write someting, notice that I need to refere to some place, then
need ages to scroll up to that place, insert the label, go down again,
insert the reference. Having a box where all unlabled chapters and
figures are listed ready for labeling would simplify that task
enourmously.

Andre'


Re: Latex output of xfig

2005-01-28 Thread Andre Poenitz
On Wed, Jan 26, 2005 at 01:03:29PM -0700, LB wrote:
 Hello,
 
 When I generate Latex part (.pstex_t) of a xfig picture, xfig inserts: 
 \color[rgb]{0,0,0} in front of every line of text in the pstex_t document. 
 Lyx seem to have a problem with \color[rgb]{0,0,0}.  As soon as edit 
 .pstex_t file and remove \color[rgb]{0,0,0} Lyx becomes happy again.
 
 Is there a way of making Lyx understand .pstex_t file with that color 
 command in it?

Quick  dirty: Define \def\color[#1]#2{} in your preamble - or better:
surrounded by ERT { \def\color...  the figure ERT }.

Andre'


Re: follow-up: relyx / lyx2lyx problems -- solution

2005-01-28 Thread Andre Poenitz
On Thu, Jan 27, 2005 at 09:02:17PM +0100, Sven Schreiber wrote:
 (Latex doesn't complain, so I guess that theoretically this should be 
 supported by relyx -- but it's a bit unfair. Maybe someone knows if that 
 was clean latex in some official sense?)

Official TeX syntax is whatever TeX understands. So yes, this is
legal.

Unfortunately, if I may add.

And I think this particular nastyness was taken care of in the math
parser and conseqnetly in tex2lyx.

Andre'


Re: How to cross reference a float

2005-01-28 Thread Andre Poenitz
On Thu, Jan 27, 2005 at 10:14:14AM +0100, Johan Ingvast wrote:
 Hi list
 I'm writing on my thesis and recognize the problem. The labeling is a bit
 of a problem. Not only one have to find a good name that describes the
 label, but also when inserting the label one have to find it in a list of
 maybe several hundreds.
 I find when writing that a common procedure is to first create a label and
 in the next moment inserting it. Also when creating labels they often
 comes in groups so I usually select labels from the same part of the list
 in a sequence.
 So I have a feauture request

Please put that on bugzilla, too.

Andre'


Re: How to cross reference a float

2005-01-28 Thread Andre Poenitz
On Wed, Jan 26, 2005 at 11:20:16AM -0500, Steve Litt wrote:
 Having to label chapters doesn't bother me because there are so few chapters 
 (17 in my upcoming book). But there are multiple floats per chapter, and I 
 know of no sane naming convention, and labels are global, not local to a 
 chapter.

But 'localizing' references won't work either, as anybody could just
introduce a new chapter headline in an existing chapter and thereby
breaking all the labeling.

Andre'


Re: Option to get Thesaurus

2005-01-28 Thread Jean-Marc Lasgouttes
 Paul == Paul Smith [EMAIL PROTECTED] writes:

Paul On Thu, 27 Jan 2005 17:05:33 -0500, Michael Wojcik
Paul [EMAIL PROTECTED] wrote:
 My understanding of one of Jean-Marc's comments in this thread was
 that he only just now fixed the configure script to note that
 Aiksaurus had been found during configuration.

Paul You are right, Michael: Jean-Marc said so. However, he is not
Paul right, apparently. In fact, after having made the symbolic link
Paul suggested by you, I proceeded with make and make install, and
Paul the final result was successful, i.e., Aiksaurus was finally
Paul made available inside LyX. In spite of this fact, no mention to
Paul Aiksaurus was made at the end of the command configure.

The change of the output of the configure command has been done in
1.3.6cvs and 1.4.0cvs. Is this what you are using? 

If you do have access to cvs, there is some testing that I would like
you to do (I do not have aiksaurus here). Basically, I think we do not
need libbz2 to make it work. Could you try a patch if I produced one?

JMarc


Re: Option to get Thesaurus

2005-01-28 Thread Paul Smith
On Fri, 28 Jan 2005 10:02:39 +0100, Jean-Marc Lasgouttes
[EMAIL PROTECTED] wrote:
 The change of the output of the configure command has been done in
 1.3.6cvs and 1.4.0cvs. Is this what you are using?
 
 If you do have access to cvs, there is some testing that I would like
 you to do (I do not have aiksaurus here). Basically, I think we do not
 need libbz2 to make it work. Could you try a patch if I produced one?

Jean-Marc,

I am using LyX 1.3.5. However, I can try your package if you tell me
how to get the 1.3.6cvs version of LyX. (I can get the 1.4.0cvs from
ftp.sylvan.com, but not the 1.3.6cvs.)

Regards,

Paul


Re: accents no work

2005-01-28 Thread Angus Leeming
Christopher Winkler wrote:
 Kile is able to do it, so there must be a solution.

I don't think that the two statements can be connected

Kile is a pure Qt-app so all the magic is handled internally by Qt. LyX is
not a pure Qt app so everything must be translated at the boundary bwtween
the LyX core and the Qt libraries. Sometimes we mess up. Sometimes Qt do.
We have some control over our own mess ups.

Note that I'm not saying who's fault this particular bug is ;-)

-- 
Angus



Re: follow-up: relyx / lyx2lyx problems -- next bug

2005-01-28 Thread Jose' Matos
On Thursday 27 January 2005 22:27, Sven Schreiber wrote:

 from-relyx
 # The reLyX bundled with LyX 1.3 created this file.
 # For more info see http://www.lyx.org/
 \lyxformat 2.15
 \textclass article
 \use_natbib 0
 \use_numerical_citations 0

 \layout Standard



 \LyXTable
 multicol5
 1 2 0 0 0 0 0 0
 0 0 0 0

  This line is bogus. This is clearly wrong, it shouldn't be here.
  The line above says that this table has 1 line and two columns.

  Bellow we have discription for the columns and then for all cells (2), so 
this line is completly wrong. :-(

 8 0 0  
 8 0 0  
 0 8 0 0 0 0 0  
 0 8 0 0 0 0 0  


 \begin_inset Formula \( 7
 \latex latex

 \backslash )*
 \latex default
 *
 \newline

 \begin_inset Formula \( 4
 \latex latex

 \backslash )*
 \latex default
 *
 \newline


 \the_end
 /from-relyx

 Now I don't know much about the lyx-format, but this looks a bit strange
 considering where it came from... With this input, lyx2lyx hangs!
 forever.

  lyx2lyx must trust in some way the input file. It is very difficult to 
distinguish and guard against all the different possibilities. At least 
with regard to older lyx formats. That is one of the main reasons why we 
have been cleaning the file format in 1.4, actually we had more file format 
changes in 1.4 than all the previous versions combined. (!) :-)

 Workaround/solution: put a blank after the closing $, like this:
 $x$ **.

 (@Günter Milde: next item for the latex-import-wiki: avoid having
 something directly after the closing math-$.)

 Note that if a thing like $x$** exists only once in the source, then
 lyx2lyx doesn't hang but the output is of course not what it's intended
 to be. And if the source is just the line $7$**  $4$** (without the
 tabular), same thing: no hang, but strange lyx output.

 Hey -- wait a minute: relyx is written in perl, right? Maybe $* gets
 evaluated directly by perl although it's not supposed to be? (Don't know
 what's the special meaning of $* in perl.) Oh well, just a wild idea.

 I hope this is useful for the relyx-programmer(s) to squash the bug...

  That is the problem. The perl code can be quite difficult to grok, and no 
one here has enough knowledge to fix it. :-(

 -sven

-- 
José Abílio


solved: beginner question: cyrillic

2005-01-28 Thread Christopher Winkler
Am Do Januar 27 2005 23:33 schrieb Matej Cepl:

 Whatever you do in kile, you should principally be able to do with ERT in
 LyX (ERT = Evil Red Text, which is a method how to write LaTeX commands
 directly in LyX). Generally speaking, the true solution for your problem of
 multi-encoded documents will come when LaTeX will fully support Unicode,
 which is unfortunately not the case yet.

Thank you, that was it! Great!
For all interested in how to do this: Get the cyrillic.sty package from your 
closest ctan-sever. Install it into the proper LaTeX-Folder. Run texhash as 
root. Start LyX and let it reconfigure.
Than add \usepackage{cyrillic} to the LaTeX-Preamble in the format/document 
section. Than add any text with latin letters with ERT and the command 
\textcyrsf{any text}. Then start dvi and be happy!
For further questions - ask me.

Christopher



how to export lyx files to ascii with bibtex references ?

2005-01-28 Thread Martin A. Hansen
hello


i would like to save my document to ascii text, but bibtex references
are not saved. is there a way to solve this?



best regards


martin


Re: how to export lyx files to ascii with bibtex references ?

2005-01-28 Thread Angus Leeming
Martin A. Hansen wrote:
 I would like to save my document to ascii text, but bibtex references
 are not saved. is there a way to solve this?

You mean that they are cited in the text, but that there's no Reference
section at the end of the document with the cited entries? That's not
easy.

You can do it with a bit of hacking and a script though.

First, gather together all your citations:

$ sed -n -f citation_keys.sed yourfile.lyx | sort -u | \
  sed -f citation_1liner.sed  citation_keys.txt

I attach both sed files.

Then, use this dataset to create yet another sed script and use that to
modify the attached script, bib2bbl.sh.in

$ sed s/CITATION_DATA/`cat citation_keys.txt`/ bib2latex.sh.in  \
  bib2latex.sh

Finally, run this shell script to generate a latex file of your references.
Something like:

$ sh bib2latex.sh docs/references.bib citations.tex plainnat article

where docs/references.bib is my BibTeX database and the output is to go in
citations.tex

You should even be able to import this document into LyX and output as
ASCII ;-)

Hope it works but caveat emptor.

-- 
Angus

bib2latex.sh.in
Description: application/shellscript
:loop
$!{
N
s/\n/,/
tloop
}
# We're interested only in the lines containing citation insets
/^\\begin_inset LatexCommand \\cite/{

# Extract the keys
s/^\\begin_inset LatexCommand \\cite[^{]*{\([^}]*\)} */\1/

# Split multiple, comma-separated keys onto multiple lines
s/,/\
/g

# Print the output
p
}


Re: how to export lyx files to ascii with bibtex references ?

2005-01-28 Thread G. Milde
On 28.01.05, Martin A. Hansen wrote:
 hello
 
 
 i would like to save my document to ascii text, but bibtex references
 are not saved. is there a way to solve this?

You could run a dvi to ASCII converter (like dvi2tty) after exporting to dvi.
See man dvi2tty for usage. 
The output quality is said to be low, though.

You could even define a new ASCII(dvi2tty) format and converters in
EditPreferences to get an FileExportASCII(dvi2tty) entry.

Günter



-- 
G.Milde web.de


Re: Option to get Thesaurus

2005-01-28 Thread Jean-Marc Lasgouttes
 Paul == Paul Smith [EMAIL PROTECTED] writes:

Paul I am using LyX 1.3.5. However, I can try your package if you
Paul tell me how to get the 1.3.6cvs version of LyX. (I can get the
Paul 1.4.0cvs from ftp.sylvan.com, but not the 1.3.6cvs.)

OK, in 1.3.5, find in config/confgure.ac the bit of code that reads:

AC_ARG_WITH(aiksaurus,
  [  --without-aiksaurus do not use the Aiksaurus library],
  [lyx_use_aiksaurus=$withval])
if test x$lyx_use_aiksaurus != xno; then
AC_CHECK_LIB(Aiksaurus, main,
[AC_DEFINE(HAVE_LIBAIKSAURUS,1,[Define this if you have the AikSaurus 
library])
 AIKSAURUS_LIBS=-lAiksaurus -lbz2
],,-lbz2)

Replace the last line with
])

[this means that we think aiksaurus does not need the libbz2 library
to operate]

Then run ./autoconf.sh and the configure as usual. Does it (still)
work?

JMarc


Re: Spacing in List of Tables

2005-01-28 Thread Stephen Buonopane
  This is one the copyeditor caught. In the list of tables, the table
numbers are left-aligned and there's a small space between the number 
and
the table caption. This works fine until it gets to Chapter 12, Table 
10 and
beyond. With the four digits (and separating period; e.g., 12.10) 
there is
no longer a space between the digits and the title.

Rich,
I think this will take a bit of latex hacking, but there might also be 
some package out there that does this?
The command \listoftables uses a predefined List environment, so you 
need to change \labelwidth that is defined by \listoftables. My first 
try would be to use a \renewcommand. You might also dig around in your 
tex tree a bit and look at the Latex code that is invoked by 
\listoftables.

Steve


Re: Option to get Thesaurus

2005-01-28 Thread Paul Smith
On Fri, 28 Jan 2005 15:43:38 +0100, Jean-Marc Lasgouttes
[EMAIL PROTECTED] wrote:
 Then run ./autoconf.sh and the configure as usual. Does it (still)
 work?

There is no ./autoconf.sh, Jean-Marc. Do you mean ./autogen.sh?

Paul


Re: Option to get Thesaurus

2005-01-28 Thread Jean-Marc Lasgouttes
 Paul == Paul Smith [EMAIL PROTECTED] writes:

Paul On Fri, 28 Jan 2005 15:43:38 +0100, Jean-Marc Lasgouttes
Paul [EMAIL PROTECTED] wrote:
 Then run ./autoconf.sh and the configure as usual. Does it (still)
 work?

Paul There is no ./autoconf.sh, Jean-Marc. Do you mean ./autogen.sh?

Yes, sorry.

JMarc


Re: Option to get Thesaurus

2005-01-28 Thread Michael Wojcik
Paul Smith wrote:
In fact, after having made the symbolic link suggested by
you, I proceeded with make and make install, and the final result was
successful, i.e., Aiksaurus was finally made available inside LyX. In
spite of this fact, no mention to Aiksaurus was made at the end of the
command configure.
Glad to hear it.
I've done a draft Wiki Tips page for this hint:
http://wiki.lyx.org/pmwiki.php/Playground/MwojcikWikiSandbox
If there are no objections, I'll try adding it to the Tips section. 
(This is my first Wiki piece, so I thought I'd give the experts a chance 
to glance over it first.)

I can also do a Tip for my Windows lyx2lyx.cmd hack.
--
Michael Wojcik


Re: LyX-TeX Log Location?

2005-01-28 Thread Michael Wojcik
Rich Shepard wrote:
On Thu, 27 Jan 2005, G. Milde wrote:
Another guess is, that you saw the standard output of LyX and programs it
called (like bibtex). If you start LyX from a x-terminal emulator, you
will see a lot of messages (and with the -dbg something option even
more.
  I used -dbg 128 but didn't see the same messages as before. Oh, well.
Something else worth trying, in general, is to run an X console window 
(with a program like xconsole, or an xterm with the -C option to become 
the system console), so that console messages aren't hidden until you 
exit X.

Some of this ends up in ~./xsession-errors.
  Don't have one of those on my system.
It's actually ~/.xsession-errors - that is, a file named 
.xsession-errors in your home directory.

--
Michael Wojcik


accents no work (new)

2005-01-28 Thread =?iso-8859-1?q?Marcelo=20Acu=FFfffff1a?=
Hello,
Thanks Ingar, Angus, Helge, Günter, Christopher, Martin, Jose, ...
I will search for an upgrade to Suse 9.2, Kde 3.3.
 
Marcelo
 




-
 250MB gratis, Antivirus y Antispam
 Correo Yahoo!, el mejor correo web del mundo
 Abrí tu cuenta aquí

(Chapter*) in Table of Contents?

2005-01-28 Thread =?iso-8859-1?q?Marcelo=20Acu=FFfffff1a?=


Hello

I am writing a long book. This book have: (in spanish)

Preface (Chapter*)

Acknowledgments (Chapter*)

Introduccion (Chapter*)

Chapter 1 (Chapter)

Chapter 2 (Chapter)

and so on,

I want that Preface, and so on, appears in Table of Contents.

I want that Preface ... Introducción no appears in TOC with numbers like 
Chapters.

How I can get it?

Thanks.

Marcelo

 

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar

Re: Option to get Thesaurus

2005-01-28 Thread Paul Smith
On Fri, 28 Jan 2005 15:43:38 +0100, Jean-Marc Lasgouttes
[EMAIL PROTECTED] wrote:
 OK, in 1.3.5, find in config/confgure.ac the bit of code that reads:
 
 AC_ARG_WITH(aiksaurus,
   [  --without-aiksaurus do not use the Aiksaurus library],
   [lyx_use_aiksaurus=$withval])
 if test x$lyx_use_aiksaurus != xno; then
 AC_CHECK_LIB(Aiksaurus, main,
 [AC_DEFINE(HAVE_LIBAIKSAURUS,1,[Define this if you have the AikSaurus 
 library])
  AIKSAURUS_LIBS=-lAiksaurus -lbz2
 ],,-lbz2)
 
 Replace the last line with
 ])
 
 [this means that we think aiksaurus does not need the libbz2 library
 to operate]
 
 Then run ./autoconf.sh and the configure as usual. Does it (still)
 work?

Jean-Marc,

I did as you suggested and it worked, i.e., Aiksaurus has been made
available inside LyX.

Regards,

Paul


Re: how to export lyx files to ascii with bibtex references ?

2005-01-28 Thread Matej Cepl
G. Milde wrote:
 i would like to save my document to ascii text, but bibtex references
 are not saved. is there a way to solve this?
 
 You could run a dvi to ASCII converter (like dvi2tty) after exporting to
 dvi. See man dvi2tty for usage.
 The output quality is said to be low, though.
 
 You could even define a new ASCII(dvi2tty) format and converters in
 EditPreferences to get an FileExportASCII(dvi2tty) entry.

Alternatively use some export to HTML and then run the result with lynx
-dump.

Matej

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
There's a long-standing bug relating to the x86 architecture that
allows you to install Windows.
-- Matthew D. Fuller




Re: Option to get Thesaurus

2005-01-28 Thread Jean-Marc Lasgouttes
 Paul == Paul Smith [EMAIL PROTECTED] writes:

Paul I did as you suggested and it worked, i.e., Aiksaurus has been
Paul made available inside LyX.

Thanks for the testing. I will do this change then.

JMarc


Re: Spacing in List of Tables

2005-01-28 Thread =?ISO-8859-1?Q?Uwe_St=F6hr?=
Rich Shepard wrote:
In the list of tables, the table
numbers are left-aligned and there's a small space between the number and
the table caption. This works fine until it gets to Chapter 12, Table 10 
and beyond. With the four digits (and separating period; e.g., 12.10) there is
no longer a space between the digits and the title.
To change this, redefine the [EMAIL PROTECTED] commands. They are described in 
detail in the book The LaTeX Companion 2nd Edition in sec. 2.3.2 (p.49).

regards Uwe


Re: Spacing in List of Tables

2005-01-28 Thread Rich Shepard
On Sat, 29 Jan 2005, Uwe Stöhr wrote:
To change this, redefine the [EMAIL PROTECTED] commands. They are described in
detail in the book The LaTeX Companion 2nd Edition in sec. 2.3.2 (p.49).
Uwe,
  Thank you very much. TLC2 is right here at my desk as I write; it answers
many of my questions, but sometimes I need a pointer.
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863

Re: Spacing in List of Tables

2005-01-28 Thread Rich Shepard
On Sat, 29 Jan 2005, Uwe Stöhr wrote:
To change this, redefine the [EMAIL PROTECTED] commands. They are described in 
detail in the book The LaTeX Companion 2nd Edition in sec. 2.3.2 (p.49).
Uwe,
  On page 50 I read that changes to [EMAIL PROTECTED] should be made in the 
class
file. Do I change Springer's svmono class or put the redefinition in the
preamble?
Thanks again,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863

Re: (Chapter*) in Table of Contents?

2005-01-28 Thread =?ISO-8859-1?Q?Uwe_St=F6hr?=
Marcelo Acuÿf1a wrote:
This book have:
Preface (Chapter*)
Acknowledgments (Chapter*)
Introduccion (Chapter*)
I want that Preface, and so on, appears in Table of Contents.
I want that Preface ... Introducción no appears in TOC with numbers like 
Chapters.
Use after the chapter names the command
\addcontentsline{ext}{type}{text}
in ERT. ext is the file extension for the list: toc for the TOC, 
lof for the list of figures, and lot for the list of tables. type 
is the paragraph type, in your case chapter.
E.g. for Preface, you have to write:

\addcontentsline{toc}{chapter}{\protect\numberline{}Preface}
The commands \protect\numberline{} are added to indent the toc entry 
so that it is at the position of normal chapters entries, that have a 
number at the beginning. (look at the attached example)

Note: If you're using a koma-script class, you can directly use the 
Addchap environment for chapters that should appear without numbers in 
the toc.

regards Uwe
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrbook
\options fleqn
\language english
\inputencoding auto
\fontscheme ae
\graphics default
\paperfontsize 12
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 4
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle empty
\bullet 1
1
34
-1
\end_bullet
\bullet 2
2
35
-1
\end_bullet
\bullet 3
2
7
-1
\end_bullet

\layout Standard


\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\layout Chapter*

Preface
\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
addcontentsline{toc}{chapter}{
\backslash 
protect
\backslash 
numberline{}Preface}
\end_inset 


\layout Chapter*

Acknowledgements
\layout Chapter*

Introductions
\layout Chapter

Chapter
\the_end


Re: Spacing in List of Tables

2005-01-28 Thread Uwe Stöhr
Rich Shepard schrieb:
Do I change Springer's svmono class or put the redefinition in the
preamble?
I put them in the preamble, e.g.:
[EMAIL PROTECTED]@dottedtocline{2}{1.5em}{2.8em}}
[EMAIL PROTECTED]@dottedtocline{3}{4.3em}{3.6em}}
regards Uwe


Re: Spacing in List of Tables

2005-01-28 Thread Rich Shepard
On Sat, 29 Jan 2005, Uwe Stöhr wrote:
I put them in the preamble, e.g.:
[EMAIL PROTECTED]@dottedtocline{2}{1.5em}{2.8em}}
[EMAIL PROTECTED]@dottedtocline{3}{4.3em}{3.6em}}
Uwe,
  Danke!
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863

Re: Spacing in List of Tables

2005-01-28 Thread Rich Shepard
On Sat, 29 Jan 2005, Uwe Stöhr wrote:
I put them in the preamble, e.g.:
[EMAIL PROTECTED]@dottedtocline{2}{1.5em}{2.8em}}
[EMAIL PROTECTED]@dottedtocline{3}{4.3em}{3.6em}}
Uwe,
  My situation is illustrated at the bottom of page 51 (see example for
10.10). On page 52 the recommeded fix is to use
\makeatletter
[EMAIL PROTECTED]@dottedtocline}{2}{1.5em}{3em}}
\makeatother
  But they also recommend adjusting other commands, too, to keep a balanced
look. Is that the purpose of changing subsubsection, too?
  I've tried your examples (at the top) with more room on the last
parameter, but it seems to make no difference when I look at the dvi output
in gv.
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863

Re: (Chapter*) in Table of Contents?

2005-01-28 Thread =?iso-8859-1?q?Marcelo=20Acu=FFfffff1a?=

Thanks, Uwe.

Marcelo Acuña. 

San Marcos Sierras. Córdoba. Argentina.


__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar

Re: Spacing in List of Tables

2005-01-28 Thread =?UTF-8?B?VXdlIFN0w7Zocg==?=
Rich Shepard wrote:
\makeatletter
[EMAIL PROTECTED]@dottedtocline}{2}{1.5em}{3em}}
\makeatother
Only for information: You don't need the \makeatxxx commands when you 
use them in the preamble, because LyX does this automatically in the 
background.

  But they also recommend adjusting other commands, too, to keep a balanced
look. Is that the purpose of changing subsubsection, too?
Changing the [EMAIL PROTECTED] command is not always necessary, its your 
decision what looks nice and what not.
I changed it because I have subsubsections with long numbers in my 
document (something like 12.13.17).

  I've tried your examples (at the top) with more room on the last
parameter, but it seems to make no difference when I look at the dvi output
in gv.
Play a bit with the parameter values, my examples are optimized for 
another book class and a special font width.
(If nothing helps, try to define the commands with \AtBeginDocument.)

regards Uwe


Re: Spacing in List of Tables

2005-01-28 Thread Rich Shepard
On Sat, 29 Jan 2005, [UTF-8] Uwe Stöhr wrote:
I changed it because I have subsubsections with long numbers in my
document (something like 12.13.17).
Uwe,
  I have a problem with only two tables in the List of Tables: 12.10 and
12.11. There's no problem in the Table of Contents or List of Figures.
Play a bit with the parameter values, my examples are optimized for
another book class and a special font width. (If nothing helps, try to
define the commands with \AtBeginDocument.)
  I've made the {numwidth} field 5.8em! The space is clearly visible in the
Table of Contents but no effect on the List of Tables. ARRRGGGHH-H-H-H!
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863

Re: Spacing in List of Tables

2005-01-28 Thread Rich Shepard
On Sat, 29 Jan 2005, [UTF-8] Uwe Stöhr wrote:
Play a bit with the parameter values, my examples are optimized for
another book class and a special font width. (If nothing helps, try to
define the commands with \AtBeginDocument.)
Uwe,
  Please excuse my frustration. Here's what I've learned from my
experimentation:
  1.) With the [EMAIL PROTECTED] in the preamble, the spacing is
drastically altered, but the List of Tables still has 10.10 and 10.11
smashed against the text.
  2.) With the [EMAIL PROTECTED] in an ERT box between the gray
placeholder boxes for List of Figures and List of Tables, the literal
command prints at the end of the List of Figures and the two problem table
numbers have no more spacing.
  Searching through Chapter 2 of TLC2 (and checking the index) I don't see a
way to increase number spacing for only the .lot entries. Is there such a
way? Perhaps I did not have the LaTeX commands properly formatted in the ERT
box and that's why it was read as literal text rather than a command.
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863

Re: Spacing in List of Tables

2005-01-28 Thread Herbert Voss
Rich Shepard wrote:
  1.) With the [EMAIL PROTECTED] in the preamble, the spacing is
drastically altered, but the List of Tables still has 10.10 and 10.11
smashed against the text.
http://TeXnik.de/tocloft/TOC.phtml#label
using tocloft.sty for this is easier
  2.) With the [EMAIL PROTECTED] in an ERT box between the gray
placeholder boxes for List of Figures and List of Tables, the literal
command prints at the end of the List of Figures and the two problem table
numbers have no more spacing.
all should go into the preamble
Hebrert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


Re: failed import of latex doc (relyx produces something that causes lyx2lyx to hang)

2005-01-28 Thread Andre Poenitz
On Wed, Jan 26, 2005 at 06:59:29PM -0500, Michael Wojcik wrote:
 I understand that that wouldn't work even if it had a .py extension.
 That mechanism is triggered only if you click on the blighter or such
 like. Apparently. The only sure fire way to get things working is to
 invoke it as python path to/lyx2lyx.
 
 Actually, at least in XP (and, presumably, Win2003), if the association
 for the py file extension is correct, running foo.py from the command
 line works fine, as does eg system(foo.py).  I didn't bother testing
 OS functions like CreateProcess, or check the source to see how lyx2lyx
 is being run.  It's a bit moot as long as lyx2lyx doesn't have an extension.

It has no extension.

Andre'


Re: How to cross reference a float

2005-01-28 Thread Andre Poenitz
On Wed, Jan 26, 2005 at 11:41:56AM -0500, Steve Litt wrote:
 Seriously, there's got to be some way to make it easier. Your method
 of fig: is a start, and makes things tolerable (THANKS!), but I'm
 wondering if something could be done with automatic labels or maybe
 local labels.

I think one thing that could and should be offered is to add the
possibility to create a label in the 'insert reference' dialog. I
usually write someting, notice that I need to refere to some place, then
need ages to scroll up to that place, insert the label, go down again,
insert the reference. Having a box where all unlabled chapters and
figures are listed ready for labeling would simplify that task
enourmously.

Andre'


Re: Latex output of xfig

2005-01-28 Thread Andre Poenitz
On Wed, Jan 26, 2005 at 01:03:29PM -0700, LB wrote:
 Hello,
 
 When I generate Latex part (.pstex_t) of a xfig picture, xfig inserts: 
 \color[rgb]{0,0,0} in front of every line of text in the pstex_t document. 
 Lyx seem to have a problem with \color[rgb]{0,0,0}.  As soon as edit 
 .pstex_t file and remove \color[rgb]{0,0,0} Lyx becomes happy again.
 
 Is there a way of making Lyx understand .pstex_t file with that color 
 command in it?

Quick  dirty: Define \def\color[#1]#2{} in your preamble - or better:
surrounded by ERT { \def\color...  the figure ERT }.

Andre'


Re: follow-up: relyx / lyx2lyx problems -- solution

2005-01-28 Thread Andre Poenitz
On Thu, Jan 27, 2005 at 09:02:17PM +0100, Sven Schreiber wrote:
 (Latex doesn't complain, so I guess that theoretically this should be 
 supported by relyx -- but it's a bit unfair. Maybe someone knows if that 
 was clean latex in some official sense?)

Official TeX syntax is whatever TeX understands. So yes, this is
legal.

Unfortunately, if I may add.

And I think this particular nastyness was taken care of in the math
parser and conseqnetly in tex2lyx.

Andre'


Re: How to cross reference a float

2005-01-28 Thread Andre Poenitz
On Thu, Jan 27, 2005 at 10:14:14AM +0100, Johan Ingvast wrote:
 Hi list
 I'm writing on my thesis and recognize the problem. The labeling is a bit
 of a problem. Not only one have to find a good name that describes the
 label, but also when inserting the label one have to find it in a list of
 maybe several hundreds.
 I find when writing that a common procedure is to first create a label and
 in the next moment inserting it. Also when creating labels they often
 comes in groups so I usually select labels from the same part of the list
 in a sequence.
 So I have a feauture request

Please put that on bugzilla, too.

Andre'


Re: How to cross reference a float

2005-01-28 Thread Andre Poenitz
On Wed, Jan 26, 2005 at 11:20:16AM -0500, Steve Litt wrote:
 Having to label chapters doesn't bother me because there are so few chapters 
 (17 in my upcoming book). But there are multiple floats per chapter, and I 
 know of no sane naming convention, and labels are global, not local to a 
 chapter.

But 'localizing' references won't work either, as anybody could just
introduce a new chapter headline in an existing chapter and thereby
breaking all the labeling.

Andre'


Re: Option to get Thesaurus

2005-01-28 Thread Jean-Marc Lasgouttes
> "Paul" == Paul Smith <[EMAIL PROTECTED]> writes:

Paul> On Thu, 27 Jan 2005 17:05:33 -0500, Michael Wojcik
Paul> <[EMAIL PROTECTED]> wrote:
>> My understanding of one of Jean-Marc's comments in this thread was
>> that he only just now fixed the configure script to note that
>> Aiksaurus had been found during configuration.

Paul> You are right, Michael: Jean-Marc said so. However, he is not
Paul> right, apparently. In fact, after having made the symbolic link
Paul> suggested by you, I proceeded with make and make install, and
Paul> the final result was successful, i.e., Aiksaurus was finally
Paul> made available inside LyX. In spite of this fact, no mention to
Paul> Aiksaurus was made at the end of the command configure.

The change of the output of the configure command has been done in
1.3.6cvs and 1.4.0cvs. Is this what you are using? 

If you do have access to cvs, there is some testing that I would like
you to do (I do not have aiksaurus here). Basically, I think we do not
need libbz2 to make it work. Could you try a patch if I produced one?

JMarc


Re: Option to get Thesaurus

2005-01-28 Thread Paul Smith
On Fri, 28 Jan 2005 10:02:39 +0100, Jean-Marc Lasgouttes
<[EMAIL PROTECTED]> wrote:
> The change of the output of the configure command has been done in
> 1.3.6cvs and 1.4.0cvs. Is this what you are using?
> 
> If you do have access to cvs, there is some testing that I would like
> you to do (I do not have aiksaurus here). Basically, I think we do not
> need libbz2 to make it work. Could you try a patch if I produced one?

Jean-Marc,

I am using LyX 1.3.5. However, I can try your package if you tell me
how to get the 1.3.6cvs version of LyX. (I can get the 1.4.0cvs from
ftp.sylvan.com, but not the 1.3.6cvs.)

Regards,

Paul


Re: accents no work

2005-01-28 Thread Angus Leeming
Christopher Winkler wrote:
> Kile is able to do it, so there must be a solution.

I don't think that the two statements can be connected

Kile is a pure Qt-app so all the magic is handled internally by Qt. LyX is
not a pure Qt app so everything must be translated at the boundary bwtween
the LyX core and the Qt libraries. Sometimes we mess up. Sometimes Qt do.
We have some control over our own mess ups.

Note that I'm not saying who's fault this particular bug is ;-)

-- 
Angus



Re: follow-up: relyx / lyx2lyx problems -- next bug

2005-01-28 Thread Jose' Matos
On Thursday 27 January 2005 22:27, Sven Schreiber wrote:
>
> 
> # The reLyX bundled with LyX 1.3 created this file.
> # For more info see http://www.lyx.org/
> \lyxformat 2.15
> \textclass article
> \use_natbib 0
> \use_numerical_citations 0
>
> \layout Standard
>
>
>
> \LyXTable
> multicol5
> 1 2 0 0 0 0 0 0
> 0 0 0 0

  This line is bogus. This is clearly wrong, it shouldn't be here.
  The line above says that this table has 1 line and two columns.

  Bellow we have discription for the columns and then for all cells (2), so 
this line is completly wrong. :-(

> 8 0 0 "" ""
> 8 0 0 "" ""
> 0 8 0 0 0 0 0 "" ""
> 0 8 0 0 0 0 0 "" ""
>
>
> \begin_inset Formula \( 7
> \latex latex
>
> \backslash )*
> \latex default
> *
> \newline
>
> \begin_inset Formula \( 4
> \latex latex
>
> \backslash )*
> \latex default
> *
> \newline
>
>
> \the_end
> 
>
> Now I don't know much about the lyx-format, but this looks a bit strange
> considering where it came from... With this input, lyx2lyx hangs!
> forever.

  lyx2lyx must trust in some way the input file. It is very difficult to 
distinguish and guard against all the different possibilities. At least 
with regard to older lyx formats. That is one of the main reasons why we 
have been cleaning the file format in 1.4, actually we had more file format 
changes in 1.4 than all the previous versions combined. (!) :-)

> Workaround/solution: put a blank after the closing $, like this:
> "$x$ **".
>
> (@Günter Milde: next item for the latex-import-wiki: avoid having
> something directly after the closing math-$.)
>
> Note that if a thing like "$x$**" exists only once in the source, then
> lyx2lyx doesn't hang but the output is of course not what it's intended
> to be. And if the source is just the line "$7$**  $4$**" (without the
> tabular), same thing: no hang, but strange lyx output.
>
> Hey -- wait a minute: relyx is written in perl, right? Maybe "$*" gets
> evaluated directly by perl although it's not supposed to be? (Don't know
> what's the special meaning of $* in perl.) Oh well, just a wild idea.
>
> I hope this is useful for the relyx-programmer(s) to squash the bug...

  That is the problem. The perl code can be quite difficult to grok, and no 
one here has enough knowledge to fix it. :-(

> -sven

-- 
José Abílio


solved: beginner question: cyrillic

2005-01-28 Thread Christopher Winkler
Am Do Januar 27 2005 23:33 schrieb Matej Cepl:

> Whatever you do in kile, you should principally be able to do with ERT in
> LyX (ERT = Evil Red Text, which is a method how to write LaTeX commands
> directly in LyX). Generally speaking, the true solution for your problem of
> multi-encoded documents will come when LaTeX will fully support Unicode,
> which is unfortunately not the case yet.

Thank you, that was it! Great!
For all interested in how to do this: Get the cyrillic.sty package from your 
closest ctan-sever. Install it into the proper LaTeX-Folder. Run texhash as 
root. Start LyX and let it reconfigure.
Than add "\usepackage{cyrillic}" to the LaTeX-Preamble in the format/document 
section. Than add any text with latin letters with ERT and the command 
"\textcyrsf{any text}". Then start dvi and be happy!
For further questions - ask me.

Christopher



how to export lyx files to ascii with bibtex references ?

2005-01-28 Thread Martin A. Hansen
hello


i would like to save my document to ascii text, but bibtex references
are not saved. is there a way to solve this?



best regards


martin


Re: how to export lyx files to ascii with bibtex references ?

2005-01-28 Thread Angus Leeming
Martin A. Hansen wrote:
> I would like to save my document to ascii text, but bibtex references
> are not saved. is there a way to solve this?

You mean that they are cited in the text, but that there's no "Reference"
section at the end of the document with the cited entries? That's not
easy.

You can do it with a bit of hacking and a script though.

First, gather together all your citations:

$ sed -n -f citation_keys.sed yourfile.lyx | sort -u | \
  sed -f citation_1liner.sed > citation_keys.txt

I attach both sed files.

Then, use this dataset to create yet another sed script and use that to
modify the attached script, bib2bbl.sh.in

$ sed "s/CITATION_DATA/`cat citation_keys.txt`/" bib2latex.sh.in > \
  bib2latex.sh

Finally, run this shell script to generate a latex file of your references.
Something like:

$ sh bib2latex.sh docs/references.bib citations.tex plainnat article

where docs/references.bib is my BibTeX database and the output is to go in
citations.tex

You should even be able to import this document into LyX and output as
ASCII ;-)

Hope it works but caveat emptor.

-- 
Angus

bib2latex.sh.in
Description: application/shellscript
:loop
$!{
N
s/\n/,/
tloop
}
# We're interested only in the lines containing citation insets
/^\\begin_inset LatexCommand \\cite/{

# Extract the keys
s/^\\begin_inset LatexCommand \\cite[^{]*{\([^}]*\)} */\1/

# Split multiple, comma-separated keys onto multiple lines
s/,/\
/g

# Print the output
p
}


Re: how to export lyx files to ascii with bibtex references ?

2005-01-28 Thread G. Milde
On 28.01.05, Martin A. Hansen wrote:
> hello
> 
> 
> i would like to save my document to ascii text, but bibtex references
> are not saved. is there a way to solve this?

You could run a dvi to ASCII converter (like dvi2tty) after exporting to dvi.
See man dvi2tty for usage. 
The output quality is said to be low, though.

You could even define a new ASCII(dvi2tty) format and converters in
Edit>Preferences to get an File>Export>ASCII(dvi2tty) entry.

Günter



-- 
G.Milde web.de


Re: Option to get Thesaurus

2005-01-28 Thread Jean-Marc Lasgouttes
> "Paul" == Paul Smith <[EMAIL PROTECTED]> writes:

Paul> I am using LyX 1.3.5. However, I can try your package if you
Paul> tell me how to get the 1.3.6cvs version of LyX. (I can get the
Paul> 1.4.0cvs from ftp.sylvan.com, but not the 1.3.6cvs.)

OK, in 1.3.5, find in config/confgure.ac the bit of code that reads:

AC_ARG_WITH(aiksaurus,
  [  --without-aiksaurus do not use the Aiksaurus library],
  [lyx_use_aiksaurus=$withval])
if test x$lyx_use_aiksaurus != xno; then
AC_CHECK_LIB(Aiksaurus, main,
[AC_DEFINE(HAVE_LIBAIKSAURUS,1,[Define this if you have the AikSaurus 
library])
 AIKSAURUS_LIBS="-lAiksaurus -lbz2"
],,"-lbz2")

Replace the last line with
])

[this means that we think aiksaurus does not need the libbz2 library
to operate]

Then run ./autoconf.sh and the configure as usual. Does it (still)
work?

JMarc


Re: Spacing in "List of Tables"

2005-01-28 Thread Stephen Buonopane
  This is one the copyeditor caught. In the list of tables, the table
numbers are left-aligned and there's a small space between the number 
and
the table caption. This works fine until it gets to Chapter 12, Table 
10 and
beyond. With the four digits (and separating period; e.g., 12.10) 
there is
no longer a space between the digits and the title.

Rich,
I think this will take a bit of latex hacking, but there might also be 
some package out there that does this?
The command \listoftables uses a predefined List environment, so you 
need to change \labelwidth that is defined by \listoftables. My first 
try would be to use a \renewcommand. You might also dig around in your 
tex tree a bit and look at the Latex code that is invoked by 
\listoftables.

Steve


Re: Option to get Thesaurus

2005-01-28 Thread Paul Smith
On Fri, 28 Jan 2005 15:43:38 +0100, Jean-Marc Lasgouttes
<[EMAIL PROTECTED]> wrote:
> Then run ./autoconf.sh and the configure as usual. Does it (still)
> work?

There is no ./autoconf.sh, Jean-Marc. Do you mean ./autogen.sh?

Paul


Re: Option to get Thesaurus

2005-01-28 Thread Jean-Marc Lasgouttes
> "Paul" == Paul Smith <[EMAIL PROTECTED]> writes:

Paul> On Fri, 28 Jan 2005 15:43:38 +0100, Jean-Marc Lasgouttes
Paul> <[EMAIL PROTECTED]> wrote:
>> Then run ./autoconf.sh and the configure as usual. Does it (still)
>> work?

Paul> There is no ./autoconf.sh, Jean-Marc. Do you mean ./autogen.sh?

Yes, sorry.

JMarc


Re: Option to get Thesaurus

2005-01-28 Thread Michael Wojcik
Paul Smith wrote:
In fact, after having made the symbolic link suggested by
you, I proceeded with make and make install, and the final result was
successful, i.e., Aiksaurus was finally made available inside LyX. In
spite of this fact, no mention to Aiksaurus was made at the end of the
command configure.
Glad to hear it.
I've done a draft Wiki Tips page for this hint:
http://wiki.lyx.org/pmwiki.php/Playground/MwojcikWikiSandbox
If there are no objections, I'll try adding it to the Tips section. 
(This is my first Wiki piece, so I thought I'd give the experts a chance 
to glance over it first.)

I can also do a Tip for my Windows lyx2lyx.cmd hack.
--
Michael Wojcik


Re: LyX->TeX Log Location?

2005-01-28 Thread Michael Wojcik
Rich Shepard wrote:
On Thu, 27 Jan 2005, G. Milde wrote:
Another guess is, that you saw the standard output of LyX and programs it
called (like bibtex). If you start LyX from a x-terminal emulator, you
will see a lot of messages (and with the -dbg "something" option even
more.
  I used -dbg 128 but didn't see the same messages as before. Oh, well.
Something else worth trying, in general, is to run an X console window 
(with a program like xconsole, or an xterm with the -C option to become 
the system console), so that console messages aren't hidden until you 
exit X.

Some of this ends up in ~./xsession-errors.
  Don't have one of those on my system.
It's actually ~/.xsession-errors - that is, a file named 
".xsession-errors" in your home directory.

--
Michael Wojcik


accents no work (new)

2005-01-28 Thread =?iso-8859-1?q?Marcelo=20Acu=FFfffff1a?=
Hello,
Thanks Ingar, Angus, Helge, Günter, Christopher, Martin, Jose, ...
I will search for an upgrade to Suse 9.2, Kde 3.3.
 
Marcelo
 




-
 250MB gratis, Antivirus y Antispam
 Correo Yahoo!, el mejor correo web del mundo
 Abrí tu cuenta aquí

(Chapter*) in Table of Contents?

2005-01-28 Thread =?iso-8859-1?q?Marcelo=20Acu=FFfffff1a?=


Hello

I am writing a long book. This book have: (in spanish)

Preface (Chapter*)

Acknowledgments (Chapter*)

Introduccion (Chapter*)

Chapter 1 (Chapter)

Chapter 2 (Chapter)

and so on,

I want that Preface, and so on, appears in Table of Contents.

I want that Preface ... Introducción no appears in TOC with numbers like 
Chapters.

How I can get it?

Thanks.

Marcelo

 

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar

Re: Option to get Thesaurus

2005-01-28 Thread Paul Smith
On Fri, 28 Jan 2005 15:43:38 +0100, Jean-Marc Lasgouttes
<[EMAIL PROTECTED]> wrote:
> OK, in 1.3.5, find in config/confgure.ac the bit of code that reads:
> 
> AC_ARG_WITH(aiksaurus,
>   [  --without-aiksaurus do not use the Aiksaurus library],
>   [lyx_use_aiksaurus=$withval])
> if test x$lyx_use_aiksaurus != xno; then
> AC_CHECK_LIB(Aiksaurus, main,
> [AC_DEFINE(HAVE_LIBAIKSAURUS,1,[Define this if you have the AikSaurus 
> library])
>  AIKSAURUS_LIBS="-lAiksaurus -lbz2"
> ],,"-lbz2")
> 
> Replace the last line with
> ])
> 
> [this means that we think aiksaurus does not need the libbz2 library
> to operate]
> 
> Then run ./autoconf.sh and the configure as usual. Does it (still)
> work?

Jean-Marc,

I did as you suggested and it worked, i.e., Aiksaurus has been made
available inside LyX.

Regards,

Paul


Re: how to export lyx files to ascii with bibtex references ?

2005-01-28 Thread Matej Cepl
G. Milde wrote:
>> i would like to save my document to ascii text, but bibtex references
>> are not saved. is there a way to solve this?
> 
> You could run a dvi to ASCII converter (like dvi2tty) after exporting to
> dvi. See man dvi2tty for usage.
> The output quality is said to be low, though.
> 
> You could even define a new ASCII(dvi2tty) format and converters in
> Edit>Preferences to get an File>Export>ASCII(dvi2tty) entry.

Alternatively use some export to HTML and then run the result with lynx
-dump.

Matej

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
There's a long-standing bug relating to the x86 architecture that
allows you to install Windows.
-- Matthew D. Fuller




Re: Option to get Thesaurus

2005-01-28 Thread Jean-Marc Lasgouttes
> "Paul" == Paul Smith <[EMAIL PROTECTED]> writes:

Paul> I did as you suggested and it worked, i.e., Aiksaurus has been
Paul> made available inside LyX.

Thanks for the testing. I will do this change then.

JMarc


Re: Spacing in "List of Tables"

2005-01-28 Thread =?ISO-8859-1?Q?Uwe_St=F6hr?=
Rich Shepard wrote:
In the list of tables, the table
numbers are left-aligned and there's a small space between the number and
the table caption. This works fine until it gets to Chapter 12, Table 10 
and beyond. With the four digits (and separating period; e.g., 12.10) there is
no longer a space between the digits and the title.
To change this, redefine the [EMAIL PROTECTED] commands. They are described in 
detail in the book "The LaTeX Companion 2nd Edition" in sec. 2.3.2 (p.49).

regards Uwe


Re: Spacing in "List of Tables"

2005-01-28 Thread Rich Shepard
On Sat, 29 Jan 2005, Uwe Stöhr wrote:
To change this, redefine the [EMAIL PROTECTED] commands. They are described in
detail in the book "The LaTeX Companion 2nd Edition" in sec. 2.3.2 (p.49).
Uwe,
  Thank you very much. TLC2 is right here at my desk as I write; it answers
many of my questions, but sometimes I need a pointer.
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863

Re: Spacing in "List of Tables"

2005-01-28 Thread Rich Shepard
On Sat, 29 Jan 2005, Uwe Stöhr wrote:
To change this, redefine the [EMAIL PROTECTED] commands. They are described in 
detail in the book "The LaTeX Companion 2nd Edition" in sec. 2.3.2 (p.49).
Uwe,
  On page 50 I read that changes to [EMAIL PROTECTED] should be made in the 
class
file. Do I change Springer's svmono class or put the redefinition in the
preamble?
Thanks again,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863

Re: (Chapter*) in Table of Contents?

2005-01-28 Thread =?ISO-8859-1?Q?Uwe_St=F6hr?=
Marcelo Acuÿf1a wrote:
This book have:
Preface (Chapter*)
Acknowledgments (Chapter*)
Introduccion (Chapter*)
I want that Preface, and so on, appears in Table of Contents.
I want that Preface ... Introducción no appears in TOC with numbers like 
Chapters.
Use after the chapter names the command
\addcontentsline{ext}{type}{text}
in ERT. "ext" is the file extension for the list: "toc" for the TOC, 
"lof" for the list of figures, and "lot" for the list of tables. "type" 
is the paragraph type, in your case "chapter".
E.g. for Preface, you have to write:

\addcontentsline{toc}{chapter}{\protect\numberline{}Preface}
The commands "\protect\numberline{}" are added to indent the toc entry 
so that it is at the position of normal chapters entries, that have a 
number at the beginning. (look at the attached example)

Note: If you're using a koma-script class, you can directly use the 
"Addchap" environment for chapters that should appear without numbers in 
the toc.

regards Uwe
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrbook
\options fleqn
\language english
\inputencoding auto
\fontscheme ae
\graphics default
\paperfontsize 12
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 4
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle empty
\bullet 1
1
34
-1
\end_bullet
\bullet 2
2
35
-1
\end_bullet
\bullet 3
2
7
-1
\end_bullet

\layout Standard


\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\layout Chapter*

Preface
\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
addcontentsline{toc}{chapter}{
\backslash 
protect
\backslash 
numberline{}Preface}
\end_inset 


\layout Chapter*

Acknowledgements
\layout Chapter*

Introductions
\layout Chapter

Chapter
\the_end


Re: Spacing in "List of Tables"

2005-01-28 Thread Uwe Stöhr
Rich Shepard schrieb:
Do I change Springer's svmono class or put the redefinition in the
preamble?
I put them in the preamble, e.g.:
[EMAIL PROTECTED]@dottedtocline{2}{1.5em}{2.8em}}
[EMAIL PROTECTED]@dottedtocline{3}{4.3em}{3.6em}}
regards Uwe


Re: Spacing in "List of Tables"

2005-01-28 Thread Rich Shepard
On Sat, 29 Jan 2005, Uwe Stöhr wrote:
I put them in the preamble, e.g.:
[EMAIL PROTECTED]@dottedtocline{2}{1.5em}{2.8em}}
[EMAIL PROTECTED]@dottedtocline{3}{4.3em}{3.6em}}
Uwe,
  Danke!
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863

Re: Spacing in "List of Tables"

2005-01-28 Thread Rich Shepard
On Sat, 29 Jan 2005, Uwe Stöhr wrote:
I put them in the preamble, e.g.:
[EMAIL PROTECTED]@dottedtocline{2}{1.5em}{2.8em}}
[EMAIL PROTECTED]@dottedtocline{3}{4.3em}{3.6em}}
Uwe,
  My situation is illustrated at the bottom of page 51 (see example for
10.10). On page 52 the recommeded fix is to use
\makeatletter
[EMAIL PROTECTED]@dottedtocline}{2}{1.5em}{3em}}
\makeatother
  But they also recommend adjusting other commands, too, to keep a balanced
look. Is that the purpose of changing subsubsection, too?
  I've tried your examples (at the top) with more room on the last
parameter, but it seems to make no difference when I look at the dvi output
in gv.
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863

  1   2   >