Re: letter (KOMA-Script v.2) Space between closing and signature...........

2013-02-24 Thread Charlie
 On Sun, 24 Feb 2013 08:42:49 +0100 Jean-Marie Pacquet j...@pacquet.net
 sent this:

Le 24/02/2013 07:26, Charlie a écrit :
 I'm having a problem with the space between Closing and Signature in:

 letter (KOMA-Script v.2)

 using LyX version 2.0.3 Debian Wheezy.

 I need more space to apply my hand written signature. [...]
 From the user guide (scrguien.pdf):
Between closing phrase and signature a vertical space is inserted. The 
height
of this space is defined in the pseudo-length sigbeforevskip. It
   defaults to 2 lines. In this space you can write your
   inscription.


 % position from top of page of Sender Name thanks to: Jean-Marie
  Pacquet \@addtoplength{firstheadvpos}{1cm}
 \@addtoplength{firstfootvpos}{-1cm}
This seems to be the right place ;-) to add this line:
\@setplength{sigbeforevskip}{2\baselineskip}

Change the 2 to whatever suits you

Cheers
-- 
Jean-Marie


  Thank you Jean-Marie,

You have helped me once again. I have two copies of the scrguien.pdf
and I use the latest. Read it, but obviously I don't know how to
use it. How to put the commands together in some instances.

I read this: sigbeforevskip vertical skip between closing and signature
(section 6.6.1, page 207)

But didn't really understand it.

Even tried working with this:
\setkomavar{signature}{John McEnvy\\{\small (Vice-President ‘‘The Other 
Society’’)}}

\closing{Regards\\(for the board of directors)}

But couldn't put it together to rectify my problem, then searched the
net again and couldn't come up with the right answer.

Thank you again, because you have solved my problem once more, and you
will know it's much appreciated.

Be well,
Charlie
-- 
Registered Linux User:- 329524
***

The light which puts out our eyes is darkness to us. Only that
day dawns to which we are awake. There is more day to dawn. The
sun is but a morning star. - Henry David Thoreau

***

Debian GNU/Linux - just the best way to create magic

-


from mac to windows

2013-02-24 Thread Cecile Danilo
Hello everyone!

Here is (again) a quick description of my problem:

I created my lyx files with a mac, I am now using a windows computer and can't 
create the pdf of the files created with the mac. I have no problem if I 
compile files created with windows. I send you one of the files that works with 
mac but not with windows.
I use LyX-2.0.5.1

and a more complete description of the problem:

When I try to generate a pdflatex file I first have the following message:
“Do you autorize the MikTex package manager to modify the computer?”
and then this error message:
“Latex Error: File ‘amsthm.sty’ not found”
with the Description
“cannot read from terminal in nonstop modes”

I got exactly the same error message if I choose DVI or dviluatex.

The complete description follows:
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9) (preloaded 
format=pdflatex 2013.2.10)  24 FEB 2013 12:24
entering extended mode
**file_test.tex

(C:\Users\danilo\AppData\Local\Temp\lyx_tmpdir.Hp5264\lyx_tmpbuf2\file_test.tex
LaTeX2e 2011/06/27
Babel v3.8m and hyphenation patterns for english, afrikaans, ancientgreek, ar
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic, 
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
lician, german, german-x-2012-05-30, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, latin, latvian,
lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerman, n
german-x-2012-05-30, nynorsk, oriya, panjabi, pinyin, polish, portuguese, roman
ian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swissgerm
an, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, usengl
ishmax, welsh, loaded.

(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\book.cls
Document Class: book 2007/10/19 v1.4h Standard LaTeX document class
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\bk10.clo
File: bk10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@chapter=\count80
\c@section=\count81
\c@subsection=\count82
\c@subsubsection=\count83
\c@paragraph=\count84
\c@subparagraph=\count85
\c@figure=\count86
\c@table=\count87
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
) (C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\t1enc.def
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info:Redeclaring font encoding T1 on input line 43.
)) (C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\inputenc.sty
Package: inputenc 2008/03/30 v1.1d Input encoding file
\inpenc@prehook=\toks14
\inpenc@posthook=\toks15
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\latin9.def
File: latin9.def 2008/03/30 v1.1d Input encoding file
)) (C:\Program Files (x86)\MiKTeX 2.9\tex\latex\geometry\geometry.sty
Package: geometry 2010/09/12 v5.6 Page Geometry
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks16
) (C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\ifpdf.sty
Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in PDF mode is detected.
) (C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\ifvtex.sty
Package: ifvtex 2010/03/01 v1.5 Detect VTeX and its facilities (HO)
Package ifvtex Info: VTeX not detected.
) (C:\Program Files (x86)\MiKTeX 2.9\tex\generic\ifxetex\ifxetex.sty
Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
)
\Gm@cnth=\count88
\Gm@cntv=\count89
\c@Gm@tempcnt=\count90
\Gm@bindingoffset=\dimen103
\Gm@wd@mp=\dimen104
\Gm@odd@mp=\dimen105
\Gm@even@mp=\dimen106
\Gm@layoutwidth=\dimen107
\Gm@layoutheight=\dimen108
\Gm@layouthoffset=\dimen109
\Gm@layoutvoffset=\dimen110
\Gm@dimlist=\toks17
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\geometry\geometry.cfg)) (C:\Pro
gram Files (x86)\MiKTeX 2.9\tex\latex\graphics\color.sty
Package: color 2005/11/14 v1.0j Standard LaTeX Color (DPC)
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\00miktex\color.cfg
File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
)
Package color Info: Driver file: pdftex.def on input line 130.
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\pdftex-def\pdftex.def
File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX
(C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\infwarerr.sty
Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO)
) (C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\ltxcmds.sty
Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
)
\Gread@gobject=\count91
)) (C:\Program Files (x86)\MiKTeX 2.9\tex\latex\tools\verbatim.sty
Package: verbatim 2003/08/22 v1.5q LaTeX2e package for verbatim enhancements
\every@verbatim=\toks18
\verbatim@line=\toks19
\verbatim@in@stream=\read1
) (C:\Program Files 

Re: from mac to windows

2013-02-24 Thread Scott Kostyshak
On Sun, Feb 24, 2013 at 6:48 AM, Cecile Danilo cecile_dan...@yahoo.fr wrote:
 Hello everyone!

 Here is (again) a quick description of my problem:


 I created my lyx files with a mac, I am now using a windows computer and
 can't create the pdf of the files created with the mac. I have no problem if
 I compile files created with windows. I send you one of the files that works
 with mac but not with windows.
 I use LyX-2.0.5.1

 and a more complete description of the problem:

 When I try to generate a pdflatex file I first have the following message:
 “Do you autorize the MikTex package manager to modify the computer?”
 and then this error message:
 “Latex Error: File ‘amsthm.sty’ not found”

Hi,

You have to install the package that has the amsthm.sty file in
MiKTeX. The package is probably called 'amsthm'.

After you do this, open LyX and go to Tools  reconfigure.

Scott


Re: from mac to windows

2013-02-24 Thread Cecile Danilo
I downloaded amscls2 and amsmath2 from 
http://www.ams.org/publications/authors/tex/amslatex but since the 
installation seems quite complicated for me I tryed to uninstall MikTex 
which I couldn t because the directory wasn t empty???

My question is : should I remove directly Miktex? will that uninstall it?


-Message d'origine- 
From: Scott Kostyshak

Sent: Sunday, February 24, 2013 1:05 PM
To: Cecile Danilo
Cc: John Kane ; Lyx List
Subject: Re: from mac to windows

On Sun, Feb 24, 2013 at 6:48 AM, Cecile Danilo cecile_dan...@yahoo.fr 
wrote:

Hello everyone!

Here is (again) a quick description of my problem:


I created my lyx files with a mac, I am now using a windows computer and
can't create the pdf of the files created with the mac. I have no problem 
if
I compile files created with windows. I send you one of the files that 
works

with mac but not with windows.
I use LyX-2.0.5.1

and a more complete description of the problem:

When I try to generate a pdflatex file I first have the following message:
“Do you autorize the MikTex package manager to modify the computer?”
and then this error message:
“Latex Error: File ‘amsthm.sty’ not found”


Hi,

You have to install the package that has the amsthm.sty file in
MiKTeX. The package is probably called 'amsthm'.

After you do this, open LyX and go to Tools  reconfigure.

Scott 



Re: bold matrix and vector. Need customization help.

2013-02-24 Thread Paul A . Rubin
I would use a math macro (section 22.2 of Help  Math). Create the macro
somewhere near the front of the document (Insert  Math  Macro inside a math
inset). If the symbol you are bolding is always 'x', define a macro with an easy
to type name (say \XX or \bX) that has no arguments and inserts the LaTeX code
including the 'x'. If you have a few symbols, maybe do one such macro for each.
If you have a lot of symbols, create a macro (say \bv) that takes an argument
and then hit every vector over the head with it (replace 'x' with '\bv{x}' 
etc.).

Paul



Re: from mac to windows

2013-02-24 Thread Stephan Witt
Am 24.02.2013 um 18:59 schrieb Cecile Danilo cecile_dan...@yahoo.fr:

 I downloaded amscls2 and amsmath2 from 
 http://www.ams.org/publications/authors/tex/amslatex but since the 
 installation seems quite complicated for me I tryed to uninstall MikTex which 
 I couldn t because the directory wasn t empty???
 My question is : should I remove directly Miktex? will that uninstall it?

How did you install LyX (and MikTeX)? 

AFAIK the LyX installer for Windows tries hard to assist you to install the 
required packages.

How did you manage to get asked from MikTeX to install the amsthm.sty package 
and later it's missing? I'm not a MikTeX user, but either you are a LaTeX 
package manager like MikTeX or you have to add missing packages manually. You 
should avoid to mix these or you should know what you're doing.

You didn't say anything about your Windows version, or did I miss it?

Regards,
Stephan

 -Message d'origine- From: Scott Kostyshak
 Sent: Sunday, February 24, 2013 1:05 PM
 To: Cecile Danilo
 Cc: John Kane ; Lyx List
 Subject: Re: from mac to windows
 
 On Sun, Feb 24, 2013 at 6:48 AM, Cecile Danilo cecile_dan...@yahoo.fr wrote:
 Hello everyone!
 
 Here is (again) a quick description of my problem:
 
 
 I created my lyx files with a mac, I am now using a windows computer and
 can't create the pdf of the files created with the mac. I have no problem if
 I compile files created with windows. I send you one of the files that works
 with mac but not with windows.
 I use LyX-2.0.5.1
 
 and a more complete description of the problem:
 
 When I try to generate a pdflatex file I first have the following message:
 “Do you autorize the MikTex package manager to modify the computer?”
 and then this error message:
 “Latex Error: File ‘amsthm.sty’ not found”
 
 Hi,
 
 You have to install the package that has the amsthm.sty file in
 MiKTeX. The package is probably called 'amsthm'.
 
 After you do this, open LyX and go to Tools  reconfigure.
 
 Scott 



Re: from mac to windows

2013-02-24 Thread Cecile Danilo
I downloaded  LyX-2.0.5.1-Bundle-4.exe from http://www.lyx.org/Download and 
I have windows 7.
When I install Lyx, Miktex asks me if I want to install missing packages on 
the fly, of course I click Yes. It doesn t tell me anything about 
amsthm.sty  and later Miktex aks me if i want to update it. The first time I 
said yes.


While searching on the web how to install amsthm, I found that I was not the 
only one to have a problem with the amsthm! 
(http://latex-community.org/home/news/46-news-latex-distributions/469-miktex-amsmath)
I reinstall lyx and this time I refuse the update of Miktex and ... now it 
works!! The only annoying thing is that Miktex keeps asking me if I let it 
modify my computer when I want to create the pdf...


Cecile



-Message d'origine- 
From: Stephan Witt

Sent: Sunday, February 24, 2013 9:28 PM
To: Cecile Danilo
Cc: lyx-users@lists.lyx.org
Subject: Re: from mac to windows

Am 24.02.2013 um 18:59 schrieb Cecile Danilo cecile_dan...@yahoo.fr:

I downloaded amscls2 and amsmath2 from 
http://www.ams.org/publications/authors/tex/amslatex but since the 
installation seems quite complicated for me I tryed to uninstall MikTex 
which I couldn t because the directory wasn t empty???

My question is : should I remove directly Miktex? will that uninstall it?


How did you install LyX (and MikTeX)?

AFAIK the LyX installer for Windows tries hard to assist you to install the 
required packages.


How did you manage to get asked from MikTeX to install the amsthm.sty 
package and later it's missing? I'm not a MikTeX user, but either you are a 
LaTeX package manager like MikTeX or you have to add missing packages 
manually. You should avoid to mix these or you should know what you're 
doing.


You didn't say anything about your Windows version, or did I miss it?

Regards,
Stephan


-Message d'origine- From: Scott Kostyshak
Sent: Sunday, February 24, 2013 1:05 PM
To: Cecile Danilo
Cc: John Kane ; Lyx List
Subject: Re: from mac to windows

On Sun, Feb 24, 2013 at 6:48 AM, Cecile Danilo cecile_dan...@yahoo.fr 
wrote:

Hello everyone!

Here is (again) a quick description of my problem:


I created my lyx files with a mac, I am now using a windows computer and
can't create the pdf of the files created with the mac. I have no problem 
if
I compile files created with windows. I send you one of the files that 
works

with mac but not with windows.
I use LyX-2.0.5.1

and a more complete description of the problem:

When I try to generate a pdflatex file I first have the following 
message:

“Do you autorize the MikTex package manager to modify the computer?”
and then this error message:
“Latex Error: File ‘amsthm.sty’ not found”


Hi,

You have to install the package that has the amsthm.sty file in
MiKTeX. The package is probably called 'amsthm'.

After you do this, open LyX and go to Tools  reconfigure.

Scott 




Re: bold matrix and vector. Need customization help.

2013-02-24 Thread Paul Johnson
On Sun, Feb 24, 2013 at 1:43 PM, Paul A. Rubin ru...@msu.edu wrote:
 I would use a math macro (section 22.2 of Help  Math). Create the macro
 somewhere near the front of the document (Insert  Math  Macro inside a math
 inset). If the symbol you are bolding is always 'x', define a macro with an 
 easy
 to type name (say \XX or \bX) that has no arguments and inserts the LaTeX code
 including the 'x'. If you have a few symbols, maybe do one such macro for 
 each.
 If you have a lot of symbols, create a macro (say \bv) that takes an argument
 and then hit every vector over the head with it (replace 'x' with '\bv{x}' 
 etc.).


Thanks. This is what I was trying before.  Alls well that ends well.
Your comment made me try harder to wade through  the documentation.
This is difficult to describe.

In case another user needs help with LyX macros, here is what I found out.

I hit the \foo := button to create my macro.

That opens a box with 3 parts. There's the macro definition, and two
boxes that say TeX and LyX.

When I start, I see like this
__
\newmacroname:  |_|  |_|
  TeX LyX

First, rename the thing on the left. It provides the starting
backslash, Don't add another one. Just replace the letters
newmacroname with vb or something nice.

Caution: the macroname must also include the argument definition.  You
must not simply type vb{#1}, even if that is what you really want.
If you type {#1}, LyX will show that in big blue letters. It is trying
to make #1 part of the name, rather than an argument.

LyX GUI has a tool to define the argument.  When you open the macro
editor, LyX pops up a menu similar to the math editor. Use that! In
there I choose the two green braces like {} with a popup append
argument. Hit that button, and the macro editor inserts {#1} at the
end of your macro name and it also plops a #1 into the TeX box.

The documentation says, The wanted formula is inserted in the first
blue box.  How it gets in there is the big mystery to me.

After I did the append argument button, the last two boxes look like this:
 _  _
|#1|  |_|
TeX LyX

It is a bit tricky to put the desired macros into the box on the left.
You can't just type them. My first try was to just type;

\bm{\mathrm{#1}}

Epic fail. Just as I could not type #1 in my macro name, I can't type
it here. Typing #1 leads to a big blue #1, where LyX thinks I mean the
math symbols are #1, not that I mean the argument placeholder.

So I have to go back and figure a way to enter my \bm{\mathrm{}} so
that wraps itself around the #1 that the append argument button
inserted for me.

I've not found a perfectly safe way to do that.  I highlight the #1 in
the little box, then what?

When I type in \bm, that disappears.  Then I type \mathrm, it
disappears.  Which to type first? My first guess was that I'd type
\mathrm as the inner argument, and then \bm.
That's backwards, It turns out.

I get a different result if I write the macro as \mathrm{\bm{}} or
\bm{\mathrm{}}, so getting the macro correct is a hit-and-miss
proposition.  With View Source turned on, I can see that LyX is
creating markup for my macro like this:

\global\long\def\vb#1{\mathrm{\bm{#1}}}

That has \mathrm and \bm backwards. After some fiddling, the view
source shows me this:

\global\long\def\vb#1{\bm{\mathrm{#1}}}

And then my \vb math macro seems to work as intended.

What goes in the little box called LyX? I don't know.

Maybe section 22.2 of Math begins with a too-difficult example.

pj


 Paul




-- 
Paul E. Johnson
Professor, Political Science  Assoc. Director
1541 Lilac Lane, Room 504  Center for Research Methods
University of Kansas University of Kansas
http://pj.freefaculty.org   http://quant.ku.edu


Re: bold matrix and vector. Need customization help.

2013-02-24 Thread Paul A . Rubin
Paul Johnson pauljohn32 at gmail.com writes:

 
 Hit that button, and the macro editor inserts {#1} at the
 end of your macro name and it also plops a #1 into the TeX box.
 
 The documentation says, The wanted formula is inserted in the first
 blue box.  How it gets in there is the big mystery to me.

Just type it in. If you want to molest the automatically supplied argument (#1),
just highlight it and then type a command. For instance, if you highlight #1 and
type '\bm' followed by a space, the body of the macro becomes '\bm{#1}'.

If you need to repeat the argument (for instance, you want #1+#1 for some
reason), you can insert additional copies by typing '\#1'.
 
 After I did the append argument button, the last two boxes look like this:
  _  _
 |#1|  |_|
 TeX LyX
 
 It is a bit tricky to put the desired macros into the box on the left.
 You can't just type them. My first try was to just type;
 
 \bm{\mathrm{#1}}
 
 Epic fail. Just as I could not type #1 in my macro name, I can't type
 it here. Typing #1 leads to a big blue #1, where LyX thinks I mean the
 math symbols are #1, not that I mean the argument placeholder.

Just escape the hash sign with a backslash.

 
 What goes in the little box called LyX? I don't know.

This is what you want LyX to display in the math inset. The default, I think, is
to display LyX's representation of the result if you used commands that LyX
knows (it knows, for instance, that \bm means show the content in bold) and a
verbatim repeat of the macro body otherwise. Note to the documentation team:
unlike in earlier versions of the math manual, I did not see this explained in
section 22.2 of the current version!

Paul





Math macro editing style

2013-02-24 Thread Paul A . Rubin
I'm running LyX 2.0.5.1 on Linux Mint (equivalent to Ubuntu Quantal). The Math
help manual pointed me to Tools  Preferences  Editing  Control, which has a
drop-down menu of three choices for what math macro editing should look like. I
tried all three and could not see any difference in the macro editing. (I even
saved the choice and restarted LyX.) Am I missing something?

Thanks,
Paul




Re: Share LaTeX

2013-02-24 Thread Scott Kostyshak
On Mon, Feb 18, 2013 at 8:59 AM, Rich Shepard rshep...@appl-ecosys.com wrote:
 On Mon, 18 Feb 2013, UD wrote:

 A similar thing for Lyx would be nice, wouldn't it?

Do you just mean compile .lyx files on the cloud? Or do you mean a
complete LyX editor in a web browser? Is the idea that this would be
useful if you don't want to install anything on your computer or if
you want to be able to work from any computer (e.g. at the library)?
But for this one could just ssh with X into a computer that has LyX,
no?

Here are more such services:
http://www.texdev.net/2013/02/24/latex-online-options-continue-to-grow/

Scott


Re: letter (KOMA-Script v.2) Space between closing and signature...........

2013-02-24 Thread Charlie
 On Sun, 24 Feb 2013 08:42:49 +0100 Jean-Marie Pacquet j...@pacquet.net
 sent this:

Le 24/02/2013 07:26, Charlie a écrit :
 I'm having a problem with the space between Closing and Signature in:

 letter (KOMA-Script v.2)

 using LyX version 2.0.3 Debian Wheezy.

 I need more space to apply my hand written signature. [...]
 From the user guide (scrguien.pdf):
Between closing phrase and signature a vertical space is inserted. The 
height
of this space is defined in the pseudo-length sigbeforevskip. It
   defaults to 2 lines. In this space you can write your
   inscription.


 % position from top of page of Sender Name thanks to: Jean-Marie
  Pacquet \@addtoplength{firstheadvpos}{1cm}
 \@addtoplength{firstfootvpos}{-1cm}
This seems to be the right place ;-) to add this line:
\@setplength{sigbeforevskip}{2\baselineskip}

Change the 2 to whatever suits you

Cheers
-- 
Jean-Marie


  Thank you Jean-Marie,

You have helped me once again. I have two copies of the scrguien.pdf
and I use the latest. Read it, but obviously I don't know how to
use it. How to put the commands together in some instances.

I read this: sigbeforevskip vertical skip between closing and signature
(section 6.6.1, page 207)

But didn't really understand it.

Even tried working with this:
\setkomavar{signature}{John McEnvy\\{\small (Vice-President ‘‘The Other 
Society’’)}}

\closing{Regards\\(for the board of directors)}

But couldn't put it together to rectify my problem, then searched the
net again and couldn't come up with the right answer.

Thank you again, because you have solved my problem once more, and you
will know it's much appreciated.

Be well,
Charlie
-- 
Registered Linux User:- 329524
***

The light which puts out our eyes is darkness to us. Only that
day dawns to which we are awake. There is more day to dawn. The
sun is but a morning star. - Henry David Thoreau

***

Debian GNU/Linux - just the best way to create magic

-


from mac to windows

2013-02-24 Thread Cecile Danilo
Hello everyone!

Here is (again) a quick description of my problem:

I created my lyx files with a mac, I am now using a windows computer and can't 
create the pdf of the files created with the mac. I have no problem if I 
compile files created with windows. I send you one of the files that works with 
mac but not with windows.
I use LyX-2.0.5.1

and a more complete description of the problem:

When I try to generate a pdflatex file I first have the following message:
“Do you autorize the MikTex package manager to modify the computer?”
and then this error message:
“Latex Error: File ‘amsthm.sty’ not found”
with the Description
“cannot read from terminal in nonstop modes”

I got exactly the same error message if I choose DVI or dviluatex.

The complete description follows:
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9) (preloaded 
format=pdflatex 2013.2.10)  24 FEB 2013 12:24
entering extended mode
**file_test.tex

(C:\Users\danilo\AppData\Local\Temp\lyx_tmpdir.Hp5264\lyx_tmpbuf2\file_test.tex
LaTeX2e 2011/06/27
Babel v3.8m and hyphenation patterns for english, afrikaans, ancientgreek, ar
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic, 
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
lician, german, german-x-2012-05-30, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, latin, latvian,
lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerman, n
german-x-2012-05-30, nynorsk, oriya, panjabi, pinyin, polish, portuguese, roman
ian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swissgerm
an, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, usengl
ishmax, welsh, loaded.

(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\book.cls
Document Class: book 2007/10/19 v1.4h Standard LaTeX document class
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\bk10.clo
File: bk10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@chapter=\count80
\c@section=\count81
\c@subsection=\count82
\c@subsubsection=\count83
\c@paragraph=\count84
\c@subparagraph=\count85
\c@figure=\count86
\c@table=\count87
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
) (C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\t1enc.def
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info:Redeclaring font encoding T1 on input line 43.
)) (C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\inputenc.sty
Package: inputenc 2008/03/30 v1.1d Input encoding file
\inpenc@prehook=\toks14
\inpenc@posthook=\toks15
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\latin9.def
File: latin9.def 2008/03/30 v1.1d Input encoding file
)) (C:\Program Files (x86)\MiKTeX 2.9\tex\latex\geometry\geometry.sty
Package: geometry 2010/09/12 v5.6 Page Geometry
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks16
) (C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\ifpdf.sty
Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in PDF mode is detected.
) (C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\ifvtex.sty
Package: ifvtex 2010/03/01 v1.5 Detect VTeX and its facilities (HO)
Package ifvtex Info: VTeX not detected.
) (C:\Program Files (x86)\MiKTeX 2.9\tex\generic\ifxetex\ifxetex.sty
Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
)
\Gm@cnth=\count88
\Gm@cntv=\count89
\c@Gm@tempcnt=\count90
\Gm@bindingoffset=\dimen103
\Gm@wd@mp=\dimen104
\Gm@odd@mp=\dimen105
\Gm@even@mp=\dimen106
\Gm@layoutwidth=\dimen107
\Gm@layoutheight=\dimen108
\Gm@layouthoffset=\dimen109
\Gm@layoutvoffset=\dimen110
\Gm@dimlist=\toks17
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\geometry\geometry.cfg)) (C:\Pro
gram Files (x86)\MiKTeX 2.9\tex\latex\graphics\color.sty
Package: color 2005/11/14 v1.0j Standard LaTeX Color (DPC)
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\00miktex\color.cfg
File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
)
Package color Info: Driver file: pdftex.def on input line 130.
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\pdftex-def\pdftex.def
File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX
(C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\infwarerr.sty
Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO)
) (C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\ltxcmds.sty
Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
)
\Gread@gobject=\count91
)) (C:\Program Files (x86)\MiKTeX 2.9\tex\latex\tools\verbatim.sty
Package: verbatim 2003/08/22 v1.5q LaTeX2e package for verbatim enhancements
\every@verbatim=\toks18
\verbatim@line=\toks19
\verbatim@in@stream=\read1
) (C:\Program Files 

Re: from mac to windows

2013-02-24 Thread Scott Kostyshak
On Sun, Feb 24, 2013 at 6:48 AM, Cecile Danilo cecile_dan...@yahoo.fr wrote:
 Hello everyone!

 Here is (again) a quick description of my problem:


 I created my lyx files with a mac, I am now using a windows computer and
 can't create the pdf of the files created with the mac. I have no problem if
 I compile files created with windows. I send you one of the files that works
 with mac but not with windows.
 I use LyX-2.0.5.1

 and a more complete description of the problem:

 When I try to generate a pdflatex file I first have the following message:
 “Do you autorize the MikTex package manager to modify the computer?”
 and then this error message:
 “Latex Error: File ‘amsthm.sty’ not found”

Hi,

You have to install the package that has the amsthm.sty file in
MiKTeX. The package is probably called 'amsthm'.

After you do this, open LyX and go to Tools  reconfigure.

Scott


Re: from mac to windows

2013-02-24 Thread Cecile Danilo
I downloaded amscls2 and amsmath2 from 
http://www.ams.org/publications/authors/tex/amslatex but since the 
installation seems quite complicated for me I tryed to uninstall MikTex 
which I couldn t because the directory wasn t empty???

My question is : should I remove directly Miktex? will that uninstall it?


-Message d'origine- 
From: Scott Kostyshak

Sent: Sunday, February 24, 2013 1:05 PM
To: Cecile Danilo
Cc: John Kane ; Lyx List
Subject: Re: from mac to windows

On Sun, Feb 24, 2013 at 6:48 AM, Cecile Danilo cecile_dan...@yahoo.fr 
wrote:

Hello everyone!

Here is (again) a quick description of my problem:


I created my lyx files with a mac, I am now using a windows computer and
can't create the pdf of the files created with the mac. I have no problem 
if
I compile files created with windows. I send you one of the files that 
works

with mac but not with windows.
I use LyX-2.0.5.1

and a more complete description of the problem:

When I try to generate a pdflatex file I first have the following message:
“Do you autorize the MikTex package manager to modify the computer?”
and then this error message:
“Latex Error: File ‘amsthm.sty’ not found”


Hi,

You have to install the package that has the amsthm.sty file in
MiKTeX. The package is probably called 'amsthm'.

After you do this, open LyX and go to Tools  reconfigure.

Scott 



Re: bold matrix and vector. Need customization help.

2013-02-24 Thread Paul A . Rubin
I would use a math macro (section 22.2 of Help  Math). Create the macro
somewhere near the front of the document (Insert  Math  Macro inside a math
inset). If the symbol you are bolding is always 'x', define a macro with an easy
to type name (say \XX or \bX) that has no arguments and inserts the LaTeX code
including the 'x'. If you have a few symbols, maybe do one such macro for each.
If you have a lot of symbols, create a macro (say \bv) that takes an argument
and then hit every vector over the head with it (replace 'x' with '\bv{x}' 
etc.).

Paul



Re: from mac to windows

2013-02-24 Thread Stephan Witt
Am 24.02.2013 um 18:59 schrieb Cecile Danilo cecile_dan...@yahoo.fr:

 I downloaded amscls2 and amsmath2 from 
 http://www.ams.org/publications/authors/tex/amslatex but since the 
 installation seems quite complicated for me I tryed to uninstall MikTex which 
 I couldn t because the directory wasn t empty???
 My question is : should I remove directly Miktex? will that uninstall it?

How did you install LyX (and MikTeX)? 

AFAIK the LyX installer for Windows tries hard to assist you to install the 
required packages.

How did you manage to get asked from MikTeX to install the amsthm.sty package 
and later it's missing? I'm not a MikTeX user, but either you are a LaTeX 
package manager like MikTeX or you have to add missing packages manually. You 
should avoid to mix these or you should know what you're doing.

You didn't say anything about your Windows version, or did I miss it?

Regards,
Stephan

 -Message d'origine- From: Scott Kostyshak
 Sent: Sunday, February 24, 2013 1:05 PM
 To: Cecile Danilo
 Cc: John Kane ; Lyx List
 Subject: Re: from mac to windows
 
 On Sun, Feb 24, 2013 at 6:48 AM, Cecile Danilo cecile_dan...@yahoo.fr wrote:
 Hello everyone!
 
 Here is (again) a quick description of my problem:
 
 
 I created my lyx files with a mac, I am now using a windows computer and
 can't create the pdf of the files created with the mac. I have no problem if
 I compile files created with windows. I send you one of the files that works
 with mac but not with windows.
 I use LyX-2.0.5.1
 
 and a more complete description of the problem:
 
 When I try to generate a pdflatex file I first have the following message:
 “Do you autorize the MikTex package manager to modify the computer?”
 and then this error message:
 “Latex Error: File ‘amsthm.sty’ not found”
 
 Hi,
 
 You have to install the package that has the amsthm.sty file in
 MiKTeX. The package is probably called 'amsthm'.
 
 After you do this, open LyX and go to Tools  reconfigure.
 
 Scott 



Re: from mac to windows

2013-02-24 Thread Cecile Danilo
I downloaded  LyX-2.0.5.1-Bundle-4.exe from http://www.lyx.org/Download and 
I have windows 7.
When I install Lyx, Miktex asks me if I want to install missing packages on 
the fly, of course I click Yes. It doesn t tell me anything about 
amsthm.sty  and later Miktex aks me if i want to update it. The first time I 
said yes.


While searching on the web how to install amsthm, I found that I was not the 
only one to have a problem with the amsthm! 
(http://latex-community.org/home/news/46-news-latex-distributions/469-miktex-amsmath)
I reinstall lyx and this time I refuse the update of Miktex and ... now it 
works!! The only annoying thing is that Miktex keeps asking me if I let it 
modify my computer when I want to create the pdf...


Cecile



-Message d'origine- 
From: Stephan Witt

Sent: Sunday, February 24, 2013 9:28 PM
To: Cecile Danilo
Cc: lyx-users@lists.lyx.org
Subject: Re: from mac to windows

Am 24.02.2013 um 18:59 schrieb Cecile Danilo cecile_dan...@yahoo.fr:

I downloaded amscls2 and amsmath2 from 
http://www.ams.org/publications/authors/tex/amslatex but since the 
installation seems quite complicated for me I tryed to uninstall MikTex 
which I couldn t because the directory wasn t empty???

My question is : should I remove directly Miktex? will that uninstall it?


How did you install LyX (and MikTeX)?

AFAIK the LyX installer for Windows tries hard to assist you to install the 
required packages.


How did you manage to get asked from MikTeX to install the amsthm.sty 
package and later it's missing? I'm not a MikTeX user, but either you are a 
LaTeX package manager like MikTeX or you have to add missing packages 
manually. You should avoid to mix these or you should know what you're 
doing.


You didn't say anything about your Windows version, or did I miss it?

Regards,
Stephan


-Message d'origine- From: Scott Kostyshak
Sent: Sunday, February 24, 2013 1:05 PM
To: Cecile Danilo
Cc: John Kane ; Lyx List
Subject: Re: from mac to windows

On Sun, Feb 24, 2013 at 6:48 AM, Cecile Danilo cecile_dan...@yahoo.fr 
wrote:

Hello everyone!

Here is (again) a quick description of my problem:


I created my lyx files with a mac, I am now using a windows computer and
can't create the pdf of the files created with the mac. I have no problem 
if
I compile files created with windows. I send you one of the files that 
works

with mac but not with windows.
I use LyX-2.0.5.1

and a more complete description of the problem:

When I try to generate a pdflatex file I first have the following 
message:

“Do you autorize the MikTex package manager to modify the computer?”
and then this error message:
“Latex Error: File ‘amsthm.sty’ not found”


Hi,

You have to install the package that has the amsthm.sty file in
MiKTeX. The package is probably called 'amsthm'.

After you do this, open LyX and go to Tools  reconfigure.

Scott 




Re: bold matrix and vector. Need customization help.

2013-02-24 Thread Paul Johnson
On Sun, Feb 24, 2013 at 1:43 PM, Paul A. Rubin ru...@msu.edu wrote:
 I would use a math macro (section 22.2 of Help  Math). Create the macro
 somewhere near the front of the document (Insert  Math  Macro inside a math
 inset). If the symbol you are bolding is always 'x', define a macro with an 
 easy
 to type name (say \XX or \bX) that has no arguments and inserts the LaTeX code
 including the 'x'. If you have a few symbols, maybe do one such macro for 
 each.
 If you have a lot of symbols, create a macro (say \bv) that takes an argument
 and then hit every vector over the head with it (replace 'x' with '\bv{x}' 
 etc.).


Thanks. This is what I was trying before.  Alls well that ends well.
Your comment made me try harder to wade through  the documentation.
This is difficult to describe.

In case another user needs help with LyX macros, here is what I found out.

I hit the \foo := button to create my macro.

That opens a box with 3 parts. There's the macro definition, and two
boxes that say TeX and LyX.

When I start, I see like this
__
\newmacroname:  |_|  |_|
  TeX LyX

First, rename the thing on the left. It provides the starting
backslash, Don't add another one. Just replace the letters
newmacroname with vb or something nice.

Caution: the macroname must also include the argument definition.  You
must not simply type vb{#1}, even if that is what you really want.
If you type {#1}, LyX will show that in big blue letters. It is trying
to make #1 part of the name, rather than an argument.

LyX GUI has a tool to define the argument.  When you open the macro
editor, LyX pops up a menu similar to the math editor. Use that! In
there I choose the two green braces like {} with a popup append
argument. Hit that button, and the macro editor inserts {#1} at the
end of your macro name and it also plops a #1 into the TeX box.

The documentation says, The wanted formula is inserted in the first
blue box.  How it gets in there is the big mystery to me.

After I did the append argument button, the last two boxes look like this:
 _  _
|#1|  |_|
TeX LyX

It is a bit tricky to put the desired macros into the box on the left.
You can't just type them. My first try was to just type;

\bm{\mathrm{#1}}

Epic fail. Just as I could not type #1 in my macro name, I can't type
it here. Typing #1 leads to a big blue #1, where LyX thinks I mean the
math symbols are #1, not that I mean the argument placeholder.

So I have to go back and figure a way to enter my \bm{\mathrm{}} so
that wraps itself around the #1 that the append argument button
inserted for me.

I've not found a perfectly safe way to do that.  I highlight the #1 in
the little box, then what?

When I type in \bm, that disappears.  Then I type \mathrm, it
disappears.  Which to type first? My first guess was that I'd type
\mathrm as the inner argument, and then \bm.
That's backwards, It turns out.

I get a different result if I write the macro as \mathrm{\bm{}} or
\bm{\mathrm{}}, so getting the macro correct is a hit-and-miss
proposition.  With View Source turned on, I can see that LyX is
creating markup for my macro like this:

\global\long\def\vb#1{\mathrm{\bm{#1}}}

That has \mathrm and \bm backwards. After some fiddling, the view
source shows me this:

\global\long\def\vb#1{\bm{\mathrm{#1}}}

And then my \vb math macro seems to work as intended.

What goes in the little box called LyX? I don't know.

Maybe section 22.2 of Math begins with a too-difficult example.

pj


 Paul




-- 
Paul E. Johnson
Professor, Political Science  Assoc. Director
1541 Lilac Lane, Room 504  Center for Research Methods
University of Kansas University of Kansas
http://pj.freefaculty.org   http://quant.ku.edu


Re: bold matrix and vector. Need customization help.

2013-02-24 Thread Paul A . Rubin
Paul Johnson pauljohn32 at gmail.com writes:

 
 Hit that button, and the macro editor inserts {#1} at the
 end of your macro name and it also plops a #1 into the TeX box.
 
 The documentation says, The wanted formula is inserted in the first
 blue box.  How it gets in there is the big mystery to me.

Just type it in. If you want to molest the automatically supplied argument (#1),
just highlight it and then type a command. For instance, if you highlight #1 and
type '\bm' followed by a space, the body of the macro becomes '\bm{#1}'.

If you need to repeat the argument (for instance, you want #1+#1 for some
reason), you can insert additional copies by typing '\#1'.
 
 After I did the append argument button, the last two boxes look like this:
  _  _
 |#1|  |_|
 TeX LyX
 
 It is a bit tricky to put the desired macros into the box on the left.
 You can't just type them. My first try was to just type;
 
 \bm{\mathrm{#1}}
 
 Epic fail. Just as I could not type #1 in my macro name, I can't type
 it here. Typing #1 leads to a big blue #1, where LyX thinks I mean the
 math symbols are #1, not that I mean the argument placeholder.

Just escape the hash sign with a backslash.

 
 What goes in the little box called LyX? I don't know.

This is what you want LyX to display in the math inset. The default, I think, is
to display LyX's representation of the result if you used commands that LyX
knows (it knows, for instance, that \bm means show the content in bold) and a
verbatim repeat of the macro body otherwise. Note to the documentation team:
unlike in earlier versions of the math manual, I did not see this explained in
section 22.2 of the current version!

Paul





Math macro editing style

2013-02-24 Thread Paul A . Rubin
I'm running LyX 2.0.5.1 on Linux Mint (equivalent to Ubuntu Quantal). The Math
help manual pointed me to Tools  Preferences  Editing  Control, which has a
drop-down menu of three choices for what math macro editing should look like. I
tried all three and could not see any difference in the macro editing. (I even
saved the choice and restarted LyX.) Am I missing something?

Thanks,
Paul




Re: Share LaTeX

2013-02-24 Thread Scott Kostyshak
On Mon, Feb 18, 2013 at 8:59 AM, Rich Shepard rshep...@appl-ecosys.com wrote:
 On Mon, 18 Feb 2013, UD wrote:

 A similar thing for Lyx would be nice, wouldn't it?

Do you just mean compile .lyx files on the cloud? Or do you mean a
complete LyX editor in a web browser? Is the idea that this would be
useful if you don't want to install anything on your computer or if
you want to be able to work from any computer (e.g. at the library)?
But for this one could just ssh with X into a computer that has LyX,
no?

Here are more such services:
http://www.texdev.net/2013/02/24/latex-online-options-continue-to-grow/

Scott


Re: letter (KOMA-Script v.2) Space between closing and signature...........

2013-02-24 Thread Charlie
 On Sun, 24 Feb 2013 08:42:49 +0100 "Jean-Marie Pacquet j...@pacquet.net"
 sent this:

>Le 24/02/2013 07:26, Charlie a écrit :
>> I'm having a problem with the space between Closing and Signature in:
>>
>> letter (KOMA-Script v.2)
>>
>> using LyX version 2.0.3 Debian Wheezy.
>>
>> I need more space to apply my hand written signature. [...]
> From the user guide (scrguien.pdf):
>Between closing phrase and signature a vertical space is inserted. The 
>height
>of this space is defined in the pseudo-length sigbeforevskip. It
>   defaults to 2 lines. In this space you can write your
>   inscription.
>>
>>
>> % position from top of page of Sender Name thanks to: Jean-Marie
>>  Pacquet \@addtoplength{firstheadvpos}{1cm}
>> \@addtoplength{firstfootvpos}{-1cm}
>This seems to be the right place ;-) to add this line:
>\@setplength{sigbeforevskip}{2\baselineskip}
>
>Change the 2 to whatever suits you
>
>Cheers
>-- 
>Jean-Marie


  Thank you Jean-Marie,

You have helped me once again. I have two copies of the scrguien.pdf
and I use the latest. Read it, but obviously I don't know how to
use it. How to put the commands together in some instances.

I read this: sigbeforevskip vertical skip between closing and signature
(section 6.6.1, page 207)

But didn't really understand it.

Even tried working with this:
\setkomavar{signature}{John McEnvy\\{\small (Vice-President ‘‘The Other 
Society’’)}}

\closing{Regards\\(for the board of directors)}

But couldn't put it together to rectify my problem, then searched the
net again and couldn't come up with the right answer.

Thank you again, because you have solved my problem once more, and you
will know it's much appreciated.

Be well,
Charlie
-- 
Registered Linux User:- 329524
***

The light which puts out our eyes is darkness to us. Only that
day dawns to which we are awake. There is more day to dawn. The
sun is but a morning star. - Henry David Thoreau

***

Debian GNU/Linux - just the best way to create magic

-


from mac to windows

2013-02-24 Thread Cecile Danilo
Hello everyone!

Here is (again) a quick description of my problem:

I created my lyx files with a mac, I am now using a windows computer and can't 
create the pdf of the files created with the mac. I have no problem if I 
compile files created with windows. I send you one of the files that works with 
mac but not with windows.
I use LyX-2.0.5.1

and a more complete description of the problem:

When I try to generate a pdflatex file I first have the following message:
“Do you autorize the MikTex package manager to modify the computer?”
and then this error message:
“Latex Error: File ‘amsthm.sty’ not found”
with the Description
“cannot read from terminal in nonstop modes”

I got exactly the same error message if I choose DVI or dviluatex.

The complete description follows:
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9) (preloaded 
format=pdflatex 2013.2.10)  24 FEB 2013 12:24
entering extended mode
**file_test.tex

(C:\Users\danilo\AppData\Local\Temp\lyx_tmpdir.Hp5264\lyx_tmpbuf2\file_test.tex
LaTeX2e <2011/06/27>
Babel  and hyphenation patterns for english, afrikaans, ancientgreek, ar
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic, 
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
lician, german, german-x-2012-05-30, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, latin, latvian,
lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerman, n
german-x-2012-05-30, nynorsk, oriya, panjabi, pinyin, polish, portuguese, roman
ian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swissgerm
an, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, usengl
ishmax, welsh, loaded.

("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\book.cls"
Document Class: book 2007/10/19 v1.4h Standard LaTeX document class
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\bk10.clo"
File: bk10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@chapter=\count80
\c@section=\count81
\c@subsection=\count82
\c@subsubsection=\count83
\c@paragraph=\count84
\c@subparagraph=\count85
\c@figure=\count86
\c@table=\count87
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
) ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\fontenc.sty"
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\t1enc.def"
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info:Redeclaring font encoding T1 on input line 43.
)) ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\inputenc.sty"
Package: inputenc 2008/03/30 v1.1d Input encoding file
\inpenc@prehook=\toks14
\inpenc@posthook=\toks15
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\latin9.def"
File: latin9.def 2008/03/30 v1.1d Input encoding file
)) ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\geometry\geometry.sty"
Package: geometry 2010/09/12 v5.6 Page Geometry
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\keyval.sty"
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks16
) ("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\ifpdf.sty"
Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in PDF mode is detected.
) ("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\ifvtex.sty"
Package: ifvtex 2010/03/01 v1.5 Detect VTeX and its facilities (HO)
Package ifvtex Info: VTeX not detected.
) ("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\ifxetex\ifxetex.sty"
Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
)
\Gm@cnth=\count88
\Gm@cntv=\count89
\c@Gm@tempcnt=\count90
\Gm@bindingoffset=\dimen103
\Gm@wd@mp=\dimen104
\Gm@odd@mp=\dimen105
\Gm@even@mp=\dimen106
\Gm@layoutwidth=\dimen107
\Gm@layoutheight=\dimen108
\Gm@layouthoffset=\dimen109
\Gm@layoutvoffset=\dimen110
\Gm@dimlist=\toks17
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\geometry\geometry.cfg")) ("C:\Pro
gram Files (x86)\MiKTeX 2.9\tex\latex\graphics\color.sty"
Package: color 2005/11/14 v1.0j Standard LaTeX Color (DPC)
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\00miktex\color.cfg"
File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
)
Package color Info: Driver file: pdftex.def on input line 130.
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\pdftex-def\pdftex.def"
File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX
("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\infwarerr.sty"
Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO)
) ("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\ltxcmds.sty"
Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
)
\Gread@gobject=\count91
)) ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\tools\verbatim.sty"
Package: verbatim 2003/08/22 v1.5q LaTeX2e package for verbatim enhancements
\every@verbatim=\toks18
\verbatim@line=\toks19

Re: from mac to windows

2013-02-24 Thread Scott Kostyshak
On Sun, Feb 24, 2013 at 6:48 AM, Cecile Danilo  wrote:
> Hello everyone!
>
> Here is (again) a quick description of my problem:
>
>
> I created my lyx files with a mac, I am now using a windows computer and
> can't create the pdf of the files created with the mac. I have no problem if
> I compile files created with windows. I send you one of the files that works
> with mac but not with windows.
> I use LyX-2.0.5.1
>
> and a more complete description of the problem:
>
> When I try to generate a pdflatex file I first have the following message:
> “Do you autorize the MikTex package manager to modify the computer?”
> and then this error message:
> “Latex Error: File ‘amsthm.sty’ not found”

Hi,

You have to install the package that has the amsthm.sty file in
MiKTeX. The package is probably called 'amsthm'.

After you do this, open LyX and go to Tools > reconfigure.

Scott


Re: from mac to windows

2013-02-24 Thread Cecile Danilo
I downloaded amscls2 and amsmath2 from 
http://www.ams.org/publications/authors/tex/amslatex but since the 
installation seems quite complicated for me I tryed to uninstall MikTex 
which I couldn t because the directory wasn t empty???

My question is : should I remove directly Miktex? will that uninstall it?


-Message d'origine- 
From: Scott Kostyshak

Sent: Sunday, February 24, 2013 1:05 PM
To: Cecile Danilo
Cc: John Kane ; Lyx List
Subject: Re: from mac to windows

On Sun, Feb 24, 2013 at 6:48 AM, Cecile Danilo  
wrote:

Hello everyone!

Here is (again) a quick description of my problem:


I created my lyx files with a mac, I am now using a windows computer and
can't create the pdf of the files created with the mac. I have no problem 
if
I compile files created with windows. I send you one of the files that 
works

with mac but not with windows.
I use LyX-2.0.5.1

and a more complete description of the problem:

When I try to generate a pdflatex file I first have the following message:
“Do you autorize the MikTex package manager to modify the computer?”
and then this error message:
“Latex Error: File ‘amsthm.sty’ not found”


Hi,

You have to install the package that has the amsthm.sty file in
MiKTeX. The package is probably called 'amsthm'.

After you do this, open LyX and go to Tools > reconfigure.

Scott 



Re: bold matrix and vector. Need customization help.

2013-02-24 Thread Paul A . Rubin
I would use a math macro (section 22.2 of Help > Math). Create the macro
somewhere near the front of the document (Insert > Math > Macro inside a math
inset). If the symbol you are bolding is always 'x', define a macro with an easy
to type name (say \XX or \bX) that has no arguments and inserts the LaTeX code
including the 'x'. If you have a few symbols, maybe do one such macro for each.
If you have a lot of symbols, create a macro (say \bv) that takes an argument
and then hit every vector over the head with it (replace 'x' with '\bv{x}' 
etc.).

Paul



Re: from mac to windows

2013-02-24 Thread Stephan Witt
Am 24.02.2013 um 18:59 schrieb Cecile Danilo :

> I downloaded amscls2 and amsmath2 from 
> http://www.ams.org/publications/authors/tex/amslatex but since the 
> installation seems quite complicated for me I tryed to uninstall MikTex which 
> I couldn t because the directory wasn t empty???
> My question is : should I remove directly Miktex? will that uninstall it?

How did you install LyX (and MikTeX)? 

AFAIK the LyX installer for Windows tries hard to assist you to install the 
required packages.

How did you manage to get asked from MikTeX to install the amsthm.sty package 
and later it's missing? I'm not a MikTeX user, but either you are a LaTeX 
package manager like MikTeX or you have to add missing packages manually. You 
should avoid to mix these or you should know what you're doing.

You didn't say anything about your Windows version, or did I miss it?

Regards,
Stephan

> -Message d'origine- From: Scott Kostyshak
> Sent: Sunday, February 24, 2013 1:05 PM
> To: Cecile Danilo
> Cc: John Kane ; Lyx List
> Subject: Re: from mac to windows
> 
> On Sun, Feb 24, 2013 at 6:48 AM, Cecile Danilo  wrote:
>> Hello everyone!
>> 
>> Here is (again) a quick description of my problem:
>> 
>> 
>> I created my lyx files with a mac, I am now using a windows computer and
>> can't create the pdf of the files created with the mac. I have no problem if
>> I compile files created with windows. I send you one of the files that works
>> with mac but not with windows.
>> I use LyX-2.0.5.1
>> 
>> and a more complete description of the problem:
>> 
>> When I try to generate a pdflatex file I first have the following message:
>> “Do you autorize the MikTex package manager to modify the computer?”
>> and then this error message:
>> “Latex Error: File ‘amsthm.sty’ not found”
> 
> Hi,
> 
> You have to install the package that has the amsthm.sty file in
> MiKTeX. The package is probably called 'amsthm'.
> 
> After you do this, open LyX and go to Tools > reconfigure.
> 
> Scott 



Re: from mac to windows

2013-02-24 Thread Cecile Danilo
I downloaded  LyX-2.0.5.1-Bundle-4.exe from http://www.lyx.org/Download and 
I have windows 7.
When I install Lyx, Miktex asks me if I want to install missing packages on 
the fly, of course I click "Yes". It doesn t tell me anything about 
amsthm.sty  and later Miktex aks me if i want to update it. The first time I 
said yes.


While searching on the web how to install amsthm, I found that I was not the 
only one to have a problem with the amsthm! 
(http://latex-community.org/home/news/46-news-latex-distributions/469-miktex-amsmath)
I reinstall lyx and this time I refuse the update of Miktex and ... now it 
works!! The only annoying thing is that Miktex keeps asking me if I let it 
modify my computer when I want to create the pdf...


Cecile



-Message d'origine- 
From: Stephan Witt

Sent: Sunday, February 24, 2013 9:28 PM
To: Cecile Danilo
Cc: lyx-users@lists.lyx.org
Subject: Re: from mac to windows

Am 24.02.2013 um 18:59 schrieb Cecile Danilo :

I downloaded amscls2 and amsmath2 from 
http://www.ams.org/publications/authors/tex/amslatex but since the 
installation seems quite complicated for me I tryed to uninstall MikTex 
which I couldn t because the directory wasn t empty???

My question is : should I remove directly Miktex? will that uninstall it?


How did you install LyX (and MikTeX)?

AFAIK the LyX installer for Windows tries hard to assist you to install the 
required packages.


How did you manage to get asked from MikTeX to install the amsthm.sty 
package and later it's missing? I'm not a MikTeX user, but either you are a 
LaTeX package manager like MikTeX or you have to add missing packages 
manually. You should avoid to mix these or you should know what you're 
doing.


You didn't say anything about your Windows version, or did I miss it?

Regards,
Stephan


-Message d'origine- From: Scott Kostyshak
Sent: Sunday, February 24, 2013 1:05 PM
To: Cecile Danilo
Cc: John Kane ; Lyx List
Subject: Re: from mac to windows

On Sun, Feb 24, 2013 at 6:48 AM, Cecile Danilo  
wrote:

Hello everyone!

Here is (again) a quick description of my problem:


I created my lyx files with a mac, I am now using a windows computer and
can't create the pdf of the files created with the mac. I have no problem 
if
I compile files created with windows. I send you one of the files that 
works

with mac but not with windows.
I use LyX-2.0.5.1

and a more complete description of the problem:

When I try to generate a pdflatex file I first have the following 
message:

“Do you autorize the MikTex package manager to modify the computer?”
and then this error message:
“Latex Error: File ‘amsthm.sty’ not found”


Hi,

You have to install the package that has the amsthm.sty file in
MiKTeX. The package is probably called 'amsthm'.

After you do this, open LyX and go to Tools > reconfigure.

Scott 




Re: bold matrix and vector. Need customization help.

2013-02-24 Thread Paul Johnson
On Sun, Feb 24, 2013 at 1:43 PM, Paul A. Rubin  wrote:
> I would use a math macro (section 22.2 of Help > Math). Create the macro
> somewhere near the front of the document (Insert > Math > Macro inside a math
> inset). If the symbol you are bolding is always 'x', define a macro with an 
> easy
> to type name (say \XX or \bX) that has no arguments and inserts the LaTeX code
> including the 'x'. If you have a few symbols, maybe do one such macro for 
> each.
> If you have a lot of symbols, create a macro (say \bv) that takes an argument
> and then hit every vector over the head with it (replace 'x' with '\bv{x}' 
> etc.).
>

Thanks. This is what I was trying before.  Alls well that ends well.
Your comment made me try harder to wade through  the documentation.
This is difficult to describe.

In case another user needs help with LyX macros, here is what I found out.

I hit the "\foo :=" button to create my macro.

That opens a box with 3 parts. There's the macro definition, and two
boxes that say TeX and LyX.

When I start, I see like this
__
\newmacroname:  |_|  |_|
  TeX LyX

First, rename the thing on the left. It provides the starting
backslash, Don't add another one. Just replace the letters
"newmacroname" with "vb" or something nice.

Caution: the macroname must also include the argument definition.  You
must not simply type "vb{#1}", even if that is what you really want.
If you type {#1}, LyX will show that in big blue letters. It is trying
to make "#1" part of the name, rather than an argument.

LyX GUI has a tool to define the argument.  When you open the macro
editor, LyX pops up a menu similar to the math editor. Use that! In
there I choose the two green braces like {} with a popup "append
argument". Hit that button, and the macro editor inserts {#1} at the
end of your macro name and it also plops a #1 into the "TeX" box.

The documentation says, "The wanted formula is inserted in the first
blue box."  How it gets in there is the big mystery to me.

After I did the "append argument" button, the last two boxes look like this:
 _  _
|#1|  |_|
TeX LyX

It is a bit tricky to put the desired macros into the box on the left.
You can't just type them. My first try was to just type;

\bm{\mathrm{#1}}

Epic fail. Just as I could not type #1 in my macro name, I can't type
it here. Typing #1 leads to a big blue #1, where LyX thinks I mean the
math symbols are #1, not that I mean the argument placeholder.

So I have to go back and figure a way to enter my \bm{\mathrm{}} so
that wraps itself around the #1 that the append argument button
inserted for me.

I've not found a perfectly safe way to do that.  I highlight the #1 in
the little box, then what?

When I type in \bm, that "disappears".  Then I type \mathrm, it
disappears.  Which to type first? My first guess was that I'd type
"\mathrm" as the inner argument, and then \bm.
That's backwards, It turns out.

I get a different result if I write the macro as \mathrm{\bm{}} or
\bm{\mathrm{}}, so getting the macro correct is a hit-and-miss
proposition.  With View Source turned on, I can see that LyX is
creating markup for my macro like this:

\global\long\def\vb#1{\mathrm{\bm{#1}}}

That has \mathrm and \bm backwards. After some fiddling, the view
source shows me this:

\global\long\def\vb#1{\bm{\mathrm{#1}}}

And then my \vb math macro seems to work as intended.

What goes in the little box called "LyX"? I don't know.

Maybe section 22.2 of Math begins with a too-difficult example.

pj


> Paul
>



-- 
Paul E. Johnson
Professor, Political Science  Assoc. Director
1541 Lilac Lane, Room 504  Center for Research Methods
University of Kansas University of Kansas
http://pj.freefaculty.org   http://quant.ku.edu


Re: bold matrix and vector. Need customization help.

2013-02-24 Thread Paul A . Rubin
Paul Johnson  gmail.com> writes:

> 
> Hit that button, and the macro editor inserts {#1} at the
> end of your macro name and it also plops a #1 into the "TeX" box.
> 
> The documentation says, "The wanted formula is inserted in the first
> blue box."  How it gets in there is the big mystery to me.

Just type it in. If you want to molest the automatically supplied argument (#1),
just highlight it and then type a command. For instance, if you highlight #1 and
type '\bm' followed by a space, the body of the macro becomes '\bm{#1}'.

If you need to repeat the argument (for instance, you want #1+#1 for some
reason), you can insert additional copies by typing '\#1'.
> 
> After I did the "append argument" button, the last two boxes look like this:
>  _  _
> |#1|  |_|
> TeX LyX
> 
> It is a bit tricky to put the desired macros into the box on the left.
> You can't just type them. My first try was to just type;
> 
> \bm{\mathrm{#1}}
> 
> Epic fail. Just as I could not type #1 in my macro name, I can't type
> it here. Typing #1 leads to a big blue #1, where LyX thinks I mean the
> math symbols are #1, not that I mean the argument placeholder.

Just escape the hash sign with a backslash.

> 
> What goes in the little box called "LyX"? I don't know.

This is what you want LyX to display in the math inset. The default, I think, is
to display LyX's representation of the result if you used commands that LyX
knows (it knows, for instance, that \bm means show the content in bold) and a
verbatim repeat of the macro body otherwise. Note to the documentation team:
unlike in earlier versions of the math manual, I did not see this explained in
section 22.2 of the current version!

Paul





Math macro editing style

2013-02-24 Thread Paul A . Rubin
I'm running LyX 2.0.5.1 on Linux Mint (equivalent to Ubuntu Quantal). The Math
help manual pointed me to Tools > Preferences > Editing > Control, which has a
drop-down menu of three choices for what math macro editing should look like. I
tried all three and could not see any difference in the macro editing. (I even
saved the choice and restarted LyX.) Am I missing something?

Thanks,
Paul




Re: Share LaTeX

2013-02-24 Thread Scott Kostyshak
On Mon, Feb 18, 2013 at 8:59 AM, Rich Shepard  wrote:
> On Mon, 18 Feb 2013, UD wrote:
>
>> A similar thing for Lyx would be nice, wouldn't it?

Do you just mean compile .lyx files on the cloud? Or do you mean a
complete LyX editor in a web browser? Is the idea that this would be
useful if you don't want to install anything on your computer or if
you want to be able to work from any computer (e.g. at the library)?
But for this one could just ssh with X into a computer that has LyX,
no?

Here are more such services:
http://www.texdev.net/2013/02/24/latex-online-options-continue-to-grow/

Scott