Re: Changing the starting number of Exercise

2005-10-21 Thread David L. Johnson
On Sat, 22 Oct 2005 01:13:55 +0200
Hannan Sadar [EMAIL PROTECTED] wrote:

 Hi,
 
 I am using Document class: article (AMS,sequential numbering).
 
 I would like that my Exercise numbers would start with the number 8.
 
 I know the command \setcounter, but i am not foamier with the type of
 counter so i could not change it by my-self.

It should be 

\setcounter{exercise]{7}


-- 

David L. Johnson

   __o   | Accept risk.  Accept responsibility.  Put a lawyer out of
 _`\(,_  | business.  
(_)/ (_) | 
   


Re: Changing the starting number of Exercise

2005-10-21 Thread David L. Johnson
On Fri, 21 Oct 2005 21:23:44 -0400
David L. Johnson [EMAIL PROTECTED] wrote:

 On Sat, 22 Oct 2005 01:13:55 +0200
 Hannan Sadar [EMAIL PROTECTED] wrote:
 
  Hi,
  
  I am using Document class: article (AMS,sequential numbering).
  
  I would like that my Exercise numbers would start with the number 8.
  
  I know the command \setcounter, but i am not foamier with the type of
  counter so i could not change it by my-self.
 
 It should be 
 
 \setcounter{exercise]{7}

Oops

\setcounter{exercise}{7}

^
-- 

David L. Johnson

   __o   | Accept risk.  Accept responsibility.  Put a lawyer out of
 _`\(,_  | business.  
(_)/ (_) | 
   


Re: Changing the starting number of Exercise

2005-10-22 Thread David L. Johnson
On Sat, 22 Oct 2005 09:19:19 +0200
Hannan Sadar [EMAIL PROTECTED] wrote:

 I tried it before and it didn't work. It makes the following error:
 
 LaTeX Error: No counter 'exercise' defined.
 
 What are the names of Exercise, Theorem and etc. counters?

I just looked, and it should be 

 \setcounter{xca}{7}

that acutually worked...  In general, these things are defined in 
/usr/share/lyx/layouts/amsmaths-seq.inc.  Sorry for the bad advice earlier.

-- 

David L. Johnson

   __o   | Business! cried the Ghost. Mankind was my business. The
 _`\(,_  | common welfare  was my business; charity, mercy, forbearance, 
(_)/ (_) | and benevolence, were, all,  my business. The dealings of my
   trade were but a drop of water in the comprehensive ocean of my 
business! --Dickens, A Christmas Carol  


Re: LyX and xypic

2005-10-25 Thread David L. Johnson
On Tue, 25 Oct 2005 13:44:54 +0200 (CEST)
H. Peter Gumm [EMAIL PROTECTED] wrote:

 Hi,
 
 is there anyone working with LyX and xypic.
 
 Is there any support, or are there any workarounds
 to see commutative diagrams in their full glory within LyX.

I usually kludge it by using a matrix.  The only problem with that is that
labels on the arrows need to be finagled to keep the arrow aligned (for a
horizontal arrow, put a 3x1 submatrix in with the arrow in the center, the
label on top, and a blank below).  This will be somewhat short of full
glory; for that you would, I presume, have to do it all in ERT.

 -- 

David L. Johnson

   __o   | You will say Christ saith this and the apostles say this; but
 _`\(,_  | what canst  thou say?  -- George Fox.  
(_)/ (_) | 
   


Re: Algorithm

2005-10-29 Thread David L. Johnson
On Sat, 29 Oct 2005 17:34:35 -0300 (ART)
[EMAIL PROTECTED] wrote:

 I'm happy because all auto names of LaTeX (like
 ``2nd February, 2005'', and ``Figure 1'' and ``Table
 1'') are translated to portuguese and spanish as I
 need (like ``20 de outubro de 2005'', or ``Figura 1'',
 or ``Tabela 1''), but some single words remain in
 english, like ``algorithm''.

Those headings are part of the ams* layouts, which are defined
in /usr/share/lyx/layouts/* (on unix-like systems, at least).  You can make
new ones, with translated titles, for each of the languages you want.  Other
label strings on other layout files may also be language-specific.  I never
have installed LyX for a language different from US/English, so I don't know
what is already done to translate layouts.  

-- 

David L. Johnson

   __o   | Accept risk.  Accept responsibility.  Put a lawyer out of
 _`\(,_  | business.  
(_)/ (_) | 
   


Re: lyx on Debian testing

2005-11-27 Thread David L. Johnson
On Sun, 27 Nov 2005 14:59:26 +0100
Alexandru Cabuz [EMAIL PROTECTED] wrote:

 Has anybody found a way to get lyx working on a Debian testing system? It 
 seems there is a bug that prevents one from just apt-getting it. See
 http://packages.qa.debian.org/l/lyx.html

I was surprised to see it wasn't there when I last updated.  In fact, apt
actually removed a fully functional lyx in order to add something else, and I
could not get it back.  There was a weird library dependence issue (can't
recall the specifics) when I put lyx on my Zaurus, too, and I think this was
related.

But there are *.deb packages on lyx.org, which installed just fine.  

 -- 

David L. Johnson

   __o   | When you are up to your ass in alligators, it's hard to remember
 _`\(,_  | that your initial objective was to drain the swamp. -- LBJ  
(_)/ (_) | 
   


Re: lyx on windows (and printing notes)

2005-11-29 Thread David L. Johnson
On Tue, 29 Nov 2005 21:24:39 +0100
[EMAIL PROTECTED] wrote:

 
   admin priviliges. Again, you don't *need* latex installed to run LyX.
  Angus, then try to install LyX without an installed TeX system and
  try to run LyX ... ;-)
 
 
 
 being able to run lyx without latex is IMHO a good and useful thing!

I don't want to get too involved in the debate, but I also find being able to
install lyx on a computer that does not have TeX is a good option.  On my
Zaurus, there is not only not enough room for TeX, there is no direct printer
access, so just being able to edit documents, then move them to another
computer to print, is fine.  IMO there should be the option of using LyX
without TeX.

-- 

David L. Johnson

   __o   | Enron's slogan: Respect, Communication, Integrity, and
 _`\(,_  | Excellence.  
(_)/ (_) | 
   


Re: The best 2d and 3d eps math graphs to Lyx

2005-11-30 Thread David L. Johnson
On Wed, 30 Nov 2005 19:08:46 +
Paul Smith [EMAIL PROTECTED] wrote:

 On 11/27/05, Uwe Stöhr [EMAIL PROTECTED] wrote:
  I can recommend MuPAD which is free for Linux:
 
  http://mupad.de/download_linux.html
 
 MuPAD is no longer free for Linux, I am afraid to tell you.

That's odd.  I downloaded it 2 days ago.  Now, I have yet to install it, but
it seems to be the real thing.  IMO MuPad is nice (especially the graphics),
but since I get Maple through work I haven't been motivated to use it.

-- 

David L. Johnson

   __o   | The lottery is a tax on those who fail to understand
 _`\(,_  | mathematics.  
(_)/ (_) | 
   


Re: Missing references bug: lyx not calling pdflatex again?

2006-01-06 Thread David L. Johnson
On Fri, 06 Jan 2006 16:19:03 -0700
Fernando Perez [EMAIL PROTECTED] wrote:

 I have a document with a bibtex-generated list of references, and when I try 
 to
 export it to PDF or postscript (via the GUI or with 'lyx -e pdf2', for
 example), all the citations appear as [??] marks, though the references
 section is correctly generated.

Typically with Latex the first run would generate missing references such as
this.  If I am running Latex manually, I simply run it twice.  That way the
appropriate temporary files are generated so that the second run can read
them.  

I thought LyX would do the same thing.
 
 The only workaround I've been able to find is to click on the 'bibtex
 references' box at the end, make some trivial change (choose a different
 style, or check the 'add to TOC' box), and rerun the PDF/PS generation.  THEN,
 the numbers appear, and I can revert my trivial change and continue.
 
 Needless to say, it is incredibly annoying to have to do this every time, and
 it breaks my makefile-based workflow (this is a document being developed in
 collaboration from many places, so I wrote a makefile to generate all the
 required PDFs without human intervention).

Try adding a second Latex run into that makefile. 

-- 

David L. Johnson

   __o   | Business! cried the Ghost. Mankind was my business. The
 _`\(,_  | common welfare  was my business; charity, mercy, forbearance, 
(_)/ (_) | and benevolence, were, all,  my business. The dealings of my
   trade were but a drop of water in the comprehensive ocean of my 
business! --Dickens, A Christmas Carol  


Re: LyX is getting... very annoying.

2006-02-02 Thread David L. Johnson
On Wed, 01 Feb 2006 23:34:17 -0800
Marc D. [EMAIL PROTECTED] wrote:

 I have created a rather large lyx file (all my course notes). In one  
 section, I can't get it to work. I have reduced the problem to a  
 minimum. There are 3 characters on my screen, in two lines.
 
 I get SIX errors with those 3 characters.
 
 Answer: it's the \textmf that causes ALL six errors. 

You mean \textrm

(and all 35  
 errors in my original file). All from a a single, obviously  
 misplaced, \textmf tag that I DID NOT INSERT (or knowingly insert. I  
 don't USE different fonts in my document!)

Well, the thing is, in order to typeset the 2^Q, you should use math-mode --
which you seemed to have done.  However, _within_ math mode, if you go into
math-mode _again_, LyX treats it as text-within-a-formula  -- an inset of a
text box within the formula inset.  You may have done that inadvertantly, or
you may be trying to get the 2^Q to display without the Q being italicized.
At any rate, TeX then thinks you are trying a math layout inside a text
region, and will get confused.

If you just hit the math-mode menu item a second time, then don't do that.
If you want to avoid the italicized Q, then, ... , there is a way.  Go into
math-mode.  Type the 2, then type ^ to get in the superscript.  Then toggle
math-mode again, inside the superscript box, and type your Q.

 Questions:
 What key sequence would have inserted \textmf when ANY occurence of  
 such text causes so many errors?

It's the double entry into math-mode, which gets you a text box within a
math box, that was the problem.
 
 Why doesn't LyX do the right thing when converting said text to LaTeX?

Because it thinks it isn't supposed to do that.
 
 Why, when I erased the entire paragraph containing this string and  
 retyped it, did the textmf string REAPPEAR in exactly the same  
 place?? 

Because you typed it in the same way.

-- 

David L. Johnson

   __o   | A foolish consistency is the hobgoblin of little minds, adored 
 _`\(,_  | by little statesmen and philosophers and divines. --Ralph Waldo
(_)/ (_) | Emerson  
   


Re: LyX is getting... very annoying.

2006-02-02 Thread David L. Johnson
On Thu, 02 Feb 2006 09:09:40 +0100
Helge Hafting [EMAIL PROTECTED] wrote:

 If, however, I write 2^Q as text, then select it and press ctrl+M (to 
 turn it into
 a formula, then I also get that problem. 

You can make that work properly in 1.3.* by entering $2^Q$ as text, then
hitting math mode.  This allows the insertion of bits of TeX text properly in
LyX.

-- 

David L. Johnson

   __o   | Some people used to claim that, if enough monkeys sat in front
 _`\(,_  | of enough typewriters and typed long enough, eventually one of
(_)/ (_) | them would reproduce  the collected works of Shakespeare.  The
   internet has proven this not to  be the case.  


Re: LyX is getting... very annoying.

2006-02-02 Thread David L. Johnson
On Thu, 02 Feb 2006 10:30:16 +0100
Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote:

  Herbert == Herbert Voss [EMAIL PROTECTED] writes:
 
 Herbert this is nonsense! How did you insert it? 2^{Q} is a math
 Herbert expression, it cannot be part of \textrm, it should be an
 Herbert argument of\mathrm
 
 Herbert, while we are at it, does it ever make sense to use \textrm in
 math? I am a bit puzzled about what this really does. I would tend to
 use \mathrm{} for a variable name in upright shape, and \mbox{} or
 \text{} for something which is more like a word.

I believe the advantage will be for entering more than one word, with spaces
and all.  At any rate, the simple toggle to insert text this way means that
that is what I have been doing for years with it, to no ill effect.

-- 

David L. Johnson

   __o   | Business! cried the Ghost. Mankind was my business. The
 _`\(,_  | common welfare  was my business; charity, mercy, forbearance, 
(_)/ (_) | and benevolence, were, all,  my business. The dealings of my
   trade were but a drop of water in the comprehensive ocean of my 
business! --Dickens, A Christmas Carol  


Re: Problem\Bug with subsection at article AMS at 1.4.0pre6

2006-03-06 Thread David L. Johnson
On Mon, 06 Mar 2006 14:20:23 +0100
Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote:

  Hannan == Hannan Sadar [EMAIL PROTECTED] writes:
 
 Hannan Hi I was using document class: article (AMS, sequential
 Hannan numbering). After defining subsection or subsubsection, i saw
 Hannan my first line (until the enter) and my subsection or
 Hannan subsubsection joining together at the same line. My guess is
 Hannan that this is a bug, but i don't know if its a reported bug or
 Hannan not. I also tried just article as a document class and then
 Hannan the problem was not present.

I'm sorry I missed the first post on this.  If you mean, as I guess, that the 
heading of the subsection appears on the printouut on the same line as the 
beginning of the text, tgat is correct behavior for amsart.  Only section 
headings get their own line.  That it appears on a separate line in LyX is 
arguably a limitation of LyX, but not, in my mind, a serious one.

-- 

David L. Johnson
Lehigh University


Re: converting to html

2006-03-08 Thread David L. Johnson
On Wed, 8 Mar 2006 19:45:32 +1100
Lee Yeoh [EMAIL PROTECTED] wrote:

 Hi,
 
 I've just dowloaded Lyx 1.3.7, and am using it on a mac OS X 10.4.5.  
 I'm finding it very cool, a little bit of a learning curve to start  
 with, but pretty good in the end.
 
 I'm specifically having problems converting to html (I want some  
 documents on my palm v.4.1, which seems to have no DVI viewer or  
 decent PDF viewer available, unfortunately).
 
 I can export fine, but the html file appears to reference  
 several .png files for some of the mathematical symbols that aren't  
 created. I thought it might have had something to do with not having  
 libpng, so i got that too, but that made no difference.

There are several options to generate html from latex files.  You should be
able to use tth (I gather this is a Windows machine, which I know little
about, but check the tth website to see whether there is a Windows version;
there probably is), which does not generate bitmap graphics of mathematical
expressions; it does it all in (really ugly code) html, and it displays quite
nicely on most browsers.  It is at least worth a try.  One thing to check is
how whatever browser you have with the PDA handles the code.  I will send you
a sample output by e-mail.

LyX should be able to be re-configured to use tth instead of whatever you are
using.

-- 

David L. Johnson

   __o   | Accept risk.  Accept responsibility.  Put a lawyer out of
 _`\(,_  | business.  
(_)/ (_) | 
   


Question about language appearing in running heads

2006-09-04 Thread David L. Johnson

Sorry to butt in after such a long absense, but the later versions of LyX
have had a persistent bug?/problem? that I can't seem to solve in a
reasonable manner.

I have been using LyX for a very long time, since back when it had a Motif
interface and did not really display math.  I even contributed at one point,
but this is all beyond me now.

Here is my problem.  I regularly use the AMS layouts, seeing as how I am a
mathematician (I even wrote the original layout files, though they have
since been re-written by others).  Anyway, these formats automatically
generate a running header for all pages beyond page 1, displaying either the
author name or title on alternate pages.

However, in recent versions (I am currently using 1.4.2 under debian linux),
before either the author name or the title, on the running heads in the
printout or dvi files, occurs the word english --- the document language.  I
can sometimes get it to generate american instead, but that is not the
point. It is printing the document language label on the running head. 

When I edit the TeX file and comment out the line \usepackage{babel} the
problem goes away.  But removing the babel option within LyX does not cause
the problem to go away, and can cause compilation of dvi files to stop with
an error message about the language not being loaded.

Has anyone else seen this, or am I alone?  If the latter, I imagine it might
be a leftover file in my local config, but I moved $HOME/.lyx out of the way
and let LyX regenerate it, to no avail.

Any clue?  Any help?  

LyX version: 1.4.2 (also occurred with 1.4.1 and later 3.? versions).
OS:  debian linux testing on amd64 and x86 machines
Problem file types:  Any AMS document type with running heads.

-- 

David L. Johnson

   __o   | Business! cried the Ghost. Mankind was my business. The
 _`\(,_  | common welfare  was my business; charity, mercy, forbearance, 
(_)/ (_) | and benevolence, were, all,  my business. The dealings of my
   trade were but a drop of water in the comprehensive ocean of my 
business! --Dickens, A Christmas Carol  


Re: Question about language appearing in running heads

2006-09-05 Thread David L. Johnson
On Tue, 5 Sep 2006 10:51:44 +0200
Juergen Spitzmueller [EMAIL PROTECTED] wrote:

 David L. Johnson wrote:
  However, in recent versions (I am currently using 1.4.2 under debian
  linux), before either the author name or the title, on the running heads in
  the printout or dvi files, occurs the word english --- the document
  language.  I can sometimes get it to generate american instead, but that
  is not the point. It is printing the document language label on the running
  head.
 
 This smells like the following babel bug:
 http://www.latex-project.org/cgi-bin/ltxbugs2html?pr=babel/3238
 
 Which babel version are you using? The bug should be fixed with version 3.7.

Well, this looks like the culprit, but according to my tex output I have:

This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./301f06-info-johnson.tex
LaTeX2e 2003/12/01
Babel v3.8d and hyphenation patterns for american, ...
Document Class: amsart 2004/08/06 v2.20

so maybe the babel bug did not get fixed with v3.8d, or came back in, or it
is a latex bug instead.  These were just updated by an upgrade of debian
etch, but the bug has been with me for several upgrades.  

Thanks for the help; at least I know where to go.

-- 

David


Re: Historical question

2006-09-13 Thread David L. Johnson
On Wed, 13 Sep 2006 21:05:43 +0100
José Matos [EMAIL PROTECTED] wrote:

 On Wednesday 13 September 2006 20:37, Alex wrote:
  Hi!
 
  I would like to know when was the development of LyX started?
 
   This is what I have been able to dig. If you have details to add I am all 
 hears. :-)
 
  I could find 0.8.0 dated to 21st of dec, 1995.
 
  But when was it first announced or released to the public?
 
   In 95, David mentioned last month that he still used the motif based 
 version. (At version 1.5 :-)

Oh, no, I don't still use that version.  But I got more involved after I
found the program (who here remembers when Matthias called it LyriX?)
because of motif. In order to compile it under linux, you needed motif
libraries. I had actually gone out and paid for them, so provided (legally, I
think...) binaries. Heck, I think the first ones were static binaries.  The
whole tarball, with binary, fit on one floppy disk.  I also built AIX-3.5
binaries, and some of those are still in the archives.

The name was changed because someone contacted Matthias threatening to sue,
that name having been taken for a word processor of some sort.

I no longer can find any of these old binaries.  But, they were carved on
clay tablets, anyway, so I couldn't read them now.

I believe Matthias released his first version sometime in 1995.  It did not
display math at all.  All formulas were ERT.  Yes, it was red, even back then.
I don't recall a version number.

-- 

David L. Johnson

   __o   | The lottery is a tax on those who fail to understand
 _`\(,_  | mathematics.  
(_)/ (_) | 
   


Reconfigure oddity

2007-11-19 Thread David L. Johnson
I have recently updated my little Zaurus 3100 to a new version of debian 
(armel), so re-installed LyX.  I wanted to make sure it had access to 
everything it really needed, so I ran reconfigure.


I have the debian-sid lyx-1.5.2-1 package installed.  I tried to compile 
lyx on the machine, but it is a long, slow process with the limited 
memory I have available.  Sometimes it will crash in mid-compile of some 
of the larger object files, so make has to be re-started often. 
However, the debian package works fine.


The output of the command is stored in a LyX file, but my LyX could not 
read it.  That file claims to be lyxformat 2.15, for LyX 0.11.  Current 
Lyx 1.5.2 uses lyxformat 276.  The file is not readable, and my LyX 
could not convert it to readable format.  My usual trick, simply 
changing the format number, also does not work.


It seems that my machine is configured adequately, but maybe it would be 
time to update this output format.  I just checked on my desktop machine 
and it, also, produces the same old lyx format from reconfigure.  On 
that machine (debian lenny, amd64 machine) I compiled lyx-1.5.2 myself.


--

David L. Johnson

And though I have the gift of prophecy, and understand all mysteries,
and all knowledge; and though I have all faith, so that I could remove
mountains, and have not charity, I am nothing. [1 Corinth. 13:2]


Re: Math subject classification

2007-11-28 Thread David L. Johnson

Philipp Schlicht wrote:

Hi,

in my Lyx version 1.5.1 the environment subjectclass produces the output 1991 
Mathematics Subject Classification instead of the current 2000 Mathematics subject 
classification (see AMS website).


Huh.  I thought that was fixed.  It is in my 1.5.2 -- although it could 
be that I changed that myself.  However, I think not, I think this was 
installed from the source.


In your amsdefs.inc file, look for the  Subjectclass style.  It should read:


Style Subjectclass
CopyStyle Address
LatexName subjclass[2000]
LabelString   2000 Mathematics Subject Classification:
End

Do you bave an old ~/.lyx file around?

Of course, this just puts the problem off for a few years.  It would be 
really clever to change that subjclass[2000] name to auotmatically print 
the right decade.


--

David L. Johnson

And what if you track down these men and kill them, what if you killed
all of us?  From every corner of Europe, hundreds, thousands would
rise up to take our places.  Even Nazis can't kill that fast.
-- Paul Henreid (Casablanca).


Re: Slowness

2007-12-10 Thread David L. Johnson

Torquil Macdonald Sørensen wrote:

Hello,

Does anybody else experience that LyX1.5.2 sometimes becomes extremely slow? 
So slow that after pressing a key I must wait 1sec to see the character 
appear in the document. I have not yet been able to detect any underlying 
pattern behind this behaviour, but it is always fixed immediately by 
restarting LyX. I don't remember if I had the same problem in LyX1.5.1 or 
not...


I noticed this problem as well, but I don't know whether it is the same 
as the mac OS problem as indicated by the earlier reply.


I have a workaround.  I simply changed text fonts, and it improved 
dramatically.  I can probably find what fonts I changed to, but it would 
probably be better for you to just find one you like, and test it out.


I saw this mostly on my 64-bit amd and on my zaurus/debian sid.

--

David L. Johnson

And though I have the gift of prophecy, and understand all mysteries,
and all knowledge; and though I have all faith, so that I could remove
mountains, and have not charity, I am nothing. [1 Corinth. 13:2]


New version question

2011-03-07 Thread David L. Johnson
Hi folks.  It has been a while since I have been on this list, but I 
thought I'd ask about something I noticed in the last upgrade I made.


I am currently using 2.0.0beta4, which came to me with my latest upgrade 
of debian testing.  I have been using both Lyx and debian testing for aeons.


Anyway, I notice a new behavior that is a little annoying.  When I use 
an empty delimiter in math-mode, previously the empty limit was marked 
with a dashed vertical line.  Now, it is a solid black line.  Since one 
of the common delimiters I use is \.{}\| (that is, empty on left, 
vertical line on the right) the difference between that and vertical 
lines left and right requires more judgment than my eyes can handle. 
With math text being dark blue by default, there is not much difference 
between a vertical line and an empty delimiter.


So, why was this change made?  Can I set some preference to un-make it? 
 I don't really want to downgrade, if I can avoid it.  LyX is my 
default program for writing just about everything.


--

David L. Johnson

A mathematician is a machine for turning coffee into theorems.
-- Paul Erdos


Re: two theorems right after another

2011-03-10 Thread David L. Johnson

On 03/10/2011 04:25 PM, Randolf Altmeyer wrote:

Sorry, if this question has been asked a million times already. I don't
know how to search for it in the archive.

It's probably a simple thing. I want to add a theorem environment and
right after that another one. However, whenever I just hit return to
enter to the next line, and select Theorem from the drop down list in
Lyx, nothing changes, there is no Theorem 2 or something like that.
When I hit return again, there is still only one theorem.

What can I do?


I always enter a blank line in between them.  Make that blank line in 
the standard environment, and put in, say,  an ERT %, and it will be fine.


Or you could prove the first result...

--

David L. Johnson

You will say Christ saith this and the apostles say this; but what
canst thou say?
-- George Fox.


Re: Summation

2011-03-11 Thread David L. Johnson

On 03/11/2011 06:50 PM, Charles Reichert wrote:

Hello Everybody,
The only way I've been able to get the upper and lower limits in a
Summation operand to be directly above and below the summation symbol
is to click on the set display mode icon in the lower left corner of
the tool bar.  The problem is it moves the symbol to the middle of the
screen, which of course is out of context with the sentence it was in.
How can I get my limits to be directly above and below, while
maintaining the symmetry of the sentence the symbol is in?


Look on the math panels toolbar for the styles popup, and set 
displaystyle.  Alternately, under the Edit - Math  menu, you can set 
limits type to display.  The problem, though, with using displaystyle 
in an inline formula is that you will force large linespacings around 
that formula.


--

David L. Johnson

Enron's slogan: Respect, Communication, Integrity, and Excellence.


Odd warning message

2011-03-15 Thread David L. Johnson
I am using LyX 2.0.0beta4  with debian testing.  I have had several 
warning popups when saving a file saying that the file has been modified 
by an external program, when that is not the case.  It does not happen 
every time, but it happens often, especially, it seems, with new files.


It's not, of course, a big deal, since I can just ignore the warning, 
but it is odd behavior.


--

David L. Johnson

If all economists were laid end to end, they would not reach a
conclusion.
-- George Bernard Shaw


Re: Odd warning message

2011-03-15 Thread David L. Johnson

On 03/15/2011 11:10 PM, Charlie wrote:

On Tue, 15 Mar 2011 22:30:52 -0400
David L. Johnsondavid.john...@lehigh.edu  wrote:


It's not, of course, a big deal, since I can just ignore the warning,
but it is odd behavior.


It happens here as well, but only on the next save after the first
after one has created and saved a new file.


That is when I have noticed it as well.


I assumed it had something
to do when the preamble was manipulated.


Not consistently.  I just changed (trivially) a preamble and re-saved, 
with no problem.


This pop up appears also when

a template is used and saved the second time, but it doesn't appear to
do any harm?


I don't know about that.

--

David L. Johnson

It is a scientifically proven fact that a mid life crisis can only be
cured by something racy and Italian.  Bianchis and Colnagos are a lot
cheaper than Maserattis and Ferraris.
-- Glenn Davies


Re: My equation is flowing off the page. What can I do?

2011-03-21 Thread David L. Johnson

On 03/21/2011 08:00 PM, Patrick Li wrote:

Hello everyone,

I am a complete beginner to Lyx and am enjoying it immensely. I have
typesetted a page of math with it using the eqnarray environment, and
now the equations are too long and are flowing off the page. However,
there is still lots of space on the left hand side of the page. The
reason the equations run off the page is because Lyx insists on placing
the = sign in the center of the page. What can I do to get Lyx to move
all my equations to the left a bit?


I presume that at least one line in the eqnarray environment on the 
left-hand side has some expression there.  For all lines in that 
multi-line environment, the = signs will be aligned to allow enough for 
that LHS.  You could re-write that left-hand side to shorten it, or 
maybe arrange things like:


  A
= B
= C

instead.  BTW, unless something else is going on, this is a TeX issue, 
not LyX.


--

David L. Johnson

Deserves death!  I daresay he does.  Many that live deserve death.
And some that die deserve life.  Can you give it to them?  Then do not
be too eager to deal out death in judgement.
-- J. R. R. Tolkein


Re: LyX Promotion

2011-03-22 Thread David L. Johnson

On 03/22/2011 10:58 PM, John McCabe-Dansted wrote:


1) Compile Errors. Normal users aren't used to dealing with compile
errors and shouldn't be expected to fix them. Even I don't like
dealing with compile errors all that much.


With LyX you should not get compile errors unless you are doing 
something fancy.  It should be the case that no ERT = smooth 
compilation.  I can't recall the last time that was not the case with LyX.



1a) Perhaps we could do some sort of bisect to determine where the
error is (either over the file itself or some fine-grained history).


That is hard because sometimes TeX gets royally confused, and doesn't 
really understand what's wrong until far past the real mistake.



1b) Perhaps we could improve the latex export so that compile errors
only occur if the user uses ERT. Particularly with beamer, this isn't
always the case.


Well, AFAIK beamer is a new addition to LyX, and is not yet mature.


2) Compatibility with Word. Typical users expect to be able to open
and save word documents.
2a) It is easy to bundle import/export filters so that the users don't
have to manually set up OOXML and ODF. This export wouldn't work as
well as e.g. OOXML-  ODF though.


I really don't think this will work, since LyX documents have a lot more 
structure than word documents.  You can certainly import word documents 
successfully, but exporting them is going to lose a lot of structure. 
You don't want to be saving to word format and expect to get the right 
file when you import it into LyX again.



3) Not WYSIWYG.  Normal users clearly expect WYSIWYG. WYSIWYG and
WYSIWYM don't need to be mutually exclusive.


They are to an extent, since WYSIWYG really means that all the document 
contains is what you see on the screen, without additional structure 
that properly formats it for a number of different export situations.


Think about writing a document in word.  You spend time getting the 
spacing right, the margins to look right, and align all the bits of text 
by hand.  I never have to worry about that in LyX, since I trust TeX to 
get it right.


Ignoring the difficulty

in implementing for a while, having a WYSIWYG mode would be great.
After the content is complete, I go though a cycle of: Notice
something weird with the line-breaking in the PDF, muck around with
the LyX source hoping it fixed the problem;


No.  TeX handles all that, don't ask users to spend effort in dealing 
with how lines break.  Write the paper, let TeX format it.  I would not 
want to worry about how it looks on the page while writing, that is a 
bad habit that you can avoid with LyX.



recompile PDF. This can

take a while and having a WYSIWYG mode could make this process a
factor of ten times faster.


No, in my experience it creates the takes a while part.

--

David L. Johnson

A foolish consistency is the hobgoblin of little minds, adored by
little statesmen and philosophers and divines.
--Ralph Waldo Emerson


Re: tengo problemas al trabajar con lyx

2011-03-23 Thread David L. Johnson

On 03/23/11 13:40, irving rangel wrote:

Buenas tardes, tengo una complicación al trabajar con lyx, al tratar de
visualizar el archivo en DVI o PDF me marca los siguientes errores;
Missing \endcsname inserted,Argument of \@firstoftwo has an extra
}.Paragraph ended before \@firstoftwo was complete.

gracias de antemano espero me puedad ayudar, la verdad es que no se a
que se deba esto.


I occasionally see errors like that, and they are usually the result of 
me accidentally having a displayed equation (eqnarry environment) in a 
section or subsection environment.


Check each equation for the environment that is being used.  If it is a 
shortish file, send it to me and I will see what I can see.


--

David L. Johnson

It doesn't get any easier, you just go faster.
--Greg LeMond


Re: frage -Rechtschreibung startet nicht

2011-03-25 Thread David L. Johnson

On 03/25/11 09:15, momo...@ovi.com wrote:

Hallo

Vielen Dank für deine Antwort
version 1.6.9

Hier untergeladen 03/03/2011 12:33 182,339,690
LyX-169-4-27-AltInstaller-Complete.exe
/pub/lyx/bin/1.6.9/LyX-169-4-27-AltInstaller-Complete.exe

Rechtschreibungfehler ist gelöst

Neue fehlermeldung: s.Anhang

First thing to check:  reconfigure.  Your installation may have missed 
the spellchecker.  The next thing to check is the preferences menu, 
then look under editing for the spellchecker settings.  Maybe it is 
looking for the wrong spellchecker.  This happened to me when I tried 
out the continuous spellchecking.


Good luck.

--

David L. Johnson

You will say Christ saith this and the apostles say this; but what
canst thou say?
-- George Fox.


Re: LyX: Saves edited version of document as a new version (new file) ?

2011-03-25 Thread David L. Johnson

On 03/25/11 14:54, BOB Merhebi wrote:

Hello fellow LyXers,

I wonder if LyX can save documents that have been edited as a new
(updated) version of the same file ?


I guess I don't understand.  Using Save As you can save it 
incrementally with any name you please.  I do this all the time.  But, 
if you want something automatic, you'd get a new filename every time you 
saved.  Are you sure you want that?  I often save a file I am working on 
several times, so that I don't lose too much if, say, the power goes 
out, or if the computer crashes, or if lyx itself crashes.  I would have 
half a dozen copies by the end of the day, and that would eat up a lot 
of space, and files would proliferate.


Maybe what you really want to enable is something on the order of 
version control, or change tracking.  Look under tools for that; maybe 
someone who uses it can provide suggestions.



P.S.: Please reply to me personally, not just to the lyx mailing list.

Generally, it is better form, when asking a question of a list, to join 
the list at least until your question is answered.


--

David L. Johnson

What am I on?  I'm on my bike, six hours a day, busting my ass.
What are you on?
--Lance Armstrong


Re: Poll for the default icon theme in LyX 2.0

2011-03-30 Thread David L. Johnson

On 03/30/11 09:26, Pavel Sanda wrote:


- old


--

David L. Johnson

Let's not escape into mathematics.  Let's stay with reality.
-- Michael Crichton


Re: People can't read my pdf's

2011-04-12 Thread David L. Johnson

On 04/12/2011 01:52 PM, Maria Gouskova wrote:

Dear LyX users,

For the past week or so, people have been having trouble opening and
printing PDF files I generate with LyX. I am trying to figure out what
changed. My details:

LyX 1.6.9
Mac OS 10.6.7
PDF viewer: Preview.app 5.0.3

With this setup, I can view my PDFs just fine, and they print fine as
well. People using Acrobat Reader (9 or 10, both Mac and Windows)
report that everything but the title of the file comes out looking
like dots, and I verified this on another Mac that has Acrobat
installed. Preview.app worked fine. The Acrobat error message reads,

Cannot extract the embedded font 'TXVCLW+SFRM1095'. Some characters
may not display or print correctly.

There are several different ways to export as pdf, and the pdf files 
generated by various methods are not the same.  This one probably 
depended upon specific fonts that your people did not have installed. 
This is common for us linux users.  pstopdf gives, usually, readable 
output, but text may not be selectable.


--

David L. Johnson

It is probable that television drama of high caliber and produced by
first-rate artists will materially raise the level of dramatic taste
in the nation.
-- David Sarnoff, 1939


Re: Translations issues in French

2011-04-15 Thread David L. Johnson

On 04/15/11 06:04, Liviu Andronic wrote:

Hello


2011/4/15 Jean-Pierre Chrétienjeanpierre.chret...@free.fr:

This post is intended for  French-speaking users of the users list who are
not subscribed to the lyx-fr list.



From my understanding, 'acknowledgement' and 'remerciement' are not

perfect equivalents. You can easily see the first term used in
singular ('acknowledgement of success or of help') and in plural forms
('acknowledgements for the contribution to this paper'). (I must admit
that I'm not sure in what sense the term is used in the 'thms' class.)


In the Theorems class, Acknowledgment(s) is/are used primarily for 
thanks to others who contributed to the work, or perhaps to a reviewer 
who helped improve an argument.  In that sense, Remerciements seems to 
be an appropriate translation.  But you also see Thanks as a label for 
such acknowledgments in English.  As I recall, I came up with these 
theorem styles, way back in the day, using AMS style recommendations. 
Unfortunately, those did not come with translations.  But given the AMS 
dominance in mathematical writing, maybe now there is a French version 
of those recommendations.


As for the French term, I have a hard time finding a use case in
singular form. Even if only one person contributed, she would still
get 'des remerciements'.


As in English, even one person would get Thanks, which is in a sense 
plural (we often say many thanks to so-and-so).  But, you would 
acknowledge one person, or several.


--

David L. Johnson

It is probable that television drama of high caliber and produced by
first-rate artists will materially raise the level of dramatic taste
in the nation.
-- David Sarnoff, 1939


Re: Numbering the rows of a table

2011-04-18 Thread David L. Johnson

On 04/18/11 12:51, CLOSE Dave wrote:

I admit I'm a newbie with LyX, but this seems like such a simple
operation. I read that LyX is especially good with lists, numbered,
itemized, etc. Well, I need that in a table. I want one column of my
table to contain the number of that row. For example,

  +--+--+
  | item | head |
  +--+--+
  |   1  | text |
  +--+--+
  |   2  | text |
  +--+--+
  |   3  | text |
  +--+--+

The numbers should automatically update if I add or delete a row in the
table. I am astounded that I can't easily find a way to do this with
LyX. What am I missing?


I presume you need the lines in the table, or else there is no reason 
why you couldn't just use an enumerated list, which would do what you 
want.  But inside of a table, I don't know how to do that.


--

David L. Johnson

When you are up to your ass in alligators, it's hard to remember that
your initial objective was to drain the swamp.
-- LBJ


Re: Numbering the rows of a table

2011-04-18 Thread David L. Johnson

On 04/18/11 17:36, Paul A. Rubin wrote:

It can be done with LaTeX.  Add the following to your preamble:

\newcounter{trow}
\newcommand{\therow}{\addtocounter{trow}{1}\arabic{trow}}

Then insert \therow in ERT in the item column.  You can copy it and paste it
into the item cell of each new row.

That works very nicely.  It's be cool to add this to the table 
functionality in LyX at some point, but this is simple enough to satisfy 
the original request, I think.


--

David L. Johnson

As far as the laws of mathematics refer to reality, they are not
certain, and as far as they are certain, they do not refer to reality.
-- Albert Einstein


Re: How?

2011-04-19 Thread David L. Johnson

On 04/19/11 15:30, gordon cooper wrote:

What is the correct way to pronounce 'Lyx' in
a country speaking English?


I don't know how many people on this list were around at the time, but 
there was some discussion at the beginning.  Matthias Ettrich, who 
started this project, first named it LyriX (pronounced lyrics), but 
then got a nasty letter from some company that had a commercial word 
processing program by the same name.  So, he changed the name.  He had 
intended it to be pronounced as licks, referring more to guitar licks 
than anything else; not that it had anything particularly to do with 
music.


If you look on Wikipedia, both Matthias and LyX have pages, and most of 
the history is pretty accurate.  The LyX page mentions that the name 
evolved from the default .lyx filename suffix, which indeed was used 
even when he called it LyriX.  But my memory is that he also liked the 
connection to the music term.


--

David L. Johnson

Arguing with an engineer is like mud wrestling with a pig...
You soon find out the pig likes it!


Re: Latex - absolute beginners

2011-04-20 Thread David L. Johnson

On 04/20/2011 07:21 PM, Marc Wijnand wrote:

Hi

I am trying to learn how to make a document with Latex. I am working on Mac OS 
X and I installed MacTex and LyX.
I just typed

\documentclass{document}

\begin{document}
Hello world!
\end{document}

but when trying to make a pdf, I get this error message:


As the message indicated, you did not enter those commands in the 
preamble, which is accessible from within LyX through Documents - 
Settings - preamble (bottom of list).  You are trying to enter raw TeX 
in a LyX document.  This is not how it is done.


--

David L. Johnson

Some people used to claim that, if enough monkeys sat in front of
enough typewriters and typed long enough, eventually one of them would
reproduce the collected works of Shakespeare.  The internet has
proven this not to be the case.


Re: Example is counted as a theorem

2011-04-21 Thread David L. Johnson

On 04/21/2011 11:58 AM, Jinxi Cheng wrote:

Hi, I am writing an article [ams] using Lyx. I started a few hours ago
and I inserted an example. Lyx autoatically named it Example 1. that
is good. next I inserted a theorem. But it is named Theorem 2 and
not Theorem 1.  It seems Lyx counted the example as a theorem also.
How can I fix this in Lyx?


You can change the way all such things are counted in Document - 
Modules.  Try numbered by type.


--

David L. Johnson

You will say Christ saith this and the apostles say this; but what
canst thou say?
-- George Fox.


Re: Single quotes don't pair up

2011-04-26 Thread David L. Johnson

On 04/26/11 17:33, Steve Litt wrote:


In input: Alt+ will produce correct single quotation marks. With LyX 2.0
and advanced search/replace, you can directly replace ' by real single
quotation mark insets.


For me, with English defaults, also `this' gave correct single quotes, 
and ``that'' gave correct double quotes, while the other did not give 
correct double quotes.  That last usage did, at one time, give correct 
quotes in LyX, but I think there was some reason why that behavior was 
changed.  I don't use quotes that often (when you plagiarize, you 
plagiarize, and don't use quotes to give away what you did), so did not 
pay too much attention.  The way I did those quotes seems easier than 
the Alt- stuff, although it is kind of texish.



I'd rather ask a stupid question than make a stupid mistake. In American
English, should the opening matched single quote look like a six and the
closing one look like a nine? That's how mine is, although of course the six
and nine don't have actual loops.


I'm pretty sure that's right.

--

David L. Johnson

A mathematician is a machine for turning coffee into theorems.
-- Paul Erdos


Re: Figure Float Rotated When Exported: Why?

2011-06-13 Thread David L. Johnson

On 06/13/2011 10:35 PM, Les Denham wrote:

On Mon, 13 Jun 2011 16:43:21 -0700 (PDT)
Rich Shepardrshep...@appl-ecosys.com  wrote:


I created a figure using gnuplot (because neither PSTricks nor R
can make a bar plot with dates as the x labels), and exported it as
PostScript (.ps). When I view the document, the figure is properly
oriented, but when I export the file to pdflatex, the figure is
rotated 90 degrees counterclockwise. Rotating the figure in the
document is necessary so it is properly oriented when the file is
compiled.

Any ideas why this happened?


Not that this will help, but I recall this phenomenon some years ago. 
For me (using linux) the problem has not reappeared in some time.



--

David L. Johnson

A foolish consistency is the hobgoblin of little minds, adored by
little statesmen and philosophers and divines.
--Ralph Waldo Emerson


Re: LyX 2.0.0 spell checker {KBD shortcut(s)}

2011-06-14 Thread David L. Johnson

On 06/14/2011 11:52 AM, Joe(theWordy)Philbrook wrote:

 I may be a bit too dependent on
 the various package management systems on my installed distros but 
most of

 the time this saves me a lot of dependency headaches.

I don't think I would fault anyone for being dependent upon package 
management systems on a distro.  I've been using debian since -- I have 
no idea how long --- and have found that the package management is now 
very, very good (it wasn't so smart at first), and it is very difficult 
to avoid difficulties if you oppose its wishes.


I am also using 2.0.0, under debian testing (wheezy).

 The shortcut issues I'm having are:

 1) The Alt+D on the Add button conflicts with the Document pull 
down menu. To
 actually add the word to the word list I MUST click on the button 
with the mouse.


 2) The Alt+I on the Ignore button conflicts with the Insert pull 
down menu.

 Again I MUST click...

 3) The Alt+F on the Find next button conflicts with the File pull 
down menu.

 Again I MUST click...

I see these phenomena as well (I use gnome, but it seems that this is an 
issue about LyX that is independent of the window-manager).  If you just 
right-click on the misspelled word when using continuous spellchecking 
(something I thought I would never do, but I do like it now), you do not 
get those keyboard shortcuts at all.  Maybe they need to be removed from 
the spellchecker window, or changed to avoid the conflicts.  This may 
also depend upon how you set up your LyX shortcuts.  I use cua with a 
few additions (not conflicting with these commands).


One thing to note is that, if the spellchecker window has the focus, you 
can use the shortcuts.  But typically the focus would be on the main 
window, and since that gets the focus the shortcuts would go to its 
menu.  So you have to use the mouse, no matter what, at least to shift 
the input focus to the spellchecker window.


--

David L. Johnson

Business! cried the Ghost. Mankind was my business. The common
welfare was my business; charity, mercy, forbearance,  and benevolence,
were, all, my business. The dealings of my trade were but a drop of
water in the comprehensive ocean of my business!
--Dickens, A Christmas Carol


Re: Can use ' symbol in \letterine?

2011-06-21 Thread David L. Johnson
On 06/21/2011 10:30 AM, Frederick FN Noronha फ्रेडरिक नोरोन्या *فريدريك 
نورونيا wrote:

\lettrine{T} {he people's}
Odd. It works fine for me, with or without the '. I use lyx-2.0.0 in 
linux (debian wheezy), with US English as the default language. Though I 
don't know what impact using other systems or languages would have, you 
should indicate what those parameters are. When you say it does not 
produce a pdf file, does it give you an error message?


--

David L. Johnson

Deserves death!  I daresay he does.  Many that live deserve death.
And some that die deserve life.  Can you give it to them?  Then do not
be too eager to deal out death in judgement.
-- J. R. R. Tolkein



Re: How to make formatted cross-reference capitalized in Lyx 2.0?

2011-06-28 Thread David L. Johnson

On 06/28/2011 10:30 AM, PG wrote:


Thanks! I think I'll just do it by the ugly way for now,
using ERT or manually type Section.
Looking forward to the release of Lyx 21!



One way to do things like this -- not officially sanctioned, of course, 
but worth a try, is to make one such change manually, then examine the 
Lyx files in an editor (pre and post change) to see what the replacement 
text is, and do a global search and replace (or, if you are good at 
this, you can write a perl script or some such) on the file.  Things 
like this may or may not be possible to do within LyX, but may work in 
an external editor.


--

David L. Johnson

It is a scientifically proven fact that a mid life crisis can only be
cured by something racy and Italian.  Bianchis and Colnagos are a lot
cheaper than Maserattis and Ferraris.
-- Glenn Davies



Re: tetex - texlive

2011-07-17 Thread David L. Johnson

On 07/17/2011 01:02 PM, Rich Shepard wrote:

  I've just replaced the tetex I've used for years with texlive-20100722.
LyX fires right up. What I want to know is if there are potential 
gotcha's

due to the transition. I expect not, but I'd like to be sure before I hit
one during a critical event (such as a deadline to produce a document).
I did that transition some time ago, since AFAIK tetex is no longer 
supported, and texlive is.  I do not recall any problems with the 
transition.


--

David L. Johnson

Some people used to claim that, if enough monkeys sat in front of
enough typewriters and typed long enough, eventually one of them would
reproduce the collected works of Shakespeare.  The internet has
proven this not to be the case.



Re: Latex use in Lyx

2011-07-26 Thread David L. Johnson

On 07/26/2011 07:26 AM, Johan wrote:

Hello.

I did see I can add LaTeX code to Lyx, it is displayed as latex code. I want to
type some shotcut key and $\int$ then I want to see the integral sign in math
mode. Is this possible in Lyx?
Certainly.  You can use Ctrl-m to enter math-mode, then \int (no need to 
use the $'s) will get you an integral sign.  Or, you can bind enter 
math mode to a function key (I use f10).

Also for environments like \begin{enumerate}...\end{enumerate},
\begin{align*}...\end{align*}, etc ..
Again, there are built-in shortcuts, or you can assign keys to the ones 
you use most often.




--

David L. Johnson

Business! cried the Ghost. Mankind was my business. The common
welfare was my business; charity, mercy, forbearance,  and benevolence,
were, all, my business. The dealings of my trade were but a drop of
water in the comprehensive ocean of my business!
--Dickens, A Christmas Carol



Re: Adding title/text to Propositions/Theorems/...

2011-07-28 Thread David L. Johnson

On 07/28/2011 11:12 AM, ChiPro wrote:

Hi,

does anyone know how to add text to/name a Proposition/Theorem/...?


Example:

Proposition 2 (Main Result) blablabla

I always put [Main Result] in boldface, emphasized, at the beginning of 
the theorem.  That works, and as far as I know is the standard way to do 
it in TeX.


--


David L. Johnson

Some people used to claim that, if enough monkeys sat in front of
enough typewriters and typed long enough, eventually one of them would
reproduce the collected works of Shakespeare.  The internet has
proven this not to be the case.



Re: Can I use lyx for a shopping list

2011-08-13 Thread David L. Johnson

On 08/13/2011 01:49 AM, Liviu Andronic wrote:

On Sat, Aug 13, 2011 at 7:08 AM, Monty Zukowskimo...@codetransform.com  wrote:

I'd like to lay out a 3x5 card shopping list in 3 columns.  I'm not


I have never played with multiple column documents, but you have at
least Document  Settings  Page layout  Two sided document and
Orientation  Landscape. Look in the modules and on the wiki on how
LaTeX allows several columns on one page.
Two-sided will not give you multiple columns.  It changes the default 
margins and placement of page numbers so the document can be printed up 
double-sided, bound on the left, and have the page numbers and margins 
appropriately arranged.


What you want is the multicolumn package.  I do this with ERT, but 
perhaps it could be added to LyX -- although I don't think you would 
want to display it that way within LyX; it'd be a mess with the margins.


There is a setting within LyX to set the entire document as a two 
column document, in Document  Settings  Text Layout, but I use the 
ERT to set parts of the document as multi-column, and this way you can 
set up as many columns as you want.


Add \usepackage{multicol} to your preamble.  Then, when you want to turn 
on multi-column (3 column in this case) text, enter  
\begin{multicols}{3}  in ERT, and then \end{multicols} to return to 
single-column layout.


--

David L. Johnson

Accept risk.  Accept responsibility.  Put a lawyer out of business.



Re: Drehen von Seiten

2011-08-16 Thread David L. Johnson

On 08/16/2011 08:11 PM, Marcus Glöder wrote:

Am 11.08.2011 15:22, schrieb Marvin Roth:

Guten Tag


Hallo,

diese Mailingliste ist auf Englisch. Wenn Du mehr als diese Antwort 
haben willst, wäre es vielleicht ganz gut, wenn Du Deine Frage noch 
einmal auf Englisch postest.


I do find it convenient to have people from all over the world posting 
on this, and other, mailing lists in English.  However, I do understand 
that not everyone is able to express themselves fluently in English, and 
so must either find a language-specific help group, or ask for the help 
they may need in whatever language they can use.  I would not want to 
discourage anyone from trying LyX, or for asking for help, just because 
they cannot write in English.


I know that this has been beaten to death both here and on other lists, 
but maybe we should cut people some slack.


I'll also admit that I enjoy trying to figure out what the question is 
in various languages; it helps me recall my college German, for one.  In 
this case, anyone with some experience in using other default languages 
than English may need to offer suggestions if they can; I haven't 
experienced that, so can't help get the menus to show up in German.  As 
far as the styles not functioning, I presume that is an installation 
issue.  Again, it matters what your experience has been.  But since he 
had a clean install of his OS (Mac OS -- which one?), and LyX, I would 
hope that the installation would have included enough styles and 
required pieces of TeX to make it work.  If not, it is either an 
installer problem, or the installation was not as straightforward as the 
poster suggested.


For the original poster:  You stated that you did not have any 
experience with TeX or LyX.  What programs do you use that give you the 
citations as you want them?  Maybe someone else knows how to make 
LyX/LaTeX behave in the same way.


--

David L. Johnson

It is a scientifically proven fact that a mid life crisis can only be
cured by something racy and Italian.  Bianchis and Colnagos are a lot
cheaper than Maserattis and Ferraris.
-- Glenn Davies



Re: how to write an Augmented Matrix

2011-08-21 Thread David L. Johnson

On 08/21/2011 02:56 PM, srlp...@gmail.com wrote:


Dear Lyx Users,

Could you please suggest me writing an Augmented matrix in LyX? In 
this matrix, I actually need to type a bar between second and third 
column of a matrix.


Start out by setting the size of the augmented matrix in the menu, and 
add your choice of brackets.  Then click on the next-to-rightmost 
column, on any row, and click on (I think) the right mouse button.  You 
should get a menu with a choice of line right and line left for you 
to choose.  I use this all the time.


--

David L. Johnson

The lottery is a tax on those who fail to understand mathematics.



Re: linux permissions of exported pdf file: how to set it to 660 by default?

2011-08-30 Thread David L. Johnson

On 08/30/2011 02:19 PM, Richard Heck wrote:

On 08/29/2011 09:14 AM, Sophie Vandenbussche wrote:

Hi everyone!

I use LyX in a professional linux environment, in shared folders where
660 rights are automatically given to any created file. When I export
a pdf file (using pdflatex), the created file has 600 permission. I
made a trace of what happens during the saving, and at the end of
everything it makes a chmod 600 on the file.
So, does anyone know how to change that? Or deactivate it?


I've had a look at this, and I don't think it's a LyX-specific thing. I
just exported a file, and it's created with 664 permissions. And, so far
as I can see, LyX does not do anything to change the permissions. The
copying happens at the end of the Buffer::doExport routine, via the call
to copyFile(), which is implemented in Exporter.cpp, which calls
Mover::copy(), which eventually calls FileName::copyTo, which finally
calls QFile::copy(), the static version, to effect the copy. Nowhere
there do I see any attempt to change the permissions. So perhaps this is
something to do with your Qt installation?


It might also have to do with the global setup that assigns that 660 
permission.  Remember that the export to ___ process starts with a TeX 
file in the /tmp/* directory, which might have different default 
permissions than the user space, pdflatex may preserve those permissions.


--

David L. Johnson

Let's not escape into mathematics.  Let's stay with reality.
-- Michael Crichton



Re: TeX Capacity problem

2011-09-04 Thread David L. Johnson

On 09/04/2011 11:27 PM, Hady Ariwibowo Teguh wrote:

Dear All,
I have a problem with TEX capacity. Well, When i debug the file, an 
error say TeX capacity exceeded, sorry [main memory size=300]. 
How i can fix it?




My experience is that that is not really the problem.  I get that error 
when I mistakenly have a whole paragraph, including mathematics, inside 
an environment such as a subsubhead.  Check for errors like that first.


--

David L. Johnson

What is objectionable, and what is dangerous about extremists is not
that they are extreme, but that they are intolerant.
--Robert F. Kennedy



Re: Importing excel/gnumeric to LyX

2011-09-10 Thread David L. Johnson

On 09/10/2011 10:14 AM, Christian Wilhelmsen wrote:

Hi!

When trying to import and .xls or .gnumeric to LyX 2.0 I get the error 
message:


no information for converting gnumeric format files to latex.
Define a converter in the preferences.
Hmm.  Works for me.  Appears within LyX as spreadsheet but 
export/print works fine.  I'm using linux (debian testing), so maybe 
your system is different.


--

David L. Johnson

A foolish consistency is the hobgoblin of little minds, adored by
little statesmen and philosophers and divines.
--Ralph Waldo Emerson



Re: lexlive2011 and Debian squeeze

2011-09-13 Thread David L. Johnson

On 09/13/2011 10:01 AM, Wolfgang Engelmann wrote:
Could somebody who uses Debian squeeze and texlive2011 share his 
experience installing it with me (and others)?. Where is texlive 
installed and how do I make sure that lyx is using it (and also other 
programs which use tex/latex such as xfig etc), i.e. the Path setting? 
At the moment I have downloaded the unx.tar.gz package, which is 
waiting to be unpacked and further manipulated.


I am using wheezy, not squeeze (the testing distribution rather than 
the stable), but texlive has always been trivial to install, and is a 
big improvement over the previous version of tex that came with debian 
(whose name I forgot).


Just don't install tarballs on top of the distribution and expect it all 
to work together.  The better approach would be to just install texlive 
and lyx, both using the package management system (which has several 
interfaces, from the minimal dpkg to synaptic.  I use apt, which helps 
me keep things up to date without it being too busy.


I haven't worried about paths in years.

The only reason to install something other than is what comes with the 
distribution is to get new bells and whistles.  With lyx, the build 
process automatically finds the stuff it needs, and if it doesn't, 
something serious is wrong.  You may have to install a lot of packages 
to get lyx compiled, which is why the package management is easier.  
Wheezy, at least, is up to 2.0.0 with lyx.


--

David L. Johnson

Accept risk.  Accept responsibility.  Put a lawyer out of business.



Re: lexlive2011 and Debian squeeze

2011-09-14 Thread David L. Johnson

On 09/14/2011 05:26 AM, Guenter Milde wrote:

The old tetex packages are long gone, but even Debian/unstable is still at
TeXLive 2009! If you want to work with LuaTeX or the unicode-math package,
updating the TeXLive distro is a must.
Oops.  I did not pay attention to texlive2011 being the issue.  Sorry 
for my misunderstanding.


--

David L. Johnson

And though I have the gift of prophecy, and understand all mysteries,
and all knowledge; and though I have all faith, so that I could remove
mountains, and have not charity, I am nothing. [1 Corinth. 13:2]



Re: Lyx color schemes and beamer class

2011-09-23 Thread David L. Johnson

On 09/23/2011 12:04 PM, Jürgen Spitzmüller wrote:

Ibot wrote:

Does anyone know the appropriate label so that I maybe can assign via the
.lyx/preferences file
and the set_color command a different color for this particular element.

You have to change the beamer.layout file. In the Style BeginFrame layout
definition, change

Font
 Series Bold
 Size   Largest
 Color  Blue
EndFont

to whatever you need.


You do have to be cautious about this, since an upgrade to a newer 
version of LyX will overwrite your changes.  Be sure at least to make a 
copy of any changes in any layout file.  Upgrades in most schemes will 
look for local changes in a configuration file and warn you before 
overwriting them, but not for basic system files such as this.


Can this be done in the user's preferences?


--

David L. Johnson

What am I on?  I'm on my bike, six hours a day, busting my ass.
What are you on?
--Lance Armstrong



Re: Equation annotations in a multiline equation

2011-10-02 Thread David L. Johnson

On 10/02/2011 08:27 PM, Abiel Reinhart wrote:

I'm trying to understand how I can add annotations that sit to the
right of each line of a multiline equation. For example, in a proof,
such annotations might provide justification for each step in the
proof.

In pure LaTeX I could accomplish this like so:

\begin{align*}
h(x)= \int_a^b{[f(x)+g(x)]dx}  \text{(Some annotation)}\\
= \int_a^b{y(x)dx}  \text{(Another annotation)}
\end{align*}'

However, I'm not sure how to achieve the same effect in LyX.

Abiel
Try, within an aligned environment, entering a standard inline math 
environment.  This will give you a blue rectangle, and if you type 
something there, it will be in standard Roman text.  It is a \text{} 
environment.   Alternately, heck, you can type  \text  and hit the Enter 
key; you will then be in the text environment you want, but I have 
enter an inline math environment linked to F10, so I just hit F10.  
You can leave that environment by moving the cursor.


--

David L. Johnson

As far as the laws of mathematics refer to reality, they are not
certain, and as far as they are certain, they do not refer to reality.
-- Albert Einstein



Re: Equation annotations in a multiline equation

2011-10-03 Thread David L. Johnson

On 10/03/2011 11:45 AM, Abiel Reinhart wrote:

Thanks, after pasting in the text and then examining it I was able to
figure out the correct approach. It appears my earlier alignment
difficulty stemmed from placing the equals sign in its own column. Now
I create a four-column structure in the align environment, with
equation= in the first column, equation in the second column, nothing
in the third column, and the annotation in the last column. This gets
me exactly what I had in pure LaTeX, which makes sense.
The problem really is in the default alignments that AMS-LaTeX uses 
here.  I don't know offhand what the rules are supposed to be, but the 
problem is that some of the columns are right-justified, and others are 
left-justified.  I'm sure that the algorithms are available somewhere.  
You placing the = in the first column, rather than in a column by 
itself, changed the count of columns, and thus the justification.


The justification is different in LyX than it is in the output, which 
might be something to worry about in the future.


--

David L. Johnson

The lottery is a tax on those who fail to understand mathematics.



Re: Triangle of Tartaglia with Lyx

2011-10-13 Thread David L. Johnson

On 10/13/2011 10:54 AM, Richard Heck wrote:

On 10/13/2011 05:32 AM, Rubén Jiménez wrote:

Hi

Will you show me how I can draw the triangle of Tartaglia with Lyx?


In most of the world, it is known as Pascal's triangle.
I was hoping for something really exotic.  The links you gave look 
essentially like a table, so why not use a table or a matrix.  I tried 
it, and they both look pretty good, with perhaps a little more space 
than would be ideal.


--

David L. Johnson

If all economists were laid end to end, they would not reach a
conclusion.
-- George Bernard Shaw



Re: Fwd: Move from d:drive to c:drive

2011-10-14 Thread David L. Johnson

On 10/14/2011 02:17 PM, Sølvi wrote:

ANYONE??

-- Forwarded message --
From: *Sølvi* s.n.mi...@gmail.com mailto:s.n.mi...@gmail.com
Date: 2011/10/11
Subject: Move from d:drive to c:drive
To: lyx-users@lists.lyx.org mailto:lyx-users@lists.lyx.org


Hi,

I'm currently using Windows XP with LyX v.2.0.0

I have a huge document, it's a master with several child documents 
included which then again have documents/figures etc inserted (it's 
like a christmas tree). I have been working on the d: drive on a pc 
but now I have to work on a pc that only have a c: drive and I 
probably have to move it all back to the pc with the d: drive later.


Is there any easy way to do this or do I have to rebuild the entire 
document? It's a big document with lots of files incorporated.



I'm sorry, but I don't really know how Windows file management works.  
Isn't there a way you can archive all of that into a file (.zip or 
.tar), starting from withing the d:drive so the archive is relative.  
Then, unarchive it in the c:drive and I would think that it should 
work.  Or. maybe you can set up a recursive copy command to copy it all 
over.  But I am shooting in the dark.


--

David L. Johnson

Let's be straight here.  If we find something we can't understand we
like to call it something you can't understand, or indeed even
pronounce.
-- Douglas Adams



Re: spacing objects and arrows in xymatrix diagrams

2011-10-16 Thread David L. Johnson

On 10/16/2011 05:26 PM, Alberto Alcalá Alvarez wrote:
hello, I'm trying to get the following done, using the xymatrix 
command: I have a diagram with a --- arrow going down, but the 
tail of the arrow, , gets overlapped with the name of the origin of 
the arrow, so my question is if there is a way to save some space 
between the name of the origin and de tail of the arrow, or if I could 
rescale the shaft of the arrow in order to make it shorter. thanks a lot!


Is this a standard commutative diagram?  If it lies within the realm of 
the CD macros from the AMS (amscd), I would use them.  CD is limited to 
rectangular arrays of objects, and non-diagonal arrows, but beyond that 
you get real AMS-LaTeX arrows and spacing that should prevent that kind 
of thing.  The arrows on the xymatrix help file I found are cheesy.  
They look to be formed from several characters, like we used to do when 
we actually typed this stuff.  The tail of your arrow is probably of 
that sort (literally ), and it is not correctly accounted for in 
determining the spacing.


J. S. Milne has a nice guide to CD-type packages which might help.

http://www.jmilne.org/not/CDGuide.html

--

David L. Johnson

If all economists were laid end to end, they would not reach a
conclusion.
-- George Bernard Shaw



Re: Printing a LyX file as it appears onscreen

2011-10-17 Thread David L. Johnson

On 10/17/2011 02:57 AM, Liviu Andronic wrote:

On Mon, Oct 17, 2011 at 12:23 AM, Bert Lloydbert.lloyd...@gmail.com  wrote:

Hello LyX users,

Is it possible to print a paper copy of a LyX document as it appears
onscreen, i.e. without exporting to PDF?


Have you tried File  Print? Normally it prints the document as seen
in LyX, and usually people complain that the output is crap while we
point them to the PDF preview.
I'm confused.  How is the output of FilePrint any different from 
exporting to PDF and printing?  For me they have always be identical.


--

David L. Johnson

What is objectionable, and what is dangerous about extremists is not
that they are extreme, but that they are intolerant.
--Robert F. Kennedy



Re: Printing a LyX file as it appears onscreen

2011-10-17 Thread David L. Johnson

On 10/17/2011 11:27 AM, Bert Lloyd wrote:

On Mon, Oct 17, 2011 at 2:57 AM, Liviu Androniclandronim...@gmail.com  wrote:

On Mon, Oct 17, 2011 at 12:23 AM, Bert Lloydbert.lloyd...@gmail.com  wrote:

Hello LyX users,

Is it possible to print a paper copy of a LyX document as it appears
onscreen, i.e. without exporting to PDF?


Have you tried File  Print? Normally it prints the document as seen
in LyX, and usually people complain that the output is crap while we
point them to the PDF preview.

Regards
Liviu



When I try File  Print, I get a popup menu titled LyX: Print
Document, with Print Destination options of Printer: and File:

The Printer field is blank, and when I choose this option, dvips
starts, saying that it's working with a .dvi file.
Didn't LyX automatically run a configure script when it was first run?  
Maybe on Windows you don't see that.  It failed to find a printer.  But 
if you have a default printer on your computer, it should be able to 
find it.  You might try ToolsPreferencesOutputPrinter to see what it 
thinks is available (it probably thinks none is), and if there is a 
problem, run ToolsReconfigure  and see if it finds the printer.


--

David L. Johnson

You will say Christ saith this and the apostles say this; but what
canst thou say?
-- George Fox.



Re: Engineering student considering LyX for Thesis

2011-10-17 Thread David L. Johnson

On 10/17/2011 12:49 PM, Johnston81 wrote:

1. Considering LyX over Word, how much time would I approximately need to
learn LyX to the extent that I can actually produce text, including graphics
and formulas(!), from a template?


Should be quick.  I presume you have some basic programming skills.  Not 
that you need them with LyX, but it would show the ability to easily 
learn the few special commands you might need.

2. What can I reasonably expect my learning curve to be after having learned
the bare basics; what I mean is, is it simple to teach LyX to oneself and
how easy is it to solve problems when encountered?
Should be easy indeed.  There may be special gotcha's with Windows 
(another questioner had considerable trouble due to the use of absolute 
path names-- that may be the default under Windows, but I would advise 
against it), but it always made more sense to me than word or its clones.

3. And finally, being a skilled user of Word would I - ultimately - save or
spend time if I did try my luck on LyX?'
The problem is that many things will never be easy in Word.  Dealing 
with equations is trivial in LyX, and a headache in Word.  Some 
knowledge of TeX makes it even better.



--

David L. Johnson

What am I on?  I'm on my bike, six hours a day, busting my ass.
What are you on?
--Lance Armstrong



Re: Creating References

2011-10-18 Thread David L. Johnson

On 10/18/2011 03:35 PM, William Hanson wrote:

Dear All,

I've used LyX for a while, and I'm familiar with the basic features, 
but I'm now trying for the first time to create a bibliography (list 
of references).  The Users' Guide doesn't help, and neither do the 
various links on the LyX web site (e.g., to information on BibTeX). 
I'm probably missing something petty simple, but I'm stuck.


Bill Hanson
The standard bibliography environment, available for the article, 
AMS-article, and most other document classes, works well for a smallish 
bibliography.  It is, frankly, all I ever use.  I have had some 
coauthors who use bibtex, but we have also always used raw LaTeX to 
write the file under those conditions (I was not the main text-writer on 
those).  So, I have no experience with bibtex in LyX, but lots of people 
use it.


--

David L. Johnson

A mathematician is a machine for turning coffee into theorems.
-- Paul Erdos



Re: TeXmacs Shorthands in Lyx

2011-10-24 Thread David L. Johnson

On 10/24/2011 09:43 AM, Christopher Menzel wrote:

On Oct 24, 2011, at 2:37 PM, François-Xavier Thomas wrote:

Hi,

I currently write a lot of mathematical documents in TeXmacs, mainly
because the way you can type formulas is very intuitive.

Two basic examples for those who don't know about it :
  * Begin a formula : Only the $ sign, no Ctrl/Meta/Alt keys

LyX has very powerful and flexible shortcut capabilities. The default for getting into 
math mode is Opt-m m but you can add a shortcut that will enable $ to do the 
same.


Which will work fine so long as you never need to use the dollar sign as 
a dollar sign.  There is no reason not to tie such a command to a simple 
keystroke that is not a character.  I use F10, so no key-chord.  Ctrl 
keys and the like are not really inherently evil; you can use them and 
they don't get confused with their other uses.


--

David L. Johnson

It is probable that television drama of high caliber and produced by
first-rate artists will materially raise the level of dramatic taste
in the nation.
-- David Sarnoff, 1939



Re: keyboard shortcut for AMS align?

2011-10-24 Thread David L. Johnson

On 10/24/2011 02:58 AM, Joshua Horowitz wrote:

Hi lyx-users!

I use the AMS align environment extensively, and I am wondering A: 
if there is a keyboard shortcut for inserting it, or B: if there is a 
way for me to set up such a shortcut.


Thanks for any help!
 - Josh
You can easily get display math mode to appear from a keystroke.  Under 
PreferencesShortcutsMathematical Symbols, look for math-display and 
modify the line as you prefer.  I use F11.


To get AMS-align, I modified ./.lyx/bind/cua.bind to include the line

 F12command-sequence math-mode on; math-mutate eqnarray;

and of course I use cua under PreferencesEditingShortcuts.

--

David L. Johnson

It is probable that television drama of high caliber and produced by
first-rate artists will materially raise the level of dramatic taste
in the nation.
-- David Sarnoff, 1939



Re: Spellchecking problem

2011-11-08 Thread David L. Johnson

On 11/08/2011 05:10 PM, Torquil Macdonald Sørensen wrote:


If my document contains e.g. the mathematical term d-dimensional, 
the LyX spellchecker will treat this as a single word and complain, 
instead of considering it as a combination of two words to be checked 
independently. In the latter case I would only be forced to add d to 
the list of words, and all would be well.


Is there a way to make this Enchant spellchecker understand that it 
should only check each word separately when they are connected by a 
hyphen? 


Now I'm hoping someone will simply tell me about a magical 
configuration setting for Enchant to obtain this behaviour! :-)


I definitely me-too this.  When you have a lot of these in your file, 
you tend to overlook other squiggly underlines, and so misspelled words 
sneak through.  As a particular caution, for most mathematical notation 
it really is  d-dimensional  where the d is in math-mode (or 
emphasized), which may be even worse.


--

David L. Johnson

The lottery is a tax on those who fail to understand mathematics.



Re: copy/paste problem in lyx 2.0.1

2011-11-23 Thread David L. Johnson

On 11/23/2011 01:32 PM, Liviu Andronic wrote:

On Wed, Nov 23, 2011 at 7:23 PM, Csikos Belabcsikos...@freemail.hu  wrote:

Hello:

I am using lyx 2.0.1 on openSUSE 11.2.
I have an openoffice odt document and I would like to copy text from it into lyx. For this I 
select the text in openoffice writer, press ctrl+C, then I select the lyx window. First, the 
lyx window responds very slowly, it takes several seconds until it shows the (already 
entered) text. Second, I can not copy the text with ctrl+V: the info line shows that 
command disabled. Also in the edit menu most of the paste commands are grayed 
out except for Paste Special -  Selection and Selection, Join Lines.
There is no problem with pasting the selected text into a simple text editor.
Copy/paste from a simple text editor into lyx also works OK.

When I want to paste the the text into lyx from openoffice, the lyx console 
window (if I start lyx in console window) gives the following message:

GuiClipboard.cpp(89): No timely response from clipboard, perhaps process 
holding clipboard is frozen?


What Desktop Environment? What clipboard manager? There were some
similar, strange issues when using LyX under Xfce [1].
Liviu

[1] http://www.lyx.org/trac/ticket/6780


In fairness to my new desktop environment, xfce4, that bug does not 
seem to be particularly related to xfce4's clipboard-manager, but to 
other clipboard managers under other environments as well.


--

David L. Johnson

When you are up to your ass in alligators, it's hard to remember that
your initial objective was to drain the swamp.
-- LBJ



Re: Display Style

2011-11-26 Thread David L. Johnson

On 11/26/2011 05:22 PM, Charles Reichert wrote:

Hello All,
Come across a problem...When I use display style under Edit  Math  
Change Limit Types  Display Style, I can get my lower limit to be 
directly underneath my summation sign...no problem.  How can I get two 
lower limits directly underneath the summation sign, and the same 
size?   Is that possible?


I usually put a 1x2 matrix in the subscript, and it works well enough.

--

David L. Johnson

Some people used to claim that, if enough monkeys sat in front of
enough typewriters and typed long enough, eventually one of them would
reproduce the collected works of Shakespeare.  The internet has
proven this not to be the case.



Re: Display Style

2011-11-26 Thread David L. Johnson

On 11/26/2011 05:40 PM, David L. Johnson wrote:

On 11/26/2011 05:22 PM, Charles Reichert wrote:

Hello All,
Come across a problem...When I use display style under Edit  Math  
Change Limit Types  Display Style, I can get my lower limit to be 
directly underneath my summation sign...no problem.  How can I get 
two lower limits directly underneath the summation sign, and the same 
size?   Is that possible?


I usually put a 1x2 matrix in the subscript, and it works well enough.


Make that 2x1

--

David L. Johnson

Some people used to claim that, if enough monkeys sat in front of
enough typewriters and typed long enough, eventually one of them would
reproduce the collected works of Shakespeare.  The internet has
proven this not to be the case.



Re: ! Missing $ inserted.

2012-01-05 Thread David L. Johnson

On 01/05/2012 06:43 PM, Gerry Clare wrote:

I am a fairly new LyX user. I recently edited a chapter (Document class 
'report') that I had previously had no trouble compiling. I now get the 
following errors:

! Missing $ inserted.
! Extra }, or forgotten $.
! LaTeX Error: Command \item invalid in math mode.
! LaTeX Error: Something's wrong--perhaps a missing \item.
! Extra }, or forgotten \endgroup.



Many of these sorts of errors occur because of a mistaken environment 
setting.  For example, if you accidentally have a whole bunch of stuff 
included in a heading type environment, it can mess things up badly.  
Of course, if you have some ERT included, you might have a problem 
there, too.  LyX is really quite good at writing tex that actually 
compiles, so if it doesn't, there is usually some sort of unnoticed 
mistake somewhere.


The previous suggestion is a good one, though.  Break the file up (after 
saving it) into pieces to see in which piece the problem lies.  If you 
still can't isolate it, put the smallest bad chunk of the document on 
the list, and I'll take a  look at it.


--

David L. Johnson

The lottery is a tax on those who fail to understand mathematics.



Re: Spell-checker with Lyx on Ubuntu 11.04

2012-01-11 Thread David L. Johnson

On 01/11/2012 05:42 PM, Simon Cullen wrote:

Hello,
The spellchecker in Lyx is marking all strings which end with a 
right-quotation marks as spelled incorrectly.  So the string: manifest 
 will not get marked as incorrect, but the string: `manifest' 
 will be marked incorrect. I have searched everywhere for a fix 
for this irritating problem, but to no avail.  Any suggestions will be 
appreciated.
This also occurs with hyphens; unhyphenated,  2 manifold   is considered 
OK, but   2-manifold   is not.  It would be nice to be able to exclude 
these punctuation marks from the spellchecker.  I use debian testing, 
lyx-2.02.


--

David L. Johnson

And what if you track down these men and kill them, what if you killed
all of us?  From every corner of Europe, hundreds, thousands would
rise up to take our places.  Even Nazis can't kill that fast.
-- Paul Henreid (Casablanca).



Re: Spell-checker with Lyx on Ubuntu 11.04

2012-01-12 Thread David L. Johnson

On 01/12/2012 06:31 PM, Stephan Witt wrote:

Am 12.01.2012 um 08:46 schrieb Wolfgang Engelmann:


Am Donnerstag, 12. Januar 2012, 00:32:47 schrieb David L. Johnson:

On 01/11/2012 05:42 PM, Simon Cullen wrote:

Hello,
The spellchecker in Lyx is marking all strings which end with a
right-quotation marks as spelled incorrectly.  So the string: manifest

will not get marked as incorrect, but the string: `manifest'
will be marked incorrect. I have searched everywhere for a fix

for this irritating problem, but to no avail.  Any suggestions will be
appreciated.

This also occurs with hyphens; unhyphenated,  2 manifold   is considered
OK, but   2-manifold   is not.  It would be nice to be able to exclude
these punctuation marks from the spellchecker.  I use debian testing,
lyx-2.02.

I found it easier to use the feature where the words unknown to the
spellchecker are underlined in the text in red, since in my case there are
many scientific names or dash-combined names.

Sorry, I cannot reproduce the 2-manifold problem. For the quotes it makes
a difference how I've entered the quotation marks. (See the screenshot below.)
The first one are real quotes. The second simple quote key strokes.

The suggestion would be to use Insert-Special Character-Single Quote or the
short cut given there.
It depends on how the 2 is entered, and I did not make that clear.  I 
usually write things like n-manifold (n being the dimension), but the 
n is in math-mode (which is the proper way).  I am so much in that habit 
that I enter the 2 in math-mode as well.


--

David L. Johnson

Accept risk.  Accept responsibility.  Put a lawyer out of business.



Re: Lyx2.0.2 for windows cannot display \leq

2012-01-17 Thread David L. Johnson

On 01/18/2012 12:25 AM, zzjjzz wrote:

hello all,
 I installed Lyx2.0.2 on win XP. But it cannot display $\leq$, the 
other math symbols are all right.


That's weird.  I don't see that in linux.  But, as a bit of 
troubleshooting help, have you had and earlier versions of  LyX 
installed on that  computer, and did \leq display properly with it?  
Also, when you print the file, does the symbol print?


Can I see the LyX file you used to show that picture?

--

David L. Johnson

Business! cried the Ghost. Mankind was my business. The common
welfare was my business; charity, mercy, forbearance,  and benevolence,
were, all, my business. The dealings of my trade were but a drop of
water in the comprehensive ocean of my business!
--Dickens, A Christmas Carol



Re: What is the toolbar icon name for

2012-01-19 Thread David L. Johnson

On 01/19/2012 03:19 PM, Yaniv wrote:

Julien Riouxjriouxat  physics.utoronto.ca  writes:/


On 10/08/2011 1:55 AM, Jason Rute wrote:

Hello, I added

   Item Insert | | math-delim | |

to my stdtoolbars.inc file.  It works fine, except that I can't figure out
what the corresponding icon file name should be (in
AppData/Roaming/Lyx2.0/images/math).

...

Does anyone know?  Is this a bug?

I just wanted to share that I also looked for this icon filename but could not
find what it was. Anyone knows the answer?

Doesn't it show up on the toolbar as  | |   when you do it that way?  It 
does for me.  I have similar items for   . |  and   (math-delim langle 
rangle), and I use these all the time.


--

David L. Johnson

Do not worry about your difficulties in mathematics, I can assure you
that mine are all greater.
-- A. Einstein



Re: Import into LyX

2012-02-02 Thread David L. Johnson

On 02/02/2012 11:04 AM, UD wrote:
IMHO it is unlikely that math-heavy documents are produced by anything 
but Latex/Lyx.
I applaud the initiative to make MS-WORD/Lyx conversion easier.  I am 
sure it will have

many appreciative users.


Unfortunately, there are math-heavy documents that are produced using 
Word.  And not only is it difficult to translate such things into LyX or 
even LaTeX, they also don't load into Abiword or Open Office.  I 
actually am a co-author of a math paper that I could not read except 
when my collaborator printed it out for me, since he only used Word -- 
and he is a prolific writer, having written at least 4 advanced 
mathematical texts, all of which I am sure the publishers had to typeset 
from scratch into LaTeX in order to publish.  But I suspect that Word 
math translation will be a very difficult task which in the end will be 
pointless, anyway, since I am sure MS will continually change the 
encoding to prevent precisely this procedure.


--

David L. Johnson

A foolish consistency is the hobgoblin of little minds, adored by
little statesmen and philosophers and divines.
--Ralph Waldo Emerson



Re: SV: Many huge pictures - Memory problems?

2012-02-11 Thread David L. Johnson

On 02/11/2012 01:36 PM, Peter Baumgartner wrote:

Ingar,

Thanks for your answer.

You mentioned that you had no problems with very huge pictures. Perhaps it
has to do with the kind of compilation? I compile with pdflatex.


I often get errors in trying to compile a file with pdflatex if I have 
graphics in it, but typically the problem is with postscript files, for 
which it has trouble finding sizes.  It will typically work fine with 
ps2pdf.  It is certainly worth a try.  I can't imagine that there would 
be a formatting difference between the two methods of export.


--

David L. Johnson

A mathematician is a machine for turning coffee into theorems.
-- Paul Erdos



Re: Recommended third-party tools

2012-02-19 Thread David L. Johnson

On 02/18/2012 10:56 PM, Les Denham wrote:


Firstly, the version of Linux is not all that important. I've had good
experiences with Ubuntu in the past, but thanks to some idiotic (in my
opinion) decisions recently by the maintainers of both Gnome and KDE
and by Ubuntu for its default desktop, I've given up on Ubuntu, Gnome,
and KDE, all three of which I have used happily in the past. For the
average user now I would recommend Linux Mint (which just works even
more smoothly than Ubuntu) and, for those willing to learn a little or a
lot about what is behind the pretty windows, either Sabayon or Gentoo.
Whichever distro you choose, change the window manager to XFCE or LXDE.


Amen to that.  Gnome has, IMNSHO, shot themselves in the foot with a 
bloated interface that doesn't work on a lot of hardware with their 
version 3.  For that reason, you do need to be careful to not use a 
distribution that only uses Gnome.  It was a long annoying process for 
me to switch over after an upgrade dumped me into Gnome 3.  Xfce is 
fine, though, so and distribution that allows you to choose will be 
good.  Frankly, I don't know what Kde did, but my advice is to avoid Gnome.


--

David L. Johnson

When you are up to your ass in alligators, it's hard to remember that
your initial objective was to drain the swamp.
-- LBJ



Re: tex2lyx fails when run from Import menu

2012-03-06 Thread David L. Johnson

On 03/05/2012 12:23 PM, Barger, Carla wrote:


What can be done so that tex import works from the file menu?



Since you installed python after you installed LyX, you should 
reconfigure LyX (from the Tools menu).



--

David L. Johnson

Arguing with an engineer is like mud wrestling with a pig...
You soon find out the pig likes it!



Re: format problem: subsection headline taking too much space on page

2012-03-07 Thread David L. Johnson

On 03/07/2012 05:29 PM, Hauke wrote:

Hey everyone,

as you can see in the attached screenshots, the headline of the 
subsection 2.2 is taking too much space on the page in the pdf (dvi or 
how its called). and i absolutely dont know why.


This is a TeX issue, since it can't decide where to hyphenate that long 
word.  One thing that might help is to decide for yourself where the 
break should be; my guess would be it would be best with the newline 
before von, rather than try to hyphenate SDS-Ganzzell  My 
knowledge of German hyphenation rules and style is zero, but that would 
be what I would recommend for English, especially since the word is 
already hyphenated.  To do what I suggest, enter a protected newline, 
which on my machine is a Ctrl-Enter.  If you prefer to hyphenate the 
word, there is a hyphenation-point under Insert  Formatting.  No matter 
what, you are going to have to make that heading 2 lines, not one, 
unless you shrink the font considerably, which IMO would be worse.


--

David L. Johnson

What is objectionable, and what is dangerous about extremists is not
that they are extreme, but that they are intolerant.
--Robert F. Kennedy



Re: vertical line character

2012-03-08 Thread David L. Johnson

On 03/08/2012 06:24 AM, Bieniasz wrote:



Hi,

I need to put into the text a vertical line character: |
How to do this in LyX? The character is seen correctly while editing,
but when I convert the text to pdf, then I see a horizontal line instead of
the vertical one.


It certainly does not do that for me.  Send or post a small example 
file.  This is somehow language-dependent, I guess. You can force it to 
work by going to math-mode and selecting the vertical line from the 
menu.  This should of course avoid language issues, but there should be 
a better way.


--


David L. Johnson

Deserves death!  I daresay he does.  Many that live deserve death.
And some that die deserve life.  Can you give it to them?  Then do not
be too eager to deal out death in judgement.
-- J. R. R. Tolkein



Re: Question

2012-03-12 Thread David L. Johnson

On 03/12/2012 12:42 PM, Richard Heck wrote:

On 03/10/2012 07:04 PM, Esther Beneish wrote:

No I checked all the settings and all choices are the same
as in older papers.  In this paper some environments are
missing.


Can you send me this particular file? Something is weird.


She and I cleared up the problem off-list.  She needed to add a module 
Document  Settings  Modules Theorems (AMS-Extended), which had been 
added to the other documents she was looking at, but not the one she was 
concerned about.


--

David L. Johnson

You will say Christ saith this and the apostles say this; but what
canst thou say?
-- George Fox.



Re: multiline equations cases

2012-03-14 Thread David L. Johnson

On 03/14/2012 07:27 AM, Bieniasz wrote:


Hi,

I am trying to produce a multiline equation (with a number)
by using the option cases. I want to have two lines of some expressions,
with a single brace at the right-hand side, followed by the equation number.
Is there any way to do this? The option cases offers a brace at the left-
hand side, and I don't see any way to transpose the brace so that it occurs on
the right. Any suggestions?

Leslaw
Use the large brackets, blank on the left, } on the right, and put a 
matrix inside it of size nx2, where n is the number of cases you want.


--

David L. Johnson

It doesn't get any easier, you just go faster.
--Greg LeMond



Re: multiline equations cases

2012-03-15 Thread David L. Johnson

On 03/15/2012 05:35 AM, Bieniasz wrote:


Well, this is what I want to have, but I don't see any predefined option for
creating such large brackets, blank on the left, } on the right in LyX.
There is only an option for double braces { } in the equation editor of LyX.
Please tell me how to create it.

When in math mode on that same menu bar that shows the {}, there is 
another choice with [ ] (and a smaller rectangle inside).  Click on that 
and you get a popup menu with lots of choices for right and left side 
delimiters.  Alternately, go to Insert  Math  Delimiters.  Be sure to 
uncheck the keep matched option, and choose for the left, {, and for 
the right, (None).





--

David L. Johnson

Do not worry about your difficulties in mathematics, I can assure you
that mine are all greater.
-- A. Einstein



Re: Article layout for plos?

2012-03-22 Thread David L. Johnson

On 03/22/2012 02:08 PM, Alex Vergara Gil wrote:
I have an objection to the use of bibitems in LyX: If you use BibTeX 
you can choose the bibliographic standard such as Vancouver, etc, 
besides the BibTeX sorts bibliography items in the required order 
acordingly to the standard; with LyX's bibitems you simply cannot do 
this and is like turning back to MS Office. Is this a bug?


No, it's not a bug.  Perhaps it's old-fashioned, but I've never seen the 
need to bother with bibtex.  Most of my papers have maybe 5-10 
references, that is certainly easy enough to do by hand.


--

David L. Johnson

Anyone who is capable of getting themselves made President should on
no account be allowed to do the job.
-- Douglas Adams



Re: Questions about LyX files

2012-03-26 Thread David L. Johnson

On 03/26/2012 09:35 AM, Bieniasz wrote:

1) I notice that apart from *.lyx files there are also files with extension
lyx~. I presume these are previous versions of the *.lyx files, produced
when any changes are made to the *.lyx files. Is this so?
Yes, but it only applies to the current editing session.  The ~ file is 
a copy of what you had when you started working on the file.  Next time 
you load the file into LyX, it overwrites that ~ file with the then 
current version.

2) I observe that some other files are also created, the names of which begin
with #. What are these files, and can I delete them safely?

Those are emergency saves, if LyX crashed.

3) I am not sure about the relationships between the *.lyx files and
*.tex files. It seems to me that the *.tex files are not updated or used
at all during the LyX operations, but all changes are saved in *.lyx files. Is
this correct? If so, can I delete all *.tex files? I presume the *.tex files
can be re-created by using the file/export command. Is this correct?


Yes.  *.tex files in your user directory are only created when you 
export to TeX, and not automatically updated.  There are other files, in 
(well, for linux) /tmp/* which are created and used during conversions 
to other formats, or for printing.

Can I be sure that if I import a *.tex file into LyX, and then export the
result into another *.tex file, the two *.tex files will be identical
(assuming I do not do any editing)?


No, you can't.  There are too many ways to encode things in TeX.  LyX 
uses only a subset of those.  Fortunately, the importer understands a 
broader range, but still exports will be LyX's flavor of TeX.


--

David L. Johnson

The motor car reflects our standard of living and gauges the speed of
our present life. It long ago ran down Simple Living, and never halted
to inquire about the prostrate figure which fell as its victim.
-- Warren G. Harding



Re: Inserting Space in Mathematical Equation

2012-03-28 Thread David L. Johnson

On 03/28/2012 08:03 PM, Rich Shepard wrote:

  I have an equation that contains words, such as '0.75 * Total Stream
Length'. I looked in Herbert's Typesetting Mathematics with LaTeX and
found a single index reference to 'space' that referred to something
different. Ctrl-space does nothing.

  How do I insert a space within an equation?
You have several options.  When in math-mode, you might have a menubar 
on the bottom of the window.  One option looks like \_/ in red. That 
gives various spaces.  Ctrl-Shift-Space should also give you a medium space.


But, while you are in math-mode, you can enter a text box by clicking on 
the insert math icon again.  You see a blue-outlined rectangle, and 
what you type in that is regular, upright, text.  Including spaces.  So 
you can get Total Stream Length by just typing that, in this text box 
inside of math-mode.


--

David L. Johnson

It is probable that television drama of high caliber and produced by
first-rate artists will materially raise the level of dramatic taste
in the nation.
-- David Sarnoff, 1939



Re: numbering multi-line formulas

2012-04-10 Thread David L. Johnson

On 04/11/2012 12:12 AM, s nedunuri wrote:
Hello, I wonder if anyone can help me with how to number multi-line 
formulas, as the Help manual appears to be out of date (it refers to 
menu options that no longer exist). I am running Lyx 2.0.2. I have a 
multi-line formula that I created via the Insert Matrix command. I 
would like to number each line in the formula. However, when I try 
this: Edit | Math |  there are two choices: Number Whole Formula or 
Number This Line. However, they seem to be the same thing.


The problem is that a matrix does not really give you a multi-line 
formula, it is a one-line formula including a matrix.  To get a 
multiline formula, use one of the aligned environments.  I prefer the 
eqnarray environment.  Then you can number each line of the multi-line 
environment.  I will attach a simply LyX file showing first an eqnarray 
environment, then a matrix environment, both numbered, but the matrix 
only allows numbering of the whole thing.


--

David L. Johnson

Anyone who is capable of getting themselves made President should on
no account be allowed to do the job.
-- Douglas Adams



numbering.lyx
Description: application/lyx


Re: Getting rid of You cannot type two spaces this way message?

2012-04-11 Thread David L. Johnson

On 04/11/2012 01:50 PM, Bill Foote wrote:

Is there an easy way for me to get rid of the You cannot ... Please read the
tutorial message?  I know that typing two spaces that way doesn't change the
layout, and I'm more-or-less fine with LyX auto-deleting the space.  I'm
completely fine with TeX not changing the formatting based on extra spaces.
With all that said, I'd prefer that LyX stop nagging.  I know already!


Me, too.

--

David L. Johnson

Some people used to claim that, if enough monkeys sat in front of
enough typewriters and typed long enough, eventually one of them would
reproduce the collected works of Shakespeare.  The internet has
proven this not to be the case.



Re: Open second LyX window (equivalent to split window)

2012-04-12 Thread David L. Johnson

On 04/12/2012 09:08 AM, Rainer M Krug wrote:


If you open the window via he menue File -  New Window , you don't have to. 
All edits in the one
are also in the second.


Yes, and a very nice option that is. Although I have been using LyX for 
a very long time, I did not notice this feature being added.  I have 
often used a split view to cutpaste details from one part of a document 
to another, but this is IMO much better, in that you don't lose half of 
the space for the document.


Thanks for pointing it out.

--

David L. Johnson

The lottery is a tax on those who fail to understand mathematics.



Re: numbering multi-line formulas

2012-04-13 Thread David L. Johnson

On 04/13/2012 08:32 AM, Merhebi, Bob wrote:

Hello David,

Thanks for your reply on this topic; I also benefited from this. One
question though; isn't there a keyboard shortcut to use it instead of
using the menus?
You can define keyboard shortcuts to substitute for many, if not all, 
menu choices.  I only use a few such shortcuts, and not for line 
numbering since I don't do that so often.  Look under Tools  
Preferences  Shortcuts  Mathematical symbols, for 
math-number-line-toggle and math-number-toggle and assign them as you 
prefer.


Another question is regarding fullscreen mode; the math toolbar pops out
when I use Ctrl(+Shift)+M  that's useful, but what about the main
toolbar? is there a way to bring it out temporarily in fullscreen mode?


I don't know.

--

David L. Johnson

Deserves death!  I daresay he does.  Many that live deserve death.
And some that die deserve life.  Can you give it to them?  Then do not
be too eager to deal out death in judgement.
-- J. R. R. Tolkein



Re: numbering multi-line formulas

2012-04-15 Thread David L. Johnson

On 04/15/2012 06:18 PM, El Merehbi, Ibrahim wrote:

Hello again,

I believe I didn't clear it out well. I meant a shortcut for the
eqnarray not the equation numbering.

Sorry, I misunderstood.  Add to the shortcuts something like this:

command-sequence math-mode on; math-mutate eqnarray;

and link it to your favorite hot-key.  I use F12.

--

David L. Johnson

A mathematician is a machine for turning coffee into theorems.
-- Paul Erdos



Re: LyX on Ubuntu Precise (12.04): big download size!

2012-04-19 Thread David L. Johnson

On 04/19/2012 08:03 PM, Merhebi, Bob wrote:

Just one question: for LyX to work it requires TeX packages right? How
big should that be for a regular usage involving mathematics  physics?
Moreover, how can I install it (with TeX packages; more accurately: like
it is installed on my system!) on a system with no connection?


I would suggest that if you are doing either mathematics or physics, you 
really, really need the TeX packages, no matter what.  The idea of not 
using TeX to write mathematics is impossible for me to deal with -- 
especially if your alternative is Word.


In my opinion, TeX is a huge improvement in writing technical material 
over anything else out there, and LyX is a huge improvement to using 
TeX.  Yes, these things require a large download any more (I remember 
when LyX fit on a floppy disk -- without TeX, but even so, one floppy disk).


If you have no internet connection, then I imagine you have a usb port, 
or other pluggable access.  Get a  usb keychain drive, or equivalent 
other media, get access somehow to download the archive to the drive, 
and you should have no problem.  You clearly have some internet access 
since you did send this message.


Others can answer about how big the distribution ought to be, but again, 
believe me, you need this to write mathematics.


--

David L. Johnson

When you are up to your ass in alligators, it's hard to remember that
your initial objective was to drain the swamp.
-- LBJ



Re: Undo undoes too much

2012-04-22 Thread David L. Johnson

On 04/22/2012 03:58 PM, Steve Litt wrote:

On Sun, 22 Apr 2012 20:01:14 +0200
David Bdaav...@gmail.com  wrote:


Hi,

In newer versions of LyX (I'm using 2.0.3 on windows) I have noticed
the following very annoying behaviour: If you undo it undoes not only
the latest key press but something like the last 20-30 key presses.
This means that if you make some changes, and then delete something
by mistake, undo doesn't just undo the mistake, but also the changes
before which you want to keep. Thus you must either choose not to
undo, and manually retype what you deleted by mistake, or undo and
retype the changes you made before the deletion.

Is it possible to disable this behaviour so that an undo undoes only a
single key press?

Best Regards,
David

I'm still on 2.0.0 for Linux, but the behavior you describe sounds like
a showstopper. Uuch!
This is not quite the behavior I see.  I am using 2.0.3 on debian 
linux.  If you type a string without backspaces, or deletes, or other 
stoppages, undo will erase a string of some length.  For example, I just 
typed a string of c's, about 20 of them, and undo removed 14 of them.  
But, when I typed ccbackspace, undo just went back to the 
backspace, leaving one c.  I don't think this is new behavior for undo, 
and I don't think it's unreasonable.  If you want to delete just one 
character, you use backspace, don't you?  Undo (or Crtl-z ) would be 
a bit more bother.


--

David L. Johnson

Accept risk.  Accept responsibility.  Put a lawyer out of business.



Re: keyboard Scrolling Anomaly

2012-04-26 Thread David L. Johnson

On 04/26/2012 10:30 AM, Rashif Ray Rahman wrote:

Hi all

I've not been a LyX user for long but am going to write a 300-page 
academic paper with it for the final typesetting and formatting. I've 
practised on and off for the past few months but one thing that has 
always troubled me is how I'm unable to scroll with the keyboard (up 
and down arrow keys). I'd like to be rid of the mouse if possible.


When I hold a particular directional key for up to 20 secs it appears 
to work but as if it's in slow motion. Qt shouldn't be having any such 
scrolling problem, so I haven't been able to troubleshoot this any 
further.
I don't see this behavior at all.  The only thing that slows down 
scrolling with the arrows is if the cursor enters a math formula.  Then 
it runs through all the superscripts and subscripts, but still it is 
reasonably fast.


You also might try using the Pageup and Pagedown keys.

What system are you using?  Mine is debian testing (a linux variant), on 
a fast machine -- but it works well on even my slow netbook.


--

David L. Johnson

A foolish consistency is the hobgoblin of little minds, adored by
little statesmen and philosophers and divines.
--Ralph Waldo Emerson



Re: Change math Language - critical

2012-05-18 Thread David L. Johnson

On 05/18/2012 03:30 AM, Kenedy Torcatt wrote:

Hey guys... I'm working with lyx in spanish, The mathematical operator
like sin are showing in english sin. I need this math operators in
spanish, I mean sen.


Hmm.  TeX itself does not seem to recognize $\sen(x)$ -- at least mine 
doesn't.  I've read some Spanish math papers, and have not seen that 
name for that function.  You could define a macro giving an (upright)  
sen(x) which would function as well as $\sin(x)$.  How many different 
names are involved?  What do you call $\log(x)$ in Spanish?


--

David L. Johnson

If all economists were laid end to end, they would not reach a
conclusion.
-- George Bernard Shaw



Re: Proof with enumerate

2012-05-28 Thread David L. Johnson

On 05/27/2012 11:06 PM, Diego Villamil wrote:

Hello Lyx Users,
I am writing a math document, and I have a proposition with a number 
of properties.  I would like to start an enumeration of those 
properties within the proof, but haven't found a clean way of doing 
that as LyX ignores the proof environment once I added the enumeration.

I want to it to look something like this:

Proposition: The following properties hold:
1. This is property 1.
2. This is property 2.

Proof.
1. This is the proof of the first property.
2. This is the proof of the second property.

Thank you,
Diego
Simply increase the environment depth for the enumerated list, so that 
is inside the proof environment.  There is a button on the top, and a 
menu item, for this.  You do have to be more creative (deeper depth) if 
your proof is more than one line, so either strive for elegance or work 
with the environment depth some more.


--

David L. Johnson

A foolish consistency is the hobgoblin of little minds, adored by
little statesmen and philosophers and divines.
--Ralph Waldo Emerson



Re: Preparing Scientific paper for submission as LaTeX (Elsevier...)

2012-06-11 Thread David L. Johnson

On 06/11/2012 10:07 AM, Rainer M Krug wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

I know this has been asked before, but I can't find that thread...

I have written a paper which is now ready for submission to the publisher 
(Elsevier - I know...)

I can submit a compressed (zip) folder with all the documents necessary for 
compilint the LaTeX
document, but I am stuck. I copied the files from the tmp directory and tried 
running pdflatex but
it did not work.


I think the previous responses were off the mark a bit.  You should not 
have to submit things like amsmath.sty  --- they certainly have all 
that.  Elsevier often requires that your document use their style 
sheets, which means you have to include those in your document but, 
again, you don't need to send them those files.


What you need to submit beyond the exported *.tex file (but don't use 
the one in your temporary directory; the exported one is 
better-formatted) will depend on your document.  You will need to send 
in any graphics files (in an archive with subdirectories set up so that 
TeX can find them), bibtex files if you use that, and any special style 
files.  But they are probably not going to want to use your style files, 
and will ask you to prepare the document with theirs, instead.  That 
used to be an issue with older versions of Scientific workplace and 
similar products.  But LyX can be set up compatibly with the publisher's 
requirements.




So: which files need to be included in the archive? How can I test the archive? 
I never used LaTeX
from the commandline, only via LyX...
Put what you think you should need in a new directory, along with 
subdirectories for graphics in the same relative position as the 
original (if the original was in ~/doc with pictures in ~/doc/pictures, 
you need a subdirectory ./pictures in the new location for the graphics 
files).  Try   latex filename  a couple times, and look at the dvi 
file, or see what the errors are.


BTW:  Maybe, for a submission rather than a final edit for publication, 
you can just submit a PDF file.  Check their requirements.


--

David L. Johnson

When you are up to your ass in alligators, it's hard to remember that
your initial objective was to drain the swamp.
-- LBJ



Re: Duda.

2012-06-15 Thread David L. Johnson

On 06/02/2012 04:33 AM, Harold Nieves Medina wrote:
Hola, apenas comienzo a trabajar con LyX y quiero que el número que 
acompaña a cada capitulo sea romano, pero no encuentro forma de 
cambiarlo, pues en el contorno genera el capitulo y el numro 
automaticamente sale 1, 2 y asi sucesivamenete en dependencia de la 
cantidad de capitulos, saludos y gracias de antemano por la ayuda que 
me puedan ofrecer.



I assume you are using the book document class.  Just add

\renewcommand{\thechapter}{\Roman{chapter}}

to your preamble.  It will not change the look within LyX, but will 
change the numbering to Roman numerals in the output.


I don't know whether the command changes if your document language is 
Spanish, though.


--

David L. Johnson

Let's be straight here.  If we find something we can't understand we
like to call it something you can't understand, or indeed even
pronounce.
-- Douglas Adams



Re: Table of Contents and naming the sections

2012-07-12 Thread David L. Johnson

On 07/12/2012 11:23 AM, Nergis wrote:

Hi,

I would like to ask two questions. I am using the article format for my
thesis

First, I would like to add the abstract, acknowledgements to the table of
content which I can not do right now.

Secondly I have sections like introduction, method but I would like to have
it in this format:

Chapter 1
Introduction

instead of

1 Introduction
Is there a particular reason why you are using the article style?  
Articles don't have chapters, they have sections (as far as LyX style 
goes).  Try a book style; whichever one fits your area best, and see if 
that doesn't work better for you.


--

David L. Johnson

Anyone who is capable of getting themselves made President should on
no account be allowed to do the job.
-- Douglas Adams



  1   2   3   4   5   6   7   8   >