Re: enumitem.module in Lyx 2

2011-12-12 Thread Guenter Milde
On 2011-12-11, Liviu Andronic wrote:
 On Fri, Dec 9, 2011 at 8:25 PM, Guenter Milde mi...@users.sf.net wrote:
 My question is why the InsertShort title option is greyed out.
 Should not it work with the labeling and enumerate-resume list types
 as well? How could I make it work?

 Labeling is LyX's own special thing, and is not handled by enumitem.

 In my LyX 2.x SVN, it is handled by enumitem.
 And inserting options with the misnamed InsertShort Title into a labeling
 works, too.

 I'm not suer what's wrong, but I think I'm seeing this issue, too (in
 both 2.0.x and 2.1 SVN). For one, I cannot insert a short title. But
 worst is that when I look into enumitem.lyx and specifically at the
 last example that suggests that the environment also takes an
 optional argument, here is what I get in the View Source:
 It also takes an optional argument:
 \begin{elabeling}{withNN}
 \item [{nice}] description
 \item [{with}] several items and
 \item [{including~one~very~long~label}] and the item content starting
 at the next line.\end{elabeling}

 The above completely ignores the 'style=nextline' inserted in the
 'opt' inset. When I write anything else in the inset, the Source pane
 dully ignores it. Something is wrong.

It seems the latest update

# 2011-01-12 bugfix: set elabeling label font to \normalfont.

has broken this. 

In my local ~/.lyx-svn/layouts folder, I have the previous version that
fully defines the Labeling style while the 2011-01-12 version seems to
inherit from stdlists.inc.

The following patch should fix the issue:

@@ -72,6 +72,7 @@ Input stdlyxlist.inc
 
 Style Labeling
LatexName elabeling
+   OptionalArgs  1
# FIXME This should probably be defined using \newlist instead
Preamble
% labeling-like list based on enumitem's description list with


Günter  



g-brief gotcha

2011-12-12 Thread Gour
Hello!

I'd like to use LyY for writing letters and not only for books since I
cannot tolerate bloat of OO/LibreOffice any longer. :-)

However, attempt to use g-brief-en says that: Important note: This
template uses the old „g-brief” class that is replaced by the new class
version „g-brief2”. Therefore, it is recommended that you use template
„g-brief2” instead. This template is available for compatibility reasons
only., but when I try with g-brief2 I see:

The selected document class letter (g-brief2) requires external files
that are not available.  The document class can still be used, but the
document cannot be compiled until the following prerequisites are
installed:  europs.sty See section 3.1.2.2 (Class Availability) of
the User's Guide for more information.

Any hint how to proceed?

I'm running lyx-2.0.1 under Archlinux x86_64.


Sincerely,
Gour

-- 
The spirit soul bewildered by the influence of false ego thinks 
himself the doer of activities that are in actuality carried out 
by the three modes of material nature.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


Re: g-brief gotcha

2011-12-12 Thread Dr Eberhard Lisse
Use the Koma Letter. Much better.

el


on 2011-12-12 11:18 Gour said the following:
 Hello!
 
 I'd like to use LyY for writing letters and not only for books since I
 cannot tolerate bloat of OO/LibreOffice any longer. :-)
 
 However, attempt to use g-brief-en says that: Important note: This
 template uses the old „g-brief” class that is replaced by the new class
 version „g-brief2”. Therefore, it is recommended that you use template
 „g-brief2” instead. This template is available for compatibility reasons
 only., but when I try with g-brief2 I see:
 
 The selected document class letter (g-brief2) requires external files
 that are not available.  The document class can still be used, but the
 document cannot be compiled until the following prerequisites are
 installed:europs.sty See section 3.1.2.2 (Class Availability) of
 the User's Guide for more information.
 
 Any hint how to proceed?
 
 I'm running lyx-2.0.1 under Archlinux x86_64.
 
 
 Sincerely,
 Gour
 




Layout for KOMA-script article class?

2011-12-12 Thread Eric Weir

I am leaning towards adopting the KOMA-script package as the base for 
developing my own very simple standard format[s]. I'm wondering if anyone out 
there has a relatively simple layout for the KOMA-script article class that I 
might take a look at.

Thanks,
--
Eric Weir
Decatur, GA 
eew...@bellsouth.net

What does it mean...that the world is so beautiful? 

- Mary Oliver 








Re: Layout for KOMA-script article class?

2011-12-12 Thread Richard Heck
On 12/12/2011 08:41 AM, Eric Weir wrote:

 I am leaning towards adopting the KOMA-script package as the base for
 developing my own very simple standard format[s]. I'm wondering if
 anyone out there has a relatively simple layout for the KOMA-script
 article class that I might take a look at.

The scrartcl.layout file is a layout for that class. Do you mean
something else?

Richard



Circumflex

2011-12-12 Thread Bruce Pourciau
OK, I'm sure this must be a silly question, but why, when I enter in  
ERT \ˆ{e}, to get a circumflex over the e, does my document stop being  
viewable?


Bruce

Re: Circumflex

2011-12-12 Thread Manolo Martínez
On 12/12/11 at 09:07am, Bruce Pourciau wrote:
 OK, I'm sure this must be a silly question, but why, when I enter in
 ERT \ˆ{e}, to get a circumflex over the e, does my document stop
 being viewable?
 
 Bruce

Why don't you enter ê in plain text? LyX (mine at least) takes care of that.

-- 


Re: Circumflex

2011-12-12 Thread Bruce Pourciau


On Dec 12, 2011, at 9:13 AM, Manolo Martínez wrote:


On 12/12/11 at 09:07am, Bruce Pourciau wrote:

OK, I'm sure this must be a silly question, but why, when I enter in
ERT \ˆ{e}, to get a circumflex over the e, does my document stop
being viewable?

Bruce


Why don't you enter ê in plain text? LyX (mine at least) takes care  
of that.


--


Yes, thank you, that works. But I still wonder about my question.

Bruce

Re: Circumflex

2011-12-12 Thread Manolo Martínez
On 12/12/11 at 09:32am, Bruce Pourciau wrote:
 Yes, thank you, that works. But I still wonder about my question.
 
The ERT version works for me, too...
-- 


argmax operator?

2011-12-12 Thread Ignacio Martinez
Hi I'm trying to add the operator argmax to my LyX document.

I added the following to my preamble:

\DeclareMathOperator*{\argmax}{arg\,max}


But is not working. I write in math mode \argmax but the operator does not
work.


What am I doing wrong?


Thanks!


-Ignacio


Re: Circumflex

2011-12-12 Thread Guenter Milde
On 2011-12-12, Bruce Pourciau wrote:
 OK, I'm sure this must be a silly question, but why, when I enter in  
 ERT \ˆ{e}, to get a circumflex over the e, does my document stop being  
 viewable?

If the character you used in LyX is the same as here:

Character 'ˆ' (710, 0x2C6)
02C6MODIFIER LETTER CIRCUMFLEX ACCENT

it is because it is not the ASCII-circumflex

Character '^' (94, 0x5E)
005ECIRCUMFLEX ACCENT

and hence an unknown command.

Günter




Re: Layout for KOMA-script article class?

2011-12-12 Thread Eric Weir

On Dec 12, 2011, at 9:54 AM, Richard Heck wrote:

 On 12/12/2011 08:41 AM, Eric Weir wrote:
 
 I am leaning towards adopting the KOMA-script package as the base for
 developing my own very simple standard format[s]. I'm wondering if
 anyone out there has a relatively simple layout for the KOMA-script
 article class that I might take a look at.
 
 The scrartcl.layout file is a layout for that class. Do you mean
 something else?

No, that's it. I didn't find it in the LyX folder in my user directory. I see 
there are layouts for all the KOMA classes in the layouts folder in the LyX 
package.  Should I copy them into the layouts folder in my user directory? It's 
currently empty.

While I'm at it. Is there any reason I should keep my LyX 1.6 installation? [I 
just updated recently.] Likewise--at the risk of being scolded by Liviu again 
-;)--in hanging onto my TeX Live 2010 distribution?

Thanks,
--
Eric Weir
Decatur, GA
eew...@bellsouth.net

Style is truth. 

- Ray Bradbury



Re: Layout for KOMA-script article class?

2011-12-12 Thread Rich Shepard

On Mon, 12 Dec 2011, Eric Weir wrote:


No, that's it. I didn't find it in the LyX folder in my user directory. I
see there are layouts for all the KOMA classes in the layouts folder in
the LyX package.  Should I copy them into the layouts folder in my user
directory? It's currently empty.


Eric,

  As long as LyX knows where to look you'll be OK. I don't keep a separate
layout subdirectory; it's just more to maintain.


While I'm at it. Is there any reason I should keep my LyX 1.6
installation? [I just updated recently.] Likewise--at the risk of being
scolded by Liviu again -;)--in hanging onto my TeX Live 2010 distribution?


  No. No. If you have a current LyX release it will automagically convert
earlier version documents when you open them. Can't go backwards, but
there's no reason to do so.

  There are apparently version incompatibilities from one TeXLive release to
the next. The Slackware protocol is to build the latest, then uninstall the
earlier version before installing the current version. That avoids an
potential problems. Also, if you have more than a single version of any
application the system might not know which one to use, or might use parts
of both. Not good.

Rich


Re: Layout for KOMA-script article class?

2011-12-12 Thread Eric Weir

On Dec 12, 2011, at 12:49 PM, Rich Shepard wrote:

 On Mon, 12 Dec 2011, Eric Weir wrote:
 
 I'm on a Mac, so you may not be able to answer, though I imagine the
 setups on Linux are similar, but if I delete the /texlive/2010 folder in
 my system directory will that take care of it, or are there other folders
 I need to get rid of.
 
 Likewise, the only place I know of duplication of LyX folders is in my
 user directory, specifically ~/library/application support. If I delete
 the 1.6 folder there will that do the job?
 
 Eric,
 
  I know nothing about Mac OS/X. If there's a tool to delete applications,
 use that on TeXLive. While you can delete the /texlive/2010/ directory that
 does not mean all relevant files are gone. You probably have some in the
 /bin (binary) and /lib (library) directories.
 
 I'd keep ~/library/application. On my systems running LyX-2.0.2 under
 Tools - Preferences - Paths the second item is document templates. Here
 that is set to /usr/share/lyx/templates. You probably have something
 similar.

Thanks, Rich. I have two cleaners, but they don't distinguish between the two 
installations of lyx. I used one to delete just two files that were clearly 
associated with the 1.6 installation. 

Likewise, they pick up some of the applications that come in the tex live 
distribution, but not any of the files. I found some what seem to be 
tex-related files in /usr/bin, was unable to identify any in /usr/lib, and what 
I take to be an alias--texbin--linked to a large number of TeX-related 
binaries. I'm going to delete the /usr/local/texlive/2010 folder and hope that 
gets rid of everything, since there seems to be no clear duplication anywhere 
else.  

If anyone can point me to other live 2010 folders or files that should be 
deleted I would appreciate it. 

And I will not continue raising tex-related questions here. I've signed up for 
one of the lists specific to it, but could not tell from the description, and 
have not received enough messages from it to tell, whether it's an appropriate 
place for a new user like myself to get help.

Sincerely,
--
Eric Weir
Decatur, GA
eew...@bellsouth.net

Style is truth. 

- Ray Bradbury



How to get two authors with centered institutions below on title page?

2011-12-12 Thread CP
Hi,

I'm trying to align two author names with their respective institutions
(centered) below their names. Does anyone have any ideas? Is there an add-on for
this?

Thanks!



Re: Layout for KOMA-script article class?

2011-12-12 Thread Rich Shepard

On Mon, 12 Dec 2011, Eric Weir wrote:


I have two cleaners, but they don't distinguish between the two
installations of lyx. I used one to delete just two files that were
clearly associated with the 1.6 installation.


  Well, if I was doing this I'd let the cleaner(s) remove all LyX files,
then re-install the latest version.

  Does OS/X have an upgrade tool as well as an install tool? The former
should remove old versions prior to installing the new version.

Rich


Re: How to get two authors with centered institutions below on title page?

2011-12-12 Thread Rich Shepard

On Mon, 12 Dec 2011, CP wrote:


I'm trying to align two author names with their respective institutions
(centered) below their names. Does anyone have any ideas? Is there an
add-on for this?


  What I'd do is enter an author's name in the Author environment, then use
ctrl-Enter to keep the next line in the same environment. Enter the
institution on that line new line. Then either space down (with the [Enter]
key) and repeat or keep all lines together in the same environment with
ctrl-Enter.

Rich


Re: Layout for KOMA-script article class?

2011-12-12 Thread Eric Weir

On Dec 12, 2011, at 2:44 PM, Rich Shepard wrote:

 On Mon, 12 Dec 2011, Eric Weir wrote:
 
 I have two cleaners, but they don't distinguish between the two
 installations of lyx. I used one to delete just two files that were
 clearly associated with the 1.6 installation.
 
  Well, if I was doing this I'd let the cleaner(s) remove all LyX files,
 then re-install the latest version.
 
  Does OS/X have an upgrade tool as well as an install tool? The former
 should remove old versions prior to installing the new version.

Thanks, Rich. Didn't think of that. I'll do it.

OS X handles updating of Apple software fine. I don't know of a tool for other 
apps.

Regards,
--
Eric Weir
 Clairemont Avenue J3 ~ Decatur, GA 30030
404-636-6142 ~ eew...@bellsouth.net



Re: Layout for KOMA-script article class?

2011-12-12 Thread Stephan Witt
Am 12.12.2011 um 20:25 schrieb Eric Weir:

 
 On Dec 12, 2011, at 12:49 PM, Rich Shepard wrote:
 
 On Mon, 12 Dec 2011, Eric Weir wrote:
 
 I'm on a Mac, so you may not be able to answer, though I imagine the
 setups on Linux are similar, but if I delete the /texlive/2010 folder in
 my system directory will that take care of it, or are there other folders
 I need to get rid of.
 
 Likewise, the only place I know of duplication of LyX folders is in my
 user directory, specifically ~/library/application support. If I delete
 the 1.6 folder there will that do the job?
 
 Eric,
 
 I know nothing about Mac OS/X. If there's a tool to delete applications,
 use that on TeXLive. While you can delete the /texlive/2010/ directory that
 does not mean all relevant files are gone. You probably have some in the
 /bin (binary) and /lib (library) directories.
 
 I'd keep ~/library/application. On my systems running LyX-2.0.2 under
 Tools - Preferences - Paths the second item is document templates. Here
 that is set to /usr/share/lyx/templates. You probably have something
 similar.
 
 Thanks, Rich. I have two cleaners, but they don't distinguish between the two 
 installations of lyx. I used one to delete just two files that were clearly 
 associated with the 1.6 installation. 

Eric,

on Mac OS X LyX 1.6.x uses ~/Library/Application Support/LyX-1.6 and LyX 2.0.x 
uses ~/Library/Application Support/LyX-2.0

If you want to continue your work using (and let LyX 2.0 automatically 
converting) the 1.6 preferences 
you should copy the directory LyX-1.6 to LyX-2.0 - there is no need to remove 
the old preferences.
If you want to start from scratch LyX 2.0 will create a new preferences 
directory and use default
settings. If you want to use LyX 1.6 in parallel you should rename 
/Applications/LyX.app before
moving the new LyX.app to the /Applications folder. AFAIK, there is no need for 
a cleaner to 
deinstall LyX 1.6 - you can use them alternatively.

Anyway, LyX 2.0 will convert your documents to the current stable file format 
if it is needed.
On the other hand the latest 1.6 version should be able to open these 
documents. But you should
make a backup resp. a copy of all documents you plan to process with 1.6 later.
But you have a Time Machine backup anyway, don't you?

All these steps are LyX related. The update/upgrade of your TeXLive 
installation is another
story you should read at their home page.

Stephan

Re: Circumflex

2011-12-12 Thread Bruce Pourciau


On Dec 12, 2011, at 10:25 AM, Guenter Milde wrote:


On 2011-12-12, Bruce Pourciau wrote:

OK, I'm sure this must be a silly question, but why, when I enter in
ERT \ˆ{e}, to get a circumflex over the e, does my document stop  
being

viewable?


If the character you used in LyX is the same as here:

Character 'ˆ' (710, 0x2C6)
02C6MODIFIER LETTER CIRCUMFLEX ACCENT

it is because it is not the ASCII-circumflex

Character '^' (94, 0x5E)
005ECIRCUMFLEX ACCENT

and hence an unknown command.

Günter




Thank you, Günter. That's the problem. I formed the circumflex by  
doing option-i on a Mac keyboard, and this apparently produces  
character (710, 0x2C6), according to


http://homepage.mac.com/nellisks/tools/char_val.html?c=ˆ

Bruce

Re: Circumflex

2011-12-12 Thread Xu Wang
On Mon, Dec 12, 2011 at 3:33 PM, Bruce Pourciau 
bruce.h.pourc...@lawrence.edu wrote:


 On Dec 12, 2011, at 10:25 AM, Guenter Milde wrote:

  On 2011-12-12, Bruce Pourciau wrote:

 OK, I'm sure this must be a silly question, but why, when I enter in
 ERT \ˆ{e}, to get a circumflex over the e, does my document stop being
 viewable?


 If the character you used in LyX is the same as here:

 Character 'ˆ' (710, 0x2C6)
 02C6MODIFIER LETTER CIRCUMFLEX ACCENT

 it is because it is not the ASCII-circumflex

 Character '^' (94, 0x5E)
 005ECIRCUMFLEX ACCENT

 and hence an unknown command.

 Günter



 Thank you, Günter. That's the problem. I formed the circumflex by doing
 option-i on a Mac keyboard, and this apparently produces character (710,
 0x2C6), according to

 http://homepage.mac.com/**nellisks/tools/char_val.html?**c=ˆhttp://homepage.mac.com/nellisks/tools/char_val.html?c=%CB%86

 Bruce


Out of curiosity, does compiling with LuaTeX or XeTeX (instead of pdflatex)
allow you to use the other circumflex?

Xu


Re: Layout for KOMA-script article class?

2011-12-12 Thread Eric Weir

On Dec 12, 2011, at 3:26 PM, Stephan Witt wrote:

 on Mac OS X LyX 1.6.x uses ~/Library/Application Support/LyX-1.6 and LyX 
 2.0.x uses ~/Library/Application Support/LyX-2.0
 
 If you want to continue your work using (and let LyX 2.0 automatically 
 converting) the 1.6 preferences 
 you should copy the directory LyX-1.6 to LyX-2.0 - there is no need to remove 
 the old preferences.
 If you want to start from scratch LyX 2.0 will create a new preferences 
 directory and use default
 settings. If you want to use LyX 1.6 in parallel you should rename 
 /Applications/LyX.app before
 moving the new LyX.app to the /Applications folder. AFAIK, there is no need 
 for a cleaner to 
 deinstall LyX 1.6 - you can use them alternatively.
 
 Anyway, LyX 2.0 will convert your documents to the current stable file format 
 if it is needed.
 On the other hand the latest 1.6 version should be able to open these 
 documents. But you should
 make a backup resp. a copy of all documents you plan to process with 1.6 
 later.
 But you have a Time Machine backup anyway, don't you?

Yes, I do have a Time Machine, and it's saved my rear end a few times.

One thing that's relevant, and that I should keep saying, is that I'm a 
beginner with Lyx/LaTeX/TeX. The only LyX documents I had that were created 
with 1.6 were those I created doing the tutorial. I have one other document 
that's a real one that was created with 2.02. So on Richard's suggestion I'm 
starting over with a clean install of 2.02. All my work on that last document 
was done in the document. I didn't do much configuring of LyX. I think the only 
thing was to put in the Foot to End module. I'm assuming that the rest of the 
work, which was not all that substantial, either, is preserved in the document. 
If not, it won't take much to redo it. 

If been reading up on customizing LyX, but the more I learn the more questions 
I have swimming around in my head. I'm found the KOMA article layout, but I'm 
not sure how to use it yet. I have references to help me with it, though. Also 
very uncertain about managing citations and bibliography. Inclined toward 
biblatex and biber but really, really vague about all of that. I have a fair 
bit of bibliography-related stuff stored in Zotero. I think getting it from 
there to whatever citation-bibliography manager I end up with won't be that 
much of a problem. Selecting and using a citation-bibloigrahy manager is 
another matter.
   
 All these steps are LyX related. The update/upgrade of your TeXLive 
 installation is another
 story you should read at their home page.

Yes, I was not clear about that. I'll do my best to keep them separate in the 
future. Once I start getting mail from the TeX list to which I've subscribed I 
definitely will.

Thanks again.
--
Eric Weir
Decatur, GA 
eew...@bellsouth.net

What does it mean...that the world is so beautiful? 

- Mary Oliver 








Re: Layout for KOMA-script article class?

2011-12-12 Thread Guenter Milde
On 2011-12-12, Eric Weir wrote:
 On Dec 12, 2011, at 9:54 AM, Richard Heck wrote:
 On 12/12/2011 08:41 AM, Eric Weir wrote:

 I am leaning towards adopting the KOMA-script package as the base for
 developing my own very simple standard format[s]. I'm wondering if
 anyone out there has a relatively simple layout for the KOMA-script
 article class that I might take a look at.

 The scrartcl.layout file is a layout for that class. Do you mean
 something else?

 No, that's it. I didn't find it in the LyX folder in my user directory.
 I see there are layouts for all the KOMA classes in the layouts folder
 in the LyX package.  Should I copy them into the layouts folder in my
 user directory? It's currently empty.

Copy files from the system lyx dir to your user dir, if you want to
modify them. (Usually also rename them to avoid later confusion.)

 in hanging onto my TeX Live 2010
 distribution?

As long as you do not run into problems or limitations - keeping saves time
and bandwidth...

If you find a bug or feature wish in one of the packages or want to keep up
with the development of luatex, say, the developers will ask you to update
before reporting -- maybe the bug is long gone, the feature already
implemented and documented...

Günter



Re: SVG files with linked bitmap

2011-12-12 Thread Phil
Guenter Milde milde at users.sf.net writes:

 
 LyX copies *all* required files into a temporary directory in order not
 to pollute the working directory. (Earlier versions had an option to
 use the working directory (giving an empty value as path to the
 tempdir).)

The problem here is that is does not know about all the required files.  The
linked bitmap in the SVG is required but Lyx doesn't / can't know about it.

 As there are several use cases where compiling in the pwd is
 preferable, you might consider filing a feature request.

Is there a feature request tracker or is it the same as the bug tracker?

Phil




Zooming of graphics

2011-12-12 Thread Phil Fong
When you zoom in and out by adjusting the zoom setting in 
Tools-Preferences-Look  Feel-Screen Fonts or use ctrl+mouse wheel, 
the on-screen text changes size but not the graphics previews.  Is there a way 
to zoom in and out the graphics as well?  I know that you can change the 
graphics on-screen scaling in the graphic property setting window but that is 
not a quick change, it does not coordinate with the text zoom, and it goes into 
the document file so if you are collaborating with others it affects them.

Phil


Re: enumitem.module in Lyx 2

2011-12-12 Thread Guenter Milde
On 2011-12-11, Liviu Andronic wrote:
 On Fri, Dec 9, 2011 at 8:25 PM, Guenter Milde mi...@users.sf.net wrote:
 My question is why the InsertShort title option is greyed out.
 Should not it work with the labeling and enumerate-resume list types
 as well? How could I make it work?

 Labeling is LyX's own special thing, and is not handled by enumitem.

 In my LyX 2.x SVN, it is handled by enumitem.
 And inserting options with the misnamed InsertShort Title into a labeling
 works, too.

 I'm not suer what's wrong, but I think I'm seeing this issue, too (in
 both 2.0.x and 2.1 SVN). For one, I cannot insert a short title. But
 worst is that when I look into enumitem.lyx and specifically at the
 last example that suggests that the environment also takes an
 optional argument, here is what I get in the View Source:
 It also takes an optional argument:
 \begin{elabeling}{withNN}
 \item [{nice}] description
 \item [{with}] several items and
 \item [{including~one~very~long~label}] and the item content starting
 at the next line.\end{elabeling}

 The above completely ignores the 'style=nextline' inserted in the
 'opt' inset. When I write anything else in the inset, the Source pane
 dully ignores it. Something is wrong.

It seems the latest update

# 2011-01-12 bugfix: set elabeling label font to \normalfont.

has broken this. 

In my local ~/.lyx-svn/layouts folder, I have the previous version that
fully defines the Labeling style while the 2011-01-12 version seems to
inherit from stdlists.inc.

The following patch should fix the issue:

@@ -72,6 +72,7 @@ Input stdlyxlist.inc
 
 Style Labeling
LatexName elabeling
+   OptionalArgs  1
# FIXME This should probably be defined using \newlist instead
Preamble
% labeling-like list based on enumitem's description list with


Günter  



g-brief gotcha

2011-12-12 Thread Gour
Hello!

I'd like to use LyY for writing letters and not only for books since I
cannot tolerate bloat of OO/LibreOffice any longer. :-)

However, attempt to use g-brief-en says that: Important note: This
template uses the old „g-brief” class that is replaced by the new class
version „g-brief2”. Therefore, it is recommended that you use template
„g-brief2” instead. This template is available for compatibility reasons
only., but when I try with g-brief2 I see:

The selected document class letter (g-brief2) requires external files
that are not available.  The document class can still be used, but the
document cannot be compiled until the following prerequisites are
installed:  europs.sty See section 3.1.2.2 (Class Availability) of
the User's Guide for more information.

Any hint how to proceed?

I'm running lyx-2.0.1 under Archlinux x86_64.


Sincerely,
Gour

-- 
The spirit soul bewildered by the influence of false ego thinks 
himself the doer of activities that are in actuality carried out 
by the three modes of material nature.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


Re: g-brief gotcha

2011-12-12 Thread Dr Eberhard Lisse
Use the Koma Letter. Much better.

el


on 2011-12-12 11:18 Gour said the following:
 Hello!
 
 I'd like to use LyY for writing letters and not only for books since I
 cannot tolerate bloat of OO/LibreOffice any longer. :-)
 
 However, attempt to use g-brief-en says that: Important note: This
 template uses the old „g-brief” class that is replaced by the new class
 version „g-brief2”. Therefore, it is recommended that you use template
 „g-brief2” instead. This template is available for compatibility reasons
 only., but when I try with g-brief2 I see:
 
 The selected document class letter (g-brief2) requires external files
 that are not available.  The document class can still be used, but the
 document cannot be compiled until the following prerequisites are
 installed:europs.sty See section 3.1.2.2 (Class Availability) of
 the User's Guide for more information.
 
 Any hint how to proceed?
 
 I'm running lyx-2.0.1 under Archlinux x86_64.
 
 
 Sincerely,
 Gour
 




Layout for KOMA-script article class?

2011-12-12 Thread Eric Weir

I am leaning towards adopting the KOMA-script package as the base for 
developing my own very simple standard format[s]. I'm wondering if anyone out 
there has a relatively simple layout for the KOMA-script article class that I 
might take a look at.

Thanks,
--
Eric Weir
Decatur, GA 
eew...@bellsouth.net

What does it mean...that the world is so beautiful? 

- Mary Oliver 








Re: Layout for KOMA-script article class?

2011-12-12 Thread Richard Heck
On 12/12/2011 08:41 AM, Eric Weir wrote:

 I am leaning towards adopting the KOMA-script package as the base for
 developing my own very simple standard format[s]. I'm wondering if
 anyone out there has a relatively simple layout for the KOMA-script
 article class that I might take a look at.

The scrartcl.layout file is a layout for that class. Do you mean
something else?

Richard



Circumflex

2011-12-12 Thread Bruce Pourciau
OK, I'm sure this must be a silly question, but why, when I enter in  
ERT \ˆ{e}, to get a circumflex over the e, does my document stop being  
viewable?


Bruce

Re: Circumflex

2011-12-12 Thread Manolo Martínez
On 12/12/11 at 09:07am, Bruce Pourciau wrote:
 OK, I'm sure this must be a silly question, but why, when I enter in
 ERT \ˆ{e}, to get a circumflex over the e, does my document stop
 being viewable?
 
 Bruce

Why don't you enter ê in plain text? LyX (mine at least) takes care of that.

-- 


Re: Circumflex

2011-12-12 Thread Bruce Pourciau


On Dec 12, 2011, at 9:13 AM, Manolo Martínez wrote:


On 12/12/11 at 09:07am, Bruce Pourciau wrote:

OK, I'm sure this must be a silly question, but why, when I enter in
ERT \ˆ{e}, to get a circumflex over the e, does my document stop
being viewable?

Bruce


Why don't you enter ê in plain text? LyX (mine at least) takes care  
of that.


--


Yes, thank you, that works. But I still wonder about my question.

Bruce

Re: Circumflex

2011-12-12 Thread Manolo Martínez
On 12/12/11 at 09:32am, Bruce Pourciau wrote:
 Yes, thank you, that works. But I still wonder about my question.
 
The ERT version works for me, too...
-- 


argmax operator?

2011-12-12 Thread Ignacio Martinez
Hi I'm trying to add the operator argmax to my LyX document.

I added the following to my preamble:

\DeclareMathOperator*{\argmax}{arg\,max}


But is not working. I write in math mode \argmax but the operator does not
work.


What am I doing wrong?


Thanks!


-Ignacio


Re: Circumflex

2011-12-12 Thread Guenter Milde
On 2011-12-12, Bruce Pourciau wrote:
 OK, I'm sure this must be a silly question, but why, when I enter in  
 ERT \ˆ{e}, to get a circumflex over the e, does my document stop being  
 viewable?

If the character you used in LyX is the same as here:

Character 'ˆ' (710, 0x2C6)
02C6MODIFIER LETTER CIRCUMFLEX ACCENT

it is because it is not the ASCII-circumflex

Character '^' (94, 0x5E)
005ECIRCUMFLEX ACCENT

and hence an unknown command.

Günter




Re: Layout for KOMA-script article class?

2011-12-12 Thread Eric Weir

On Dec 12, 2011, at 9:54 AM, Richard Heck wrote:

 On 12/12/2011 08:41 AM, Eric Weir wrote:
 
 I am leaning towards adopting the KOMA-script package as the base for
 developing my own very simple standard format[s]. I'm wondering if
 anyone out there has a relatively simple layout for the KOMA-script
 article class that I might take a look at.
 
 The scrartcl.layout file is a layout for that class. Do you mean
 something else?

No, that's it. I didn't find it in the LyX folder in my user directory. I see 
there are layouts for all the KOMA classes in the layouts folder in the LyX 
package.  Should I copy them into the layouts folder in my user directory? It's 
currently empty.

While I'm at it. Is there any reason I should keep my LyX 1.6 installation? [I 
just updated recently.] Likewise--at the risk of being scolded by Liviu again 
-;)--in hanging onto my TeX Live 2010 distribution?

Thanks,
--
Eric Weir
Decatur, GA
eew...@bellsouth.net

Style is truth. 

- Ray Bradbury



Re: Layout for KOMA-script article class?

2011-12-12 Thread Rich Shepard

On Mon, 12 Dec 2011, Eric Weir wrote:


No, that's it. I didn't find it in the LyX folder in my user directory. I
see there are layouts for all the KOMA classes in the layouts folder in
the LyX package.  Should I copy them into the layouts folder in my user
directory? It's currently empty.


Eric,

  As long as LyX knows where to look you'll be OK. I don't keep a separate
layout subdirectory; it's just more to maintain.


While I'm at it. Is there any reason I should keep my LyX 1.6
installation? [I just updated recently.] Likewise--at the risk of being
scolded by Liviu again -;)--in hanging onto my TeX Live 2010 distribution?


  No. No. If you have a current LyX release it will automagically convert
earlier version documents when you open them. Can't go backwards, but
there's no reason to do so.

  There are apparently version incompatibilities from one TeXLive release to
the next. The Slackware protocol is to build the latest, then uninstall the
earlier version before installing the current version. That avoids an
potential problems. Also, if you have more than a single version of any
application the system might not know which one to use, or might use parts
of both. Not good.

Rich


Re: Layout for KOMA-script article class?

2011-12-12 Thread Eric Weir

On Dec 12, 2011, at 12:49 PM, Rich Shepard wrote:

 On Mon, 12 Dec 2011, Eric Weir wrote:
 
 I'm on a Mac, so you may not be able to answer, though I imagine the
 setups on Linux are similar, but if I delete the /texlive/2010 folder in
 my system directory will that take care of it, or are there other folders
 I need to get rid of.
 
 Likewise, the only place I know of duplication of LyX folders is in my
 user directory, specifically ~/library/application support. If I delete
 the 1.6 folder there will that do the job?
 
 Eric,
 
  I know nothing about Mac OS/X. If there's a tool to delete applications,
 use that on TeXLive. While you can delete the /texlive/2010/ directory that
 does not mean all relevant files are gone. You probably have some in the
 /bin (binary) and /lib (library) directories.
 
 I'd keep ~/library/application. On my systems running LyX-2.0.2 under
 Tools - Preferences - Paths the second item is document templates. Here
 that is set to /usr/share/lyx/templates. You probably have something
 similar.

Thanks, Rich. I have two cleaners, but they don't distinguish between the two 
installations of lyx. I used one to delete just two files that were clearly 
associated with the 1.6 installation. 

Likewise, they pick up some of the applications that come in the tex live 
distribution, but not any of the files. I found some what seem to be 
tex-related files in /usr/bin, was unable to identify any in /usr/lib, and what 
I take to be an alias--texbin--linked to a large number of TeX-related 
binaries. I'm going to delete the /usr/local/texlive/2010 folder and hope that 
gets rid of everything, since there seems to be no clear duplication anywhere 
else.  

If anyone can point me to other live 2010 folders or files that should be 
deleted I would appreciate it. 

And I will not continue raising tex-related questions here. I've signed up for 
one of the lists specific to it, but could not tell from the description, and 
have not received enough messages from it to tell, whether it's an appropriate 
place for a new user like myself to get help.

Sincerely,
--
Eric Weir
Decatur, GA
eew...@bellsouth.net

Style is truth. 

- Ray Bradbury



How to get two authors with centered institutions below on title page?

2011-12-12 Thread CP
Hi,

I'm trying to align two author names with their respective institutions
(centered) below their names. Does anyone have any ideas? Is there an add-on for
this?

Thanks!



Re: Layout for KOMA-script article class?

2011-12-12 Thread Rich Shepard

On Mon, 12 Dec 2011, Eric Weir wrote:


I have two cleaners, but they don't distinguish between the two
installations of lyx. I used one to delete just two files that were
clearly associated with the 1.6 installation.


  Well, if I was doing this I'd let the cleaner(s) remove all LyX files,
then re-install the latest version.

  Does OS/X have an upgrade tool as well as an install tool? The former
should remove old versions prior to installing the new version.

Rich


Re: How to get two authors with centered institutions below on title page?

2011-12-12 Thread Rich Shepard

On Mon, 12 Dec 2011, CP wrote:


I'm trying to align two author names with their respective institutions
(centered) below their names. Does anyone have any ideas? Is there an
add-on for this?


  What I'd do is enter an author's name in the Author environment, then use
ctrl-Enter to keep the next line in the same environment. Enter the
institution on that line new line. Then either space down (with the [Enter]
key) and repeat or keep all lines together in the same environment with
ctrl-Enter.

Rich


Re: Layout for KOMA-script article class?

2011-12-12 Thread Eric Weir

On Dec 12, 2011, at 2:44 PM, Rich Shepard wrote:

 On Mon, 12 Dec 2011, Eric Weir wrote:
 
 I have two cleaners, but they don't distinguish between the two
 installations of lyx. I used one to delete just two files that were
 clearly associated with the 1.6 installation.
 
  Well, if I was doing this I'd let the cleaner(s) remove all LyX files,
 then re-install the latest version.
 
  Does OS/X have an upgrade tool as well as an install tool? The former
 should remove old versions prior to installing the new version.

Thanks, Rich. Didn't think of that. I'll do it.

OS X handles updating of Apple software fine. I don't know of a tool for other 
apps.

Regards,
--
Eric Weir
 Clairemont Avenue J3 ~ Decatur, GA 30030
404-636-6142 ~ eew...@bellsouth.net



Re: Layout for KOMA-script article class?

2011-12-12 Thread Stephan Witt
Am 12.12.2011 um 20:25 schrieb Eric Weir:

 
 On Dec 12, 2011, at 12:49 PM, Rich Shepard wrote:
 
 On Mon, 12 Dec 2011, Eric Weir wrote:
 
 I'm on a Mac, so you may not be able to answer, though I imagine the
 setups on Linux are similar, but if I delete the /texlive/2010 folder in
 my system directory will that take care of it, or are there other folders
 I need to get rid of.
 
 Likewise, the only place I know of duplication of LyX folders is in my
 user directory, specifically ~/library/application support. If I delete
 the 1.6 folder there will that do the job?
 
 Eric,
 
 I know nothing about Mac OS/X. If there's a tool to delete applications,
 use that on TeXLive. While you can delete the /texlive/2010/ directory that
 does not mean all relevant files are gone. You probably have some in the
 /bin (binary) and /lib (library) directories.
 
 I'd keep ~/library/application. On my systems running LyX-2.0.2 under
 Tools - Preferences - Paths the second item is document templates. Here
 that is set to /usr/share/lyx/templates. You probably have something
 similar.
 
 Thanks, Rich. I have two cleaners, but they don't distinguish between the two 
 installations of lyx. I used one to delete just two files that were clearly 
 associated with the 1.6 installation. 

Eric,

on Mac OS X LyX 1.6.x uses ~/Library/Application Support/LyX-1.6 and LyX 2.0.x 
uses ~/Library/Application Support/LyX-2.0

If you want to continue your work using (and let LyX 2.0 automatically 
converting) the 1.6 preferences 
you should copy the directory LyX-1.6 to LyX-2.0 - there is no need to remove 
the old preferences.
If you want to start from scratch LyX 2.0 will create a new preferences 
directory and use default
settings. If you want to use LyX 1.6 in parallel you should rename 
/Applications/LyX.app before
moving the new LyX.app to the /Applications folder. AFAIK, there is no need for 
a cleaner to 
deinstall LyX 1.6 - you can use them alternatively.

Anyway, LyX 2.0 will convert your documents to the current stable file format 
if it is needed.
On the other hand the latest 1.6 version should be able to open these 
documents. But you should
make a backup resp. a copy of all documents you plan to process with 1.6 later.
But you have a Time Machine backup anyway, don't you?

All these steps are LyX related. The update/upgrade of your TeXLive 
installation is another
story you should read at their home page.

Stephan

Re: Circumflex

2011-12-12 Thread Bruce Pourciau


On Dec 12, 2011, at 10:25 AM, Guenter Milde wrote:


On 2011-12-12, Bruce Pourciau wrote:

OK, I'm sure this must be a silly question, but why, when I enter in
ERT \ˆ{e}, to get a circumflex over the e, does my document stop  
being

viewable?


If the character you used in LyX is the same as here:

Character 'ˆ' (710, 0x2C6)
02C6MODIFIER LETTER CIRCUMFLEX ACCENT

it is because it is not the ASCII-circumflex

Character '^' (94, 0x5E)
005ECIRCUMFLEX ACCENT

and hence an unknown command.

Günter




Thank you, Günter. That's the problem. I formed the circumflex by  
doing option-i on a Mac keyboard, and this apparently produces  
character (710, 0x2C6), according to


http://homepage.mac.com/nellisks/tools/char_val.html?c=ˆ

Bruce

Re: Circumflex

2011-12-12 Thread Xu Wang
On Mon, Dec 12, 2011 at 3:33 PM, Bruce Pourciau 
bruce.h.pourc...@lawrence.edu wrote:


 On Dec 12, 2011, at 10:25 AM, Guenter Milde wrote:

  On 2011-12-12, Bruce Pourciau wrote:

 OK, I'm sure this must be a silly question, but why, when I enter in
 ERT \ˆ{e}, to get a circumflex over the e, does my document stop being
 viewable?


 If the character you used in LyX is the same as here:

 Character 'ˆ' (710, 0x2C6)
 02C6MODIFIER LETTER CIRCUMFLEX ACCENT

 it is because it is not the ASCII-circumflex

 Character '^' (94, 0x5E)
 005ECIRCUMFLEX ACCENT

 and hence an unknown command.

 Günter



 Thank you, Günter. That's the problem. I formed the circumflex by doing
 option-i on a Mac keyboard, and this apparently produces character (710,
 0x2C6), according to

 http://homepage.mac.com/**nellisks/tools/char_val.html?**c=ˆhttp://homepage.mac.com/nellisks/tools/char_val.html?c=%CB%86

 Bruce


Out of curiosity, does compiling with LuaTeX or XeTeX (instead of pdflatex)
allow you to use the other circumflex?

Xu


Re: Layout for KOMA-script article class?

2011-12-12 Thread Eric Weir

On Dec 12, 2011, at 3:26 PM, Stephan Witt wrote:

 on Mac OS X LyX 1.6.x uses ~/Library/Application Support/LyX-1.6 and LyX 
 2.0.x uses ~/Library/Application Support/LyX-2.0
 
 If you want to continue your work using (and let LyX 2.0 automatically 
 converting) the 1.6 preferences 
 you should copy the directory LyX-1.6 to LyX-2.0 - there is no need to remove 
 the old preferences.
 If you want to start from scratch LyX 2.0 will create a new preferences 
 directory and use default
 settings. If you want to use LyX 1.6 in parallel you should rename 
 /Applications/LyX.app before
 moving the new LyX.app to the /Applications folder. AFAIK, there is no need 
 for a cleaner to 
 deinstall LyX 1.6 - you can use them alternatively.
 
 Anyway, LyX 2.0 will convert your documents to the current stable file format 
 if it is needed.
 On the other hand the latest 1.6 version should be able to open these 
 documents. But you should
 make a backup resp. a copy of all documents you plan to process with 1.6 
 later.
 But you have a Time Machine backup anyway, don't you?

Yes, I do have a Time Machine, and it's saved my rear end a few times.

One thing that's relevant, and that I should keep saying, is that I'm a 
beginner with Lyx/LaTeX/TeX. The only LyX documents I had that were created 
with 1.6 were those I created doing the tutorial. I have one other document 
that's a real one that was created with 2.02. So on Richard's suggestion I'm 
starting over with a clean install of 2.02. All my work on that last document 
was done in the document. I didn't do much configuring of LyX. I think the only 
thing was to put in the Foot to End module. I'm assuming that the rest of the 
work, which was not all that substantial, either, is preserved in the document. 
If not, it won't take much to redo it. 

If been reading up on customizing LyX, but the more I learn the more questions 
I have swimming around in my head. I'm found the KOMA article layout, but I'm 
not sure how to use it yet. I have references to help me with it, though. Also 
very uncertain about managing citations and bibliography. Inclined toward 
biblatex and biber but really, really vague about all of that. I have a fair 
bit of bibliography-related stuff stored in Zotero. I think getting it from 
there to whatever citation-bibliography manager I end up with won't be that 
much of a problem. Selecting and using a citation-bibloigrahy manager is 
another matter.
   
 All these steps are LyX related. The update/upgrade of your TeXLive 
 installation is another
 story you should read at their home page.

Yes, I was not clear about that. I'll do my best to keep them separate in the 
future. Once I start getting mail from the TeX list to which I've subscribed I 
definitely will.

Thanks again.
--
Eric Weir
Decatur, GA 
eew...@bellsouth.net

What does it mean...that the world is so beautiful? 

- Mary Oliver 








Re: Layout for KOMA-script article class?

2011-12-12 Thread Guenter Milde
On 2011-12-12, Eric Weir wrote:
 On Dec 12, 2011, at 9:54 AM, Richard Heck wrote:
 On 12/12/2011 08:41 AM, Eric Weir wrote:

 I am leaning towards adopting the KOMA-script package as the base for
 developing my own very simple standard format[s]. I'm wondering if
 anyone out there has a relatively simple layout for the KOMA-script
 article class that I might take a look at.

 The scrartcl.layout file is a layout for that class. Do you mean
 something else?

 No, that's it. I didn't find it in the LyX folder in my user directory.
 I see there are layouts for all the KOMA classes in the layouts folder
 in the LyX package.  Should I copy them into the layouts folder in my
 user directory? It's currently empty.

Copy files from the system lyx dir to your user dir, if you want to
modify them. (Usually also rename them to avoid later confusion.)

 in hanging onto my TeX Live 2010
 distribution?

As long as you do not run into problems or limitations - keeping saves time
and bandwidth...

If you find a bug or feature wish in one of the packages or want to keep up
with the development of luatex, say, the developers will ask you to update
before reporting -- maybe the bug is long gone, the feature already
implemented and documented...

Günter



Re: SVG files with linked bitmap

2011-12-12 Thread Phil
Guenter Milde milde at users.sf.net writes:

 
 LyX copies *all* required files into a temporary directory in order not
 to pollute the working directory. (Earlier versions had an option to
 use the working directory (giving an empty value as path to the
 tempdir).)

The problem here is that is does not know about all the required files.  The
linked bitmap in the SVG is required but Lyx doesn't / can't know about it.

 As there are several use cases where compiling in the pwd is
 preferable, you might consider filing a feature request.

Is there a feature request tracker or is it the same as the bug tracker?

Phil




Zooming of graphics

2011-12-12 Thread Phil Fong
When you zoom in and out by adjusting the zoom setting in 
Tools-Preferences-Look  Feel-Screen Fonts or use ctrl+mouse wheel, 
the on-screen text changes size but not the graphics previews.  Is there a way 
to zoom in and out the graphics as well?  I know that you can change the 
graphics on-screen scaling in the graphic property setting window but that is 
not a quick change, it does not coordinate with the text zoom, and it goes into 
the document file so if you are collaborating with others it affects them.

Phil


Re: enumitem.module in Lyx 2

2011-12-12 Thread Guenter Milde
On 2011-12-11, Liviu Andronic wrote:
> On Fri, Dec 9, 2011 at 8:25 PM, Guenter Milde  wrote:
 My question is why the Insert>Short title option is greyed out.
 Should not it work with the labeling and enumerate-resume list types
 as well? How could I make it work?

>>> Labeling is LyX's own special thing, and is not handled by enumitem.

>> In my LyX 2.x SVN, it is handled by enumitem.
>> And inserting options with the misnamed Insert>Short Title into a labeling
>> works, too.

> I'm not suer what's wrong, but I think I'm seeing this issue, too (in
> both 2.0.x and 2.1 SVN). For one, I cannot insert a "short title". But
> worst is that when I look into enumitem.lyx and specifically at the
> last example that suggests that the environment "also takes an
> optional argument", here is what I get in the View Source:
> It also takes an optional argument:
> \begin{elabeling}{withNN}
> \item [{nice}] description
> \item [{with}] several items and
> \item [{including~one~very~long~label}] and the item content starting
> at the next line.\end{elabeling}

> The above completely ignores the 'style=nextline' inserted in the
> 'opt' inset. When I write anything else in the inset, the Source pane
> dully ignores it. Something is wrong.

It seems the latest update

# 2011-01-12 bugfix: set elabeling label font to \normalfont.

has broken this. 

In my local ~/.lyx-svn/layouts folder, I have the previous version that
fully defines the Labeling style while the 2011-01-12 version seems to
inherit from stdlists.inc.

The following patch should fix the issue:

@@ -72,6 +72,7 @@ Input stdlyxlist.inc
 
 Style Labeling
LatexName elabeling
+   OptionalArgs  1
# FIXME This should probably be defined using \newlist instead
Preamble
% labeling-like list based on enumitem's description list with


Günter  



g-brief gotcha

2011-12-12 Thread Gour
Hello!

I'd like to use LyY for writing letters and not only for books since I
cannot tolerate bloat of OO/LibreOffice any longer. :-)

However, attempt to use g-brief-en says that: "Important note: This
template uses the old „g-brief” class that is replaced by the new class
version „g-brief2”. Therefore, it is recommended that you use template
„g-brief2” instead. This template is available for compatibility reasons
only.", but when I try with g-brief2 I see:

"The selected document class letter (g-brief2) requires external files
that are not available.  The document class can still be used, but the
document cannot be compiled until the following prerequisites are
installed:  europs.sty See section 3.1.2.2 (Class Availability) of
the User's Guide for more information."

Any hint how to proceed?

I'm running lyx-2.0.1 under Archlinux x86_64.


Sincerely,
Gour

-- 
The spirit soul bewildered by the influence of false ego thinks 
himself the doer of activities that are in actuality carried out 
by the three modes of material nature.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


Re: g-brief gotcha

2011-12-12 Thread Dr Eberhard Lisse
Use the Koma Letter. Much better.

el


on 2011-12-12 11:18 Gour said the following:
> Hello!
> 
> I'd like to use LyY for writing letters and not only for books since I
> cannot tolerate bloat of OO/LibreOffice any longer. :-)
> 
> However, attempt to use g-brief-en says that: "Important note: This
> template uses the old „g-brief” class that is replaced by the new class
> version „g-brief2”. Therefore, it is recommended that you use template
> „g-brief2” instead. This template is available for compatibility reasons
> only.", but when I try with g-brief2 I see:
> 
> "The selected document class letter (g-brief2) requires external files
> that are not available.  The document class can still be used, but the
> document cannot be compiled until the following prerequisites are
> installed:europs.sty See section 3.1.2.2 (Class Availability) of
> the User's Guide for more information."
> 
> Any hint how to proceed?
> 
> I'm running lyx-2.0.1 under Archlinux x86_64.
> 
> 
> Sincerely,
> Gour
> 




Layout for KOMA-script article class?

2011-12-12 Thread Eric Weir

I am leaning towards adopting the KOMA-script package as the base for 
developing my own very simple standard format[s]. I'm wondering if anyone out 
there has a relatively simple layout for the KOMA-script article class that I 
might take a look at.

Thanks,
--
Eric Weir
Decatur, GA 
eew...@bellsouth.net

"What does it mean...that the world is so beautiful?" 

- Mary Oliver 








Re: Layout for KOMA-script article class?

2011-12-12 Thread Richard Heck
On 12/12/2011 08:41 AM, Eric Weir wrote:
>
> I am leaning towards adopting the KOMA-script package as the base for
> developing my own very simple standard format[s]. I'm wondering if
> anyone out there has a relatively simple layout for the KOMA-script
> article class that I might take a look at.
>
The scrartcl.layout file is a layout for that class. Do you mean
something else?

Richard



Circumflex

2011-12-12 Thread Bruce Pourciau
OK, I'm sure this must be a silly question, but why, when I enter in  
ERT \ˆ{e}, to get a circumflex over the e, does my document stop being  
viewable?


Bruce

Re: Circumflex

2011-12-12 Thread Manolo Martínez
On 12/12/11 at 09:07am, Bruce Pourciau wrote:
> OK, I'm sure this must be a silly question, but why, when I enter in
> ERT \ˆ{e}, to get a circumflex over the e, does my document stop
> being viewable?
> 
> Bruce

Why don't you enter ê in plain text? LyX (mine at least) takes care of that.

-- 


Re: Circumflex

2011-12-12 Thread Bruce Pourciau


On Dec 12, 2011, at 9:13 AM, Manolo Martínez wrote:


On 12/12/11 at 09:07am, Bruce Pourciau wrote:

OK, I'm sure this must be a silly question, but why, when I enter in
ERT \ˆ{e}, to get a circumflex over the e, does my document stop
being viewable?

Bruce


Why don't you enter ê in plain text? LyX (mine at least) takes care  
of that.


--


Yes, thank you, that works. But I still wonder about my question.

Bruce

Re: Circumflex

2011-12-12 Thread Manolo Martínez
On 12/12/11 at 09:32am, Bruce Pourciau wrote:
> Yes, thank you, that works. But I still wonder about my question.
> 
The ERT version works for me, too...
-- 


argmax operator?

2011-12-12 Thread Ignacio Martinez
Hi I'm trying to add the operator argmax to my LyX document.

I added the following to my preamble:

\DeclareMathOperator*{\argmax}{arg\,max}


But is not working. I write in math mode \argmax but the operator does not
work.


What am I doing wrong?


Thanks!


-Ignacio


Re: Circumflex

2011-12-12 Thread Guenter Milde
On 2011-12-12, Bruce Pourciau wrote:
> OK, I'm sure this must be a silly question, but why, when I enter in  
> ERT \ˆ{e}, to get a circumflex over the e, does my document stop being  
> viewable?

If the character you used in LyX is the same as here:

Character 'ˆ' (710, 0x2C6)
02C6MODIFIER LETTER CIRCUMFLEX ACCENT

it is because it is not the ASCII-circumflex

Character '^' (94, 0x5E)
005ECIRCUMFLEX ACCENT

and hence an unknown command.

Günter




Re: Layout for KOMA-script article class?

2011-12-12 Thread Eric Weir

On Dec 12, 2011, at 9:54 AM, Richard Heck wrote:

> On 12/12/2011 08:41 AM, Eric Weir wrote:
>> 
>> I am leaning towards adopting the KOMA-script package as the base for
>> developing my own very simple standard format[s]. I'm wondering if
>> anyone out there has a relatively simple layout for the KOMA-script
>> article class that I might take a look at.
>> 
> The scrartcl.layout file is a layout for that class. Do you mean
> something else?

No, that's it. I didn't find it in the LyX folder in my user directory. I see 
there are layouts for all the KOMA classes in the layouts folder in the LyX 
package.  Should I copy them into the layouts folder in my user directory? It's 
currently empty.

While I'm at it. Is there any reason I should keep my LyX 1.6 installation? [I 
just updated recently.] Likewise--at the risk of being scolded by Liviu again 
-;)--in hanging onto my TeX Live 2010 distribution?

Thanks,
--
Eric Weir
Decatur, GA
eew...@bellsouth.net

"Style is truth." 

- Ray Bradbury



Re: Layout for KOMA-script article class?

2011-12-12 Thread Rich Shepard

On Mon, 12 Dec 2011, Eric Weir wrote:


No, that's it. I didn't find it in the LyX folder in my user directory. I
see there are layouts for all the KOMA classes in the layouts folder in
the LyX package.  Should I copy them into the layouts folder in my user
directory? It's currently empty.


Eric,

  As long as LyX knows where to look you'll be OK. I don't keep a separate
layout subdirectory; it's just more to maintain.


While I'm at it. Is there any reason I should keep my LyX 1.6
installation? [I just updated recently.] Likewise--at the risk of being
scolded by Liviu again -;)--in hanging onto my TeX Live 2010 distribution?


  No. No. If you have a current LyX release it will automagically convert
earlier version documents when you open them. Can't go backwards, but
there's no reason to do so.

  There are apparently version incompatibilities from one TeXLive release to
the next. The Slackware protocol is to build the latest, then uninstall the
earlier version before installing the current version. That avoids an
potential problems. Also, if you have more than a single version of any
application the system might not know which one to use, or might use parts
of both. Not good.

Rich


Re: Layout for KOMA-script article class?

2011-12-12 Thread Eric Weir

On Dec 12, 2011, at 12:49 PM, Rich Shepard wrote:

> On Mon, 12 Dec 2011, Eric Weir wrote:
> 
>> I'm on a Mac, so you may not be able to answer, though I imagine the
>> setups on Linux are similar, but if I delete the /texlive/2010 folder in
>> my system directory will that take care of it, or are there other folders
>> I need to get rid of.
> 
>> Likewise, the only place I know of duplication of LyX folders is in my
>> user directory, specifically ~/library/application support. If I delete
>> the 1.6 folder there will that do the job?
> 
> Eric,
> 
>  I know nothing about Mac OS/X. If there's a tool to delete applications,
> use that on TeXLive. While you can delete the /texlive/2010/ directory that
> does not mean all relevant files are gone. You probably have some in the
> /bin (binary) and /lib (library) directories.
> 
> I'd keep ~/library/application. On my systems running LyX-2.0.2 under
> Tools -> Preferences -> Paths the second item is document templates. Here
> that is set to /usr/share/lyx/templates. You probably have something
> similar.

Thanks, Rich. I have two cleaners, but they don't distinguish between the two 
installations of lyx. I used one to delete just two files that were clearly 
associated with the 1.6 installation. 

Likewise, they pick up some of the applications that come in the tex live 
distribution, but not any of the files. I found some what seem to be 
tex-related files in /usr/bin, was unable to identify any in /usr/lib, and what 
I take to be an alias--texbin--linked to a large number of TeX-related 
binaries. I'm going to delete the /usr/local/texlive/2010 folder and hope that 
gets rid of everything, since there seems to be no clear duplication anywhere 
else.  

If anyone can point me to other live 2010 folders or files that should be 
deleted I would appreciate it. 

And I will not continue raising tex-related questions here. I've signed up for 
one of the lists specific to it, but could not tell from the description, and 
have not received enough messages from it to tell, whether it's an appropriate 
place for a new user like myself to get help.

Sincerely,
--
Eric Weir
Decatur, GA
eew...@bellsouth.net

"Style is truth." 

- Ray Bradbury



How to get two authors with centered institutions below on title page?

2011-12-12 Thread CP
Hi,

I'm trying to align two author names with their respective institutions
(centered) below their names. Does anyone have any ideas? Is there an add-on for
this?

Thanks!



Re: Layout for KOMA-script article class?

2011-12-12 Thread Rich Shepard

On Mon, 12 Dec 2011, Eric Weir wrote:


I have two cleaners, but they don't distinguish between the two
installations of lyx. I used one to delete just two files that were
clearly associated with the 1.6 installation.


  Well, if I was doing this I'd let the cleaner(s) remove all LyX files,
then re-install the latest version.

  Does OS/X have an upgrade tool as well as an install tool? The former
should remove old versions prior to installing the new version.

Rich


Re: How to get two authors with centered institutions below on title page?

2011-12-12 Thread Rich Shepard

On Mon, 12 Dec 2011, CP wrote:


I'm trying to align two author names with their respective institutions
(centered) below their names. Does anyone have any ideas? Is there an
add-on for this?


  What I'd do is enter an author's name in the Author environment, then use
ctrl-Enter to keep the next line in the same environment. Enter the
institution on that line new line. Then either space down (with the [Enter]
key) and repeat or keep all lines together in the same environment with
ctrl-Enter.

Rich


Re: Layout for KOMA-script article class?

2011-12-12 Thread Eric Weir

On Dec 12, 2011, at 2:44 PM, Rich Shepard wrote:

> On Mon, 12 Dec 2011, Eric Weir wrote:
> 
>> I have two cleaners, but they don't distinguish between the two
>> installations of lyx. I used one to delete just two files that were
>> clearly associated with the 1.6 installation.
> 
>  Well, if I was doing this I'd let the cleaner(s) remove all LyX files,
> then re-install the latest version.
> 
>  Does OS/X have an upgrade tool as well as an install tool? The former
> should remove old versions prior to installing the new version.

Thanks, Rich. Didn't think of that. I'll do it.

OS X handles updating of Apple software fine. I don't know of a tool for other 
apps.

Regards,
--
Eric Weir
 Clairemont Avenue J3 ~ Decatur, GA 30030
404-636-6142 ~ eew...@bellsouth.net



Re: Layout for KOMA-script article class?

2011-12-12 Thread Stephan Witt
Am 12.12.2011 um 20:25 schrieb Eric Weir:

> 
> On Dec 12, 2011, at 12:49 PM, Rich Shepard wrote:
> 
>> On Mon, 12 Dec 2011, Eric Weir wrote:
>> 
>>> I'm on a Mac, so you may not be able to answer, though I imagine the
>>> setups on Linux are similar, but if I delete the /texlive/2010 folder in
>>> my system directory will that take care of it, or are there other folders
>>> I need to get rid of.
>> 
>>> Likewise, the only place I know of duplication of LyX folders is in my
>>> user directory, specifically ~/library/application support. If I delete
>>> the 1.6 folder there will that do the job?
>> 
>> Eric,
>> 
>> I know nothing about Mac OS/X. If there's a tool to delete applications,
>> use that on TeXLive. While you can delete the /texlive/2010/ directory that
>> does not mean all relevant files are gone. You probably have some in the
>> /bin (binary) and /lib (library) directories.
>> 
>> I'd keep ~/library/application. On my systems running LyX-2.0.2 under
>> Tools -> Preferences -> Paths the second item is document templates. Here
>> that is set to /usr/share/lyx/templates. You probably have something
>> similar.
> 
> Thanks, Rich. I have two cleaners, but they don't distinguish between the two 
> installations of lyx. I used one to delete just two files that were clearly 
> associated with the 1.6 installation. 

Eric,

on Mac OS X LyX 1.6.x uses ~/Library/Application Support/LyX-1.6 and LyX 2.0.x 
uses ~/Library/Application Support/LyX-2.0

If you want to continue your work using (and let LyX 2.0 automatically 
converting) the 1.6 preferences 
you should copy the directory LyX-1.6 to LyX-2.0 - there is no need to remove 
the old preferences.
If you want to start from scratch LyX 2.0 will create a new preferences 
directory and use default
settings. If you want to use LyX 1.6 in parallel you should rename 
/Applications/LyX.app before
moving the new LyX.app to the /Applications folder. AFAIK, there is no need for 
a cleaner to 
deinstall LyX 1.6 - you can use them alternatively.

Anyway, LyX 2.0 will convert your documents to the current stable file format 
if it is needed.
On the other hand the latest 1.6 version should be able to open these 
documents. But you should
make a backup resp. a copy of all documents you plan to process with 1.6 later.
But you have a Time Machine backup anyway, don't you?

All these steps are LyX related. The update/upgrade of your TeXLive 
installation is another
story you should read at their home page.

Stephan

Re: Circumflex

2011-12-12 Thread Bruce Pourciau


On Dec 12, 2011, at 10:25 AM, Guenter Milde wrote:


On 2011-12-12, Bruce Pourciau wrote:

OK, I'm sure this must be a silly question, but why, when I enter in
ERT \ˆ{e}, to get a circumflex over the e, does my document stop  
being

viewable?


If the character you used in LyX is the same as here:

Character 'ˆ' (710, 0x2C6)
02C6MODIFIER LETTER CIRCUMFLEX ACCENT

it is because it is not the ASCII-circumflex

Character '^' (94, 0x5E)
005ECIRCUMFLEX ACCENT

and hence an unknown command.

Günter




Thank you, Günter. That's the problem. I formed the circumflex by  
doing option-i on a Mac keyboard, and this apparently produces  
character (710, 0x2C6), according to


http://homepage.mac.com/nellisks/tools/char_val.html?c=ˆ

Bruce

Re: Circumflex

2011-12-12 Thread Xu Wang
On Mon, Dec 12, 2011 at 3:33 PM, Bruce Pourciau <
bruce.h.pourc...@lawrence.edu> wrote:

>
> On Dec 12, 2011, at 10:25 AM, Guenter Milde wrote:
>
>  On 2011-12-12, Bruce Pourciau wrote:
>>
>>> OK, I'm sure this must be a silly question, but why, when I enter in
>>> ERT \ˆ{e}, to get a circumflex over the e, does my document stop being
>>> viewable?
>>>
>>
>> If the character you used in LyX is the same as here:
>>
>> Character 'ˆ' (710, 0x2C6)
>> 02C6MODIFIER LETTER CIRCUMFLEX ACCENT
>>
>> it is because it is not the ASCII-circumflex
>>
>> Character '^' (94, 0x5E)
>> 005ECIRCUMFLEX ACCENT
>>
>> and hence an unknown command.
>>
>> Günter
>>
>>
>>
> Thank you, Günter. That's the problem. I formed the circumflex by doing
> option-i on a Mac keyboard, and this apparently produces character (710,
> 0x2C6), according to
>
> http://homepage.mac.com/**nellisks/tools/char_val.html?**c=ˆ
>
> Bruce


Out of curiosity, does compiling with LuaTeX or XeTeX (instead of pdflatex)
allow you to use the other circumflex?

Xu


Re: Layout for KOMA-script article class?

2011-12-12 Thread Eric Weir

On Dec 12, 2011, at 3:26 PM, Stephan Witt wrote:

> on Mac OS X LyX 1.6.x uses ~/Library/Application Support/LyX-1.6 and LyX 
> 2.0.x uses ~/Library/Application Support/LyX-2.0
> 
> If you want to continue your work using (and let LyX 2.0 automatically 
> converting) the 1.6 preferences 
> you should copy the directory LyX-1.6 to LyX-2.0 - there is no need to remove 
> the old preferences.
> If you want to start from scratch LyX 2.0 will create a new preferences 
> directory and use default
> settings. If you want to use LyX 1.6 in parallel you should rename 
> /Applications/LyX.app before
> moving the new LyX.app to the /Applications folder. AFAIK, there is no need 
> for a cleaner to 
> deinstall LyX 1.6 - you can use them alternatively.
> 
> Anyway, LyX 2.0 will convert your documents to the current stable file format 
> if it is needed.
> On the other hand the latest 1.6 version should be able to open these 
> documents. But you should
> make a backup resp. a copy of all documents you plan to process with 1.6 
> later.
> But you have a Time Machine backup anyway, don't you?

Yes, I do have a Time Machine, and it's saved my rear end a few times.

One thing that's relevant, and that I should keep saying, is that I'm a 
beginner with Lyx/LaTeX/TeX. The only LyX documents I had that were created 
with 1.6 were those I created doing the tutorial. I have one other document 
that's a real one that was created with 2.02. So on Richard's suggestion I'm 
starting over with a clean install of 2.02. All my work on that last document 
was done in the document. I didn't do much configuring of LyX. I think the only 
thing was to put in the Foot to End module. I'm assuming that the rest of the 
work, which was not all that substantial, either, is preserved in the document. 
If not, it won't take much to redo it. 

If been reading up on customizing LyX, but the more I learn the more questions 
I have swimming around in my head. I'm found the KOMA article layout, but I'm 
not sure how to use it yet. I have references to help me with it, though. Also 
very uncertain about managing citations and bibliography. Inclined toward 
biblatex and biber but really, really vague about all of that. I have a fair 
bit of bibliography-related stuff stored in Zotero. I think getting it from 
there to whatever citation-bibliography manager I end up with won't be that 
much of a problem. Selecting and using a citation-bibloigrahy manager is 
another matter.
   
> All these steps are LyX related. The update/upgrade of your TeXLive 
> installation is another
> story you should read at their home page.

Yes, I was not clear about that. I'll do my best to keep them separate in the 
future. Once I start getting mail from the TeX list to which I've subscribed I 
definitely will.

Thanks again.
--
Eric Weir
Decatur, GA 
eew...@bellsouth.net

"What does it mean...that the world is so beautiful?" 

- Mary Oliver 








Re: Layout for KOMA-script article class?

2011-12-12 Thread Guenter Milde
On 2011-12-12, Eric Weir wrote:
> On Dec 12, 2011, at 9:54 AM, Richard Heck wrote:
>> On 12/12/2011 08:41 AM, Eric Weir wrote:

>>> I am leaning towards adopting the KOMA-script package as the base for
>>> developing my own very simple standard format[s]. I'm wondering if
>>> anyone out there has a relatively simple layout for the KOMA-script
>>> article class that I might take a look at.

>> The scrartcl.layout file is a layout for that class. Do you mean
>> something else?

> No, that's it. I didn't find it in the LyX folder in my user directory.
> I see there are layouts for all the KOMA classes in the layouts folder
> in the LyX package.  Should I copy them into the layouts folder in my
> user directory? It's currently empty.

Copy files from the "system lyx dir" to your user dir, if you want to
modify them. (Usually also rename them to avoid later confusion.)

> in hanging onto my TeX Live 2010
> distribution?

As long as you do not run into problems or limitations - keeping saves time
and bandwidth...

If you find a bug or feature wish in one of the packages or want to keep up
with the development of luatex, say, the developers will ask you to update
before reporting -- maybe the bug is long gone, the feature already
implemented and documented...

Günter



Re: SVG files with linked bitmap

2011-12-12 Thread Phil
Guenter Milde  users.sf.net> writes:

> 
> LyX copies *all* required files into a temporary directory in order not
> to "pollute" the working directory. (Earlier versions had an option to
> use the working directory (giving an empty value as path to the
> "tempdir").)

The problem here is that is does not know about all the required files.  The
linked bitmap in the SVG is required but Lyx doesn't / can't know about it.

> As there are several use cases where compiling in the pwd is
> preferable, you might consider filing a feature request.

Is there a feature request tracker or is it the same as the bug tracker?

Phil




Zooming of graphics

2011-12-12 Thread Phil Fong
When you zoom in and out by adjusting the zoom setting in 
"Tools"->"Preferences"->"Look & Feel"->"Screen Fonts" or use ctrl+mouse wheel, 
the on-screen text changes size but not the graphics previews.  Is there a way 
to zoom in and out the graphics as well?  I know that you can change the 
graphics on-screen scaling in the graphic property setting window but that is 
not a quick change, it does not coordinate with the text zoom, and it goes into 
the document file so if you are collaborating with others it affects them.

Phil