RE: Layout and Class Files on Windows Distribution

2008-03-15 Thread William R. Buckley

To all who have responded to my enquiries, thank you very much.  This posting
details my experiences, and should assist others to both provide such further
assistance as will make it possible for me to effectively use LyX, and also 
should
find utility in the development of LyX documentation.

Again, I must use the LNCS class/LaTeX 2e tools in order to submit the paper I
am writing for a conference proceedings volume.  I want to use the LyX 
interface,
expecting that doing so will ease the learning curve burden, and so speed my
acquisition of TeX skills.  My host OS is Windows XP v2002 SP2, and I used the
LyX-154-3-22-AltInstaller-Complete.exe file.

I have not been able to use the LNCS .cls and .sty files which are supplied by
Springer-Verlag, in their downloadable .zip file having the name llncs2e.zip

The zip file contains:

The files in this directory belong to the LaTeX2e package for
Lecture Notes in Computer Science (LNCS) of Springer-Verlag.

It consists of the following files:

  history.txtthe version history of the package

  llncs.cls  the LaTeX2e document class

  llncs.dem  the sample input file

  llncs.doc  the documentation of the class (LaTeX source)
  llncsdoc.pdf   the documentation of the class (PDF version)
  llncsdoc.sty   the modification of the class for the documentation
  llncs.ind  an external (faked) author index file
  subjidx.indsubject index demo from the Springer book package
  llncs.dvi  the resultig DVI file (remember to use binary transfer!)

  sprmindx.sty   supplementary style file for MakeIndex
 (usage: makeindex -s sprmindx.sty yourfile.idx)

  splncs.bst BibTeX style for use with llncs.cls

I have searched, including by means of the automated tool applet supplied
with Windows, and not been able to find any reference to LOCALTEXMF
under any condition of case sensitivity.  When I look under the Roots tab
of the MiKTeX settings application, I find just four directories mentioned:

user config:  \Documents and Settings\wrb\Application Data\MiKTeX2.7
 directory does not actually exist
user data:\Documents and Settings\wrb\Local Settings\Application 
Data\MiKTeX2.7\miktex\config\FNDB files
common: \Documents and Settings\AllUsers.WINXP\Application Data\MiKTeX2.7   
various sub-directories
install: \Program Files\MiKTeX2.7

I have made no change to the MiKTeX2.7 installation.  It is as it was prepared, 
by
my use of the complete alternate install of LyX 1.5.4

In none of these directories do I find any reference to LOCALTEXMF.

I did find adjacent to the user config directory a reference to LyX15, and in 
that
directory one may find a file called textclass.lst, within which one finds the 
following
lines:

article article article true

llncs springer article (Springer LNCS) false

about which illuminating discussion is welcome.

Actually, it is likely that I am mistaken regarding changes to MiKTeX, 
particularly
with regard to the above reference to llncs.  I did try to make the suggested 
changes
that are associated with Refresh FNDB.  If that refresh updated the above llncs
reference, then there is a change; otherwise not.

Some of the suggestions that Paul A. Rubin made seem more appropriate to *nix
systems - a shorthand that I appreciate, I might add.

Translation between *nix notions of file structure and naming and the same for 
Windows adds confusion to this process, at least for me.  I don't find the 
available
documentation to provide enough answers for me to get this thing working without
the assistance of others.  Perhaps this experience will provide valuable source
material for additional documentation, which I will be happy to assist writing.

I have been able to start with the default document (I think, by using New
from the File menu), and to add the suggested \usepackage{llncs}
statement in the LaTeX Preamble.  So, I get something, and maybe
what I should be getting.  However, I am not starting with the .cls
file, nor a .layout file, which is what I though LyX was supposed to
start with:  a basic file, augmented with a selected layout file.

Oh well, so the learning goes.

So, what I need to understand now are the class files, and how it is
related to a layout file, and how those are related to the .lyx files that
are loaded by LyX.

I look forward to learning more about LyX.  Your suggestions are warmly
welcomed.

wrb





I need the trick, please

2008-03-15 Thread Miguel Daniel Rodríguez Magarzo
Hi here

I'm working (as usually...) in a new LyX document (a new file) at a
book-style. I need that the chapter number does not start with the
_one_, but the five instead, though this is a new file but it belongs to
a a set of large chapters, so I decided to make a new file for each one.
The thing is that the page number should start with the 1 into each
file (or chapter). 
This what I usually have in the preamble:

\AtBeginDocument{%
\addto\captionsspanish{%
\renewcommand{\chaptername}{Tema}%
}}

\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{the title of the subject} 
\rhead{the title of the Chapter}
\chead{}
\lfoot{}
\rfoot{}
\cfoot{\thepage}


Any trick, please? 

Daniel




Re: I need the trick, please

2008-03-15 Thread Steve Litt
On Saturday 15 March 2008 07:31, Miguel Daniel Rodríguez Magarzo wrote:
 Hi here

 I'm working (as usually...) in a new LyX document (a new file) at a
 book-style. I need that the chapter number does not start with the
 _one_, but the five instead, though this is a new file but it belongs to
 a a set of large chapters, so I decided to make a new file for each one.
 The thing is that the page number should start with the 1 into each
 file (or chapter).
 This what I usually have in the preamble:

 \AtBeginDocument{%
 \addto\captionsspanish{%
 \renewcommand{\chaptername}{Tema}%
 }}

 \usepackage{fancyhdr}
 \pagestyle{fancy}
 \lhead{the title of the subject}
 \rhead{the title of the Chapter}
 \chead{}
 \lfoot{}
 \rfoot{}
 \cfoot{\thepage}


 Any trick, please?

 Daniel

I don't remember the name of the counter, but there's a counter you need to 
set to 5 with ERT. Look in the book.sty or whatever, and find the counter 
name, and set it to 5.

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: I need the trick, please

2008-03-15 Thread Miguel Daniel Rodríguez Magarzo

El sáb, 15-03-2008 a las 09:16 -0400, Steve Litt escribió:
 On Saturday 15 March 2008 07:31, Miguel Daniel Rodríguez Magarzo wrote:
  Hi here
 
  I'm working (as usually...) in a new LyX document (a new file) at a
  book-style. I need that the chapter number does not start with the
  _one_, but the five instead, though this is a new file but it belongs to
  a a set of large chapters, so I decided to make a new file for each one.
  The thing is that the page number should start with the 1 into each
  file (or chapter).
  This what I usually have in the preamble:
 
  \AtBeginDocument{%
  \addto\captionsspanish{%
  \renewcommand{\chaptername}{Tema}%
  }}
 
  \usepackage{fancyhdr}
  \pagestyle{fancy}
  \lhead{the title of the subject}
  \rhead{the title of the Chapter}
  \chead{}
  \lfoot{}
  \rfoot{}
  \cfoot{\thepage}
 
 
  Any trick, please?
 
  Daniel
 
 I don't remember the name of the counter, but there's a counter you need to 
 set to 5 with ERT. Look in the book.sty or whatever, and find the counter 
 name, and set it to 5.
 
 SteveT
 
 Steve Litt
 Books written in LyX:
   Troubleshooting Techniques of the Successful Technologist
   Twenty Eight Tales of Troubleshooting
   Troubleshooting: Just the Facts

I'm sorry, could you (or someone) be more simple please? I don't know
what you're talking about. 
ERT? book.sty? ???:-o 

Thank you for your reply

Daniel



Re: PNG background

2008-03-15 Thread dfc04

Hello,

Thanks for your emails and suggestions. Here is a reply to one email  
that perhaps better explains what I would like to achieve.



One little thing I haven't been able to figure out is making PNGs
with transparency look nice, i.e. specifying white as the background
colour instead of the default black.



A 'white' background is different from 'transparent'.


Indeed. What I have is PNGs with parts that are transparent, and want  
to either leave them transparent (so you would see the page through  
them, i.e. white) or convert that transparency to white, essentialy  
achieving the same effect on the printed page. What LyX seems to be  
doing however is converting my transparent bits of the PNGs to black.


Is this possible at all - and if so how do I make LyX / ImageMagick  
automatically do what I described above?


Kind regards,
Dawid Ciecierski



Re: Layout and Class Files on Windows Distribution

2008-03-15 Thread Bob Lounsbury
On Sat, Mar 15, 2008 at 1:50 AM, William R. Buckley [EMAIL PROTECTED] wrote:
  I have not been able to use the LNCS .cls and .sty files which are supplied 
 by
  Springer-Verlag, in their downloadable .zip file having the name llncs2e.zip

  The zip file contains:

  The files in this directory belong to the LaTeX2e package for
  Lecture Notes in Computer Science (LNCS) of Springer-Verlag.
  
  It consists of the following files:
  
history.txtthe version history of the package
  
llncs.cls  the LaTeX2e document class
  
llncs.dem  the sample input file
  
llncs.doc  the documentation of the class (LaTeX source)
llncsdoc.pdf   the documentation of the class (PDF version)
llncsdoc.sty   the modification of the class for the documentation
llncs.ind  an external (faked) author index file
subjidx.indsubject index demo from the Springer book package
llncs.dvi  the resultig DVI file (remember to use binary 
 transfer!)
  
sprmindx.sty   supplementary style file for MakeIndex
   (usage: makeindex -s sprmindx.sty yourfile.idx)
  
splncs.bst BibTeX style for use with llncs.cls

  I have searched, including by means of the automated tool applet supplied
  with Windows, and not been able to find any reference to LOCALTEXMF
  under any condition of case sensitivity.  When I look under the Roots tab
  of the MiKTeX settings application, I find just four directories mentioned:

  user config:  \Documents and Settings\wrb\Application Data\MiKTeX2.7 
 directory does not actually exist
  user data:\Documents and Settings\wrb\Local Settings\Application 
 Data\MiKTeX2.7\miktex\config\FNDB files
  common: \Documents and Settings\AllUsers.WINXP\Application 
 Data\MiKTeX2.7   various sub-directories
  install: \Program Files\MiKTeX2.7

  I have made no change to the MiKTeX2.7 installation.  It is as it was 
 prepared, by
  my use of the complete alternate install of LyX 1.5.4

  In none of these directories do I find any reference to LOCALTEXMF.

I prefer to set up my own 'localtexmf directory' as MiKTeX tells you
not to put your own .cls files or .sty files within their default
directories as updates may delete them.

Having said that. To set up your own localtexmf' directory create a
folder structure as follows (you can put the texmf folder anywhere you
prefer; however, the folder structure beyond texmf must be followed):

C:\Documents and Settings\username\texmf\tex\latex
C:\Documents and Settings\username\texmf\tex\bibtex\bib
C:\Documents and Settings\username\texmf\tex\bibtex\bst

Then you can put the .cls files and .sty files under the newly created
latex folder and the .bst file under the newly created bst folder. You
can also create additional folders under these for organization
purposes if you want.

Now go to the MiKTeX settings and create a new Root folder to:

C:\Documents and Settings\username\texmf

Now if you Refresh FNDB the .cls, .sty, and .bst files should be
installed on your system and recognized by MiKTeX.



  I did find adjacent to the user config directory a reference to LyX15, and 
 in that
  directory one may find a file called textclass.lst, within which one finds 
 the following
  lines:

  article article article true

  llncs springer article (Springer LNCS) false

The LyX layout files are found in:

C:\Program Files\LyX15\Resources\layouts

In this folder there is already a llncs.layout so you're in luck
This layout specifies article (Springer LNCS) as the name in LyX under
Document-Settings-Document Class. So, if you start LyX and
reconfigure and then reopen LyX that layout should now be 'available'
and you should be ready to go. Sometimes I've had to reconfigure and
reopen two times. Another way to see if LyX is recognizing your .cls,
.sty, and .bst files is to look under Tools-TeX Information and see
if it is listed. You can also 'Recan' and see if that brings them up.
However, a simple 'reconfigure' and restarting of LyX should work.

  I look forward to learning more about LyX.  Your suggestions are warmly
  welcomed.

  wrb

Cheers,
/Bob


List of Figures Enumeration subsectionwise

2008-03-15 Thread Kane Kano
Hallo everbody, 

I have justed genarated my list of figures but I am not satisfied with the way 
of enumarating my figures. It counts every figure like 1, 2, 3... etc. 

Does anyone know how I could adjust the numbering of figures to my Lyx 
document?  For example if I have inserted 3 figures in subsection 1.3, they 
should be counted like

Figure 1.3.1
Figure 1.3.2
Figure 1.3.3

Thanks a lot

Kane




  Lesen Sie Ihre E-Mails jetzt einfach von unterwegs.
www.yahoo.de/go

RE: Layout and Class Files on Windows Distribution

2008-03-15 Thread William R. Buckley

Much good information has come from Bob Lounsbury.  Thank you
for the attention to detail.  Where would I have been expected to
read of the requirement to create such a texmf sub-directory, given
that it was not created automatically by either MiKTeX or LyX?  Indeed,
why was such a directory not so automatically created, when it is
apparently of some need to the system that these directories exist?

I did follow the given advice, and created a *texmf* directory, then
added the .\tex\latex  and .\tex\bibtex\    sub-directories.

These acts were followed by adding a root path to MiKTeX2.7
settings, and reconfiguring the file name database.  Actually, we
have performed this act about five times.  I have even changed the
search order for these roots, and then updated the database.  So,
the layout file shows up in the TeX Information but, in the Document
Settings, the document class Springer LNCS shows up as unavailable.

Thus, may we return to a previous question?

I did find adjacent to the user config directory a 
reference to LyX15, and in that directory one may
find a file called textclass.lst, within which one
finds the following lines:

   article article article true
 
   llncs springer article (Springer LNCS) false
 

Why should this file textclass.lst be so constructed?

Other ideas are of course solicited.

It might be of interest that some hacking did produce some positive
results, though not quite what I need.  Basically, I put the class and
style files in the same directory as my .lyx file, and modified the
\textclass to be llncs.  Under this condition, I could generate a PDF.

wrb






Re: Layout and Class Files on Windows Distribution

2008-03-15 Thread rgheck

William R. Buckley wrote:

Much good information has come from Bob Lounsbury.  Thank you
for the attention to detail.  Where would I have been expected to
read of the requirement to create such a texmf sub-directory, given
that it was not created automatically by either MiKTeX or LyX?  

  
It isn't necessary. (See below.) And, in any event, there's some 
discussion of this in Customization 5.1, though it doesn't direct itself 
to Windows specifically.


LyX won't create such directories. This is a TeX thing, not a LyX thing. 
And MikTeX won't create them because it's a user-level thing, not a 
system-level thing.



Indeed, why was such a directory not so automatically created, when it is
apparently of some need to the system that these directories exist?

  
As foreshadowed above, it isn't necessary. You can put the new class 
files into the main TeX directories if you want. The danger in doing so 
is that these directories can be over-written on an upgrade.



I did follow the given advice, and created a *texmf* directory, then
added the .\tex\latex  and .\tex\bibtex\    sub-directories.

These acts were followed by adding a root path to MiKTeX2.7
settings, and reconfiguring the file name database.  Actually, we
have performed this act about five times.  I have even changed the
search order for these roots, and then updated the database.  So,
the layout file shows up in the TeX Information but, in the Document
Settings, the document class Springer LNCS shows up as unavailable.

  
Did you also reconfigure LyX? Start LyX; ToolsReconfigure; close LyX; 
restart LyX. (This is all covered in Customization section 5.1, in case 
you're wondering.)



Thus, may we return to a previous question?

I did find adjacent to the user config directory a 
reference to LyX15, and in that directory one may

find a file called textclass.lst, within which one
finds the following lines:

   article article article true
 
   llncs springer article (Springer LNCS) false
 


Why should this file textclass.lst be so constructed?

  
This file is created by LyX's configure.py script, which gets run when 
you choose ToolsReconfigure.



It might be of interest that some hacking did produce some positive
results, though not quite what I need.  Basically, I put the class and
style files in the same directory as my .lyx file, and modified the
\textclass to be llncs.  Under this condition, I could generate a PDF.

  

LyX allows the use of local class and layout files, in precisely this way.

rh



Re: Layout and Class Files on Windows Distribution

2008-03-15 Thread Bob Lounsbury
On Sat, Mar 15, 2008 at 12:49 PM, William R. Buckley [EMAIL PROTECTED] wrote:
  So,
  the layout file shows up in the TeX Information but, in the Document
  Settings, the document class Springer LNCS shows up as unavailable.


I wasn't sure if this would happen or not since I don't have llncs.cls
installed on my computer. Looking at the LyX llncs.layout the
\DeclareLaTeXClass doesn't look right to me. Maybe, there is someone
that knows more about this llncs class.

Anyways, to fix the issue you have two options:

1) Modify the llncs.layout in: C:\Program Files\LyX15\Resources\layouts.
2) Create your own layout in: C:\Documents and
Settings\username\Application Data\lyx15\layouts. This is just a
matter of coping the file from 1) and renaming it.

Either way I think the solution is the same. You need to change the
\DeclareLaTeXClass to something like this:

\DeclareLaTeXClass[llncs]{article (Springer LNCS)}

This tells the layout file to explicitly use the llncs.cls file. You
can change 'article (Springer LNCS)' to any name you want in this
case.

Once you do this, be sure to Reconfigure and restart LyX so that it
will find this new/modified .layout file.

Cheers,
/Bob


Equation numbering

2008-03-15 Thread bigblop

All my equations in LyX have the number (0.1) but they are shown correctly in
the pdf. But why the same number for all equations in LyX?
-- 
View this message in context: 
http://www.nabble.com/Equation--numbering-tp16071319p16071319.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: I need the trick, please

2008-03-15 Thread rgheck

Steve Litt wrote:

On Saturday 15 March 2008 07:31, Miguel Daniel Rodríguez Magarzo wrote:
  

Hi here

I'm working (as usually...) in a new LyX document (a new file) at a
book-style. I need that the chapter number does not start with the
_one_, but the five instead, though this is a new file but it belongs to
a a set of large chapters, so I decided to make a new file for each one.
The thing is that the page number should start with the 1 into each
file (or chapter).


If these are chapters of a larger book, then you want to create a 
master document that includes all of the chapters as child 
documents. To create the master, just make a new file, and put your 
title, author, etc, info here. Then do: InsertFileChild Document, and 
Include each of the chapters.


The chapter numbers will look wrong when you edit the child documents 
individually, but they will be right when you compile the whole master 
document.


To reset the page number, just put:
   \setcounter{page}{1}
in ERT (InsertTeX Code) immediately after each Chapter heading. Or 
better, look into the chappg package, which you can find on ctan.org if 
it isn't already available in your TeX distribution.


rh



Re: Layout and Class Files on Windows Distribution

2008-03-15 Thread rgheck

Bob Lounsbury wrote:

On Sat, Mar 15, 2008 at 12:49 PM, William R. Buckley [EMAIL PROTECTED] wrote:
  

 So,
 the layout file shows up in the TeX Information but, in the Document
 Settings, the document class Springer LNCS shows up as unavailable.




I wasn't sure if this would happen or not since I don't have llncs.cls
installed on my computer. Looking at the LyX llncs.layout the
\DeclareLaTeXClass doesn't look right to me. Maybe, there is someone
that knows more about this llncs class.

  
It looks right to me. By default, LyX assumes that the class file has 
the same name as the layout file, which is right in this case.



Once you do this, be sure to Reconfigure and restart LyX so that it
will find this new/modified .layout file.

  
I think that may be all he needs to do, assuming that TeX is seeing the 
class file.


rh



Re: List of Figures Enumeration subsectionwise

2008-03-15 Thread Bob Lounsbury
On Sat, Mar 15, 2008 at 10:31 AM, Kane Kano [EMAIL PROTECTED] wrote:
 Hallo everbody,

  I have justed genarated my list of figures but I am not satisfied with the 
 way of enumarating my figures. It counts every figure like 1, 2, 3... etc.

  Does anyone know how I could adjust the numbering of figures to my Lyx 
 document?  For example if I have inserted 3 figures in subsection 1.3, they 
 should be counted like

  Figure 1.3.1
  Figure 1.3.2
  Figure 1.3.3

  Thanks a lot

  Kane


You just need to put '\numberwithin{figure}{subsection}' in your
preamble and set Document-Settings-Math Options to 'Use AMS math
package'. The same can be done for tables 'table' and equations
'equation'.

Cheers,
/Bob


Re: Layout and Class Files on Windows Distribution

2008-03-15 Thread Bob Lounsbury
On Sat, Mar 15, 2008 at 1:20 PM, rgheck [EMAIL PROTECTED] wrote:
 Bob Lounsbury wrote:
   On Sat, Mar 15, 2008 at 12:49 PM, William R. Buckley [EMAIL PROTECTED] 
 wrote:
  
So,
the layout file shows up in the TeX Information but, in the Document
Settings, the document class Springer LNCS shows up as unavailable.
  
  
  
   I wasn't sure if this would happen or not since I don't have llncs.cls
   installed on my computer. Looking at the LyX llncs.layout the
   \DeclareLaTeXClass doesn't look right to me. Maybe, there is someone
   that knows more about this llncs class.
  
  
  It looks right to me. By default, LyX assumes that the class file has
  the same name as the layout file, which is right in this case.

I didn't know that. That's good to know. If this is the case then
you're right it should be picking up the cls file and all should be
well.

  rh




I am having a problem with LyX v1.5.4

2008-03-15 Thread Peter M. 'Mike' Sanchez
Hello Mr. Johnson,
 
I hope you will forgive the intrusion.  I am having a problem with LyX
v1.5.4 (Feb 24, 2008), and I have tried sending emails to the support
email (lyx-users@lists.lyx.org) with no response.  If you would please
direct me to the correct source for help with my problem (see below), I will
be most grateful.
 
Problem: When I try to use any of the view or export features (e.g.,
pdflatex, ps2pdf, etc.), the software seems to get in a loop utilizing about
50% CPU.  My system is a 2.6Ghz Intel duo processor Windows XP with all
update service packs.  I used the Standard Web Installer:
ftp://ftp.lyx.org/pub/lyx/bin/1.5.4/LyX-1.5.4-1-Installer.exe
LyX-1.5.4-1-Installer.exe (10 MB). This installer will setup a complete LyX
environment, required components will be downloaded automatically...from
http://wiki.lyx.org/Windows/Windows.  Everything seems to have installed ok,
and I have created a book using LyX.
 
Kindest regards,

Peter M. 'Mike' Sanchez



 

image004.jpgimage006.jpg

Please Help.

2008-03-15 Thread Peter M. 'Mike' Sanchez
Hello Fellow LyX users!  I need some help...please!
 
Problem: When I try to use any of the view or export features (e.g.,
pdflatex, ps2pdf, etc.), the software seems to get in a loop utilizing about
50% CPU.  My system is a 2.6Ghz Intel duo processor Windows XP with all
update service packs.  I used the Standard Web Installer:
ftp://ftp.lyx.org/pub/lyx/bin/1.5.4/LyX-1.5.4-1-Installer.exe
LyX-1.5.4-1-Installer.exe (10 MB). This installer will setup a complete LyX
environment, required components will be downloaded automatically...from
http://wiki.lyx.org/Windows/Windows http://wiki.lyx.org/Windows/Windows.
Everything seems to have installed ok, and I have created a book using LyX.
I just cannot create a PDF or DVI output file
 
Kindest regards,

Peter M. 'Mike' Sanchez


image004.jpgimage006.jpg

Re: I need the trick, please

2008-03-15 Thread Miguel Daniel Rodríguez Magarzo

El sáb, 15-03-2008 a las 15:17 -0400, rgheck escribió:
 Steve Litt wrote:
  On Saturday 15 March 2008 07:31, Miguel Daniel Rodríguez Magarzo wrote:

  Hi here
 
  I'm working (as usually...) in a new LyX document (a new file) at a
  book-style. I need that the chapter number does not start with the
  _one_, but the five instead, though this is a new file but it belongs to
  a a set of large chapters, so I decided to make a new file for each one.
  The thing is that the page number should start with the 1 into each
  file (or chapter).
 
  
 If these are chapters of a larger book, then you want to create a 
 master document that includes all of the chapters as child 
 documents. To create the master, just make a new file, and put your 
 title, author, etc, info here. Then do: InsertFileChild Document, and 
 Include each of the chapters.
 
 The chapter numbers will look wrong when you edit the child documents 
 individually, but they will be right when you compile the whole master 
 document.
 
 To reset the page number, just put:
 \setcounter{page}{1}
 in ERT (InsertTeX Code) immediately after each Chapter heading. Or 
 better, look into the chappg package, which you can find on ctan.org if 
 it isn't already available in your TeX distribution.
 
 rh
 

Thank you very much for your rich suggestions. I've sorted out the
problem thanks to them. 
* Concerning to child documents, I'll have to consider seriously that
option when I have definitively finished to rewrite and update this
subject I'm working at the moment. Now the main thing was to print this
chapter indeed. Besides, there is currently a previous chapter that is
not concluded yet. 
* I've put that code with ERT just after the title of the chapter, then
I saw with view dvi and yes! ...working. Then I just had to add a set
of false chapters (1, 2, 3, 4) just before the beginning of the real
chapter (5), and then printing. I know this is not much elegant, but
it's OK for now, until I have the whole set of chapters (units) of the
book (subject); after that, in several weeks I'll probably do what you
suggest, a master document. 
* In respect to the chappg packages... yes, I've checked it and they
are already installed. My knowledge about LaTeX is about close to
zero, so let's things stay as it for now, if the above is covering my
necessities rightly. 

Thanks again, rh. 

Daniel
--
What about not forgetting my own old (very old...!!) websites? ... even
if they aren't written in a kind language, but just HTML, my first...
HTML. I'm talking about this (only Spanish version):
http://ploughingthemetal.galeon.com 



Re: Layout and Class Files on Windows Distribution

2008-03-15 Thread Bob Lounsbury
On Sat, Mar 15, 2008 at 1:20 PM, rgheck [EMAIL PROTECTED] wrote:
 Bob Lounsbury wrote:
   On Sat, Mar 15, 2008 at 12:49 PM, William R. Buckley [EMAIL PROTECTED] 
 wrote:
  
So,
the layout file shows up in the TeX Information but, in the Document
Settings, the document class Springer LNCS shows up as unavailable.

  I think that may be all he needs to do, assuming that TeX is seeing the
  class file.

  rh

I was bored so I installed llncs.cls and reconfigured LyX and 'article
(Springer LNCS)' shows up and is working perfectly.

So, it's confirmed, William just needs to do Tools-Reconfigure.

Cheers,
/Bob


Re: Please Help.

2008-03-15 Thread Paul A. Rubin

Peter M. 'Mike' Sanchez wrote:

Hello Fellow LyX users!  I need some help...please!
 
Problem: When I try to use any of the view or export features (e.g., 
pdflatex, ps2pdf, etc.), the software seems to get in a loop utilizing 
about 50% CPU.  My system is a 2.6Ghz Intel duo processor Windows XP 
with all update service packs.  I used the Standard Web Installer: 
LyX-1.5.4-1-Installer.exe 
ftp://ftp.lyx.org/pub/lyx/bin/1.5.4/LyX-1.5.4-1-Installer.exe (10 MB). 
This installer will setup a complete LyX environment, required 
components will be downloaded automatically...from 
http://wiki.lyx.org/Windows/Windows.  Everything seems to have installed 
ok, and I have created a book using LyX.  I just cannot create a PDF or 
DVI output file
 
Kindest regards,


Peter M. 'Mike' Sanchez



Does this happen with other documents, or just the book you created?  If 
it's just the book, I suspect that MiKTeX is choking on something.  Try 
exporting the book to a LaTeX file and running MiKTeX on it from a 
command prompt.  Maybe MiKTeX will throw up a message indicating what's 
going wrong.  Another possibility is divide-and-conquer; lop out about 
half the book and see if you can get a PDF out of the rest.  If so, try 
adding back bits at a time until something comes unglued.


/Paul



Re: Layout and Class Files on Windows Distribution

2008-03-15 Thread Paul A. Rubin

William R. Buckley wrote:



I have searched, including by means of the automated tool applet supplied
with Windows, and not been able to find any reference to LOCALTEXMF
under any condition of case sensitivity.  When I look under the Roots tab
of the MiKTeX settings application, I find just four directories mentioned:

user config:  \Documents and Settings\wrb\Application Data\MiKTeX2.7
 directory does not actually exist
user data:\Documents and Settings\wrb\Local Settings\Application 
Data\MiKTeX2.7\miktex\config\FNDB files
common: \Documents and Settings\AllUsers.WINXP\Application Data\MiKTeX2.7   
various sub-directories
install: \Program Files\MiKTeX2.7



The directory labeled user config (the one you say does not exist) is 
what would ordinarily be your localtexmf directory.  (The TeX system has 
some conventions about how directories ought to be named, and I think 
that's the origin of localtexmf.  I suspect those conventions are 
frequently honored in the breach as it were.)  From the common entry, 
I suspect that MiKTeX was installed for all user rather than for just 
the wrb login.  If the various subdirectories under the common 
directory include ...\tex\latex, you can use this as your localtexmf and 
install under that directory.  Again, the only difference between 
installing there v. installing under \Program Files\MiKTeX2.7\tex\latex 
is that the former protects you against loss of the class if you delete 
and reinstall (or upgrade) MiKTeX.


I'm a bit late returning to this thread, but I gather from Bob nad 
Richard's posts that you're within a reconfiguration of getting 
something working (hopefully).


/Paul



Re: Please Help.

2008-03-15 Thread Bob Lounsbury
On Sat, Mar 15, 2008 at 4:18 PM, Paul A. Rubin [EMAIL PROTECTED] wrote:
 Peter M. 'Mike' Sanchez wrote:
   Hello Fellow LyX users!  I need some help...please!
  
   Problem: When I try to use any of the view or export features (e.g.,
   pdflatex, ps2pdf, etc.), the software seems to get in a loop utilizing
   about 50% CPU.  My system is a 2.6Ghz Intel duo processor Windows XP
   with all update service packs.  I used the Standard Web Installer:
   LyX-1.5.4-1-Installer.exe
   ftp://ftp.lyx.org/pub/lyx/bin/1.5.4/LyX-1.5.4-1-Installer.exe (10 MB).

  This installer will setup a complete LyX environment, required
   components will be downloaded automatically...from
   http://wiki.lyx.org/Windows/Windows.  Everything seems to have installed
   ok, and I have created a book using LyX.  I just cannot create a PDF or
   DVI output file
  
   Kindest regards,
  
   Peter M. 'Mike' Sanchez
  

  Does this happen with other documents, or just the book you created?  If
  it's just the book, I suspect that MiKTeX is choking on something.  Try
  exporting the book to a LaTeX file and running MiKTeX on it from a
  command prompt.  Maybe MiKTeX will throw up a message indicating what's
  going wrong.  Another possibility is divide-and-conquer; lop out about
  half the book and see if you can get a PDF out of the rest.  If so, try
  adding back bits at a time until something comes unglued.

  /Paul


I'm wondering if MiKTeX is installed as the link he points to is not
the 'complete' installer.

Bob


Re: Layout and Class Files on Windows Distribution

2008-03-15 Thread Bob Lounsbury
On Sat, Mar 15, 2008 at 4:28 PM, Paul A. Rubin [EMAIL PROTECTED] wrote:
 William R. Buckley wrote:

  
   I have searched, including by means of the automated tool applet supplied
   with Windows, and not been able to find any reference to LOCALTEXMF
   under any condition of case sensitivity.  When I look under the Roots tab
   of the MiKTeX settings application, I find just four directories mentioned:
  
   user config:  \Documents and Settings\wrb\Application Data\MiKTeX2.7   
   directory does not actually exist
   user data:\Documents and Settings\wrb\Local Settings\Application 
 Data\MiKTeX2.7\miktex\config\FNDB files
   common: \Documents and Settings\AllUsers.WINXP\Application 
 Data\MiKTeX2.7   various sub-directories
   install: \Program Files\MiKTeX2.7
  

  The directory labeled user config (the one you say does not exist) is
  what would ordinarily be your localtexmf directory.  (The TeX system has
  some conventions about how directories ought to be named, and I think
  that's the origin of localtexmf.  I suspect those conventions are
  frequently honored in the breach as it were.)  From the common entry,
  I suspect that MiKTeX was installed for all user rather than for just
  the wrb login.  If the various subdirectories under the common
  directory include ...\tex\latex, you can use this as your localtexmf and
  install under that directory.  Again, the only difference between
  installing there v. installing under \Program Files\MiKTeX2.7\tex\latex
  is that the former protects you against loss of the class if you delete
  and reinstall (or upgrade) MiKTeX.

  I'm a bit late returning to this thread, but I gather from Bob nad
  Richard's posts that you're within a reconfiguration of getting
  something working (hopefully).

  /Paul


Paul,

So selecting to install 'for all users' doesn't create the userconfig
file structure in a user account, but 'for me only' does? Even in my
'all users' commonconfig folder there is no 'latex' folder, only a
'tex' folder. Easy enough to create though.

I also installed 'for all users' and so the userconfig structure was
not created for my account. Although I prefer to create my own texmf
hierarchy, as I'm sure you've read in this or other posts :-}. So, I
know nothing will happen to my files.

It's funny that you say that the userconfig or commonconfig directory
is 'safe' because if you mouse over these Root directories in the
MiKTeX settings is says something like, ... this directory is
maintained by MiKTeX and should not be used to store your own files as
they could be lost in an upgrade ... . Have you ever experimented
with installing files to userconfig and uninstalling MiKTeX to see if
the files are removed or not? To verify that these files are 'safe' in
the directory. Just wondering as I never have and the MiKTeX warning
scared me away from storing my files there :-}.

Cheers,
/Bob


Re: Equation numbering

2008-03-15 Thread David Hewitt

This was just discussed recently. Search the archives for display formula
numbering and you'll get what you want.


bigblop wrote:
 
 All my equations in LyX have the number (0.1) but they are shown correctly
 in the pdf. But why the same number for all equations in LyX?
 


-
David Hewitt
Virginia Institute of Marine Science
http://www.vims.edu/fish/students/dhewitt/
-- 
View this message in context: 
http://www.nabble.com/Equation--numbering-tp16071319p16073725.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Bibliography in Spanish

2008-03-15 Thread Julio Rojas
Hi, which bibliographic style is the most suited for the spanish language. I
have tried APALIKE and PLAINNAT with results in english, even thou spanish
is the document language. The style is not really an issue (thou if possible
I would like an APA formated bibliography), but the language is.

Also, why these styles convert uppercase letters in the title to lowercase?

Thx in advance...

-- 
-
Julio Rojas
[EMAIL PROTECTED]


RE: Layout and Class Files on Windows Distribution

2008-03-15 Thread William R. Buckley

To all who have responded to my enquiries, thank you very much.  This posting
details my experiences, and should assist others to both provide such further
assistance as will make it possible for me to effectively use LyX, and also 
should
find utility in the development of LyX documentation.

Again, I must use the LNCS class/LaTeX 2e tools in order to submit the paper I
am writing for a conference proceedings volume.  I want to use the LyX 
interface,
expecting that doing so will ease the learning curve burden, and so speed my
acquisition of TeX skills.  My host OS is Windows XP v2002 SP2, and I used the
LyX-154-3-22-AltInstaller-Complete.exe file.

I have not been able to use the LNCS .cls and .sty files which are supplied by
Springer-Verlag, in their downloadable .zip file having the name llncs2e.zip

The zip file contains:

The files in this directory belong to the LaTeX2e package for
Lecture Notes in Computer Science (LNCS) of Springer-Verlag.

It consists of the following files:

  history.txtthe version history of the package

  llncs.cls  the LaTeX2e document class

  llncs.dem  the sample input file

  llncs.doc  the documentation of the class (LaTeX source)
  llncsdoc.pdf   the documentation of the class (PDF version)
  llncsdoc.sty   the modification of the class for the documentation
  llncs.ind  an external (faked) author index file
  subjidx.indsubject index demo from the Springer book package
  llncs.dvi  the resultig DVI file (remember to use binary transfer!)

  sprmindx.sty   supplementary style file for MakeIndex
 (usage: makeindex -s sprmindx.sty yourfile.idx)

  splncs.bst BibTeX style for use with llncs.cls

I have searched, including by means of the automated tool applet supplied
with Windows, and not been able to find any reference to LOCALTEXMF
under any condition of case sensitivity.  When I look under the Roots tab
of the MiKTeX settings application, I find just four directories mentioned:

user config:  \Documents and Settings\wrb\Application Data\MiKTeX2.7
 directory does not actually exist
user data:\Documents and Settings\wrb\Local Settings\Application 
Data\MiKTeX2.7\miktex\config\FNDB files
common: \Documents and Settings\AllUsers.WINXP\Application Data\MiKTeX2.7   
various sub-directories
install: \Program Files\MiKTeX2.7

I have made no change to the MiKTeX2.7 installation.  It is as it was prepared, 
by
my use of the complete alternate install of LyX 1.5.4

In none of these directories do I find any reference to LOCALTEXMF.

I did find adjacent to the user config directory a reference to LyX15, and in 
that
directory one may find a file called textclass.lst, within which one finds the 
following
lines:

article article article true

llncs springer article (Springer LNCS) false

about which illuminating discussion is welcome.

Actually, it is likely that I am mistaken regarding changes to MiKTeX, 
particularly
with regard to the above reference to llncs.  I did try to make the suggested 
changes
that are associated with Refresh FNDB.  If that refresh updated the above llncs
reference, then there is a change; otherwise not.

Some of the suggestions that Paul A. Rubin made seem more appropriate to *nix
systems - a shorthand that I appreciate, I might add.

Translation between *nix notions of file structure and naming and the same for 
Windows adds confusion to this process, at least for me.  I don't find the 
available
documentation to provide enough answers for me to get this thing working without
the assistance of others.  Perhaps this experience will provide valuable source
material for additional documentation, which I will be happy to assist writing.

I have been able to start with the default document (I think, by using New
from the File menu), and to add the suggested \usepackage{llncs}
statement in the LaTeX Preamble.  So, I get something, and maybe
what I should be getting.  However, I am not starting with the .cls
file, nor a .layout file, which is what I though LyX was supposed to
start with:  a basic file, augmented with a selected layout file.

Oh well, so the learning goes.

So, what I need to understand now are the class files, and how it is
related to a layout file, and how those are related to the .lyx files that
are loaded by LyX.

I look forward to learning more about LyX.  Your suggestions are warmly
welcomed.

wrb





I need the trick, please

2008-03-15 Thread Miguel Daniel Rodríguez Magarzo
Hi here

I'm working (as usually...) in a new LyX document (a new file) at a
book-style. I need that the chapter number does not start with the
_one_, but the five instead, though this is a new file but it belongs to
a a set of large chapters, so I decided to make a new file for each one.
The thing is that the page number should start with the 1 into each
file (or chapter). 
This what I usually have in the preamble:

\AtBeginDocument{%
\addto\captionsspanish{%
\renewcommand{\chaptername}{Tema}%
}}

\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{the title of the subject} 
\rhead{the title of the Chapter}
\chead{}
\lfoot{}
\rfoot{}
\cfoot{\thepage}


Any trick, please? 

Daniel




Re: I need the trick, please

2008-03-15 Thread Steve Litt
On Saturday 15 March 2008 07:31, Miguel Daniel Rodríguez Magarzo wrote:
 Hi here

 I'm working (as usually...) in a new LyX document (a new file) at a
 book-style. I need that the chapter number does not start with the
 _one_, but the five instead, though this is a new file but it belongs to
 a a set of large chapters, so I decided to make a new file for each one.
 The thing is that the page number should start with the 1 into each
 file (or chapter).
 This what I usually have in the preamble:

 \AtBeginDocument{%
 \addto\captionsspanish{%
 \renewcommand{\chaptername}{Tema}%
 }}

 \usepackage{fancyhdr}
 \pagestyle{fancy}
 \lhead{the title of the subject}
 \rhead{the title of the Chapter}
 \chead{}
 \lfoot{}
 \rfoot{}
 \cfoot{\thepage}


 Any trick, please?

 Daniel

I don't remember the name of the counter, but there's a counter you need to 
set to 5 with ERT. Look in the book.sty or whatever, and find the counter 
name, and set it to 5.

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: I need the trick, please

2008-03-15 Thread Miguel Daniel Rodríguez Magarzo

El sáb, 15-03-2008 a las 09:16 -0400, Steve Litt escribió:
 On Saturday 15 March 2008 07:31, Miguel Daniel Rodríguez Magarzo wrote:
  Hi here
 
  I'm working (as usually...) in a new LyX document (a new file) at a
  book-style. I need that the chapter number does not start with the
  _one_, but the five instead, though this is a new file but it belongs to
  a a set of large chapters, so I decided to make a new file for each one.
  The thing is that the page number should start with the 1 into each
  file (or chapter).
  This what I usually have in the preamble:
 
  \AtBeginDocument{%
  \addto\captionsspanish{%
  \renewcommand{\chaptername}{Tema}%
  }}
 
  \usepackage{fancyhdr}
  \pagestyle{fancy}
  \lhead{the title of the subject}
  \rhead{the title of the Chapter}
  \chead{}
  \lfoot{}
  \rfoot{}
  \cfoot{\thepage}
 
 
  Any trick, please?
 
  Daniel
 
 I don't remember the name of the counter, but there's a counter you need to 
 set to 5 with ERT. Look in the book.sty or whatever, and find the counter 
 name, and set it to 5.
 
 SteveT
 
 Steve Litt
 Books written in LyX:
   Troubleshooting Techniques of the Successful Technologist
   Twenty Eight Tales of Troubleshooting
   Troubleshooting: Just the Facts

I'm sorry, could you (or someone) be more simple please? I don't know
what you're talking about. 
ERT? book.sty? ???:-o 

Thank you for your reply

Daniel



Re: PNG background

2008-03-15 Thread dfc04

Hello,

Thanks for your emails and suggestions. Here is a reply to one email  
that perhaps better explains what I would like to achieve.



One little thing I haven't been able to figure out is making PNGs
with transparency look nice, i.e. specifying white as the background
colour instead of the default black.



A 'white' background is different from 'transparent'.


Indeed. What I have is PNGs with parts that are transparent, and want  
to either leave them transparent (so you would see the page through  
them, i.e. white) or convert that transparency to white, essentialy  
achieving the same effect on the printed page. What LyX seems to be  
doing however is converting my transparent bits of the PNGs to black.


Is this possible at all - and if so how do I make LyX / ImageMagick  
automatically do what I described above?


Kind regards,
Dawid Ciecierski



Re: Layout and Class Files on Windows Distribution

2008-03-15 Thread Bob Lounsbury
On Sat, Mar 15, 2008 at 1:50 AM, William R. Buckley [EMAIL PROTECTED] wrote:
  I have not been able to use the LNCS .cls and .sty files which are supplied 
 by
  Springer-Verlag, in their downloadable .zip file having the name llncs2e.zip

  The zip file contains:

  The files in this directory belong to the LaTeX2e package for
  Lecture Notes in Computer Science (LNCS) of Springer-Verlag.
  
  It consists of the following files:
  
history.txtthe version history of the package
  
llncs.cls  the LaTeX2e document class
  
llncs.dem  the sample input file
  
llncs.doc  the documentation of the class (LaTeX source)
llncsdoc.pdf   the documentation of the class (PDF version)
llncsdoc.sty   the modification of the class for the documentation
llncs.ind  an external (faked) author index file
subjidx.indsubject index demo from the Springer book package
llncs.dvi  the resultig DVI file (remember to use binary 
 transfer!)
  
sprmindx.sty   supplementary style file for MakeIndex
   (usage: makeindex -s sprmindx.sty yourfile.idx)
  
splncs.bst BibTeX style for use with llncs.cls

  I have searched, including by means of the automated tool applet supplied
  with Windows, and not been able to find any reference to LOCALTEXMF
  under any condition of case sensitivity.  When I look under the Roots tab
  of the MiKTeX settings application, I find just four directories mentioned:

  user config:  \Documents and Settings\wrb\Application Data\MiKTeX2.7 
 directory does not actually exist
  user data:\Documents and Settings\wrb\Local Settings\Application 
 Data\MiKTeX2.7\miktex\config\FNDB files
  common: \Documents and Settings\AllUsers.WINXP\Application 
 Data\MiKTeX2.7   various sub-directories
  install: \Program Files\MiKTeX2.7

  I have made no change to the MiKTeX2.7 installation.  It is as it was 
 prepared, by
  my use of the complete alternate install of LyX 1.5.4

  In none of these directories do I find any reference to LOCALTEXMF.

I prefer to set up my own 'localtexmf directory' as MiKTeX tells you
not to put your own .cls files or .sty files within their default
directories as updates may delete them.

Having said that. To set up your own localtexmf' directory create a
folder structure as follows (you can put the texmf folder anywhere you
prefer; however, the folder structure beyond texmf must be followed):

C:\Documents and Settings\username\texmf\tex\latex
C:\Documents and Settings\username\texmf\tex\bibtex\bib
C:\Documents and Settings\username\texmf\tex\bibtex\bst

Then you can put the .cls files and .sty files under the newly created
latex folder and the .bst file under the newly created bst folder. You
can also create additional folders under these for organization
purposes if you want.

Now go to the MiKTeX settings and create a new Root folder to:

C:\Documents and Settings\username\texmf

Now if you Refresh FNDB the .cls, .sty, and .bst files should be
installed on your system and recognized by MiKTeX.



  I did find adjacent to the user config directory a reference to LyX15, and 
 in that
  directory one may find a file called textclass.lst, within which one finds 
 the following
  lines:

  article article article true

  llncs springer article (Springer LNCS) false

The LyX layout files are found in:

C:\Program Files\LyX15\Resources\layouts

In this folder there is already a llncs.layout so you're in luck
This layout specifies article (Springer LNCS) as the name in LyX under
Document-Settings-Document Class. So, if you start LyX and
reconfigure and then reopen LyX that layout should now be 'available'
and you should be ready to go. Sometimes I've had to reconfigure and
reopen two times. Another way to see if LyX is recognizing your .cls,
.sty, and .bst files is to look under Tools-TeX Information and see
if it is listed. You can also 'Recan' and see if that brings them up.
However, a simple 'reconfigure' and restarting of LyX should work.

  I look forward to learning more about LyX.  Your suggestions are warmly
  welcomed.

  wrb

Cheers,
/Bob


List of Figures Enumeration subsectionwise

2008-03-15 Thread Kane Kano
Hallo everbody, 

I have justed genarated my list of figures but I am not satisfied with the way 
of enumarating my figures. It counts every figure like 1, 2, 3... etc. 

Does anyone know how I could adjust the numbering of figures to my Lyx 
document?  For example if I have inserted 3 figures in subsection 1.3, they 
should be counted like

Figure 1.3.1
Figure 1.3.2
Figure 1.3.3

Thanks a lot

Kane




  Lesen Sie Ihre E-Mails jetzt einfach von unterwegs.
www.yahoo.de/go

RE: Layout and Class Files on Windows Distribution

2008-03-15 Thread William R. Buckley

Much good information has come from Bob Lounsbury.  Thank you
for the attention to detail.  Where would I have been expected to
read of the requirement to create such a texmf sub-directory, given
that it was not created automatically by either MiKTeX or LyX?  Indeed,
why was such a directory not so automatically created, when it is
apparently of some need to the system that these directories exist?

I did follow the given advice, and created a *texmf* directory, then
added the .\tex\latex  and .\tex\bibtex\    sub-directories.

These acts were followed by adding a root path to MiKTeX2.7
settings, and reconfiguring the file name database.  Actually, we
have performed this act about five times.  I have even changed the
search order for these roots, and then updated the database.  So,
the layout file shows up in the TeX Information but, in the Document
Settings, the document class Springer LNCS shows up as unavailable.

Thus, may we return to a previous question?

I did find adjacent to the user config directory a 
reference to LyX15, and in that directory one may
find a file called textclass.lst, within which one
finds the following lines:

   article article article true
 
   llncs springer article (Springer LNCS) false
 

Why should this file textclass.lst be so constructed?

Other ideas are of course solicited.

It might be of interest that some hacking did produce some positive
results, though not quite what I need.  Basically, I put the class and
style files in the same directory as my .lyx file, and modified the
\textclass to be llncs.  Under this condition, I could generate a PDF.

wrb






Re: Layout and Class Files on Windows Distribution

2008-03-15 Thread rgheck

William R. Buckley wrote:

Much good information has come from Bob Lounsbury.  Thank you
for the attention to detail.  Where would I have been expected to
read of the requirement to create such a texmf sub-directory, given
that it was not created automatically by either MiKTeX or LyX?  

  
It isn't necessary. (See below.) And, in any event, there's some 
discussion of this in Customization 5.1, though it doesn't direct itself 
to Windows specifically.


LyX won't create such directories. This is a TeX thing, not a LyX thing. 
And MikTeX won't create them because it's a user-level thing, not a 
system-level thing.



Indeed, why was such a directory not so automatically created, when it is
apparently of some need to the system that these directories exist?

  
As foreshadowed above, it isn't necessary. You can put the new class 
files into the main TeX directories if you want. The danger in doing so 
is that these directories can be over-written on an upgrade.



I did follow the given advice, and created a *texmf* directory, then
added the .\tex\latex  and .\tex\bibtex\    sub-directories.

These acts were followed by adding a root path to MiKTeX2.7
settings, and reconfiguring the file name database.  Actually, we
have performed this act about five times.  I have even changed the
search order for these roots, and then updated the database.  So,
the layout file shows up in the TeX Information but, in the Document
Settings, the document class Springer LNCS shows up as unavailable.

  
Did you also reconfigure LyX? Start LyX; ToolsReconfigure; close LyX; 
restart LyX. (This is all covered in Customization section 5.1, in case 
you're wondering.)



Thus, may we return to a previous question?

I did find adjacent to the user config directory a 
reference to LyX15, and in that directory one may

find a file called textclass.lst, within which one
finds the following lines:

   article article article true
 
   llncs springer article (Springer LNCS) false
 


Why should this file textclass.lst be so constructed?

  
This file is created by LyX's configure.py script, which gets run when 
you choose ToolsReconfigure.



It might be of interest that some hacking did produce some positive
results, though not quite what I need.  Basically, I put the class and
style files in the same directory as my .lyx file, and modified the
\textclass to be llncs.  Under this condition, I could generate a PDF.

  

LyX allows the use of local class and layout files, in precisely this way.

rh



Re: Layout and Class Files on Windows Distribution

2008-03-15 Thread Bob Lounsbury
On Sat, Mar 15, 2008 at 12:49 PM, William R. Buckley [EMAIL PROTECTED] wrote:
  So,
  the layout file shows up in the TeX Information but, in the Document
  Settings, the document class Springer LNCS shows up as unavailable.


I wasn't sure if this would happen or not since I don't have llncs.cls
installed on my computer. Looking at the LyX llncs.layout the
\DeclareLaTeXClass doesn't look right to me. Maybe, there is someone
that knows more about this llncs class.

Anyways, to fix the issue you have two options:

1) Modify the llncs.layout in: C:\Program Files\LyX15\Resources\layouts.
2) Create your own layout in: C:\Documents and
Settings\username\Application Data\lyx15\layouts. This is just a
matter of coping the file from 1) and renaming it.

Either way I think the solution is the same. You need to change the
\DeclareLaTeXClass to something like this:

\DeclareLaTeXClass[llncs]{article (Springer LNCS)}

This tells the layout file to explicitly use the llncs.cls file. You
can change 'article (Springer LNCS)' to any name you want in this
case.

Once you do this, be sure to Reconfigure and restart LyX so that it
will find this new/modified .layout file.

Cheers,
/Bob


Equation numbering

2008-03-15 Thread bigblop

All my equations in LyX have the number (0.1) but they are shown correctly in
the pdf. But why the same number for all equations in LyX?
-- 
View this message in context: 
http://www.nabble.com/Equation--numbering-tp16071319p16071319.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: I need the trick, please

2008-03-15 Thread rgheck

Steve Litt wrote:

On Saturday 15 March 2008 07:31, Miguel Daniel Rodríguez Magarzo wrote:
  

Hi here

I'm working (as usually...) in a new LyX document (a new file) at a
book-style. I need that the chapter number does not start with the
_one_, but the five instead, though this is a new file but it belongs to
a a set of large chapters, so I decided to make a new file for each one.
The thing is that the page number should start with the 1 into each
file (or chapter).


If these are chapters of a larger book, then you want to create a 
master document that includes all of the chapters as child 
documents. To create the master, just make a new file, and put your 
title, author, etc, info here. Then do: InsertFileChild Document, and 
Include each of the chapters.


The chapter numbers will look wrong when you edit the child documents 
individually, but they will be right when you compile the whole master 
document.


To reset the page number, just put:
   \setcounter{page}{1}
in ERT (InsertTeX Code) immediately after each Chapter heading. Or 
better, look into the chappg package, which you can find on ctan.org if 
it isn't already available in your TeX distribution.


rh



Re: Layout and Class Files on Windows Distribution

2008-03-15 Thread rgheck

Bob Lounsbury wrote:

On Sat, Mar 15, 2008 at 12:49 PM, William R. Buckley [EMAIL PROTECTED] wrote:
  

 So,
 the layout file shows up in the TeX Information but, in the Document
 Settings, the document class Springer LNCS shows up as unavailable.




I wasn't sure if this would happen or not since I don't have llncs.cls
installed on my computer. Looking at the LyX llncs.layout the
\DeclareLaTeXClass doesn't look right to me. Maybe, there is someone
that knows more about this llncs class.

  
It looks right to me. By default, LyX assumes that the class file has 
the same name as the layout file, which is right in this case.



Once you do this, be sure to Reconfigure and restart LyX so that it
will find this new/modified .layout file.

  
I think that may be all he needs to do, assuming that TeX is seeing the 
class file.


rh



Re: List of Figures Enumeration subsectionwise

2008-03-15 Thread Bob Lounsbury
On Sat, Mar 15, 2008 at 10:31 AM, Kane Kano [EMAIL PROTECTED] wrote:
 Hallo everbody,

  I have justed genarated my list of figures but I am not satisfied with the 
 way of enumarating my figures. It counts every figure like 1, 2, 3... etc.

  Does anyone know how I could adjust the numbering of figures to my Lyx 
 document?  For example if I have inserted 3 figures in subsection 1.3, they 
 should be counted like

  Figure 1.3.1
  Figure 1.3.2
  Figure 1.3.3

  Thanks a lot

  Kane


You just need to put '\numberwithin{figure}{subsection}' in your
preamble and set Document-Settings-Math Options to 'Use AMS math
package'. The same can be done for tables 'table' and equations
'equation'.

Cheers,
/Bob


Re: Layout and Class Files on Windows Distribution

2008-03-15 Thread Bob Lounsbury
On Sat, Mar 15, 2008 at 1:20 PM, rgheck [EMAIL PROTECTED] wrote:
 Bob Lounsbury wrote:
   On Sat, Mar 15, 2008 at 12:49 PM, William R. Buckley [EMAIL PROTECTED] 
 wrote:
  
So,
the layout file shows up in the TeX Information but, in the Document
Settings, the document class Springer LNCS shows up as unavailable.
  
  
  
   I wasn't sure if this would happen or not since I don't have llncs.cls
   installed on my computer. Looking at the LyX llncs.layout the
   \DeclareLaTeXClass doesn't look right to me. Maybe, there is someone
   that knows more about this llncs class.
  
  
  It looks right to me. By default, LyX assumes that the class file has
  the same name as the layout file, which is right in this case.

I didn't know that. That's good to know. If this is the case then
you're right it should be picking up the cls file and all should be
well.

  rh




I am having a problem with LyX v1.5.4

2008-03-15 Thread Peter M. 'Mike' Sanchez
Hello Mr. Johnson,
 
I hope you will forgive the intrusion.  I am having a problem with LyX
v1.5.4 (Feb 24, 2008), and I have tried sending emails to the support
email (lyx-users@lists.lyx.org) with no response.  If you would please
direct me to the correct source for help with my problem (see below), I will
be most grateful.
 
Problem: When I try to use any of the view or export features (e.g.,
pdflatex, ps2pdf, etc.), the software seems to get in a loop utilizing about
50% CPU.  My system is a 2.6Ghz Intel duo processor Windows XP with all
update service packs.  I used the Standard Web Installer:
ftp://ftp.lyx.org/pub/lyx/bin/1.5.4/LyX-1.5.4-1-Installer.exe
LyX-1.5.4-1-Installer.exe (10 MB). This installer will setup a complete LyX
environment, required components will be downloaded automatically...from
http://wiki.lyx.org/Windows/Windows.  Everything seems to have installed ok,
and I have created a book using LyX.
 
Kindest regards,

Peter M. 'Mike' Sanchez



 

image004.jpgimage006.jpg

Please Help.

2008-03-15 Thread Peter M. 'Mike' Sanchez
Hello Fellow LyX users!  I need some help...please!
 
Problem: When I try to use any of the view or export features (e.g.,
pdflatex, ps2pdf, etc.), the software seems to get in a loop utilizing about
50% CPU.  My system is a 2.6Ghz Intel duo processor Windows XP with all
update service packs.  I used the Standard Web Installer:
ftp://ftp.lyx.org/pub/lyx/bin/1.5.4/LyX-1.5.4-1-Installer.exe
LyX-1.5.4-1-Installer.exe (10 MB). This installer will setup a complete LyX
environment, required components will be downloaded automatically...from
http://wiki.lyx.org/Windows/Windows http://wiki.lyx.org/Windows/Windows.
Everything seems to have installed ok, and I have created a book using LyX.
I just cannot create a PDF or DVI output file
 
Kindest regards,

Peter M. 'Mike' Sanchez


image004.jpgimage006.jpg

Re: I need the trick, please

2008-03-15 Thread Miguel Daniel Rodríguez Magarzo

El sáb, 15-03-2008 a las 15:17 -0400, rgheck escribió:
 Steve Litt wrote:
  On Saturday 15 March 2008 07:31, Miguel Daniel Rodríguez Magarzo wrote:

  Hi here
 
  I'm working (as usually...) in a new LyX document (a new file) at a
  book-style. I need that the chapter number does not start with the
  _one_, but the five instead, though this is a new file but it belongs to
  a a set of large chapters, so I decided to make a new file for each one.
  The thing is that the page number should start with the 1 into each
  file (or chapter).
 
  
 If these are chapters of a larger book, then you want to create a 
 master document that includes all of the chapters as child 
 documents. To create the master, just make a new file, and put your 
 title, author, etc, info here. Then do: InsertFileChild Document, and 
 Include each of the chapters.
 
 The chapter numbers will look wrong when you edit the child documents 
 individually, but they will be right when you compile the whole master 
 document.
 
 To reset the page number, just put:
 \setcounter{page}{1}
 in ERT (InsertTeX Code) immediately after each Chapter heading. Or 
 better, look into the chappg package, which you can find on ctan.org if 
 it isn't already available in your TeX distribution.
 
 rh
 

Thank you very much for your rich suggestions. I've sorted out the
problem thanks to them. 
* Concerning to child documents, I'll have to consider seriously that
option when I have definitively finished to rewrite and update this
subject I'm working at the moment. Now the main thing was to print this
chapter indeed. Besides, there is currently a previous chapter that is
not concluded yet. 
* I've put that code with ERT just after the title of the chapter, then
I saw with view dvi and yes! ...working. Then I just had to add a set
of false chapters (1, 2, 3, 4) just before the beginning of the real
chapter (5), and then printing. I know this is not much elegant, but
it's OK for now, until I have the whole set of chapters (units) of the
book (subject); after that, in several weeks I'll probably do what you
suggest, a master document. 
* In respect to the chappg packages... yes, I've checked it and they
are already installed. My knowledge about LaTeX is about close to
zero, so let's things stay as it for now, if the above is covering my
necessities rightly. 

Thanks again, rh. 

Daniel
--
What about not forgetting my own old (very old...!!) websites? ... even
if they aren't written in a kind language, but just HTML, my first...
HTML. I'm talking about this (only Spanish version):
http://ploughingthemetal.galeon.com 



Re: Layout and Class Files on Windows Distribution

2008-03-15 Thread Bob Lounsbury
On Sat, Mar 15, 2008 at 1:20 PM, rgheck [EMAIL PROTECTED] wrote:
 Bob Lounsbury wrote:
   On Sat, Mar 15, 2008 at 12:49 PM, William R. Buckley [EMAIL PROTECTED] 
 wrote:
  
So,
the layout file shows up in the TeX Information but, in the Document
Settings, the document class Springer LNCS shows up as unavailable.

  I think that may be all he needs to do, assuming that TeX is seeing the
  class file.

  rh

I was bored so I installed llncs.cls and reconfigured LyX and 'article
(Springer LNCS)' shows up and is working perfectly.

So, it's confirmed, William just needs to do Tools-Reconfigure.

Cheers,
/Bob


Re: Please Help.

2008-03-15 Thread Paul A. Rubin

Peter M. 'Mike' Sanchez wrote:

Hello Fellow LyX users!  I need some help...please!
 
Problem: When I try to use any of the view or export features (e.g., 
pdflatex, ps2pdf, etc.), the software seems to get in a loop utilizing 
about 50% CPU.  My system is a 2.6Ghz Intel duo processor Windows XP 
with all update service packs.  I used the Standard Web Installer: 
LyX-1.5.4-1-Installer.exe 
ftp://ftp.lyx.org/pub/lyx/bin/1.5.4/LyX-1.5.4-1-Installer.exe (10 MB). 
This installer will setup a complete LyX environment, required 
components will be downloaded automatically...from 
http://wiki.lyx.org/Windows/Windows.  Everything seems to have installed 
ok, and I have created a book using LyX.  I just cannot create a PDF or 
DVI output file
 
Kindest regards,


Peter M. 'Mike' Sanchez



Does this happen with other documents, or just the book you created?  If 
it's just the book, I suspect that MiKTeX is choking on something.  Try 
exporting the book to a LaTeX file and running MiKTeX on it from a 
command prompt.  Maybe MiKTeX will throw up a message indicating what's 
going wrong.  Another possibility is divide-and-conquer; lop out about 
half the book and see if you can get a PDF out of the rest.  If so, try 
adding back bits at a time until something comes unglued.


/Paul



Re: Layout and Class Files on Windows Distribution

2008-03-15 Thread Paul A. Rubin

William R. Buckley wrote:



I have searched, including by means of the automated tool applet supplied
with Windows, and not been able to find any reference to LOCALTEXMF
under any condition of case sensitivity.  When I look under the Roots tab
of the MiKTeX settings application, I find just four directories mentioned:

user config:  \Documents and Settings\wrb\Application Data\MiKTeX2.7
 directory does not actually exist
user data:\Documents and Settings\wrb\Local Settings\Application 
Data\MiKTeX2.7\miktex\config\FNDB files
common: \Documents and Settings\AllUsers.WINXP\Application Data\MiKTeX2.7   
various sub-directories
install: \Program Files\MiKTeX2.7



The directory labeled user config (the one you say does not exist) is 
what would ordinarily be your localtexmf directory.  (The TeX system has 
some conventions about how directories ought to be named, and I think 
that's the origin of localtexmf.  I suspect those conventions are 
frequently honored in the breach as it were.)  From the common entry, 
I suspect that MiKTeX was installed for all user rather than for just 
the wrb login.  If the various subdirectories under the common 
directory include ...\tex\latex, you can use this as your localtexmf and 
install under that directory.  Again, the only difference between 
installing there v. installing under \Program Files\MiKTeX2.7\tex\latex 
is that the former protects you against loss of the class if you delete 
and reinstall (or upgrade) MiKTeX.


I'm a bit late returning to this thread, but I gather from Bob nad 
Richard's posts that you're within a reconfiguration of getting 
something working (hopefully).


/Paul



Re: Please Help.

2008-03-15 Thread Bob Lounsbury
On Sat, Mar 15, 2008 at 4:18 PM, Paul A. Rubin [EMAIL PROTECTED] wrote:
 Peter M. 'Mike' Sanchez wrote:
   Hello Fellow LyX users!  I need some help...please!
  
   Problem: When I try to use any of the view or export features (e.g.,
   pdflatex, ps2pdf, etc.), the software seems to get in a loop utilizing
   about 50% CPU.  My system is a 2.6Ghz Intel duo processor Windows XP
   with all update service packs.  I used the Standard Web Installer:
   LyX-1.5.4-1-Installer.exe
   ftp://ftp.lyx.org/pub/lyx/bin/1.5.4/LyX-1.5.4-1-Installer.exe (10 MB).

  This installer will setup a complete LyX environment, required
   components will be downloaded automatically...from
   http://wiki.lyx.org/Windows/Windows.  Everything seems to have installed
   ok, and I have created a book using LyX.  I just cannot create a PDF or
   DVI output file
  
   Kindest regards,
  
   Peter M. 'Mike' Sanchez
  

  Does this happen with other documents, or just the book you created?  If
  it's just the book, I suspect that MiKTeX is choking on something.  Try
  exporting the book to a LaTeX file and running MiKTeX on it from a
  command prompt.  Maybe MiKTeX will throw up a message indicating what's
  going wrong.  Another possibility is divide-and-conquer; lop out about
  half the book and see if you can get a PDF out of the rest.  If so, try
  adding back bits at a time until something comes unglued.

  /Paul


I'm wondering if MiKTeX is installed as the link he points to is not
the 'complete' installer.

Bob


Re: Layout and Class Files on Windows Distribution

2008-03-15 Thread Bob Lounsbury
On Sat, Mar 15, 2008 at 4:28 PM, Paul A. Rubin [EMAIL PROTECTED] wrote:
 William R. Buckley wrote:

  
   I have searched, including by means of the automated tool applet supplied
   with Windows, and not been able to find any reference to LOCALTEXMF
   under any condition of case sensitivity.  When I look under the Roots tab
   of the MiKTeX settings application, I find just four directories mentioned:
  
   user config:  \Documents and Settings\wrb\Application Data\MiKTeX2.7   
   directory does not actually exist
   user data:\Documents and Settings\wrb\Local Settings\Application 
 Data\MiKTeX2.7\miktex\config\FNDB files
   common: \Documents and Settings\AllUsers.WINXP\Application 
 Data\MiKTeX2.7   various sub-directories
   install: \Program Files\MiKTeX2.7
  

  The directory labeled user config (the one you say does not exist) is
  what would ordinarily be your localtexmf directory.  (The TeX system has
  some conventions about how directories ought to be named, and I think
  that's the origin of localtexmf.  I suspect those conventions are
  frequently honored in the breach as it were.)  From the common entry,
  I suspect that MiKTeX was installed for all user rather than for just
  the wrb login.  If the various subdirectories under the common
  directory include ...\tex\latex, you can use this as your localtexmf and
  install under that directory.  Again, the only difference between
  installing there v. installing under \Program Files\MiKTeX2.7\tex\latex
  is that the former protects you against loss of the class if you delete
  and reinstall (or upgrade) MiKTeX.

  I'm a bit late returning to this thread, but I gather from Bob nad
  Richard's posts that you're within a reconfiguration of getting
  something working (hopefully).

  /Paul


Paul,

So selecting to install 'for all users' doesn't create the userconfig
file structure in a user account, but 'for me only' does? Even in my
'all users' commonconfig folder there is no 'latex' folder, only a
'tex' folder. Easy enough to create though.

I also installed 'for all users' and so the userconfig structure was
not created for my account. Although I prefer to create my own texmf
hierarchy, as I'm sure you've read in this or other posts :-}. So, I
know nothing will happen to my files.

It's funny that you say that the userconfig or commonconfig directory
is 'safe' because if you mouse over these Root directories in the
MiKTeX settings is says something like, ... this directory is
maintained by MiKTeX and should not be used to store your own files as
they could be lost in an upgrade ... . Have you ever experimented
with installing files to userconfig and uninstalling MiKTeX to see if
the files are removed or not? To verify that these files are 'safe' in
the directory. Just wondering as I never have and the MiKTeX warning
scared me away from storing my files there :-}.

Cheers,
/Bob


Re: Equation numbering

2008-03-15 Thread David Hewitt

This was just discussed recently. Search the archives for display formula
numbering and you'll get what you want.


bigblop wrote:
 
 All my equations in LyX have the number (0.1) but they are shown correctly
 in the pdf. But why the same number for all equations in LyX?
 


-
David Hewitt
Virginia Institute of Marine Science
http://www.vims.edu/fish/students/dhewitt/
-- 
View this message in context: 
http://www.nabble.com/Equation--numbering-tp16071319p16073725.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Bibliography in Spanish

2008-03-15 Thread Julio Rojas
Hi, which bibliographic style is the most suited for the spanish language. I
have tried APALIKE and PLAINNAT with results in english, even thou spanish
is the document language. The style is not really an issue (thou if possible
I would like an APA formated bibliography), but the language is.

Also, why these styles convert uppercase letters in the title to lowercase?

Thx in advance...

-- 
-
Julio Rojas
[EMAIL PROTECTED]


RE: Layout and Class Files on Windows Distribution

2008-03-15 Thread William R. Buckley

To all who have responded to my enquiries, thank you very much.  This posting
details my experiences, and should assist others to both provide such further
assistance as will make it possible for me to effectively use LyX, and also 
should
find utility in the development of LyX documentation.

Again, I must use the LNCS class/LaTeX 2e tools in order to submit the paper I
am writing for a conference proceedings volume.  I want to use the LyX 
interface,
expecting that doing so will ease the learning curve burden, and so speed my
acquisition of TeX skills.  My host OS is Windows XP v2002 SP2, and I used the
LyX-154-3-22-AltInstaller-Complete.exe file.

I have not been able to use the LNCS .cls and .sty files which are supplied by
Springer-Verlag, in their downloadable .zip file having the name llncs2e.zip

The zip file contains:

>The files in this directory belong to the LaTeX2e package for
>Lecture Notes in Computer Science (LNCS) of Springer-Verlag.
>
>It consists of the following files:
>
>  history.txtthe version history of the package
>
>  llncs.cls  the LaTeX2e document class
>
>  llncs.dem  the sample input file
>
>  llncs.doc  the documentation of the class (LaTeX source)
>  llncsdoc.pdf   the documentation of the class (PDF version)
>  llncsdoc.sty   the modification of the class for the documentation
>  llncs.ind  an external (faked) author index file
>  subjidx.indsubject index demo from the Springer book package
>  llncs.dvi  the resultig DVI file (remember to use binary transfer!)
>
>  sprmindx.sty   supplementary style file for MakeIndex
> (usage: makeindex -s sprmindx.sty )
>
>  splncs.bst BibTeX style for use with llncs.cls

I have searched, including by means of the automated tool applet supplied
with Windows, and not been able to find any reference to LOCALTEXMF
under any condition of case sensitivity.  When I look under the Roots tab
of the MiKTeX settings application, I find just four directories mentioned:

user config:  \Documents and Settings\wrb\Application Data\MiKTeX2.7
 directory does not actually exist
user data:\Documents and Settings\wrb\Local Settings\Application 
Data\MiKTeX2.7\miktex\config\FNDB files
common: \Documents and Settings\AllUsers.WINXP\Application Data\MiKTeX2.7   
various sub-directories
install: \Program Files\MiKTeX2.7

I have made no change to the MiKTeX2.7 installation.  It is as it was prepared, 
by
my use of the complete alternate install of LyX 1.5.4

In none of these directories do I find any reference to LOCALTEXMF.

I did find adjacent to the  directory a reference to LyX15, and in 
that
directory one may find a file called textclass.lst, within which one finds the 
following
lines:

"article" "article" "article" "true"

"llncs" "springer" "article (Springer LNCS)" "false"

about which illuminating discussion is welcome.

Actually, it is likely that I am mistaken regarding changes to MiKTeX, 
particularly
with regard to the above reference to llncs.  I did try to make the suggested 
changes
that are associated with Refresh FNDB.  If that refresh updated the above llncs
reference, then there is a change; otherwise not.

Some of the suggestions that Paul A. Rubin made seem more appropriate to *nix
systems - a shorthand that I appreciate, I might add.

Translation between *nix notions of file structure and naming and the same for 
Windows adds confusion to this process, at least for me.  I don't find the 
available
documentation to provide enough answers for me to get this thing working without
the assistance of others.  Perhaps this experience will provide valuable source
material for additional documentation, which I will be happy to assist writing.

I have been able to start with the default document (I think, by using New
from the File menu), and to add the suggested \usepackage{llncs}
statement in the LaTeX Preamble.  So, I get something, and maybe
what I should be getting.  However, I am not starting with the .cls
file, nor a .layout file, which is what I though LyX was supposed to
start with:  a basic file, augmented with a selected layout file.

Oh well, so the learning goes.

So, what I need to understand now are the class files, and how it is
related to a layout file, and how those are related to the .lyx files that
are loaded by LyX.

I look forward to learning more about LyX.  Your suggestions are warmly
welcomed.

wrb





I need the trick, please

2008-03-15 Thread Miguel Daniel Rodríguez Magarzo
Hi here

I'm working (as usually...) in a new LyX document (a new file) at a
book-style. I need that the chapter number does not start with the
_one_, but the five instead, though this is a new file but it belongs to
a a set of large chapters, so I decided to make a new file for each one.
The thing is that the page number should start with the "1" into each
file (or chapter). 
This what I usually have in the preamble:

\AtBeginDocument{%
\addto\captionsspanish{%
\renewcommand{\chaptername}{Tema}%
}}

\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{the title of the subject} 
\rhead{the title of the Chapter}
\chead{}
\lfoot{}
\rfoot{}
\cfoot{\thepage}


Any trick, please? 

Daniel




Re: I need the trick, please

2008-03-15 Thread Steve Litt
On Saturday 15 March 2008 07:31, Miguel Daniel Rodríguez Magarzo wrote:
> Hi here
>
> I'm working (as usually...) in a new LyX document (a new file) at a
> book-style. I need that the chapter number does not start with the
> _one_, but the five instead, though this is a new file but it belongs to
> a a set of large chapters, so I decided to make a new file for each one.
> The thing is that the page number should start with the "1" into each
> file (or chapter).
> This what I usually have in the preamble:
>
> \AtBeginDocument{%
> \addto\captionsspanish{%
> \renewcommand{\chaptername}{Tema}%
> }}
>
> \usepackage{fancyhdr}
> \pagestyle{fancy}
> \lhead{the title of the subject}
> \rhead{the title of the Chapter}
> \chead{}
> \lfoot{}
> \rfoot{}
> \cfoot{\thepage}
>
>
> Any trick, please?
>
> Daniel

I don't remember the name of the counter, but there's a counter you need to 
set to 5 with ERT. Look in the book.sty or whatever, and find the counter 
name, and set it to 5.

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: I need the trick, please

2008-03-15 Thread Miguel Daniel Rodríguez Magarzo

El sáb, 15-03-2008 a las 09:16 -0400, Steve Litt escribió:
> On Saturday 15 March 2008 07:31, Miguel Daniel Rodríguez Magarzo wrote:
> > Hi here
> >
> > I'm working (as usually...) in a new LyX document (a new file) at a
> > book-style. I need that the chapter number does not start with the
> > _one_, but the five instead, though this is a new file but it belongs to
> > a a set of large chapters, so I decided to make a new file for each one.
> > The thing is that the page number should start with the "1" into each
> > file (or chapter).
> > This what I usually have in the preamble:
> >
> > \AtBeginDocument{%
> > \addto\captionsspanish{%
> > \renewcommand{\chaptername}{Tema}%
> > }}
> >
> > \usepackage{fancyhdr}
> > \pagestyle{fancy}
> > \lhead{the title of the subject}
> > \rhead{the title of the Chapter}
> > \chead{}
> > \lfoot{}
> > \rfoot{}
> > \cfoot{\thepage}
> >
> >
> > Any trick, please?
> >
> > Daniel
> 
> I don't remember the name of the counter, but there's a counter you need to 
> set to 5 with ERT. Look in the book.sty or whatever, and find the counter 
> name, and set it to 5.
> 
> SteveT
> 
> Steve Litt
> Books written in LyX:
>   Troubleshooting Techniques of the Successful Technologist
>   Twenty Eight Tales of Troubleshooting
>   Troubleshooting: Just the Facts

I'm sorry, could you (or someone) be more simple please? I don't know
what you're talking about. 
ERT? book.sty? ???:-o 

Thank you for your reply

Daniel



Re: PNG background

2008-03-15 Thread dfc04

Hello,

Thanks for your emails and suggestions. Here is a reply to one email  
that perhaps better explains what I would like to achieve.



One little thing I haven't been able to figure out is making PNGs
with transparency look nice, i.e. specifying white as the background
colour instead of the default black.



A 'white' background is different from 'transparent'.


Indeed. What I have is PNGs with parts that are transparent, and want  
to either leave them transparent (so you would see the page through  
them, i.e. white) or convert that transparency to white, essentialy  
achieving the same effect on the printed page. What LyX seems to be  
doing however is converting my transparent bits of the PNGs to black.


Is this possible at all - and if so how do I make LyX / ImageMagick  
automatically do what I described above?


Kind regards,
Dawid Ciecierski



Re: Layout and Class Files on Windows Distribution

2008-03-15 Thread Bob Lounsbury
On Sat, Mar 15, 2008 at 1:50 AM, William R. Buckley <[EMAIL PROTECTED]> wrote:
>  I have not been able to use the LNCS .cls and .sty files which are supplied 
> by
>  Springer-Verlag, in their downloadable .zip file having the name llncs2e.zip
>
>  The zip file contains:
>
>  >The files in this directory belong to the LaTeX2e package for
>  >Lecture Notes in Computer Science (LNCS) of Springer-Verlag.
>  >
>  >It consists of the following files:
>  >
>  >  history.txtthe version history of the package
>  >
>  >  llncs.cls  the LaTeX2e document class
>  >
>  >  llncs.dem  the sample input file
>  >
>  >  llncs.doc  the documentation of the class (LaTeX source)
>  >  llncsdoc.pdf   the documentation of the class (PDF version)
>  >  llncsdoc.sty   the modification of the class for the documentation
>  >  llncs.ind  an external (faked) author index file
>  >  subjidx.indsubject index demo from the Springer book package
>  >  llncs.dvi  the resultig DVI file (remember to use binary 
> transfer!)
>  >
>  >  sprmindx.sty   supplementary style file for MakeIndex
>  > (usage: makeindex -s sprmindx.sty )
>  >
>  >  splncs.bst BibTeX style for use with llncs.cls
>
>  I have searched, including by means of the automated tool applet supplied
>  with Windows, and not been able to find any reference to LOCALTEXMF
>  under any condition of case sensitivity.  When I look under the Roots tab
>  of the MiKTeX settings application, I find just four directories mentioned:
>
>  user config:  \Documents and Settings\wrb\Application Data\MiKTeX2.7 
> directory does not actually exist
>  user data:\Documents and Settings\wrb\Local Settings\Application 
> Data\MiKTeX2.7\miktex\config\FNDB files
>  common: \Documents and Settings\AllUsers.WINXP\Application 
> Data\MiKTeX2.7   various sub-directories
>  install: \Program Files\MiKTeX2.7
>
>  I have made no change to the MiKTeX2.7 installation.  It is as it was 
> prepared, by
>  my use of the complete alternate install of LyX 1.5.4
>
>  In none of these directories do I find any reference to LOCALTEXMF.

I prefer to set up my own 'localtexmf directory' as MiKTeX tells you
not to put your own .cls files or .sty files within their default
directories as updates may delete them.

Having said that. To set up your own "localtexmf' directory create a
folder structure as follows (you can put the texmf folder anywhere you
prefer; however, the folder structure beyond texmf must be followed):

C:\Documents and Settings\username\texmf\tex\latex
C:\Documents and Settings\username\texmf\tex\bibtex\bib
C:\Documents and Settings\username\texmf\tex\bibtex\bst

Then you can put the .cls files and .sty files under the newly created
latex folder and the .bst file under the newly created bst folder. You
can also create additional folders under these for organization
purposes if you want.

Now go to the MiKTeX settings and create a new Root folder to:

C:\Documents and Settings\username\texmf

Now if you "Refresh FNDB" the .cls, .sty, and .bst files should be
installed on your system and recognized by MiKTeX.


>
>  I did find adjacent to the  directory a reference to LyX15, and 
> in that
>  directory one may find a file called textclass.lst, within which one finds 
> the following
>  lines:
>
>  "article" "article" "article" "true"
>
>  "llncs" "springer" "article (Springer LNCS)" "false"

The LyX layout files are found in:

C:\Program Files\LyX15\Resources\layouts

In this folder there is already a llncs.layout so you're in luck
This layout specifies article (Springer LNCS) as the name in LyX under
Document->Settings->Document Class. So, if you start LyX and
reconfigure and then reopen LyX that layout should now be 'available'
and you should be ready to go. Sometimes I've had to reconfigure and
reopen two times. Another way to see if LyX is recognizing your .cls,
.sty, and .bst files is to look under Tools->TeX Information and see
if it is listed. You can also 'Recan' and see if that brings them up.
However, a simple 'reconfigure' and restarting of LyX should work.

>  I look forward to learning more about LyX.  Your suggestions are warmly
>  welcomed.
>
>  wrb

Cheers,
/Bob


List of Figures Enumeration subsectionwise

2008-03-15 Thread Kane Kano
Hallo everbody, 

I have justed genarated my list of figures but I am not satisfied with the way 
of enumarating my figures. It counts every figure like 1, 2, 3... etc. 

Does anyone know how I could adjust the numbering of figures to my Lyx 
document?  For example if I have inserted 3 figures in subsection 1.3, they 
should be counted like

Figure 1.3.1
Figure 1.3.2
Figure 1.3.3

Thanks a lot

Kane




  Lesen Sie Ihre E-Mails jetzt einfach von unterwegs.
www.yahoo.de/go

RE: Layout and Class Files on Windows Distribution

2008-03-15 Thread William R. Buckley

Much good information has come from Bob Lounsbury.  Thank you
for the attention to detail.  Where would I have been expected to
read of the requirement to create such a texmf sub-directory, given
that it was not created automatically by either MiKTeX or LyX?  Indeed,
why was such a directory not so automatically created, when it is
apparently of some need to the system that these directories exist?

I did follow the given advice, and created a *texmf* directory, then
added the .\tex\latex  and .\tex\bibtex\    sub-directories.

These acts were followed by adding a root path to MiKTeX2.7
settings, and reconfiguring the file name database.  Actually, we
have performed this act about five times.  I have even changed the
search order for these roots, and then updated the database.  So,
the layout file shows up in the TeX Information but, in the Document
Settings, the document class Springer LNCS shows up as unavailable.

Thus, may we return to a previous question?

I did find adjacent to the  directory a 
reference to LyX15, and in that directory one may
find a file called textclass.lst, within which one
finds the following lines:

 >  "article" "article" "article" "true"
 >
 >  "llncs" "springer" "article (Springer LNCS)" "false"
 

Why should this file textclass.lst be so constructed?

Other ideas are of course solicited.

It might be of interest that some hacking did produce some positive
results, though not quite what I need.  Basically, I put the class and
style files in the same directory as my .lyx file, and modified the
\textclass to be llncs.  Under this condition, I could generate a PDF.

wrb






Re: Layout and Class Files on Windows Distribution

2008-03-15 Thread rgheck

William R. Buckley wrote:

Much good information has come from Bob Lounsbury.  Thank you
for the attention to detail.  Where would I have been expected to
read of the requirement to create such a texmf sub-directory, given
that it was not created automatically by either MiKTeX or LyX?  

  
It isn't necessary. (See below.) And, in any event, there's some 
discussion of this in Customization 5.1, though it doesn't direct itself 
to Windows specifically.


LyX won't create such directories. This is a TeX thing, not a LyX thing. 
And MikTeX won't create them because it's a user-level thing, not a 
system-level thing.



Indeed, why was such a directory not so automatically created, when it is
apparently of some need to the system that these directories exist?

  
As foreshadowed above, it isn't necessary. You can put the new class 
files into the main TeX directories if you want. The danger in doing so 
is that these directories can be over-written on an upgrade.



I did follow the given advice, and created a *texmf* directory, then
added the .\tex\latex  and .\tex\bibtex\    sub-directories.

These acts were followed by adding a root path to MiKTeX2.7
settings, and reconfiguring the file name database.  Actually, we
have performed this act about five times.  I have even changed the
search order for these roots, and then updated the database.  So,
the layout file shows up in the TeX Information but, in the Document
Settings, the document class Springer LNCS shows up as unavailable.

  
Did you also reconfigure LyX? Start LyX; Tools>Reconfigure; close LyX; 
restart LyX. (This is all covered in Customization section 5.1, in case 
you're wondering.)



Thus, may we return to a previous question?

I did find adjacent to the  directory a 
reference to LyX15, and in that directory one may

find a file called textclass.lst, within which one
finds the following lines:

 >  "article" "article" "article" "true"
 >
 >  "llncs" "springer" "article (Springer LNCS)" "false"
 


Why should this file textclass.lst be so constructed?

  
This file is created by LyX's configure.py script, which gets run when 
you choose Tools>Reconfigure.



It might be of interest that some hacking did produce some positive
results, though not quite what I need.  Basically, I put the class and
style files in the same directory as my .lyx file, and modified the
\textclass to be llncs.  Under this condition, I could generate a PDF.

  

LyX allows the use of "local" class and layout files, in precisely this way.

rh



Re: Layout and Class Files on Windows Distribution

2008-03-15 Thread Bob Lounsbury
On Sat, Mar 15, 2008 at 12:49 PM, William R. Buckley <[EMAIL PROTECTED]> wrote:
>  So,
>  the layout file shows up in the TeX Information but, in the Document
>  Settings, the document class Springer LNCS shows up as unavailable.


I wasn't sure if this would happen or not since I don't have llncs.cls
installed on my computer. Looking at the LyX llncs.layout the
\DeclareLaTeXClass doesn't look right to me. Maybe, there is someone
that knows more about this llncs class.

Anyways, to fix the issue you have two options:

1) Modify the llncs.layout in: C:\Program Files\LyX15\Resources\layouts.
2) Create your own layout in: C:\Documents and
Settings\username\Application Data\lyx15\layouts. This is just a
matter of coping the file from 1) and renaming it.

Either way I think the solution is the same. You need to change the
\DeclareLaTeXClass to something like this:

\DeclareLaTeXClass[llncs]{article (Springer LNCS)}

This tells the layout file to explicitly use the llncs.cls file. You
can change 'article (Springer LNCS)' to any name you want in this
case.

Once you do this, be sure to "Reconfigure" and restart LyX so that it
will find this new/modified .layout file.

Cheers,
/Bob


Equation numbering

2008-03-15 Thread bigblop

All my equations in LyX have the number (0.1) but they are shown correctly in
the pdf. But why the same number for all equations in LyX?
-- 
View this message in context: 
http://www.nabble.com/Equation--numbering-tp16071319p16071319.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: I need the trick, please

2008-03-15 Thread rgheck

Steve Litt wrote:

On Saturday 15 March 2008 07:31, Miguel Daniel Rodríguez Magarzo wrote:
  

Hi here

I'm working (as usually...) in a new LyX document (a new file) at a
book-style. I need that the chapter number does not start with the
_one_, but the five instead, though this is a new file but it belongs to
a a set of large chapters, so I decided to make a new file for each one.
The thing is that the page number should start with the "1" into each
file (or chapter).


If these are chapters of a larger book, then you want to create a 
"master document" that includes all of the chapters as "child" 
documents. To create the master, just make a new file, and put your 
title, author, etc, info here. Then do: Insert>File>Child Document, and 
Include each of the chapters.


The chapter numbers will look wrong when you edit the child documents 
individually, but they will be right when you compile the whole master 
document.


To reset the page number, just put:
   \setcounter{page}{1}
in ERT (Insert>TeX Code) immediately after each Chapter heading. Or 
better, look into the chappg package, which you can find on ctan.org if 
it isn't already available in your TeX distribution.


rh



Re: Layout and Class Files on Windows Distribution

2008-03-15 Thread rgheck

Bob Lounsbury wrote:

On Sat, Mar 15, 2008 at 12:49 PM, William R. Buckley <[EMAIL PROTECTED]> wrote:
  

 So,
 the layout file shows up in the TeX Information but, in the Document
 Settings, the document class Springer LNCS shows up as unavailable.




I wasn't sure if this would happen or not since I don't have llncs.cls
installed on my computer. Looking at the LyX llncs.layout the
\DeclareLaTeXClass doesn't look right to me. Maybe, there is someone
that knows more about this llncs class.

  
It looks right to me. By default, LyX assumes that the class file has 
the same name as the layout file, which is right in this case.



Once you do this, be sure to "Reconfigure" and restart LyX so that it
will find this new/modified .layout file.

  
I think that may be all he needs to do, assuming that TeX is seeing the 
class file.


rh



Re: List of Figures Enumeration subsectionwise

2008-03-15 Thread Bob Lounsbury
On Sat, Mar 15, 2008 at 10:31 AM, Kane Kano <[EMAIL PROTECTED]> wrote:
> Hallo everbody,
>
>  I have justed genarated my list of figures but I am not satisfied with the 
> way of enumarating my figures. It counts every figure like 1, 2, 3... etc.
>
>  Does anyone know how I could adjust the numbering of figures to my Lyx 
> document?  For example if I have inserted 3 figures in subsection 1.3, they 
> should be counted like
>
>  Figure 1.3.1
>  Figure 1.3.2
>  Figure 1.3.3
>
>  Thanks a lot
>
>  Kane


You just need to put '\numberwithin{figure}{subsection}' in your
preamble and set Document->Settings->Math Options to 'Use AMS math
package'. The same can be done for tables 'table' and equations
'equation'.

Cheers,
/Bob


Re: Layout and Class Files on Windows Distribution

2008-03-15 Thread Bob Lounsbury
On Sat, Mar 15, 2008 at 1:20 PM, rgheck <[EMAIL PROTECTED]> wrote:
> Bob Lounsbury wrote:
>  > On Sat, Mar 15, 2008 at 12:49 PM, William R. Buckley <[EMAIL PROTECTED]> 
> wrote:
>  >
>  >>  So,
>  >>  the layout file shows up in the TeX Information but, in the Document
>  >>  Settings, the document class Springer LNCS shows up as unavailable.
>  >>
>  >
>  >
>  > I wasn't sure if this would happen or not since I don't have llncs.cls
>  > installed on my computer. Looking at the LyX llncs.layout the
>  > \DeclareLaTeXClass doesn't look right to me. Maybe, there is someone
>  > that knows more about this llncs class.
>  >
>  >
>  It looks right to me. By default, LyX assumes that the class file has
>  the same name as the layout file, which is right in this case.

I didn't know that. That's good to know. If this is the case then
you're right it should be picking up the cls file and all should be
well.

>  rh
>
>


I am having a problem with LyX v1.5.4

2008-03-15 Thread Peter M. 'Mike' Sanchez
Hello Mr. Johnson,
 
I hope you will forgive the intrusion.  I am having a problem with LyX
v1.5.4 (Feb 24, 2008), and I have tried sending emails to the "support"
email (lyx-users@lists.lyx.org) with no response.  If you would please
direct me to the correct source for help with my problem (see below), I will
be most grateful.
 
Problem: When I try to use any of the view or export features (e.g.,
pdflatex, ps2pdf, etc.), the software seems to get in a loop utilizing about
50% CPU.  My system is a 2.6Ghz Intel duo processor Windows XP with all
update service packs.  I used the Standard Web Installer:

LyX-1.5.4-1-Installer.exe (10 MB). This installer will setup a complete LyX
environment, required components will be downloaded automatically...from
http://wiki.lyx.org/Windows/Windows.  Everything seems to have installed ok,
and I have created a book using LyX.
 
Kindest regards,

Peter M. 'Mike' Sanchez



 

<><>

Please Help.

2008-03-15 Thread Peter M. 'Mike' Sanchez
Hello Fellow LyX users!  I need some help...please!
 
Problem: When I try to use any of the view or export features (e.g.,
pdflatex, ps2pdf, etc.), the software seems to get in a loop utilizing about
50% CPU.  My system is a 2.6Ghz Intel duo processor Windows XP with all
update service packs.  I used the Standard Web Installer:

LyX-1.5.4-1-Installer.exe (10 MB). This installer will setup a complete LyX
environment, required components will be downloaded automatically...from
 http://wiki.lyx.org/Windows/Windows.
Everything seems to have installed ok, and I have created a book using LyX.
I just cannot create a PDF or DVI output file
 
Kindest regards,

Peter M. 'Mike' Sanchez


<><>

Re: I need the trick, please

2008-03-15 Thread Miguel Daniel Rodríguez Magarzo

El sáb, 15-03-2008 a las 15:17 -0400, rgheck escribió:
> Steve Litt wrote:
> > On Saturday 15 March 2008 07:31, Miguel Daniel Rodríguez Magarzo wrote:
> >   
> >> Hi here
> >>
> >> I'm working (as usually...) in a new LyX document (a new file) at a
> >> book-style. I need that the chapter number does not start with the
> >> _one_, but the five instead, though this is a new file but it belongs to
> >> a a set of large chapters, so I decided to make a new file for each one.
> >> The thing is that the page number should start with the "1" into each
> >> file (or chapter).
> >>
> >> 
> If these are chapters of a larger book, then you want to create a 
> "master document" that includes all of the chapters as "child" 
> documents. To create the master, just make a new file, and put your 
> title, author, etc, info here. Then do: Insert>File>Child Document, and 
> Include each of the chapters.
> 
> The chapter numbers will look wrong when you edit the child documents 
> individually, but they will be right when you compile the whole master 
> document.
> 
> To reset the page number, just put:
> \setcounter{page}{1}
> in ERT (Insert>TeX Code) immediately after each Chapter heading. Or 
> better, look into the chappg package, which you can find on ctan.org if 
> it isn't already available in your TeX distribution.
> 
> rh
> 

Thank you very much for your rich suggestions. I've sorted out the
problem thanks to them. 
* Concerning to child documents, I'll have to consider seriously that
option when I have definitively finished to rewrite and update this
subject I'm working at the moment. Now the main thing was to print this
chapter indeed. Besides, there is currently a previous chapter that is
not concluded yet. 
* I've put that code with ERT just after the title of the chapter, then
I saw with "view dvi" and yes! ...working. Then I just had to add a set
of "false" chapters (1, 2, 3, 4) just before the beginning of the real
chapter (5), and then printing. I know this is not much elegant, but
it's OK for now, until I have the whole set of chapters (units) of the
"book" (subject); after that, in several weeks I'll probably do what you
suggest, a "master document". 
* In respect to the chappg packages... yes, I've checked it and they
are already installed. My knowledge about LaTeX is about close to
"zero", so let's things stay as it for now, if the above is covering my
necessities rightly. 

Thanks again, rh. 

Daniel
--
What about not forgetting my own old (very old...!!) websites? ... even
if they aren't written in a kind language, but just HTML, my first...
HTML. I'm talking about this (only Spanish version):
http://ploughingthemetal.galeon.com 



Re: Layout and Class Files on Windows Distribution

2008-03-15 Thread Bob Lounsbury
On Sat, Mar 15, 2008 at 1:20 PM, rgheck <[EMAIL PROTECTED]> wrote:
> Bob Lounsbury wrote:
>  > On Sat, Mar 15, 2008 at 12:49 PM, William R. Buckley <[EMAIL PROTECTED]> 
> wrote:
>  >
>  >>  So,
>  >>  the layout file shows up in the TeX Information but, in the Document
>  >>  Settings, the document class Springer LNCS shows up as unavailable.
>
>  I think that may be all he needs to do, assuming that TeX is seeing the
>  class file.
>
>  rh

I was bored so I installed llncs.cls and reconfigured LyX and 'article
(Springer LNCS)' shows up and is working perfectly.

So, it's confirmed, William just needs to do Tools->Reconfigure.

Cheers,
/Bob


Re: Please Help.

2008-03-15 Thread Paul A. Rubin

Peter M. 'Mike' Sanchez wrote:

Hello Fellow LyX users!  I need some help...please!
 
Problem: When I try to use any of the view or export features (e.g., 
pdflatex, ps2pdf, etc.), the software seems to get in a loop utilizing 
about 50% CPU.  My system is a 2.6Ghz Intel duo processor Windows XP 
with all update service packs.  I used the Standard Web Installer: 
LyX-1.5.4-1-Installer.exe 
 (10 MB). 
This installer will setup a complete LyX environment, required 
components will be downloaded automatically...from 
http://wiki.lyx.org/Windows/Windows.  Everything seems to have installed 
ok, and I have created a book using LyX.  I just cannot create a PDF or 
DVI output file
 
Kindest regards,


Peter M. 'Mike' Sanchez



Does this happen with other documents, or just the book you created?  If 
it's just the book, I suspect that MiKTeX is choking on something.  Try 
exporting the book to a LaTeX file and running MiKTeX on it from a 
command prompt.  Maybe MiKTeX will throw up a message indicating what's 
going wrong.  Another possibility is divide-and-conquer; lop out about 
half the book and see if you can get a PDF out of the rest.  If so, try 
adding back bits at a time until something comes unglued.


/Paul



Re: Layout and Class Files on Windows Distribution

2008-03-15 Thread Paul A. Rubin

William R. Buckley wrote:



I have searched, including by means of the automated tool applet supplied
with Windows, and not been able to find any reference to LOCALTEXMF
under any condition of case sensitivity.  When I look under the Roots tab
of the MiKTeX settings application, I find just four directories mentioned:

user config:  \Documents and Settings\wrb\Application Data\MiKTeX2.7
 directory does not actually exist
user data:\Documents and Settings\wrb\Local Settings\Application 
Data\MiKTeX2.7\miktex\config\FNDB files
common: \Documents and Settings\AllUsers.WINXP\Application Data\MiKTeX2.7   
various sub-directories
install: \Program Files\MiKTeX2.7



The directory labeled "user config" (the one you say does not exist) is 
what would ordinarily be your localtexmf directory.  (The TeX system has 
some conventions about how directories ought to be named, and I think 
that's the origin of "localtexmf".  I suspect those conventions are 
frequently honored in the breach as it were.)  From the "common" entry, 
I suspect that MiKTeX was installed for "all user" rather than for just 
the "wrb" login.  If the various subdirectories under the common 
directory include ...\tex\latex, you can use this as your localtexmf and 
install under that directory.  Again, the only difference between 
installing there v. installing under \Program Files\MiKTeX2.7\tex\latex 
is that the former protects you against loss of the class if you delete 
and reinstall (or upgrade) MiKTeX.


I'm a bit late returning to this thread, but I gather from Bob nad 
Richard's posts that you're within a reconfiguration of getting 
something working (hopefully).


/Paul



Re: Please Help.

2008-03-15 Thread Bob Lounsbury
On Sat, Mar 15, 2008 at 4:18 PM, Paul A. Rubin <[EMAIL PROTECTED]> wrote:
> Peter M. 'Mike' Sanchez wrote:
>  > Hello Fellow LyX users!  I need some help...please!
>  >
>  > Problem: When I try to use any of the view or export features (e.g.,
>  > pdflatex, ps2pdf, etc.), the software seems to get in a loop utilizing
>  > about 50% CPU.  My system is a 2.6Ghz Intel duo processor Windows XP
>  > with all update service packs.  I used the Standard Web Installer:
>  > LyX-1.5.4-1-Installer.exe
>  >  (10 MB).
>
> > This installer will setup a complete LyX environment, required
>  > components will be downloaded automatically...from
>  > http://wiki.lyx.org/Windows/Windows.  Everything seems to have installed
>  > ok, and I have created a book using LyX.  I just cannot create a PDF or
>  > DVI output file
>  >
>  > Kindest regards,
>  >
>  > Peter M. 'Mike' Sanchez
>  >
>
>  Does this happen with other documents, or just the book you created?  If
>  it's just the book, I suspect that MiKTeX is choking on something.  Try
>  exporting the book to a LaTeX file and running MiKTeX on it from a
>  command prompt.  Maybe MiKTeX will throw up a message indicating what's
>  going wrong.  Another possibility is divide-and-conquer; lop out about
>  half the book and see if you can get a PDF out of the rest.  If so, try
>  adding back bits at a time until something comes unglued.
>
>  /Paul


I'm wondering if MiKTeX is installed as the link he points to is not
the 'complete' installer.

Bob


Re: Layout and Class Files on Windows Distribution

2008-03-15 Thread Bob Lounsbury
On Sat, Mar 15, 2008 at 4:28 PM, Paul A. Rubin <[EMAIL PROTECTED]> wrote:
> William R. Buckley wrote:
>
>  >
>  > I have searched, including by means of the automated tool applet supplied
>  > with Windows, and not been able to find any reference to LOCALTEXMF
>  > under any condition of case sensitivity.  When I look under the Roots tab
>  > of the MiKTeX settings application, I find just four directories mentioned:
>  >
>  > user config:  \Documents and Settings\wrb\Application Data\MiKTeX2.7   
>   directory does not actually exist
>  > user data:\Documents and Settings\wrb\Local Settings\Application 
> Data\MiKTeX2.7\miktex\config\FNDB files
>  > common: \Documents and Settings\AllUsers.WINXP\Application 
> Data\MiKTeX2.7   various sub-directories
>  > install: \Program Files\MiKTeX2.7
>  >
>
>  The directory labeled "user config" (the one you say does not exist) is
>  what would ordinarily be your localtexmf directory.  (The TeX system has
>  some conventions about how directories ought to be named, and I think
>  that's the origin of "localtexmf".  I suspect those conventions are
>  frequently honored in the breach as it were.)  From the "common" entry,
>  I suspect that MiKTeX was installed for "all user" rather than for just
>  the "wrb" login.  If the various subdirectories under the common
>  directory include ...\tex\latex, you can use this as your localtexmf and
>  install under that directory.  Again, the only difference between
>  installing there v. installing under \Program Files\MiKTeX2.7\tex\latex
>  is that the former protects you against loss of the class if you delete
>  and reinstall (or upgrade) MiKTeX.
>
>  I'm a bit late returning to this thread, but I gather from Bob nad
>  Richard's posts that you're within a reconfiguration of getting
>  something working (hopefully).
>
>  /Paul


Paul,

So selecting to install 'for all users' doesn't create the userconfig
file structure in a user account, but 'for me only' does? Even in my
'all users' commonconfig folder there is no 'latex' folder, only a
'tex' folder. Easy enough to create though.

I also installed 'for all users' and so the userconfig structure was
not created for my account. Although I prefer to create my own texmf
hierarchy, as I'm sure you've read in this or other posts :-}. So, I
know nothing will happen to my files.

It's funny that you say that the userconfig or commonconfig directory
is 'safe' because if you mouse over these Root directories in the
MiKTeX settings is says something like, "... this directory is
maintained by MiKTeX and should not be used to store your own files as
they could be lost in an upgrade ..." . Have you ever experimented
with installing files to userconfig and uninstalling MiKTeX to see if
the files are removed or not? To verify that these files are 'safe' in
the directory. Just wondering as I never have and the MiKTeX warning
scared me away from storing my files there :-}.

Cheers,
/Bob


Re: Equation numbering

2008-03-15 Thread David Hewitt

This was just discussed recently. Search the archives for "display formula
numbering" and you'll get what you want.


bigblop wrote:
> 
> All my equations in LyX have the number (0.1) but they are shown correctly
> in the pdf. But why the same number for all equations in LyX?
> 


-
David Hewitt
Virginia Institute of Marine Science
http://www.vims.edu/fish/students/dhewitt/
-- 
View this message in context: 
http://www.nabble.com/Equation--numbering-tp16071319p16073725.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Bibliography in Spanish

2008-03-15 Thread Julio Rojas
Hi, which bibliographic style is the most suited for the spanish language. I
have tried APALIKE and PLAINNAT with results in english, even thou "spanish"
is the document language. The style is not really an issue (thou if possible
I would like an APA formated bibliography), but the language is.

Also, why these styles convert uppercase letters in the title to lowercase?

Thx in advance...

-- 
-
Julio Rojas
[EMAIL PROTECTED]