Re: LyX Development News for July

2000-07-28 Thread Allan Rae

On Thu, 27 Jul 2000, Marko Vendelin wrote:

 
 On Thu, 27 Jul 2000, Allan Rae wrote:
 
  On Wed, 26 Jul 2000, Preben Randhol wrote:
  
   It says there is a Gnome port on the way. Is there a homepage for this
   somewhere?
  
  Good question.  Perhaps Marko (the porter) can answer that?
 
 Unfortunately, I am not aware of any.

I should probably implement the porting-status page and such that I
mentioned in an earlier LDN (2315 sounds about right)

Allan. (ARRae)




Re: Can't find an appropriate visual

2000-07-28 Thread John O'Gorman

Yes. It does seem that XForms will not work with VNC viewers in 8
bit mode.
The good news is that we found in all cases that we could run VNC
server and viewer in 24 bit mode and LyX now works fine!

John O'Gorman
Auckland
New Zealand


From: [EMAIL PROTECTED] (Lars Gullik Bjønnes)
What about "lyx -dbg 65535" or "lyx -best"?

TrueColor and 8 planes seems a bit weird...
man xforms is an option.

but try the "-best" suggestion first...it is also possible that XForms
has a real problem with "TrueColor 8 planes"...

 Lgb


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com




Re: Customizing the index

2000-07-28 Thread German Poo Caaman~o

Herbert Voss wrote:
 1. delete /usr/bin/makeindex
 this is only a link! have a look at it ...

In my Linux box (Mandrake 7.1beta) /usr/bin/makeindex is the
executable file.  But I wrote the script on my ~/bin directory
and it works ok.

Also, I downloaded your Letter.ist and I tried it successfully.
I noted that headings_flag, heading_prefix and heading_suffix
are the "commands" that I need.  So, I commented the others.

In the makeindex documentation appears lethead_prefix, but
it's the same, I guess.

My new question.  How can I center the heading_prefix?
I tried:
heading_prefix  "\\texbf{\t "   "\t\\texbf{ ", etc... But
it doesn't work :-(
With:
heading_prefix "\\begin{center}\\textbf{ "
heading_suffix " }\n\\end{center}"
It doesn't work either.

Ohh... \\hspace works.  But, how can I center it?


-- 
German Poo Caaman~o
mailto:[EMAIL PROTECTED]
http://www.ubiobio.cl/~gpoo/chilelindo.html
"La historia no se lee, se escribe"



Feature in LyX-Code ?

2000-07-28 Thread Jean-Jacques Girardot

Hi !

I am working with LyX 1.1.5fix1, and I am trying to create
a document with a line in LyX-Code starting with a menu separator,
something as simple as :
   ABC

The document is viewed correctly with xdvi, and when I save it,
the corresponding line reads :

\Layout LyX-Code

\SpecialChar \menuseparator
ABC

However, when I open the document again, I get the message

LyX: Token `\menuseparator' is in free space paragraph layout!

and of course, the token disappears from my document.

Is this a bug, or is there some really good reason to do so ?

(this used to work in previous versions of LyX, 1.0.1 and 1.0.4.

Thanks.
-- 
Jean-Jacques Girardot - [EMAIL PROTECTED]

Le respect nait la ou on le seme. (Lao Tseu)



Re: Customizing the index

2000-07-28 Thread Herbert Voss

German Poo Caaman~o wrote:
 
 Herbert Voss wrote:
  1. delete /usr/bin/makeindex
  this is only a link! have a look at it ...
 
 In my Linux box (Mandrake 7.1beta) /usr/bin/makeindex is the
 executable file.  But I wrote the script on my ~/bin directory
 and it works ok.
 
 Also, I downloaded your Letter.ist and I tried it successfully.
 I noted that headings_flag, heading_prefix and heading_suffix
 are the "commands" that I need.  So, I commented the others.
 
 In the makeindex documentation appears lethead_prefix, but
 it's the same, I guess.
 
 My new question.  How can I center the heading_prefix?
 I tried:
 heading_prefix  "\\texbf{\t "   "\t\\texbf{ ", etc... But
 it doesn't work :-(
 With:
 heading_prefix "\\begin{center}\\textbf{ "
 heading_suffix " }\n\\end{center}"
 It doesn't work either.

try this:

heading_prefix   "\\hfill\\textbf{" % boldfont
heading_suffix   "}\\hfill\\ \n"% newline

Herbert


-- 
[EMAIL PROTECTED]
http://perce.de/voss





Paragraph skip and TOC

2000-07-28 Thread Matthew Lovell

Hi,

Setting up a LyX document to block style (no paragraph indent, skip
between paragraphs) also ends up affecting the Table of Contents, List
of Figures, etc.

The nonzero \parskip ends up getting used by @dottedtocline.  I've
gotten around this by putting the TOC, LOF, ... in their block and
setting \parskip back to its default value inside that block.  

I was just wondering whether LyX should "insulate" the frontmatter
lists from such document style choices.

  Matt

-- 
Matthew Lovell
HP Technical Solutions Lab
mailto:[EMAIL PROTECTED]




Re: paragraph margins

2000-07-28 Thread John Culleton

Jim Osborn wrote:

 I'd like to increase the left and right margins for a couple of
 paragraphs, as for an abstract near the beginning of my article.
 That is, I'd like those paragraphs narrower than normal, and centered
 on the page, and in block alignment, like the rest of the article.

 Selecting the text and applying Layout-Paragraph-ExtraOpt:
   Indented Paragraph: indents the left margin
   Minipage:   indents the right margin
   Floatfit:   has no effect

 Making it a minipage and adding \addtolength{\leftmargin}{20em} before
 the text does nothing at all.

 Sorry for what must be a stupid newbie question, but I can't seem to
 bumble onto the solution...

 TIA,

 Jim

There is a plain tex command \narrower that brings in both margins by
\parindent.  In a directory
named carlisle is a file plain.sty that adds most plain.tex commands to
latex.  (David Carlisle is the author of course.) This means using ERC to
bring in the file and use the command.

There are no stupid questions. If you knew the answer you wouldn't have
asked. There are of course wrong answers. I hope this isn't one of them
;|




--
John Culleton - Please visit http://ccpl.carr.org/~john/






foilTex and figure floats

2000-07-28 Thread Ralph Boland

I am using foilTex to create a slide presentation.
Some of my figures contain latex code so I want to
use the combined PS/LaTex method of creating the
figure.  (for this I do not use foilTex but
create a different document for these figures.

My problem is that I don't want the word  
"Figure" to show up and sometimes 
 not the caption either.

One possibility would be to make it white but I 
don't know how to do this for the word "Figure"
and in any case it
would take up space that I might want for my
figure.

Any suggestions?

Other problems with foilTex.

1)  I would like to color my page numbers (a light color)
so I can 
make them less obvious but I don't know how.
Also, Is there a way to tuck
the page numbers into a corner?
I tried using fancyheaders but I guess I didn't do
it right because I couldn't get page numbers to go
to the corner.

2)  I get crashes galore when I use foilTex, often
with orphan windows.  Part of the problem is a 
lack of resources on the machine I am using but
lyx handles the difficulties ungracefully.
Note that in article or book classes I can create
30 page documents but in foilTex 6 pages appears
to be about it so I have to split my file. 
I assume this is because there are
so many figures.



Re: paragraph margins

2000-07-28 Thread Jim Osborn

John Culleton [EMAIL PROTECTED] replies:
Jim Osborn wrote:

 I'd like to increase the left and right margins for a couple of
 paragraphs, as for an abstract near the beginning of my article.
 That is, I'd like those paragraphs narrower than normal, and centered
 on the page, and in block alignment, like the rest of the article.

There is a plain tex command \narrower that brings in both margins by
\parindent.  In a directory
named carlisle is a file plain.sty that adds most plain.tex commands to
latex.  (David Carlisle is the author of course.) This means using ERC to
bring in the file and use the command.

Thanks for the tip, John.  I found "plain.sty" and told LyX about it,
by adding it to the chkconfig.ltx and doc/LaTeXConfig.lyx.in files,
and running configure, but I don't know what you mean by "using ERC
to..." I found the file "plain.tex" in the base directory, but what's
the next step?  LyX gives me an unknown command error, so I obviously
haven't done enough yet.  Thanks again for the help. 

Jim



Bug in LyX 1.1.5?

2000-07-28 Thread German Poo Caaman~o


I found the following bug, but I'm completely sure that is a LyX bug.

I'm writting a spanish text (Format/Document/Language/Spanish)
with a list item.

The text is the following:
Conexiones_no_persistentes. ...

The underscore represent a protected space.  The dvi's page show
an n~ (ñ) instead a space.  
Conexionño persistente. ...

If I try with default language works ok.

I exported to LaTeX and something like that appears:
\item [Conexiones~no~persistentes.]

The problem is that LaTeX interpret ~n like a ñ (n tilde), and
precede to protected space on lyxlist.

Sorry, but I can't sent to you a fix for that, just the error.


My document exported to LaTeX looks like:


\documentclass[12pt,oneside,spanish]{book}
\usepackage{pslatex}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\usepackage{setspace}
\onehalfspacing

\makeatletter

%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
\newcommand{\noun}[1]{\textsc{#1}}

%% Textclass specific LaTeX commands.
 \newenvironment{lyxlist}[1]
   {\begin{list}{}
 {\settowidth{\labelwidth}{#1}
  \setlength{\leftmargin}{\labelwidth}
  \addtolength{\leftmargin}{\labelsep}
  \renewcommand{\makelabel}[1]{##1\hfil}}}
   {\end{list}}
 \usepackage{verbatim}

\makeatother

\begin{document}

\begin{lyxlist}{00.00.}
\item [Conexiones~no~persistentes.]Problem.
\end{lyxlist}

\end{document}



On LyX appears as:
\layout List
\labelwidthstring 00.00.

Conexiones\SpecialChar ~
no\SpecialChar ~
persistentes.
Problem.

-- 
German Poo Caaman~o
mailto:[EMAIL PROTECTED]
http://www.ubiobio.cl/~gpoo/chilelindo.html
"La historia no se lee, se escribe"




CJK-LyX-1.1.5

2000-07-28 Thread cghan


Hello,

CJK-LyX-1.1.5fix1, which is a 16-bit patched version of lyx-1.1.5fix1, 
has come out. It can be downloaded at

ftp://stone.phys.pusan.ac.kr/pub/CJK-LyX .

First time user might find it useful to first look on 

http://cellular.phys.pusan.ac.kr/cjk.html

  for the installation and usages.

P.S. CJK-LyX-1.1.5 is also uploaded (Sorry it comes out a month late.)


   [EMAIL PROTECTED]





Re: LyX Development News for July

2000-07-28 Thread Allan Rae

On Thu, 27 Jul 2000, Marko Vendelin wrote:

 
 On Thu, 27 Jul 2000, Allan Rae wrote:
 
  On Wed, 26 Jul 2000, Preben Randhol wrote:
  
   It says there is a Gnome port on the way. Is there a homepage for this
   somewhere?
  
  Good question.  Perhaps Marko (the porter) can answer that?
 
 Unfortunately, I am not aware of any.

I should probably implement the porting-status page and such that I
mentioned in an earlier LDN (2315 sounds about right)

Allan. (ARRae)




Re: Can't find an appropriate visual

2000-07-28 Thread John O'Gorman

Yes. It does seem that XForms will not work with VNC viewers in 8
bit mode.
The good news is that we found in all cases that we could run VNC
server and viewer in 24 bit mode and LyX now works fine!

John O'Gorman
Auckland
New Zealand


From: [EMAIL PROTECTED] (Lars Gullik Bjønnes)
What about "lyx -dbg 65535" or "lyx -best"?

TrueColor and 8 planes seems a bit weird...
man xforms is an option.

but try the "-best" suggestion first...it is also possible that XForms
has a real problem with "TrueColor 8 planes"...

 Lgb


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com




Re: Customizing the index

2000-07-28 Thread German Poo Caaman~o

Herbert Voss wrote:
 1. delete /usr/bin/makeindex
 this is only a link! have a look at it ...

In my Linux box (Mandrake 7.1beta) /usr/bin/makeindex is the
executable file.  But I wrote the script on my ~/bin directory
and it works ok.

Also, I downloaded your Letter.ist and I tried it successfully.
I noted that headings_flag, heading_prefix and heading_suffix
are the "commands" that I need.  So, I commented the others.

In the makeindex documentation appears lethead_prefix, but
it's the same, I guess.

My new question.  How can I center the heading_prefix?
I tried:
heading_prefix  "\\texbf{\t "   "\t\\texbf{ ", etc... But
it doesn't work :-(
With:
heading_prefix "\\begin{center}\\textbf{ "
heading_suffix " }\n\\end{center}"
It doesn't work either.

Ohh... \\hspace works.  But, how can I center it?


-- 
German Poo Caaman~o
mailto:[EMAIL PROTECTED]
http://www.ubiobio.cl/~gpoo/chilelindo.html
"La historia no se lee, se escribe"



Feature in LyX-Code ?

2000-07-28 Thread Jean-Jacques Girardot

Hi !

I am working with LyX 1.1.5fix1, and I am trying to create
a document with a line in LyX-Code starting with a menu separator,
something as simple as :
   ABC

The document is viewed correctly with xdvi, and when I save it,
the corresponding line reads :

\Layout LyX-Code

\SpecialChar \menuseparator
ABC

However, when I open the document again, I get the message

LyX: Token `\menuseparator' is in free space paragraph layout!

and of course, the token disappears from my document.

Is this a bug, or is there some really good reason to do so ?

(this used to work in previous versions of LyX, 1.0.1 and 1.0.4.

Thanks.
-- 
Jean-Jacques Girardot - [EMAIL PROTECTED]

Le respect nait la ou on le seme. (Lao Tseu)



Re: Customizing the index

2000-07-28 Thread Herbert Voss

German Poo Caaman~o wrote:
 
 Herbert Voss wrote:
  1. delete /usr/bin/makeindex
  this is only a link! have a look at it ...
 
 In my Linux box (Mandrake 7.1beta) /usr/bin/makeindex is the
 executable file.  But I wrote the script on my ~/bin directory
 and it works ok.
 
 Also, I downloaded your Letter.ist and I tried it successfully.
 I noted that headings_flag, heading_prefix and heading_suffix
 are the "commands" that I need.  So, I commented the others.
 
 In the makeindex documentation appears lethead_prefix, but
 it's the same, I guess.
 
 My new question.  How can I center the heading_prefix?
 I tried:
 heading_prefix  "\\texbf{\t "   "\t\\texbf{ ", etc... But
 it doesn't work :-(
 With:
 heading_prefix "\\begin{center}\\textbf{ "
 heading_suffix " }\n\\end{center}"
 It doesn't work either.

try this:

heading_prefix   "\\hfill\\textbf{" % boldfont
heading_suffix   "}\\hfill\\ \n"% newline

Herbert


-- 
[EMAIL PROTECTED]
http://perce.de/voss





Paragraph skip and TOC

2000-07-28 Thread Matthew Lovell

Hi,

Setting up a LyX document to block style (no paragraph indent, skip
between paragraphs) also ends up affecting the Table of Contents, List
of Figures, etc.

The nonzero \parskip ends up getting used by @dottedtocline.  I've
gotten around this by putting the TOC, LOF, ... in their block and
setting \parskip back to its default value inside that block.  

I was just wondering whether LyX should "insulate" the frontmatter
lists from such document style choices.

  Matt

-- 
Matthew Lovell
HP Technical Solutions Lab
mailto:[EMAIL PROTECTED]




Re: paragraph margins

2000-07-28 Thread John Culleton

Jim Osborn wrote:

 I'd like to increase the left and right margins for a couple of
 paragraphs, as for an abstract near the beginning of my article.
 That is, I'd like those paragraphs narrower than normal, and centered
 on the page, and in block alignment, like the rest of the article.

 Selecting the text and applying Layout-Paragraph-ExtraOpt:
   Indented Paragraph: indents the left margin
   Minipage:   indents the right margin
   Floatfit:   has no effect

 Making it a minipage and adding \addtolength{\leftmargin}{20em} before
 the text does nothing at all.

 Sorry for what must be a stupid newbie question, but I can't seem to
 bumble onto the solution...

 TIA,

 Jim

There is a plain tex command \narrower that brings in both margins by
\parindent.  In a directory
named carlisle is a file plain.sty that adds most plain.tex commands to
latex.  (David Carlisle is the author of course.) This means using ERC to
bring in the file and use the command.

There are no stupid questions. If you knew the answer you wouldn't have
asked. There are of course wrong answers. I hope this isn't one of them
;|




--
John Culleton - Please visit http://ccpl.carr.org/~john/






foilTex and figure floats

2000-07-28 Thread Ralph Boland

I am using foilTex to create a slide presentation.
Some of my figures contain latex code so I want to
use the combined PS/LaTex method of creating the
figure.  (for this I do not use foilTex but
create a different document for these figures.

My problem is that I don't want the word  
"Figure" to show up and sometimes 
 not the caption either.

One possibility would be to make it white but I 
don't know how to do this for the word "Figure"
and in any case it
would take up space that I might want for my
figure.

Any suggestions?

Other problems with foilTex.

1)  I would like to color my page numbers (a light color)
so I can 
make them less obvious but I don't know how.
Also, Is there a way to tuck
the page numbers into a corner?
I tried using fancyheaders but I guess I didn't do
it right because I couldn't get page numbers to go
to the corner.

2)  I get crashes galore when I use foilTex, often
with orphan windows.  Part of the problem is a 
lack of resources on the machine I am using but
lyx handles the difficulties ungracefully.
Note that in article or book classes I can create
30 page documents but in foilTex 6 pages appears
to be about it so I have to split my file. 
I assume this is because there are
so many figures.



Re: paragraph margins

2000-07-28 Thread Jim Osborn

John Culleton [EMAIL PROTECTED] replies:
Jim Osborn wrote:

 I'd like to increase the left and right margins for a couple of
 paragraphs, as for an abstract near the beginning of my article.
 That is, I'd like those paragraphs narrower than normal, and centered
 on the page, and in block alignment, like the rest of the article.

There is a plain tex command \narrower that brings in both margins by
\parindent.  In a directory
named carlisle is a file plain.sty that adds most plain.tex commands to
latex.  (David Carlisle is the author of course.) This means using ERC to
bring in the file and use the command.

Thanks for the tip, John.  I found "plain.sty" and told LyX about it,
by adding it to the chkconfig.ltx and doc/LaTeXConfig.lyx.in files,
and running configure, but I don't know what you mean by "using ERC
to..." I found the file "plain.tex" in the base directory, but what's
the next step?  LyX gives me an unknown command error, so I obviously
haven't done enough yet.  Thanks again for the help. 

Jim



Bug in LyX 1.1.5?

2000-07-28 Thread German Poo Caaman~o


I found the following bug, but I'm completely sure that is a LyX bug.

I'm writting a spanish text (Format/Document/Language/Spanish)
with a list item.

The text is the following:
Conexiones_no_persistentes. ...

The underscore represent a protected space.  The dvi's page show
an n~ (ñ) instead a space.  
Conexionño persistente. ...

If I try with default language works ok.

I exported to LaTeX and something like that appears:
\item [Conexiones~no~persistentes.]

The problem is that LaTeX interpret ~n like a ñ (n tilde), and
precede to protected space on lyxlist.

Sorry, but I can't sent to you a fix for that, just the error.


My document exported to LaTeX looks like:


\documentclass[12pt,oneside,spanish]{book}
\usepackage{pslatex}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\usepackage{setspace}
\onehalfspacing

\makeatletter

%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
\newcommand{\noun}[1]{\textsc{#1}}

%% Textclass specific LaTeX commands.
 \newenvironment{lyxlist}[1]
   {\begin{list}{}
 {\settowidth{\labelwidth}{#1}
  \setlength{\leftmargin}{\labelwidth}
  \addtolength{\leftmargin}{\labelsep}
  \renewcommand{\makelabel}[1]{##1\hfil}}}
   {\end{list}}
 \usepackage{verbatim}

\makeatother

\begin{document}

\begin{lyxlist}{00.00.}
\item [Conexiones~no~persistentes.]Problem.
\end{lyxlist}

\end{document}



On LyX appears as:
\layout List
\labelwidthstring 00.00.

Conexiones\SpecialChar ~
no\SpecialChar ~
persistentes.
Problem.

-- 
German Poo Caaman~o
mailto:[EMAIL PROTECTED]
http://www.ubiobio.cl/~gpoo/chilelindo.html
"La historia no se lee, se escribe"




CJK-LyX-1.1.5

2000-07-28 Thread cghan


Hello,

CJK-LyX-1.1.5fix1, which is a 16-bit patched version of lyx-1.1.5fix1, 
has come out. It can be downloaded at

ftp://stone.phys.pusan.ac.kr/pub/CJK-LyX .

First time user might find it useful to first look on 

http://cellular.phys.pusan.ac.kr/cjk.html

  for the installation and usages.

P.S. CJK-LyX-1.1.5 is also uploaded (Sorry it comes out a month late.)


   [EMAIL PROTECTED]





Re: LyX Development News for July

2000-07-28 Thread Allan Rae

On Thu, 27 Jul 2000, Marko Vendelin wrote:

> 
> On Thu, 27 Jul 2000, Allan Rae wrote:
> 
> > On Wed, 26 Jul 2000, Preben Randhol wrote:
> > 
> > > It says there is a Gnome port on the way. Is there a homepage for this
> > > somewhere?
> > 
> > Good question.  Perhaps Marko (the porter) can answer that?
> 
> Unfortunately, I am not aware of any.

I should probably implement the porting-status page and such that I
mentioned in an earlier LDN (2315 sounds about right)

Allan. (ARRae)




Re: Can't find an appropriate visual

2000-07-28 Thread John O'Gorman

Yes. It does seem that XForms will not work with VNC viewers in 8
bit mode.
The good news is that we found in all cases that we could run VNC
server and viewer in 24 bit mode and LyX now works fine!

John O'Gorman
Auckland
New Zealand


>From: [EMAIL PROTECTED] (Lars Gullik Bjønnes)
>What about "lyx -dbg 65535" or "lyx -best"?

>TrueColor and 8 planes seems a bit weird...
>man xforms is an option.
>
>but try the "-best" suggestion first...it is also possible that XForms
>has a real problem with "TrueColor 8 planes"...
>
> Lgb


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com




Re: Customizing the index

2000-07-28 Thread German Poo Caaman~o

Herbert Voss wrote:
> 1. delete /usr/bin/makeindex
> this is only a link! have a look at it ...

In my Linux box (Mandrake 7.1beta) /usr/bin/makeindex is the
executable file.  But I wrote the script on my ~/bin directory
and it works ok.

Also, I downloaded your Letter.ist and I tried it successfully.
I noted that headings_flag, heading_prefix and heading_suffix
are the "commands" that I need.  So, I commented the others.

In the makeindex documentation appears lethead_prefix, but
it's the same, I guess.

My new question.  How can I center the heading_prefix?
I tried:
heading_prefix  "\\texbf{\t "   "\t\\texbf{ ", etc... But
it doesn't work :-(
With:
heading_prefix "\\begin{center}\\textbf{ "
heading_suffix " }\n\\end{center}"
It doesn't work either.

Ohh... \\hspace works.  But, how can I center it?


-- 
German Poo Caaman~o
mailto:[EMAIL PROTECTED]
http://www.ubiobio.cl/~gpoo/chilelindo.html
"La historia no se lee, se escribe"



Feature in LyX-Code ?

2000-07-28 Thread Jean-Jacques Girardot

Hi !

I am working with LyX 1.1.5fix1, and I am trying to create
a document with a line in LyX-Code starting with a menu separator,
something as simple as :
   >ABC

The document is viewed correctly with xdvi, and when I save it,
the corresponding line reads :

\Layout LyX-Code

\SpecialChar \menuseparator
ABC

However, when I open the document again, I get the message

LyX: Token `\menuseparator' is in free space paragraph layout!

and of course, the token disappears from my document.

Is this a bug, or is there some really good reason to do so ?

(this used to work in previous versions of LyX, 1.0.1 and 1.0.4.

Thanks.
-- 
Jean-Jacques Girardot - [EMAIL PROTECTED]

Le respect nait la ou on le seme. (Lao Tseu)



Re: Customizing the index

2000-07-28 Thread Herbert Voss

German Poo Caaman~o wrote:
> 
> Herbert Voss wrote:
> > 1. delete /usr/bin/makeindex
> > this is only a link! have a look at it ...
> 
> In my Linux box (Mandrake 7.1beta) /usr/bin/makeindex is the
> executable file.  But I wrote the script on my ~/bin directory
> and it works ok.
> 
> Also, I downloaded your Letter.ist and I tried it successfully.
> I noted that headings_flag, heading_prefix and heading_suffix
> are the "commands" that I need.  So, I commented the others.
> 
> In the makeindex documentation appears lethead_prefix, but
> it's the same, I guess.
> 
> My new question.  How can I center the heading_prefix?
> I tried:
> heading_prefix  "\\texbf{\t "   "\t\\texbf{ ", etc... But
> it doesn't work :-(
> With:
> heading_prefix "\\begin{center}\\textbf{ "
> heading_suffix " }\n\\end{center}"
> It doesn't work either.

try this:

heading_prefix   "\\hfill\\textbf{" % boldfont
heading_suffix   "}\\hfill\\ \n"% newline

Herbert


-- 
[EMAIL PROTECTED]
http://perce.de/voss





Paragraph skip and TOC

2000-07-28 Thread Matthew Lovell

Hi,

Setting up a LyX document to block style (no paragraph indent, skip
between paragraphs) also ends up affecting the Table of Contents, List
of Figures, etc.

The nonzero \parskip ends up getting used by @dottedtocline.  I've
gotten around this by putting the TOC, LOF, ... in their block and
setting \parskip back to its default value inside that block.  

I was just wondering whether LyX should "insulate" the frontmatter
lists from such document style choices.

  Matt

-- 
Matthew Lovell
HP Technical Solutions Lab
mailto:[EMAIL PROTECTED]




Re: paragraph margins

2000-07-28 Thread John Culleton

Jim Osborn wrote:

> I'd like to increase the left and right margins for a couple of
> paragraphs, as for an abstract near the beginning of my article.
> That is, I'd like those paragraphs narrower than normal, and centered
> on the page, and in block alignment, like the rest of the article.
>
> Selecting the text and applying Layout->Paragraph->ExtraOpt:
>   Indented Paragraph: indents the left margin
>   Minipage:   indents the right margin
>   Floatfit:   has no effect
>
> Making it a minipage and adding \addtolength{\leftmargin}{20em} before
> the text does nothing at all.
>
> Sorry for what must be a stupid newbie question, but I can't seem to
> bumble onto the solution...
>
> TIA,
>
> Jim

There is a plain tex command \narrower that brings in both margins by
\parindent.  In a directory
named carlisle is a file plain.sty that adds most plain.tex commands to
latex.  (David Carlisle is the author of course.) This means using ERC to
bring in the file and use the command.

There are no stupid questions. If you knew the answer you wouldn't have
asked. There are of course wrong answers. I hope this isn't one of them
;<|




--
John Culleton -> Please visit http://ccpl.carr.org/~john/






foilTex and figure floats

2000-07-28 Thread Ralph Boland

I am using foilTex to create a slide presentation.
Some of my figures contain latex code so I want to
use the combined PS/LaTex method of creating the
figure.  (for this I do not use foilTex but
create a different document for these figures.

My problem is that I don't want the word  
"Figure" to show up and sometimes 
 not the caption either.

One possibility would be to make it white but I 
don't know how to do this for the word "Figure"
and in any case it
would take up space that I might want for my
figure.

Any suggestions?

Other problems with foilTex.

1)  I would like to color my page numbers (a light color)
so I can 
make them less obvious but I don't know how.
Also, Is there a way to tuck
the page numbers into a corner?
I tried using fancyheaders but I guess I didn't do
it right because I couldn't get page numbers to go
to the corner.

2)  I get crashes galore when I use foilTex, often
with orphan windows.  Part of the problem is a 
lack of resources on the machine I am using but
lyx handles the difficulties ungracefully.
Note that in article or book classes I can create
30 page documents but in foilTex 6 pages appears
to be about it so I have to split my file. 
I assume this is because there are
so many figures.



Re: paragraph margins

2000-07-28 Thread Jim Osborn

John Culleton <[EMAIL PROTECTED]> replies:
>Jim Osborn wrote:
>
>> I'd like to increase the left and right margins for a couple of
>> paragraphs, as for an abstract near the beginning of my article.
>> That is, I'd like those paragraphs narrower than normal, and centered
>> on the page, and in block alignment, like the rest of the article.
>
>There is a plain tex command \narrower that brings in both margins by
>\parindent.  In a directory
>named carlisle is a file plain.sty that adds most plain.tex commands to
>latex.  (David Carlisle is the author of course.) This means using ERC to
>bring in the file and use the command.

Thanks for the tip, John.  I found "plain.sty" and told LyX about it,
by adding it to the chkconfig.ltx and doc/LaTeXConfig.lyx.in files,
and running configure, but I don't know what you mean by "using ERC
to..." I found the file "plain.tex" in the base directory, but what's
the next step?  LyX gives me an unknown command error, so I obviously
haven't done enough yet.  Thanks again for the help. 

Jim



Bug in LyX 1.1.5?

2000-07-28 Thread German Poo Caaman~o


I found the following bug, but I'm completely sure that is a LyX bug.

I'm writting a spanish text (Format/Document/Language/Spanish)
with a list item.

The text is the following:
Conexiones_no_persistentes. ...

The underscore represent a protected space.  The dvi's page show
an n~ (ñ) instead a space.  
Conexionño persistente. ...

If I try with default language works ok.

I exported to LaTeX and something like that appears:
\item [Conexiones~no~persistentes.]

The problem is that LaTeX interpret ~n like a ñ (n tilde), and
precede to protected space on lyxlist.

Sorry, but I can't sent to you a fix for that, just the error.


My document exported to LaTeX looks like:


\documentclass[12pt,oneside,spanish]{book}
\usepackage{pslatex}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\usepackage{setspace}
\onehalfspacing

\makeatletter

%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
\newcommand{\noun}[1]{\textsc{#1}}

%% Textclass specific LaTeX commands.
 \newenvironment{lyxlist}[1]
   {\begin{list}{}
 {\settowidth{\labelwidth}{#1}
  \setlength{\leftmargin}{\labelwidth}
  \addtolength{\leftmargin}{\labelsep}
  \renewcommand{\makelabel}[1]{##1\hfil}}}
   {\end{list}}
 \usepackage{verbatim}

\makeatother

\begin{document}

\begin{lyxlist}{00.00.}
\item [Conexiones~no~persistentes.]Problem.
\end{lyxlist}

\end{document}



On LyX appears as:
\layout List
\labelwidthstring 00.00.

Conexiones\SpecialChar ~
no\SpecialChar ~
persistentes.
Problem.

-- 
German Poo Caaman~o
mailto:[EMAIL PROTECTED]
http://www.ubiobio.cl/~gpoo/chilelindo.html
"La historia no se lee, se escribe"




CJK-LyX-1.1.5

2000-07-28 Thread cghan


Hello,

CJK-LyX-1.1.5fix1, which is a 16-bit patched version of lyx-1.1.5fix1, 
has come out. It can be downloaded at

ftp://stone.phys.pusan.ac.kr/pub/CJK-LyX .

First time user might find it useful to first look on 

http://cellular.phys.pusan.ac.kr/cjk.html

  for the installation and usages.

P.S. CJK-LyX-1.1.5 is also uploaded (Sorry it comes out a month late.)


   [EMAIL PROTECTED]