Re: paragraph indents -- document class book (Polish version by M. W.), MWBK

2008-10-21 Thread Manveru
The most tweakable (is this correct word in English?) style is
Koma-Script, so you may probably prefer it instead of fighting with
mwcls classes. Koma-Script is well documented, which not exactly means
is easy for beginners.

Marcin Woliński who is the author of mwcls used old documents about
Polish typography, when he was creating these classes (mwcls set). And
in real, output looks very similarly to that what I remember from old
books from times of the primary school.

M.

2008/10/21 Jonathan Kroner [EMAIL PROTECTED]:
 Hi Manveru,

 Thank you for getting back to me. I don't think I'll get very far in Polish
 but I still like that book class. It works great for me for a few reasons:
 it seems to be more laid out like a book than some of the more popular
 classes. In particular I like that the cover page is not numbered, the
 headers fit and it looks (to me) more professional.

 I'm not doing a lot of tweaks, mostly because after way way too many hours I
 still can't figure out how to use most advanced LyX features.

 regards,

 Jonathan


 On Mon, Oct 20, 2008 at 5:18 AM, Manveru [EMAIL PROTECTED] wrote:

 2008/10/18 Jonathan Kroner [EMAIL PROTECTED]:
  re: paragraph indents -- document class book (Polish version by M. W.),
  MWBK
 
  1.   Is there a way to remove the indent from the initial paragraph
  under
  chapter, section, subsection titles in the document class book (Polish
  version by M. W.)?
 
  2.   Is there a link to document class options for MWBK, Polish
  version
  by M. W. other than those listed in Extended LyX Features, section
  4.19
  about the MWBK class?

 I don't remember all options for mwbk, but this is very specific for
 classic Polish book standards (let's say very old standards). In these
 standards all paragraphs has indentation. And I am not sure whether
 this could be removed.

 Additionally, LyX layout file was buggy for this style in 1.5.3 - it
 does not contains some include, what causes outline function to not
 work (I dont't remember whether it was corrected or not as I am using
 my own layout file).

 This style has more strange behaviours, so I suggest not using it,
 if you really do not know what are you doing. It is good practice to
 read the manual for this style, but it is in Polish only:
 http://www.ctan.org/tex-archive/macros/latex/contrib/mwcls/mwclsdoc.pdf
 --
 Manveru
 jabber: [EMAIL PROTECTED]
 gg: 1624001
   http://www.manveru.pl



 --
 Jonathan Kroner
 http://jonathankroner.com/
 http://floridafalseclaim.com/
 305.310.6046





-- 
Manveru
jabber: [EMAIL PROTECTED]
 gg: 1624001
   http://www.manveru.pl


LYX will crash when changing the Toolbar icon's size

2008-10-21 Thread asm23
Hi, I'm using Lyx 1.6RC3. I install the Lyx with Chinese language UI. 
When I right click on the ToolBar, and try to select another size of 
icons. Lyx will crash. It seems that not all the menu's were fully 
translated from English to Chinese.


As a solving method, I reinstall Lyx with English language, the crash 
never happened again.


Thanks you!



Re: LYX will crash when changing the Toolbar icon's size

2008-10-21 Thread Abdelrazak Younes

On 21/10/2008 09:18, asm23 wrote:

Hi, I'm using Lyx 1.6RC3. I install the Lyx with Chinese language UI.
When I right click on the ToolBar, and try to select another size of
icons. Lyx will crash. It seems that not all the menu's were fully
translated from English to Chinese.


I cannot reproduce the crash with current svn version so I guess the bug 
will be fixed in the next RC. Please create a bugzilla entry in any case 
so that we can track this bug (bugzilla.lyx.org). Make sure to answer 
those questions in the entry:


Question 1: did you use the diplay language preference dialog or did you 
set the LANGUAGE environment variable?

Question 2: which platform?

Thanks,
Abdel.



Re: LYX will crash when changing the Toolbar icon's size

2008-10-21 Thread asm23

Abdelrazak Younes wrote:

On 21/10/2008 09:18, asm23 wrote:

Hi, I'm using Lyx 1.6RC3. I install the Lyx with Chinese language UI.
When I right click on the ToolBar, and try to select another size of
icons. Lyx will crash. It seems that not all the menu's were fully
translated from English to Chinese.


I cannot reproduce the crash with current svn version so I guess the bug 
will be fixed in the next RC. Please create a bugzilla entry in any case 
so that we can track this bug (bugzilla.lyx.org). Make sure to answer 
those questions in the entry:


Question 1: did you use the diplay language preference dialog or did you 
set the LANGUAGE environment variable?

Question 2: which platform?

Thanks,
Abdel.




Thanks Abdelrazak for your help. My platform is windows XP EN.For 
testing, I reinstall Lyx 1.6RC3.In the SETUP step, I select 
Chinese(simplified) as the Lyx's interface.
But this time I can't reproduce the crash again. I guess this problem 
happens when I just overwrite the previous version from Lyx 1.5 to Lyx 
1.6RC3. Anyway, it works in Chinese interface Now!


Thanks again.



Re: LYX will crash when changing the Toolbar icon's size

2008-10-21 Thread Abdelrazak Younes

On 21/10/2008 13:22, asm23 wrote:

Abdelrazak Younes wrote:

On 21/10/2008 09:18, asm23 wrote:

Hi, I'm using Lyx 1.6RC3. I install the Lyx with Chinese language UI.
When I right click on the ToolBar, and try to select another size of
icons. Lyx will crash. It seems that not all the menu's were fully
translated from English to Chinese.


I cannot reproduce the crash with current svn version so I guess the
bug will be fixed in the next RC. Please create a bugzilla entry in
any case so that we can track this bug (bugzilla.lyx.org). Make sure
to answer those questions in the entry:

Question 1: did you use the diplay language preference dialog or did
you set the LANGUAGE environment variable?
Question 2: which platform?

Thanks,
Abdel.




Thanks Abdelrazak for your help. My platform is windows XP EN.For
testing, I reinstall Lyx 1.6RC3.In the SETUP step, I select
Chinese(simplified) as the Lyx's interface.
But this time I can't reproduce the crash again. I guess this problem
happens when I just overwrite the previous version from Lyx 1.5 to Lyx
1.6RC3. Anyway, it works in Chinese interface Now!


Good! Don't hesitate to contribute further translation of the interface ;-)

FYI, you can change the display language at runtime without reinstalling 
nor restarting.


Abdel.



Re: Bringing the footer higher...

2008-10-21 Thread Helge Hafting

M-L wrote:

I will attempt that, though I may have tried it before? I know I have tried 
just about everything I could think of, and found nothing that worked. I 
tried that firstfootvpos though I didn't know whether it required  a \ in 
front of it or not and tried it with that and without and various brackets 
and a whole lot of other combinations.


If I knew more about LaTeX and LyX, would have a crack at re-writing the 
manual but in a different format. That's not a criticisms, it's simply and 
observation as to why I, who is in the minority, can't grasp all the 
concepts. Probably because I left school at the age of 14, and have only used 
computers for the last decade. For someone like me it really requires an 
example of the preamble and then an explanation of each line, and why those 
commands work in letter and not in article, etc., or whatever.



Latex can be tricky. LyX tries to help that, by offering easier dialog
boxes for common stuff. You should be able to set the margin sizes
without any latex commands at all. Some latex will be necessary to make 
a multiline footer though.


I started reading the scrguien.pdf from the start, but it was hard going, and 
data overload. Going to the sections was better, but like many of these 
manuals written by experts, they presume the reader has a greater 
understanding than may be the case, which chases me back to previous chapters 
and then I start getting lost again.


Well known problem! This can be fixed by reading books that explains
latex from scratch. Kopka and Daly Guide to Latex is a good one.
Get it from the library to see if it helps, buy it later if you find
it useful. It explains what all those other manual writers expect you to 
know. It certainly helped me.



During my frustrations I wrote in my journal:

[quote]
Trying to understand something this large with a brain this small is an 
arrogance of a kind in itself.

[end quote]


Not a small brain, just lack of training. Latex package manuals
gets easier if you learn the basics first.



I then tried the letter [KOMA v2] template and started adapting it to my 
needs. I still didn't understand much of what it did, and found things in the 
preamble were duplicated by the commands that were point and click in LyX, 
and other preamble entries were not permitted. 

[Disclaimer - aware that LyX does not take all LaTeX commands and may never do 
so as stated in the introduction of LyX]


There was also a funny thing, when I opened a new document in LyX Letter 
[KOMA-script v2] and tried to insert some of the preamble from the template, 
one at a time, they didn't work, or didn't work properly. I couldn't 
understand that at all. I kept adding things from the template and I'm not 
certain that I didn't copy the whole preamble into the new LyX document 
before they worked? But I am not sure any more if this was the case. I have a 
funny feeling they still didn't work, so the template used something 
different again?



Letters are a bit special. The letter document class sort of have a
all or nothing approach, which isn't very user-friendly. If you
want to use letter, start with the Lyx template and work from there.
It just fails if some of the required fields aren't present.
Other document classes are easier to use, without such hidden requirements.

I have attached a lyx document with a multiline footer,
custom margins, and no more latex than necessary.
Here is how to do it:

1. Create a document, of type koma-script article.
2. Menu Document-settings
3. Click Page Layout in the document settings dialog box
4. Set the Page style to fancy using the dropdown menu / combobox.
5. Click Page margins in the dialog box
6. Uncheck default margins
7. Specify other margins, I used 5cm top and bottom margins.
8. Click LaTeX Preamble in the dialog box.
9. Enter this text in the preamble:
\lfoot{Test line1\\line2\\line3\\line4}

Put in as many lines as you like. \lfoot means left footer, this 
command works because you set the pagestyle to fancy.

You may also use \rfoot{right footer} \cfoot{center footer}
as well as \lhead, \rhead and \chead for the headers.

10.Click OK in the dialog, to get rid of it.
11.Enter normal text in the document, then print or view it.
12.Fine-tune the bottom margin if you need to. A bigger margin has
   more room for the footer, a smaller margin will push a big
   footer down and possibly across the paper edge.


This footer is the same on all pages. It is possible to get
variable stuff too, such as the page number. Ask again
if you need more tips.

Helge Hafting


footer.lyx
Description: application/lyx


Re: spellchecking problem…

2008-10-21 Thread Stefan Schimanski

I had to put the correct directionary path into ~/.aspell.conf

  dict-dir /Library/Application Support/cocoAspell/aspell6-en-6.0-0/

Now it works for me (at least UK English, maybe German as well).

Stefan

Am 12.10.2008 um 10:45 schrieb macnews:


Hello,

I have a problem using spellchecking in Lyx (1.6.0rc3 and also in  
1.5.4)
with OSX. I have installed th recent version of cocoAspell (2.0.4).  
I also
installed a german dictionary into the proper folder (Library -  
Application

Support - cocoAspell). After that I activated the languages in the
sytem-preferences. Lyx seems to recognize the dictionaries, as I could
choose them in the language-menu.
Every time (regardless of the language I choose) I run the  
spellchecker I

get the following message:

»Das Rechtschreibprogramm konnte nicht gestartet werden
Error: The file /usr/local/lib/aspell-0.60/english can not be  
opened for

reading.«

I tried to change setting both in the documents-window and in the  
general
preferences – without success. What could be the problem here? Does  
anybody

have a working spellchecking configuration for a german dictionary?

Best*
Jess




Re: LYX will crash when changing the Toolbar icon's size

2008-10-21 Thread asm23

Abdelrazak Younes wrote:


Good! Don't hesitate to contribute further translation of the interface ;-)

Ok, I will do my contribution to this project in my free time. I do 
think Video tutorial is a fast way to teach a beginner to use Lyx.


FYI, you can change the display language at runtime without reinstalling 
nor restarting.
WoW, it's so simple to change the interface. Thanks, it will save me a 
lot of time. Thanks!




Abdel.






Re: Theorem cross reference title missing

2008-10-21 Thread rgheck

Jozef Aardappel wrote:

hmm, indeed, your example works as I would expect it to work.  This also works for 
sections etc with me.  Although I thought it did not, apperently i forgot to choose 
formatted reference there.

I however use my own layout which uses 'rule'.  This is basically something 
like lemma etc in the ams-math layout.  Did I made a mistake in my layout?  How 
can I fix this?

  

You need to define a prettyref format to go with this. Something like:
   \newrefformat{rul}{rule \ref{#1}}
See the prettyref docs for more info.

rh



Toolbar will always slide to the right side on start up

2008-10-21 Thread asm23

How can I demonstrate this problem. I just snap the screen.

I'm using window xp en. Lyx 1.6RC3.

This is the toolbar before I close:
http://zyh23.diinoweb.com/files/openPic/good1.jpg
And ,this is the toolbar when I restart Lyx: the toolbars will slide to 
the right corner.

http://zyh23.diinoweb.com/files/openPic/error.jpg

I test it in Big icons, normal icons and small icons mode, and they all 
have this problem.




Re: Toolbar will always slide to the right side on start up

2008-10-21 Thread Abdelrazak Younes

On 21/10/2008 15:30, asm23 wrote:

How can I demonstrate this problem. I just snap the screen.

I'm using window xp en. Lyx 1.6RC3.

This is the toolbar before I close:
http://zyh23.diinoweb.com/files/openPic/good1.jpg
And ,this is the toolbar when I restart Lyx: the toolbars will slide to
the right corner.
http://zyh23.diinoweb.com/files/openPic/error.jpg

I test it in Big icons, normal icons and small icons mode, and they all
have this problem.


This is a known Qt bug. I was hoping that it get fixed with Qt4.4.3 but no.

http://bugzilla.lyx.org/show_bug.cgi?id=4967

Abdel.



How to change pdf viewer?

2008-10-21 Thread Joachim Kreimer-de Fries

Salve,

How can one configure LyX to use another pdf viewer when clicking the  
view pdf (pdf-latex) button?


I could not find out. It depends what is set automatically during  
installation.


Actually I would like to disburden Adobe Acrobat Reader from this  
task because too slow and change to Skim (or PDFView).


joachim
--
MacTeX - TeXLive 2007 - TeXShop 2.14-svn (2.14)
und auch ggf. LyX/Mac 1.5.6 auf MacBook Pro mit OSX 10.4.11 Tiger





Re: How to change pdf viewer?

2008-10-21 Thread Uwe Stöhr

Joachim Kreimer-de Fries schrieb:

How can one configure LyX to use another pdf viewer when clicking the 
view pdf (pdf-latex) button?


menu Tools-Settings-file formats
There specify the viewer you like for the format PDF (pdflatex).

regards Uwe


Re: Toolbar will always slide to the right side on start up

2008-10-21 Thread asm23

Abdelrazak Younes wrote:

On 21/10/2008 15:30, asm23 wrote:

How can I demonstrate this problem. I just snap the screen.

I'm using window xp en. Lyx 1.6RC3.

This is the toolbar before I close:
http://zyh23.diinoweb.com/files/openPic/good1.jpg
And ,this is the toolbar when I restart Lyx: the toolbars will slide to
the right corner.
http://zyh23.diinoweb.com/files/openPic/error.jpg

I test it in Big icons, normal icons and small icons mode, and they all
have this problem.


This is a known Qt bug. I was hoping that it get fixed with Qt4.4.3 but no.

http://bugzilla.lyx.org/show_bug.cgi?id=4967

Abdel.



Thanks, I hope it will be fixed soon.



Re: How to change pdf viewer?

2008-10-21 Thread Konrad Hofbauer

Joachim Kreimer-de Fries wrote [on Mac]:
How can one configure LyX to use another pdf viewer when clicking the 
view pdf (pdf-latex) button?


By default, LyX uses the default viewer that is set in the operating 
system for PDFs. So you can change Mac OS X default PDF application 
setting, or you can change in LyX - Preferences - File Formats - PDF 
(...) - Viewer.


HTH,
Konrad

P.S. Please do not hijack threads by replying to old messages with a new 
question. Start a new thread for new questions.




Re: Toolbar will always slide to the right side on start up

2008-10-21 Thread Nikos Alexandris
On Tue, 2008-10-21 at 22:14 +0800, asm23 wrote:
 Abdelrazak Younes wrote:
  On 21/10/2008 15:30, asm23 wrote:
  How can I demonstrate this problem. I just snap the screen.
 
  I'm using window xp en. Lyx 1.6RC3.
 
  This is the toolbar before I close:
  http://zyh23.diinoweb.com/files/openPic/good1.jpg
  And ,this is the toolbar when I restart Lyx: the toolbars will slide to
  the right corner.
  http://zyh23.diinoweb.com/files/openPic/error.jpg
 
  I test it in Big icons, normal icons and small icons mode, and they all
  have this problem.
  
  This is a known Qt bug. I was hoping that it get fixed with Qt4.4.3 but no.
  
  http://bugzilla.lyx.org/show_bug.cgi?id=4967
  
  Abdel.
  
  
 Thanks, I hope it will be fixed soon.
 

Me too :-)



Installing a new class on Lyx

2008-10-21 Thread Daniel Joshua Stark

To whom it may concern:

I would like to install the class and BibTex files for the American  
Chemical Society Journal Submissions (achemso style package) on Lyx.   
I also tried making a very basic layout file.


I've tried following the numerous tutorials, but they don't seem to  
work, even after doing texhash and reconfigure.  The only thing I can  
think of is that the tutorials are written for Unix or Windows and  
following them does not work right for Lyx 1.5.6 on Mac OS X 10.5.5,  
which I am running.


Any help would be greatly appreciated.

Thank you,

Daniel Stark
Graduate Student
Rice University, MS-61
Physics and Astronomy
Dell Butcher Hall 100
1900 Rice Blvd., Ent. 20
Houston TX 77005
USA

Ph: +1-713-348-3126
Fx:  +1-713-348-2603

In physics, you don't have to go around making trouble for yourself -  
nature does it for you. - Frank Wilczek
I think physicists are the Peter Pans of the human race. They never  
grow up and they keep their curiosity. - Isidor Isaac Rabi




Re: How to change pdf viewer?

2008-10-21 Thread Joachim Kreimer-de Fries

Am 21.10.2008 um 16:10 schrieb Uwe Stöhr:

menu Tools-Settings-file formats

Am 21.10.2008 um 16:17 schrieb Konrad Hofbauer:
you can change in LyX - Preferences - File Formats - PDF (...) - 
 Viewer.


Thanks, it works finally. But for someone else who also might want to  
change the pdf viewer I add: it it not sufficient to give in the path  
to the application package but to the application EXECutable itself,  
at least on Mac-OSX, in my case:


/Applications/Skim.app/Contents/MacOS/Skim

Konrad wrote further
P.S. Please do not hijack threads by replying to old messages with  
a new question. Start a new thread for new questions.


Sorry, I was not aware of it, now I remember again that it is not  
enough to to erase content and change subject, but not to answer on  
a received mail from the list.

--
MacTeX - TeXLive 2007 - TeXShop 2.14-svn (2.14)
und auch ggf. LyX/Mac 1.5.6 auf MacBook Pro mit OSX 10.4.11 Tiger



Lyx + Biblatex + Headers formating problems

2008-10-21 Thread Jose A. Aponte
Hi All

I have just started to use Lyx for writing my first year PhD report and I am
having some problems which I hope you can help me to solve.

I followed all the procedures to install biblatex and use it with Lyx. It is
working great now and I have managed to edit the biblatex style to suit my
requirements.

However I am having basically two problems:

1. When using the \printbibliography command in ERT I have also to add the
following commands before it so that the bibliography is showed in a new
page and accounted for the TOC.
\clearpage

\addcontentsline{toc}{chapter}{\numberline{}{Bibliography}}


This works fine but when the bibliography has more than one page the header
(which is done using fancy header and works fine to all other pages) is
shown in Uppercase although as I said the fancy header package is configure
to show the headers in lowercase (both chapters and sections)  and works
fine with all other pages. So instead of showing 'Bibliography' it displays
'BIBLIOGRAPHY'.


The fancy header commands, in case are needed are:




\pagestyle{fancy}

\renewcommand{\chaptermark}[1]{\markright{\chaptername\ \thechapter.\ #1}}

\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}{}}

\lhead[\fancyplain{}{}]%

{\fancyplain{}{\bfseries\rightmark}}

\chead[\fancyplain{}{}]%

{\fancyplain{}{}}

\rhead[\fancyplain{}{}]%

{\fancyplain{}{\bfseries\thepage}}

\lfoot[\fancyplain{}{}]%

{\fancyplain{}{}}

\cfoot[\fancyplain{}{}]%

{\fancyplain{}{}}

\rfoot[\fancyplain{}{}]%

{\fancyplain{}{\bfseries\today}}

%%


2. The second problems has to do with the output bibliography format from
biblatex.I am using Author-year style but each item in the bibliography
seems to be displayed unaligned in reference to each other. I do not whether
it is clear but it seems that each item (reference) has its own indentation
for the first line e.g.


Author One Surname, (year) etc etc etc 

Second line and all other are fine..

Third
line

Final
line.


 Author Two Surname, (year) etc etc etc .

Second line and all other are fine..

Third
line

Final
line.


  Author Three Surname, (year) etc etc etc .

Second line and all other are fine..

Third
line

Final
line.



Hope you see what I mean. I do not know what is happening here but each time
I change the fonts the errors in the indentation seems to change between the
items. For instance if Author one was in the right position now it is wrong
but Author two is OK and so on.


Well, hopefully someone will be able to help me.


Thanks in advance.


Jose A


Re: How to change pdf viewer?

2008-10-21 Thread Christian Liesen


Thanks, it works finally. But for someone else who also might want  
to change the pdf viewer I add: it it not sufficient to give in the  
path to the application package but to the application EXECutable  
itself, at least on Mac-OSX, in my case:


/Applications/Skim.app/Contents/MacOS/Skim



Not true. I'm on Mac OS X and have been using open -a skim all along  
without problems and through several versions of LyX. It is not  
necessary to call the app's contents.


Cheers,
-- Christian


Re: How to change pdf viewer?

2008-10-21 Thread Konrad Hofbauer

Joachim Kreimer-de Fries wrote:

Am 21.10.2008 um 16:10 schrieb Uwe Stöhr:

menu Tools-Settings-file formats

Am 21.10.2008 um 16:17 schrieb Konrad Hofbauer:
you can change in LyX - Preferences - File Formats - PDF (...) - 
Viewer.


Thanks, it works finally. But for someone else who also might want to 
change the pdf viewer I add: it it not sufficient to give in the path to 
the application package but to the application EXECutable itself, at 
least on Mac-OSX, in my case:


/Applications/Skim.app/Contents/MacOS/Skim


What should also do the trick is open -a Skim, that lets OS X do the 
work of finding the app.


What I actually use is the attached script that explicitly tells Skim to 
reload. I've disabled auto-reload in Skim, since this sometimes does not 
work in combination with LyX's multiple compilation of the file.


So I have the attached script in ~/bin, set the script as executable 
(chmod u+x ...), in LyX ~/bin/SkimReload.sh, and then always use View 
PDF (not: Update PDF) in LyX


HTH,
Konrad



SkimReload.sh
Description: Bourne shell script


Re: Installing a new class on Lyx

2008-10-21 Thread Uwe Stöhr

Daniel Joshua Stark schrieb:

I would like to install the class and BibTex files for the American 
Chemical Society Journal Submissions (achemso style package) on Lyx. I 
also tried making a very basic layout file.


I've tried following the numerous tutorials, but they don't seem to 
work, even after doing texhash and reconfigure.  The only thing I can 
think of is that the tutorials are written for Unix or Windows and 
following them does not work right for Lyx 1.5.6 on Mac OS X 10.5.5, 
which I am running.


LaTeX-class files are independent of the OS, the same as for the layout files. So you first need to 
install achemso, the same way you install LaTeX-classes normally. The easiest way to do this is to 
use the package manager in case you use TeXLive 2008 as TeX-engine.


LyX unfortunately does not yet have layout file for achemso, so you have to create new one. The best 
way is to take an existing layout file (for example the file iopart.layout) and adopt it for your 
class. The Customization manual explains the possible entries of layout file.


When you give me some days, I can also create a layout file as achemso would be of interest for 
other LyX users too.


regards Uwe


Re: Installing a new class on Lyx

2008-10-21 Thread Uwe Stöhr

Daniel Joshua Stark schrieb:

I would like to install the class and BibTex files for the American 
Chemical Society Journal Submissions (achemso style package) on Lyx. I 
also tried making a very basic layout file.


I've tried following the numerous tutorials, but they don't seem to 
work, even after doing texhash and reconfigure.  The only thing I can 
think of is that the tutorials are written for Unix or Windows and 
following them does not work right for Lyx 1.5.6 on Mac OS X 10.5.5, 
which I am running.


LaTeX-class files are independent of the OS, the same as for the layout files. So you first need to 
install achemso, the same way you install LaTeX-classes normally. The easiest way to do this is to 
use the package manager in case you use TeXLive 2008 as TeX-engine.


LyX unfortunately does not yet have layout file for achemso, so you have to create new one. The best 
way is to take an existing layout file (for example the file iopart.layout) and adopt it for your 
class. The Customization manual explains the possible entries of layout file.


When you give me some days, I can also create a layout file as achemso would be of interest for 
other LyX users too.


regards Uwe


Re: Bringing the footer higher...

2008-10-21 Thread M-L
On Tue, 21 Oct 2008, Helge Hafting engaged keyboard and shared this with us 
all:
--} Letters are a bit special. The letter document class sort of have a
--} all or nothing approach, which isn't very user-friendly. If you
--} want to use letter, start with the Lyx template and work from there.
--} It just fails if some of the required fields aren't present.
--} Other document classes are easier to use, without such hidden
 requirements. --}
--} I have attached a lyx document with a multiline footer,
--} custom margins, and no more latex than necessary.
--} Here is how to do it:
--}
--} 1. Create a document, of type koma-script article.
--} 2. Menu Document-settings
--} 3. Click Page Layout in the document settings dialog box
--} 4. Set the Page style to fancy using the dropdown menu / combobox.
--} 5. Click Page margins in the dialog box
--} 6. Uncheck default margins
--} 7. Specify other margins, I used 5cm top and bottom margins.
--} 8. Click LaTeX Preamble in the dialog box.
--} 9. Enter this text in the preamble:
--} \lfoot{Test line1\\line2\\line3\\line4}
--}
--} Put in as many lines as you like. \lfoot means left footer, this
--} command works because you set the pagestyle to fancy.
--} You may also use \rfoot{right footer} \cfoot{center footer}
--} as well as \lhead, \rhead and \chead for the headers.
--}
--} 10.Click OK in the dialog, to get rid of it.
--} 11.Enter normal text in the document, then print or view it.
--} 12.Fine-tune the bottom margin if you need to. A bigger margin has
--}     more room for the footer, a smaller margin will push a big
--}     footer down and possibly across the paper edge.
--}
--}
--} This footer is the same on all pages. It is possible to get
--} variable stuff too, such as the page number. Ask again
--} if you need more tips.
--}

Thanks Helge,

In article (KOMA-Script) I got things working and as you suggested by raising 
the bottom margin and it worked a treat there, but I am still working with 
the letter KOMA class and seeing what I can discover. I have never worked 
with footers much, though I have brought the bottom margin up often, to make 
a document look a little more to my liking.

In the article (KOMA-Script) things work great, and I have several/many 
templates in that class for various purposes including letters, but I thought 
I would just attempt to do something a bit different, so tried the letters 
(KOMA-Script v.2). 

In  article (KOMA-Script) I have headers with text and with and without 
graphics and footers with and without graphics and text, but if I insert a 
graphic in the footer it sits higher than the footer text. Not a worry, but 
something I am, when time permits, trying to eradicate.

I can create any documents in OpenOffice of course, but I have really switched 
to LyX for everything, and use OpenOffice so seldom now, that I have to look 
up some things in Help - why can't I remember this. The change hasn't been 
made because OO isn't great software, because it is, but rather because LyX 
suits my masochistic streak and my way of working. LyX certainly looks 
cleaner or just appeals to me, preferring to use it though no definitive 
explanation can be found.

I have the LaTeX manual.pdf and have read parts of it and while I read I work 
on a document to see what can be done when time and power supply permits. I 
will, as you suggest have to read more specifically, and try to understand 
the principles and basics.

As an aside to do with the footer:

Setting my bottom margin: Document--Settings=Page Margins--Bottom to 6

Here is my footer preamble [you'll need to insert your own graphic file, in my 
case it's a .jpg file of a tawny frogmouth] on my footer experimental 
document:

\usepackage{graphics}\rfoot{\resizebox{60pt}{!}
{\includegraphics{/home/charlie/Wildlife/tawny-egwsg.jpg}}}
\lfoot{\bf \large \scshape this was\\fine as well}
\cfoot{\bf \large \scshape did this\\and it was fine}

The tawny frogmouth graphic sits a bit high as you can see in the attached 
pic. Not a problem, just something I haven't as yet worked out how to fix. I 
don't like bothering the list.

Thanks for your good advice, it is much appreciated.

Be well,
Charlie
-- 
Registered Linux User:- 329524
***
Whatever you think is delusion. KATAGIRI ROSHI

***
Debian, just the best way to create magic
___
attachment: footer.jpg

install thesis class, Mac

2008-10-21 Thread Mike Martell
Hi:
I've been having a lot of trouble installing a new class for LyX with
my mac.  I am hoping to use LyX to write my doctoral dissertation.  I
am trying to install the thesis class for my university, authesis.cls.

I have followed the directions, I believe, but am not getting the class to work.

I have placed these files (authesis.cls, aucas.clo, aut10.clo,
auecon.clo) in this location:

users/username/library/texmf/tex/latex/authesis/


i have placed a layout file (authesis.layout) at this location:

username/libarary/Application Support/Lyx-1.5/layouts

The layout file reads:
#% Do not delete hte line below; configure depens on this
# \DeclareLaTeXClass[authesis]{article (authesis)}

# Input general definitions
Input stdclass.inc

After doing this, I open terminal typed texhash and then quit terminal
I went to LyX, reconfigure and i get an error message that says, The
system reconfiguration has failed. Default textclass is used but LyX
may not be able to work properly. Please reconfigure again if needed.
I close LyX, start it again, and then if I go to Document, Settings, I
do not see the authesis in the document class menu(and the number of
classes I have listed is now much smaller than before i tried to
install this class).

Can someone help?  I would very greatly appreciate it!  I am very new
to both LyX and my Mac.
Thanks,
Mike


Re: install thesis class, Mac

2008-10-21 Thread rgheck

Mike Martell wrote:

Hi:
I've been having a lot of trouble installing a new class for LyX with
my mac.  I am hoping to use LyX to write my doctoral dissertation.  I
am trying to install the thesis class for my university, authesis.cls.

I have followed the directions, I believe, but am not getting the class to work.

I have placed these files (authesis.cls, aucas.clo, aut10.clo,
auecon.clo) in this location:

users/username/library/texmf/tex/latex/authesis/

  
OK, this is a very silly question, but did you replace username with 
your username?


rh

i have placed a layout file (authesis.layout) at this location:

username/libarary/Application Support/Lyx-1.5/layouts

The layout file reads:
#% Do not delete hte line below; configure depens on this

  

Typos. I don't think they matter, though.


# \DeclareLaTeXClass[authesis]{article (authesis)}

  

You might need a format tag here, viz:

   Format 4


# Input general definitions
Input stdclass.inc

  

I'd try Input article.layout instead, and get the whole thing.

After doing this, I open terminal typed texhash 

  
Try kpsewhich authesis.cls. If you don't get a sensible response, then 
TeX hasn't found it.



and then quit terminal
I went to LyX, reconfigure and i get an error message that says, The
system reconfiguration has failed. Default textclass is used but LyX
may not be able to work properly. Please reconfigure again if needed.
I close LyX, start it again, and then if I go to Document, Settings, I
do not see the authesis in the document class menu(and the number of
classes I have listed is now much smaller than before i tried to
install this class).

  

That's because of the reconfigure failure.

What I'd suggest is to try to run the reconfigure directly from 
/users/username/libarary/Application Support/Lyx-1.5/. I.e., open a 
terminal, go to that directory, and then run python 
/path/to/configure.py. If you can't figure out where that file is, 
someone else will know. Anyway, you'll get more helpful error messages then.


rh



Re: install thesis class, Mac

2008-10-21 Thread Mike Martell
Thanks for your response.
I updated my layout file to read:

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[authesis]{article (authesis)}
Format 4
# Input general definitions
Input article.layout

and I tried kpsewhich authesis.cls in the terminal.  the response was
the location of the file.  I noticed that when I tried texhash,
terminal told me that it was not writeable, so I tried sudo texhash
and it gave me the same response as kpsewhich.  I still get the same
error message in LyX.

I don't under stand your last recommendation:
What I'd suggest is to try to run the reconfigure directly from
/users/username/libarary/Application Support/Lyx-1.5/. I.e., open a
terminal, go to that directory, and then run python
/path/to/configure.py. If you can't figure out where that file is,
someone else will know. Anyway, you'll get more helpful error messages
then.

do i open terminal, type in the location of the class file?  i.e.
/users/username/library/texmf/tex/latex/authesis/  or the location of
the layouts: username/libarary/Application Support/Lyx-1.5/layouts .
and then I type python/path/to/configure.py in terminal? when I
tried this, it said -bash ... doesn't exist

thanks so much for your insight.
mike


On Tue, Oct 21, 2008 at 7:45 PM, rgheck [EMAIL PROTECTED] wrote:
 Mike Martell wrote:

 Hi:
 I've been having a lot of trouble installing a new class for LyX with
 my mac.  I am hoping to use LyX to write my doctoral dissertation.  I
 am trying to install the thesis class for my university, authesis.cls.

 I have followed the directions, I believe, but am not getting the class to
 work.

 I have placed these files (authesis.cls, aucas.clo, aut10.clo,
 auecon.clo) in this location:

 users/username/library/texmf/tex/latex/authesis/



 OK, this is a very silly question, but did you replace username with your
 username?

 rh

 i have placed a layout file (authesis.layout) at this location:

 username/libarary/Application Support/Lyx-1.5/layouts

 The layout file reads:
 #% Do not delete hte line below; configure depens on this



 Typos. I don't think they matter, though.

 # \DeclareLaTeXClass[authesis]{article (authesis)}



 You might need a format tag here, viz:

   Format 4

 # Input general definitions
 Input stdclass.inc



 I'd try Input article.layout instead, and get the whole thing.

 After doing this, I open terminal typed texhash


 Try kpsewhich authesis.cls. If you don't get a sensible response, then TeX
 hasn't found it.

 and then quit terminal
 I went to LyX, reconfigure and i get an error message that says, The
 system reconfiguration has failed. Default textclass is used but LyX
 may not be able to work properly. Please reconfigure again if needed.
 I close LyX, start it again, and then if I go to Document, Settings, I
 do not see the authesis in the document class menu(and the number of
 classes I have listed is now much smaller than before i tried to
 install this class).



 That's because of the reconfigure failure.

 What I'd suggest is to try to run the reconfigure directly from
 /users/username/libarary/Application Support/Lyx-1.5/. I.e., open a
 terminal, go to that directory, and then run python /path/to/configure.py.
 If you can't figure out where that file is, someone else will know. Anyway,
 you'll get more helpful error messages then.

 rh




Re: install thesis class, Mac

2008-10-21 Thread rgheck

Mike Martell wrote:

Thanks for your response.
I updated my layout file to read:

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[authesis]{article (authesis)}
Format 4
# Input general definitions
Input article.layout

and I tried kpsewhich authesis.cls in the terminal.  the response was
the location of the file.  I noticed that when I tried texhash,
terminal told me that it was not writeable, 

  
That's normal, since texhash wants to update lots of files, some of 
which you wouldn't be able to write.



so I tried sudo texhash
and it gave me the same response as kpsewhich.  I still get the same
error message in LyX.

I don't under stand your last recommendation:
What I'd suggest is to try to run the reconfigure directly from
/users/username/libarary/Application Support/Lyx-1.5/. I.e., open a
terminal, go to that directory, and then run python
/path/to/configure.py. If you can't figure out where that file is,
someone else will know. Anyway, you'll get more helpful error messages
then.

  
When you hit ToolsConfigure, what it actually does is run the 
configure.py python script and write a bunch of files to your user 
directory. One of these, for example, is textclass.lst, which contains a 
list of all the layout files configure.py finds and some information 
about them. You can run this configure.py script from outside LyX, and 
that's what we want to do. But we have to run it from your user 
directory, that is, from where configure.py is, since the file will 
write the next textclass.lst to the directory from which you run it.


That said, you CAN run it from anywhere, and since we're just debugging 
you can run it from /tmp/, and then it won't actually change any of your 
files. What we want is error messages right now.



do i open terminal, type in the location of the class file?  i.e.
/users/username/library/texmf/tex/latex/authesis/  or the location of
the layouts: username/libarary/Application Support/Lyx-1.5/layouts.

  

For now:
# cd /tmp/
but for real:
# cd username/library/Application Support/Lyx-1.5/
That ought to be where textclass.lst lives.

and then I type python/path/to/configure.py in terminal? when I
tried this, it said -bash ... doesn't exist

  

Type:
# python /path/to/configure.py
where the /path/to/ part is replaced by the actual path to 
configure.py. I don't know what that is on your machine, because I'm not 
on Mac. (On my machine, it would be: /usr/local/share/lyx/configure.py, 
but this probably isn't right for you.) But maybe you can try:

# locate configure.py
I don't know if locate is available on Mac, though.

I'm cc'ing Bennett, as he knows about Mac stuff.

rh



Table of contents dialog problem

2008-10-21 Thread asm23

My environment is Windows XP En. Lyx 1.6RC3.

When I click the Table of contents in a lyx file. A Outline dialog 
will display in the left side. But nothing will show below. I should 
select another item in the list, and then select the table of contents 
again, the TOC will displayed and updated.


the attachment image is a screen shot of this problem.
inline: table_error.jpg

Re: install thesis class, Mac

2008-10-21 Thread Mike Martell
Thanks again.  I took your advice.  I located configure.py  I opened
terminal, typed:
# cd /tmp/

then,

#python/library/applications/lyx.app/content/resources/configure.py

Then, I opened LyX, and tried to reconfigure.  I got the same error
message that the configure did not work.  Is it of interest that if I
go to, Tools-Tex Information, I see authesis under the list of
classes?

I really appreciate your help so far!  thanks, mike

On Tue, Oct 21, 2008 at 9:19 PM, rgheck [EMAIL PROTECTED] wrote:
 Mike Martell wrote:

 Thanks for your response.
 I updated my layout file to read:

 #% Do not delete the line below; configure depends on this
 #  \DeclareLaTeXClass[authesis]{article (authesis)}
 Format 4
 # Input general definitions
 Input article.layout

 and I tried kpsewhich authesis.cls in the terminal.  the response was
 the location of the file.  I noticed that when I tried texhash,
 terminal told me that it was not writeable,


 That's normal, since texhash wants to update lots of files, some of which
 you wouldn't be able to write.

 so I tried sudo texhash
 and it gave me the same response as kpsewhich.  I still get the same
 error message in LyX.

 I don't under stand your last recommendation:
 What I'd suggest is to try to run the reconfigure directly from
 /users/username/libarary/Application Support/Lyx-1.5/. I.e., open a
 terminal, go to that directory, and then run python
 /path/to/configure.py. If you can't figure out where that file is,
 someone else will know. Anyway, you'll get more helpful error messages
 then.



 When you hit ToolsConfigure, what it actually does is run the configure.py
 python script and write a bunch of files to your user directory. One of
 these, for example, is textclass.lst, which contains a list of all the
 layout files configure.py finds and some information about them. You can run
 this configure.py script from outside LyX, and that's what we want to do.
 But we have to run it from your user directory, that is, from where
 configure.py is, since the file will write the next textclass.lst to the
 directory from which you run it.

 That said, you CAN run it from anywhere, and since we're just debugging you
 can run it from /tmp/, and then it won't actually change any of your files.
 What we want is error messages right now.

 do i open terminal, type in the location of the class file?  i.e.
 /users/username/library/texmf/tex/latex/authesis/  or the location of
 the layouts: username/libarary/Application Support/Lyx-1.5/layouts.



 For now:
 # cd /tmp/
 but for real:
 # cd username/library/Application Support/Lyx-1.5/
 That ought to be where textclass.lst lives.

 and then I type python/path/to/configure.py in terminal? when I
 tried this, it said -bash ... doesn't exist



 Type:
 # python /path/to/configure.py
 where the /path/to/ part is replaced by the actual path to configure.py. I
 don't know what that is on your machine, because I'm not on Mac. (On my
 machine, it would be: /usr/local/share/lyx/configure.py, but this probably
 isn't right for you.) But maybe you can try:
 # locate configure.py
 I don't know if locate is available on Mac, though.

 I'm cc'ing Bennett, as he knows about Mac stuff.

 rh




Mac Cursor and Math Mode problem

2008-10-21 Thread Antonio Rieser
Hi, all!

Two problems.  I'm using LyX on the Mac (OS X.3/4.?) for the
first time, and after I choose 'Section' and then type, the text on
the line I'm typing jumps to the right, but the cursor stays where it
is.  It drives me a little nuts.  This behavior continues if I choose
another mode, like 'Standard' or 'Theorem', if I have a  'Section'
somewhere above where I'm trying to type.  If I only type above all of
the 'Section' areas, then the cursor acts normally.

Also, the program does not keep the areas typed in math mode in a
different color.  If I scroll to a new page, the formulas start out
blue, but then switch to black after a second.  I would prefer that
they stayed blue.  How is it supposed to work?

What should I do?

Thanks,

  Tony


Re: paragraph indents -- document class book (Polish version by M. W.), MWBK

2008-10-21 Thread Manveru
The most tweakable (is this correct word in English?) style is
Koma-Script, so you may probably prefer it instead of fighting with
mwcls classes. Koma-Script is well documented, which not exactly means
is easy for beginners.

Marcin Woliński who is the author of mwcls used old documents about
Polish typography, when he was creating these classes (mwcls set). And
in real, output looks very similarly to that what I remember from old
books from times of the primary school.

M.

2008/10/21 Jonathan Kroner [EMAIL PROTECTED]:
 Hi Manveru,

 Thank you for getting back to me. I don't think I'll get very far in Polish
 but I still like that book class. It works great for me for a few reasons:
 it seems to be more laid out like a book than some of the more popular
 classes. In particular I like that the cover page is not numbered, the
 headers fit and it looks (to me) more professional.

 I'm not doing a lot of tweaks, mostly because after way way too many hours I
 still can't figure out how to use most advanced LyX features.

 regards,

 Jonathan


 On Mon, Oct 20, 2008 at 5:18 AM, Manveru [EMAIL PROTECTED] wrote:

 2008/10/18 Jonathan Kroner [EMAIL PROTECTED]:
  re: paragraph indents -- document class book (Polish version by M. W.),
  MWBK
 
  1.   Is there a way to remove the indent from the initial paragraph
  under
  chapter, section, subsection titles in the document class book (Polish
  version by M. W.)?
 
  2.   Is there a link to document class options for MWBK, Polish
  version
  by M. W. other than those listed in Extended LyX Features, section
  4.19
  about the MWBK class?

 I don't remember all options for mwbk, but this is very specific for
 classic Polish book standards (let's say very old standards). In these
 standards all paragraphs has indentation. And I am not sure whether
 this could be removed.

 Additionally, LyX layout file was buggy for this style in 1.5.3 - it
 does not contains some include, what causes outline function to not
 work (I dont't remember whether it was corrected or not as I am using
 my own layout file).

 This style has more strange behaviours, so I suggest not using it,
 if you really do not know what are you doing. It is good practice to
 read the manual for this style, but it is in Polish only:
 http://www.ctan.org/tex-archive/macros/latex/contrib/mwcls/mwclsdoc.pdf
 --
 Manveru
 jabber: [EMAIL PROTECTED]
 gg: 1624001
   http://www.manveru.pl



 --
 Jonathan Kroner
 http://jonathankroner.com/
 http://floridafalseclaim.com/
 305.310.6046





-- 
Manveru
jabber: [EMAIL PROTECTED]
 gg: 1624001
   http://www.manveru.pl


LYX will crash when changing the Toolbar icon's size

2008-10-21 Thread asm23
Hi, I'm using Lyx 1.6RC3. I install the Lyx with Chinese language UI. 
When I right click on the ToolBar, and try to select another size of 
icons. Lyx will crash. It seems that not all the menu's were fully 
translated from English to Chinese.


As a solving method, I reinstall Lyx with English language, the crash 
never happened again.


Thanks you!



Re: LYX will crash when changing the Toolbar icon's size

2008-10-21 Thread Abdelrazak Younes

On 21/10/2008 09:18, asm23 wrote:

Hi, I'm using Lyx 1.6RC3. I install the Lyx with Chinese language UI.
When I right click on the ToolBar, and try to select another size of
icons. Lyx will crash. It seems that not all the menu's were fully
translated from English to Chinese.


I cannot reproduce the crash with current svn version so I guess the bug 
will be fixed in the next RC. Please create a bugzilla entry in any case 
so that we can track this bug (bugzilla.lyx.org). Make sure to answer 
those questions in the entry:


Question 1: did you use the diplay language preference dialog or did you 
set the LANGUAGE environment variable?

Question 2: which platform?

Thanks,
Abdel.



Re: LYX will crash when changing the Toolbar icon's size

2008-10-21 Thread asm23

Abdelrazak Younes wrote:

On 21/10/2008 09:18, asm23 wrote:

Hi, I'm using Lyx 1.6RC3. I install the Lyx with Chinese language UI.
When I right click on the ToolBar, and try to select another size of
icons. Lyx will crash. It seems that not all the menu's were fully
translated from English to Chinese.


I cannot reproduce the crash with current svn version so I guess the bug 
will be fixed in the next RC. Please create a bugzilla entry in any case 
so that we can track this bug (bugzilla.lyx.org). Make sure to answer 
those questions in the entry:


Question 1: did you use the diplay language preference dialog or did you 
set the LANGUAGE environment variable?

Question 2: which platform?

Thanks,
Abdel.




Thanks Abdelrazak for your help. My platform is windows XP EN.For 
testing, I reinstall Lyx 1.6RC3.In the SETUP step, I select 
Chinese(simplified) as the Lyx's interface.
But this time I can't reproduce the crash again. I guess this problem 
happens when I just overwrite the previous version from Lyx 1.5 to Lyx 
1.6RC3. Anyway, it works in Chinese interface Now!


Thanks again.



Re: LYX will crash when changing the Toolbar icon's size

2008-10-21 Thread Abdelrazak Younes

On 21/10/2008 13:22, asm23 wrote:

Abdelrazak Younes wrote:

On 21/10/2008 09:18, asm23 wrote:

Hi, I'm using Lyx 1.6RC3. I install the Lyx with Chinese language UI.
When I right click on the ToolBar, and try to select another size of
icons. Lyx will crash. It seems that not all the menu's were fully
translated from English to Chinese.


I cannot reproduce the crash with current svn version so I guess the
bug will be fixed in the next RC. Please create a bugzilla entry in
any case so that we can track this bug (bugzilla.lyx.org). Make sure
to answer those questions in the entry:

Question 1: did you use the diplay language preference dialog or did
you set the LANGUAGE environment variable?
Question 2: which platform?

Thanks,
Abdel.




Thanks Abdelrazak for your help. My platform is windows XP EN.For
testing, I reinstall Lyx 1.6RC3.In the SETUP step, I select
Chinese(simplified) as the Lyx's interface.
But this time I can't reproduce the crash again. I guess this problem
happens when I just overwrite the previous version from Lyx 1.5 to Lyx
1.6RC3. Anyway, it works in Chinese interface Now!


Good! Don't hesitate to contribute further translation of the interface ;-)

FYI, you can change the display language at runtime without reinstalling 
nor restarting.


Abdel.



Re: Bringing the footer higher...

2008-10-21 Thread Helge Hafting

M-L wrote:

I will attempt that, though I may have tried it before? I know I have tried 
just about everything I could think of, and found nothing that worked. I 
tried that firstfootvpos though I didn't know whether it required  a \ in 
front of it or not and tried it with that and without and various brackets 
and a whole lot of other combinations.


If I knew more about LaTeX and LyX, would have a crack at re-writing the 
manual but in a different format. That's not a criticisms, it's simply and 
observation as to why I, who is in the minority, can't grasp all the 
concepts. Probably because I left school at the age of 14, and have only used 
computers for the last decade. For someone like me it really requires an 
example of the preamble and then an explanation of each line, and why those 
commands work in letter and not in article, etc., or whatever.



Latex can be tricky. LyX tries to help that, by offering easier dialog
boxes for common stuff. You should be able to set the margin sizes
without any latex commands at all. Some latex will be necessary to make 
a multiline footer though.


I started reading the scrguien.pdf from the start, but it was hard going, and 
data overload. Going to the sections was better, but like many of these 
manuals written by experts, they presume the reader has a greater 
understanding than may be the case, which chases me back to previous chapters 
and then I start getting lost again.


Well known problem! This can be fixed by reading books that explains
latex from scratch. Kopka and Daly Guide to Latex is a good one.
Get it from the library to see if it helps, buy it later if you find
it useful. It explains what all those other manual writers expect you to 
know. It certainly helped me.



During my frustrations I wrote in my journal:

[quote]
Trying to understand something this large with a brain this small is an 
arrogance of a kind in itself.

[end quote]


Not a small brain, just lack of training. Latex package manuals
gets easier if you learn the basics first.



I then tried the letter [KOMA v2] template and started adapting it to my 
needs. I still didn't understand much of what it did, and found things in the 
preamble were duplicated by the commands that were point and click in LyX, 
and other preamble entries were not permitted. 

[Disclaimer - aware that LyX does not take all LaTeX commands and may never do 
so as stated in the introduction of LyX]


There was also a funny thing, when I opened a new document in LyX Letter 
[KOMA-script v2] and tried to insert some of the preamble from the template, 
one at a time, they didn't work, or didn't work properly. I couldn't 
understand that at all. I kept adding things from the template and I'm not 
certain that I didn't copy the whole preamble into the new LyX document 
before they worked? But I am not sure any more if this was the case. I have a 
funny feeling they still didn't work, so the template used something 
different again?



Letters are a bit special. The letter document class sort of have a
all or nothing approach, which isn't very user-friendly. If you
want to use letter, start with the Lyx template and work from there.
It just fails if some of the required fields aren't present.
Other document classes are easier to use, without such hidden requirements.

I have attached a lyx document with a multiline footer,
custom margins, and no more latex than necessary.
Here is how to do it:

1. Create a document, of type koma-script article.
2. Menu Document-settings
3. Click Page Layout in the document settings dialog box
4. Set the Page style to fancy using the dropdown menu / combobox.
5. Click Page margins in the dialog box
6. Uncheck default margins
7. Specify other margins, I used 5cm top and bottom margins.
8. Click LaTeX Preamble in the dialog box.
9. Enter this text in the preamble:
\lfoot{Test line1\\line2\\line3\\line4}

Put in as many lines as you like. \lfoot means left footer, this 
command works because you set the pagestyle to fancy.

You may also use \rfoot{right footer} \cfoot{center footer}
as well as \lhead, \rhead and \chead for the headers.

10.Click OK in the dialog, to get rid of it.
11.Enter normal text in the document, then print or view it.
12.Fine-tune the bottom margin if you need to. A bigger margin has
   more room for the footer, a smaller margin will push a big
   footer down and possibly across the paper edge.


This footer is the same on all pages. It is possible to get
variable stuff too, such as the page number. Ask again
if you need more tips.

Helge Hafting


footer.lyx
Description: application/lyx


Re: spellchecking problem…

2008-10-21 Thread Stefan Schimanski

I had to put the correct directionary path into ~/.aspell.conf

  dict-dir /Library/Application Support/cocoAspell/aspell6-en-6.0-0/

Now it works for me (at least UK English, maybe German as well).

Stefan

Am 12.10.2008 um 10:45 schrieb macnews:


Hello,

I have a problem using spellchecking in Lyx (1.6.0rc3 and also in  
1.5.4)
with OSX. I have installed th recent version of cocoAspell (2.0.4).  
I also
installed a german dictionary into the proper folder (Library -  
Application

Support - cocoAspell). After that I activated the languages in the
sytem-preferences. Lyx seems to recognize the dictionaries, as I could
choose them in the language-menu.
Every time (regardless of the language I choose) I run the  
spellchecker I

get the following message:

»Das Rechtschreibprogramm konnte nicht gestartet werden
Error: The file /usr/local/lib/aspell-0.60/english can not be  
opened for

reading.«

I tried to change setting both in the documents-window and in the  
general
preferences – without success. What could be the problem here? Does  
anybody

have a working spellchecking configuration for a german dictionary?

Best*
Jess




Re: LYX will crash when changing the Toolbar icon's size

2008-10-21 Thread asm23

Abdelrazak Younes wrote:


Good! Don't hesitate to contribute further translation of the interface ;-)

Ok, I will do my contribution to this project in my free time. I do 
think Video tutorial is a fast way to teach a beginner to use Lyx.


FYI, you can change the display language at runtime without reinstalling 
nor restarting.
WoW, it's so simple to change the interface. Thanks, it will save me a 
lot of time. Thanks!




Abdel.






Re: Theorem cross reference title missing

2008-10-21 Thread rgheck

Jozef Aardappel wrote:

hmm, indeed, your example works as I would expect it to work.  This also works for 
sections etc with me.  Although I thought it did not, apperently i forgot to choose 
formatted reference there.

I however use my own layout which uses 'rule'.  This is basically something 
like lemma etc in the ams-math layout.  Did I made a mistake in my layout?  How 
can I fix this?

  

You need to define a prettyref format to go with this. Something like:
   \newrefformat{rul}{rule \ref{#1}}
See the prettyref docs for more info.

rh



Toolbar will always slide to the right side on start up

2008-10-21 Thread asm23

How can I demonstrate this problem. I just snap the screen.

I'm using window xp en. Lyx 1.6RC3.

This is the toolbar before I close:
http://zyh23.diinoweb.com/files/openPic/good1.jpg
And ,this is the toolbar when I restart Lyx: the toolbars will slide to 
the right corner.

http://zyh23.diinoweb.com/files/openPic/error.jpg

I test it in Big icons, normal icons and small icons mode, and they all 
have this problem.




Re: Toolbar will always slide to the right side on start up

2008-10-21 Thread Abdelrazak Younes

On 21/10/2008 15:30, asm23 wrote:

How can I demonstrate this problem. I just snap the screen.

I'm using window xp en. Lyx 1.6RC3.

This is the toolbar before I close:
http://zyh23.diinoweb.com/files/openPic/good1.jpg
And ,this is the toolbar when I restart Lyx: the toolbars will slide to
the right corner.
http://zyh23.diinoweb.com/files/openPic/error.jpg

I test it in Big icons, normal icons and small icons mode, and they all
have this problem.


This is a known Qt bug. I was hoping that it get fixed with Qt4.4.3 but no.

http://bugzilla.lyx.org/show_bug.cgi?id=4967

Abdel.



How to change pdf viewer?

2008-10-21 Thread Joachim Kreimer-de Fries

Salve,

How can one configure LyX to use another pdf viewer when clicking the  
view pdf (pdf-latex) button?


I could not find out. It depends what is set automatically during  
installation.


Actually I would like to disburden Adobe Acrobat Reader from this  
task because too slow and change to Skim (or PDFView).


joachim
--
MacTeX - TeXLive 2007 - TeXShop 2.14-svn (2.14)
und auch ggf. LyX/Mac 1.5.6 auf MacBook Pro mit OSX 10.4.11 Tiger





Re: How to change pdf viewer?

2008-10-21 Thread Uwe Stöhr

Joachim Kreimer-de Fries schrieb:

How can one configure LyX to use another pdf viewer when clicking the 
view pdf (pdf-latex) button?


menu Tools-Settings-file formats
There specify the viewer you like for the format PDF (pdflatex).

regards Uwe


Re: Toolbar will always slide to the right side on start up

2008-10-21 Thread asm23

Abdelrazak Younes wrote:

On 21/10/2008 15:30, asm23 wrote:

How can I demonstrate this problem. I just snap the screen.

I'm using window xp en. Lyx 1.6RC3.

This is the toolbar before I close:
http://zyh23.diinoweb.com/files/openPic/good1.jpg
And ,this is the toolbar when I restart Lyx: the toolbars will slide to
the right corner.
http://zyh23.diinoweb.com/files/openPic/error.jpg

I test it in Big icons, normal icons and small icons mode, and they all
have this problem.


This is a known Qt bug. I was hoping that it get fixed with Qt4.4.3 but no.

http://bugzilla.lyx.org/show_bug.cgi?id=4967

Abdel.



Thanks, I hope it will be fixed soon.



Re: How to change pdf viewer?

2008-10-21 Thread Konrad Hofbauer

Joachim Kreimer-de Fries wrote [on Mac]:
How can one configure LyX to use another pdf viewer when clicking the 
view pdf (pdf-latex) button?


By default, LyX uses the default viewer that is set in the operating 
system for PDFs. So you can change Mac OS X default PDF application 
setting, or you can change in LyX - Preferences - File Formats - PDF 
(...) - Viewer.


HTH,
Konrad

P.S. Please do not hijack threads by replying to old messages with a new 
question. Start a new thread for new questions.




Re: Toolbar will always slide to the right side on start up

2008-10-21 Thread Nikos Alexandris
On Tue, 2008-10-21 at 22:14 +0800, asm23 wrote:
 Abdelrazak Younes wrote:
  On 21/10/2008 15:30, asm23 wrote:
  How can I demonstrate this problem. I just snap the screen.
 
  I'm using window xp en. Lyx 1.6RC3.
 
  This is the toolbar before I close:
  http://zyh23.diinoweb.com/files/openPic/good1.jpg
  And ,this is the toolbar when I restart Lyx: the toolbars will slide to
  the right corner.
  http://zyh23.diinoweb.com/files/openPic/error.jpg
 
  I test it in Big icons, normal icons and small icons mode, and they all
  have this problem.
  
  This is a known Qt bug. I was hoping that it get fixed with Qt4.4.3 but no.
  
  http://bugzilla.lyx.org/show_bug.cgi?id=4967
  
  Abdel.
  
  
 Thanks, I hope it will be fixed soon.
 

Me too :-)



Installing a new class on Lyx

2008-10-21 Thread Daniel Joshua Stark

To whom it may concern:

I would like to install the class and BibTex files for the American  
Chemical Society Journal Submissions (achemso style package) on Lyx.   
I also tried making a very basic layout file.


I've tried following the numerous tutorials, but they don't seem to  
work, even after doing texhash and reconfigure.  The only thing I can  
think of is that the tutorials are written for Unix or Windows and  
following them does not work right for Lyx 1.5.6 on Mac OS X 10.5.5,  
which I am running.


Any help would be greatly appreciated.

Thank you,

Daniel Stark
Graduate Student
Rice University, MS-61
Physics and Astronomy
Dell Butcher Hall 100
1900 Rice Blvd., Ent. 20
Houston TX 77005
USA

Ph: +1-713-348-3126
Fx:  +1-713-348-2603

In physics, you don't have to go around making trouble for yourself -  
nature does it for you. - Frank Wilczek
I think physicists are the Peter Pans of the human race. They never  
grow up and they keep their curiosity. - Isidor Isaac Rabi




Re: How to change pdf viewer?

2008-10-21 Thread Joachim Kreimer-de Fries

Am 21.10.2008 um 16:10 schrieb Uwe Stöhr:

menu Tools-Settings-file formats

Am 21.10.2008 um 16:17 schrieb Konrad Hofbauer:
you can change in LyX - Preferences - File Formats - PDF (...) - 
 Viewer.


Thanks, it works finally. But for someone else who also might want to  
change the pdf viewer I add: it it not sufficient to give in the path  
to the application package but to the application EXECutable itself,  
at least on Mac-OSX, in my case:


/Applications/Skim.app/Contents/MacOS/Skim

Konrad wrote further
P.S. Please do not hijack threads by replying to old messages with  
a new question. Start a new thread for new questions.


Sorry, I was not aware of it, now I remember again that it is not  
enough to to erase content and change subject, but not to answer on  
a received mail from the list.

--
MacTeX - TeXLive 2007 - TeXShop 2.14-svn (2.14)
und auch ggf. LyX/Mac 1.5.6 auf MacBook Pro mit OSX 10.4.11 Tiger



Lyx + Biblatex + Headers formating problems

2008-10-21 Thread Jose A. Aponte
Hi All

I have just started to use Lyx for writing my first year PhD report and I am
having some problems which I hope you can help me to solve.

I followed all the procedures to install biblatex and use it with Lyx. It is
working great now and I have managed to edit the biblatex style to suit my
requirements.

However I am having basically two problems:

1. When using the \printbibliography command in ERT I have also to add the
following commands before it so that the bibliography is showed in a new
page and accounted for the TOC.
\clearpage

\addcontentsline{toc}{chapter}{\numberline{}{Bibliography}}


This works fine but when the bibliography has more than one page the header
(which is done using fancy header and works fine to all other pages) is
shown in Uppercase although as I said the fancy header package is configure
to show the headers in lowercase (both chapters and sections)  and works
fine with all other pages. So instead of showing 'Bibliography' it displays
'BIBLIOGRAPHY'.


The fancy header commands, in case are needed are:




\pagestyle{fancy}

\renewcommand{\chaptermark}[1]{\markright{\chaptername\ \thechapter.\ #1}}

\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}{}}

\lhead[\fancyplain{}{}]%

{\fancyplain{}{\bfseries\rightmark}}

\chead[\fancyplain{}{}]%

{\fancyplain{}{}}

\rhead[\fancyplain{}{}]%

{\fancyplain{}{\bfseries\thepage}}

\lfoot[\fancyplain{}{}]%

{\fancyplain{}{}}

\cfoot[\fancyplain{}{}]%

{\fancyplain{}{}}

\rfoot[\fancyplain{}{}]%

{\fancyplain{}{\bfseries\today}}

%%


2. The second problems has to do with the output bibliography format from
biblatex.I am using Author-year style but each item in the bibliography
seems to be displayed unaligned in reference to each other. I do not whether
it is clear but it seems that each item (reference) has its own indentation
for the first line e.g.


Author One Surname, (year) etc etc etc 

Second line and all other are fine..

Third
line

Final
line.


 Author Two Surname, (year) etc etc etc .

Second line and all other are fine..

Third
line

Final
line.


  Author Three Surname, (year) etc etc etc .

Second line and all other are fine..

Third
line

Final
line.



Hope you see what I mean. I do not know what is happening here but each time
I change the fonts the errors in the indentation seems to change between the
items. For instance if Author one was in the right position now it is wrong
but Author two is OK and so on.


Well, hopefully someone will be able to help me.


Thanks in advance.


Jose A


Re: How to change pdf viewer?

2008-10-21 Thread Christian Liesen


Thanks, it works finally. But for someone else who also might want  
to change the pdf viewer I add: it it not sufficient to give in the  
path to the application package but to the application EXECutable  
itself, at least on Mac-OSX, in my case:


/Applications/Skim.app/Contents/MacOS/Skim



Not true. I'm on Mac OS X and have been using open -a skim all along  
without problems and through several versions of LyX. It is not  
necessary to call the app's contents.


Cheers,
-- Christian


Re: How to change pdf viewer?

2008-10-21 Thread Konrad Hofbauer

Joachim Kreimer-de Fries wrote:

Am 21.10.2008 um 16:10 schrieb Uwe Stöhr:

menu Tools-Settings-file formats

Am 21.10.2008 um 16:17 schrieb Konrad Hofbauer:
you can change in LyX - Preferences - File Formats - PDF (...) - 
Viewer.


Thanks, it works finally. But for someone else who also might want to 
change the pdf viewer I add: it it not sufficient to give in the path to 
the application package but to the application EXECutable itself, at 
least on Mac-OSX, in my case:


/Applications/Skim.app/Contents/MacOS/Skim


What should also do the trick is open -a Skim, that lets OS X do the 
work of finding the app.


What I actually use is the attached script that explicitly tells Skim to 
reload. I've disabled auto-reload in Skim, since this sometimes does not 
work in combination with LyX's multiple compilation of the file.


So I have the attached script in ~/bin, set the script as executable 
(chmod u+x ...), in LyX ~/bin/SkimReload.sh, and then always use View 
PDF (not: Update PDF) in LyX


HTH,
Konrad



SkimReload.sh
Description: Bourne shell script


Re: Installing a new class on Lyx

2008-10-21 Thread Uwe Stöhr

Daniel Joshua Stark schrieb:

I would like to install the class and BibTex files for the American 
Chemical Society Journal Submissions (achemso style package) on Lyx. I 
also tried making a very basic layout file.


I've tried following the numerous tutorials, but they don't seem to 
work, even after doing texhash and reconfigure.  The only thing I can 
think of is that the tutorials are written for Unix or Windows and 
following them does not work right for Lyx 1.5.6 on Mac OS X 10.5.5, 
which I am running.


LaTeX-class files are independent of the OS, the same as for the layout files. So you first need to 
install achemso, the same way you install LaTeX-classes normally. The easiest way to do this is to 
use the package manager in case you use TeXLive 2008 as TeX-engine.


LyX unfortunately does not yet have layout file for achemso, so you have to create new one. The best 
way is to take an existing layout file (for example the file iopart.layout) and adopt it for your 
class. The Customization manual explains the possible entries of layout file.


When you give me some days, I can also create a layout file as achemso would be of interest for 
other LyX users too.


regards Uwe


Re: Installing a new class on Lyx

2008-10-21 Thread Uwe Stöhr

Daniel Joshua Stark schrieb:

I would like to install the class and BibTex files for the American 
Chemical Society Journal Submissions (achemso style package) on Lyx. I 
also tried making a very basic layout file.


I've tried following the numerous tutorials, but they don't seem to 
work, even after doing texhash and reconfigure.  The only thing I can 
think of is that the tutorials are written for Unix or Windows and 
following them does not work right for Lyx 1.5.6 on Mac OS X 10.5.5, 
which I am running.


LaTeX-class files are independent of the OS, the same as for the layout files. So you first need to 
install achemso, the same way you install LaTeX-classes normally. The easiest way to do this is to 
use the package manager in case you use TeXLive 2008 as TeX-engine.


LyX unfortunately does not yet have layout file for achemso, so you have to create new one. The best 
way is to take an existing layout file (for example the file iopart.layout) and adopt it for your 
class. The Customization manual explains the possible entries of layout file.


When you give me some days, I can also create a layout file as achemso would be of interest for 
other LyX users too.


regards Uwe


Re: Bringing the footer higher...

2008-10-21 Thread M-L
On Tue, 21 Oct 2008, Helge Hafting engaged keyboard and shared this with us 
all:
--} Letters are a bit special. The letter document class sort of have a
--} all or nothing approach, which isn't very user-friendly. If you
--} want to use letter, start with the Lyx template and work from there.
--} It just fails if some of the required fields aren't present.
--} Other document classes are easier to use, without such hidden
 requirements. --}
--} I have attached a lyx document with a multiline footer,
--} custom margins, and no more latex than necessary.
--} Here is how to do it:
--}
--} 1. Create a document, of type koma-script article.
--} 2. Menu Document-settings
--} 3. Click Page Layout in the document settings dialog box
--} 4. Set the Page style to fancy using the dropdown menu / combobox.
--} 5. Click Page margins in the dialog box
--} 6. Uncheck default margins
--} 7. Specify other margins, I used 5cm top and bottom margins.
--} 8. Click LaTeX Preamble in the dialog box.
--} 9. Enter this text in the preamble:
--} \lfoot{Test line1\\line2\\line3\\line4}
--}
--} Put in as many lines as you like. \lfoot means left footer, this
--} command works because you set the pagestyle to fancy.
--} You may also use \rfoot{right footer} \cfoot{center footer}
--} as well as \lhead, \rhead and \chead for the headers.
--}
--} 10.Click OK in the dialog, to get rid of it.
--} 11.Enter normal text in the document, then print or view it.
--} 12.Fine-tune the bottom margin if you need to. A bigger margin has
--}     more room for the footer, a smaller margin will push a big
--}     footer down and possibly across the paper edge.
--}
--}
--} This footer is the same on all pages. It is possible to get
--} variable stuff too, such as the page number. Ask again
--} if you need more tips.
--}

Thanks Helge,

In article (KOMA-Script) I got things working and as you suggested by raising 
the bottom margin and it worked a treat there, but I am still working with 
the letter KOMA class and seeing what I can discover. I have never worked 
with footers much, though I have brought the bottom margin up often, to make 
a document look a little more to my liking.

In the article (KOMA-Script) things work great, and I have several/many 
templates in that class for various purposes including letters, but I thought 
I would just attempt to do something a bit different, so tried the letters 
(KOMA-Script v.2). 

In  article (KOMA-Script) I have headers with text and with and without 
graphics and footers with and without graphics and text, but if I insert a 
graphic in the footer it sits higher than the footer text. Not a worry, but 
something I am, when time permits, trying to eradicate.

I can create any documents in OpenOffice of course, but I have really switched 
to LyX for everything, and use OpenOffice so seldom now, that I have to look 
up some things in Help - why can't I remember this. The change hasn't been 
made because OO isn't great software, because it is, but rather because LyX 
suits my masochistic streak and my way of working. LyX certainly looks 
cleaner or just appeals to me, preferring to use it though no definitive 
explanation can be found.

I have the LaTeX manual.pdf and have read parts of it and while I read I work 
on a document to see what can be done when time and power supply permits. I 
will, as you suggest have to read more specifically, and try to understand 
the principles and basics.

As an aside to do with the footer:

Setting my bottom margin: Document--Settings=Page Margins--Bottom to 6

Here is my footer preamble [you'll need to insert your own graphic file, in my 
case it's a .jpg file of a tawny frogmouth] on my footer experimental 
document:

\usepackage{graphics}\rfoot{\resizebox{60pt}{!}
{\includegraphics{/home/charlie/Wildlife/tawny-egwsg.jpg}}}
\lfoot{\bf \large \scshape this was\\fine as well}
\cfoot{\bf \large \scshape did this\\and it was fine}

The tawny frogmouth graphic sits a bit high as you can see in the attached 
pic. Not a problem, just something I haven't as yet worked out how to fix. I 
don't like bothering the list.

Thanks for your good advice, it is much appreciated.

Be well,
Charlie
-- 
Registered Linux User:- 329524
***
Whatever you think is delusion. KATAGIRI ROSHI

***
Debian, just the best way to create magic
___
attachment: footer.jpg

install thesis class, Mac

2008-10-21 Thread Mike Martell
Hi:
I've been having a lot of trouble installing a new class for LyX with
my mac.  I am hoping to use LyX to write my doctoral dissertation.  I
am trying to install the thesis class for my university, authesis.cls.

I have followed the directions, I believe, but am not getting the class to work.

I have placed these files (authesis.cls, aucas.clo, aut10.clo,
auecon.clo) in this location:

users/username/library/texmf/tex/latex/authesis/


i have placed a layout file (authesis.layout) at this location:

username/libarary/Application Support/Lyx-1.5/layouts

The layout file reads:
#% Do not delete hte line below; configure depens on this
# \DeclareLaTeXClass[authesis]{article (authesis)}

# Input general definitions
Input stdclass.inc

After doing this, I open terminal typed texhash and then quit terminal
I went to LyX, reconfigure and i get an error message that says, The
system reconfiguration has failed. Default textclass is used but LyX
may not be able to work properly. Please reconfigure again if needed.
I close LyX, start it again, and then if I go to Document, Settings, I
do not see the authesis in the document class menu(and the number of
classes I have listed is now much smaller than before i tried to
install this class).

Can someone help?  I would very greatly appreciate it!  I am very new
to both LyX and my Mac.
Thanks,
Mike


Re: install thesis class, Mac

2008-10-21 Thread rgheck

Mike Martell wrote:

Hi:
I've been having a lot of trouble installing a new class for LyX with
my mac.  I am hoping to use LyX to write my doctoral dissertation.  I
am trying to install the thesis class for my university, authesis.cls.

I have followed the directions, I believe, but am not getting the class to work.

I have placed these files (authesis.cls, aucas.clo, aut10.clo,
auecon.clo) in this location:

users/username/library/texmf/tex/latex/authesis/

  
OK, this is a very silly question, but did you replace username with 
your username?


rh

i have placed a layout file (authesis.layout) at this location:

username/libarary/Application Support/Lyx-1.5/layouts

The layout file reads:
#% Do not delete hte line below; configure depens on this

  

Typos. I don't think they matter, though.


# \DeclareLaTeXClass[authesis]{article (authesis)}

  

You might need a format tag here, viz:

   Format 4


# Input general definitions
Input stdclass.inc

  

I'd try Input article.layout instead, and get the whole thing.

After doing this, I open terminal typed texhash 

  
Try kpsewhich authesis.cls. If you don't get a sensible response, then 
TeX hasn't found it.



and then quit terminal
I went to LyX, reconfigure and i get an error message that says, The
system reconfiguration has failed. Default textclass is used but LyX
may not be able to work properly. Please reconfigure again if needed.
I close LyX, start it again, and then if I go to Document, Settings, I
do not see the authesis in the document class menu(and the number of
classes I have listed is now much smaller than before i tried to
install this class).

  

That's because of the reconfigure failure.

What I'd suggest is to try to run the reconfigure directly from 
/users/username/libarary/Application Support/Lyx-1.5/. I.e., open a 
terminal, go to that directory, and then run python 
/path/to/configure.py. If you can't figure out where that file is, 
someone else will know. Anyway, you'll get more helpful error messages then.


rh



Re: install thesis class, Mac

2008-10-21 Thread Mike Martell
Thanks for your response.
I updated my layout file to read:

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[authesis]{article (authesis)}
Format 4
# Input general definitions
Input article.layout

and I tried kpsewhich authesis.cls in the terminal.  the response was
the location of the file.  I noticed that when I tried texhash,
terminal told me that it was not writeable, so I tried sudo texhash
and it gave me the same response as kpsewhich.  I still get the same
error message in LyX.

I don't under stand your last recommendation:
What I'd suggest is to try to run the reconfigure directly from
/users/username/libarary/Application Support/Lyx-1.5/. I.e., open a
terminal, go to that directory, and then run python
/path/to/configure.py. If you can't figure out where that file is,
someone else will know. Anyway, you'll get more helpful error messages
then.

do i open terminal, type in the location of the class file?  i.e.
/users/username/library/texmf/tex/latex/authesis/  or the location of
the layouts: username/libarary/Application Support/Lyx-1.5/layouts .
and then I type python/path/to/configure.py in terminal? when I
tried this, it said -bash ... doesn't exist

thanks so much for your insight.
mike


On Tue, Oct 21, 2008 at 7:45 PM, rgheck [EMAIL PROTECTED] wrote:
 Mike Martell wrote:

 Hi:
 I've been having a lot of trouble installing a new class for LyX with
 my mac.  I am hoping to use LyX to write my doctoral dissertation.  I
 am trying to install the thesis class for my university, authesis.cls.

 I have followed the directions, I believe, but am not getting the class to
 work.

 I have placed these files (authesis.cls, aucas.clo, aut10.clo,
 auecon.clo) in this location:

 users/username/library/texmf/tex/latex/authesis/



 OK, this is a very silly question, but did you replace username with your
 username?

 rh

 i have placed a layout file (authesis.layout) at this location:

 username/libarary/Application Support/Lyx-1.5/layouts

 The layout file reads:
 #% Do not delete hte line below; configure depens on this



 Typos. I don't think they matter, though.

 # \DeclareLaTeXClass[authesis]{article (authesis)}



 You might need a format tag here, viz:

   Format 4

 # Input general definitions
 Input stdclass.inc



 I'd try Input article.layout instead, and get the whole thing.

 After doing this, I open terminal typed texhash


 Try kpsewhich authesis.cls. If you don't get a sensible response, then TeX
 hasn't found it.

 and then quit terminal
 I went to LyX, reconfigure and i get an error message that says, The
 system reconfiguration has failed. Default textclass is used but LyX
 may not be able to work properly. Please reconfigure again if needed.
 I close LyX, start it again, and then if I go to Document, Settings, I
 do not see the authesis in the document class menu(and the number of
 classes I have listed is now much smaller than before i tried to
 install this class).



 That's because of the reconfigure failure.

 What I'd suggest is to try to run the reconfigure directly from
 /users/username/libarary/Application Support/Lyx-1.5/. I.e., open a
 terminal, go to that directory, and then run python /path/to/configure.py.
 If you can't figure out where that file is, someone else will know. Anyway,
 you'll get more helpful error messages then.

 rh




Re: install thesis class, Mac

2008-10-21 Thread rgheck

Mike Martell wrote:

Thanks for your response.
I updated my layout file to read:

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[authesis]{article (authesis)}
Format 4
# Input general definitions
Input article.layout

and I tried kpsewhich authesis.cls in the terminal.  the response was
the location of the file.  I noticed that when I tried texhash,
terminal told me that it was not writeable, 

  
That's normal, since texhash wants to update lots of files, some of 
which you wouldn't be able to write.



so I tried sudo texhash
and it gave me the same response as kpsewhich.  I still get the same
error message in LyX.

I don't under stand your last recommendation:
What I'd suggest is to try to run the reconfigure directly from
/users/username/libarary/Application Support/Lyx-1.5/. I.e., open a
terminal, go to that directory, and then run python
/path/to/configure.py. If you can't figure out where that file is,
someone else will know. Anyway, you'll get more helpful error messages
then.

  
When you hit ToolsConfigure, what it actually does is run the 
configure.py python script and write a bunch of files to your user 
directory. One of these, for example, is textclass.lst, which contains a 
list of all the layout files configure.py finds and some information 
about them. You can run this configure.py script from outside LyX, and 
that's what we want to do. But we have to run it from your user 
directory, that is, from where configure.py is, since the file will 
write the next textclass.lst to the directory from which you run it.


That said, you CAN run it from anywhere, and since we're just debugging 
you can run it from /tmp/, and then it won't actually change any of your 
files. What we want is error messages right now.



do i open terminal, type in the location of the class file?  i.e.
/users/username/library/texmf/tex/latex/authesis/  or the location of
the layouts: username/libarary/Application Support/Lyx-1.5/layouts.

  

For now:
# cd /tmp/
but for real:
# cd username/library/Application Support/Lyx-1.5/
That ought to be where textclass.lst lives.

and then I type python/path/to/configure.py in terminal? when I
tried this, it said -bash ... doesn't exist

  

Type:
# python /path/to/configure.py
where the /path/to/ part is replaced by the actual path to 
configure.py. I don't know what that is on your machine, because I'm not 
on Mac. (On my machine, it would be: /usr/local/share/lyx/configure.py, 
but this probably isn't right for you.) But maybe you can try:

# locate configure.py
I don't know if locate is available on Mac, though.

I'm cc'ing Bennett, as he knows about Mac stuff.

rh



Table of contents dialog problem

2008-10-21 Thread asm23

My environment is Windows XP En. Lyx 1.6RC3.

When I click the Table of contents in a lyx file. A Outline dialog 
will display in the left side. But nothing will show below. I should 
select another item in the list, and then select the table of contents 
again, the TOC will displayed and updated.


the attachment image is a screen shot of this problem.
inline: table_error.jpg

Re: install thesis class, Mac

2008-10-21 Thread Mike Martell
Thanks again.  I took your advice.  I located configure.py  I opened
terminal, typed:
# cd /tmp/

then,

#python/library/applications/lyx.app/content/resources/configure.py

Then, I opened LyX, and tried to reconfigure.  I got the same error
message that the configure did not work.  Is it of interest that if I
go to, Tools-Tex Information, I see authesis under the list of
classes?

I really appreciate your help so far!  thanks, mike

On Tue, Oct 21, 2008 at 9:19 PM, rgheck [EMAIL PROTECTED] wrote:
 Mike Martell wrote:

 Thanks for your response.
 I updated my layout file to read:

 #% Do not delete the line below; configure depends on this
 #  \DeclareLaTeXClass[authesis]{article (authesis)}
 Format 4
 # Input general definitions
 Input article.layout

 and I tried kpsewhich authesis.cls in the terminal.  the response was
 the location of the file.  I noticed that when I tried texhash,
 terminal told me that it was not writeable,


 That's normal, since texhash wants to update lots of files, some of which
 you wouldn't be able to write.

 so I tried sudo texhash
 and it gave me the same response as kpsewhich.  I still get the same
 error message in LyX.

 I don't under stand your last recommendation:
 What I'd suggest is to try to run the reconfigure directly from
 /users/username/libarary/Application Support/Lyx-1.5/. I.e., open a
 terminal, go to that directory, and then run python
 /path/to/configure.py. If you can't figure out where that file is,
 someone else will know. Anyway, you'll get more helpful error messages
 then.



 When you hit ToolsConfigure, what it actually does is run the configure.py
 python script and write a bunch of files to your user directory. One of
 these, for example, is textclass.lst, which contains a list of all the
 layout files configure.py finds and some information about them. You can run
 this configure.py script from outside LyX, and that's what we want to do.
 But we have to run it from your user directory, that is, from where
 configure.py is, since the file will write the next textclass.lst to the
 directory from which you run it.

 That said, you CAN run it from anywhere, and since we're just debugging you
 can run it from /tmp/, and then it won't actually change any of your files.
 What we want is error messages right now.

 do i open terminal, type in the location of the class file?  i.e.
 /users/username/library/texmf/tex/latex/authesis/  or the location of
 the layouts: username/libarary/Application Support/Lyx-1.5/layouts.



 For now:
 # cd /tmp/
 but for real:
 # cd username/library/Application Support/Lyx-1.5/
 That ought to be where textclass.lst lives.

 and then I type python/path/to/configure.py in terminal? when I
 tried this, it said -bash ... doesn't exist



 Type:
 # python /path/to/configure.py
 where the /path/to/ part is replaced by the actual path to configure.py. I
 don't know what that is on your machine, because I'm not on Mac. (On my
 machine, it would be: /usr/local/share/lyx/configure.py, but this probably
 isn't right for you.) But maybe you can try:
 # locate configure.py
 I don't know if locate is available on Mac, though.

 I'm cc'ing Bennett, as he knows about Mac stuff.

 rh




Mac Cursor and Math Mode problem

2008-10-21 Thread Antonio Rieser
Hi, all!

Two problems.  I'm using LyX on the Mac (OS X.3/4.?) for the
first time, and after I choose 'Section' and then type, the text on
the line I'm typing jumps to the right, but the cursor stays where it
is.  It drives me a little nuts.  This behavior continues if I choose
another mode, like 'Standard' or 'Theorem', if I have a  'Section'
somewhere above where I'm trying to type.  If I only type above all of
the 'Section' areas, then the cursor acts normally.

Also, the program does not keep the areas typed in math mode in a
different color.  If I scroll to a new page, the formulas start out
blue, but then switch to black after a second.  I would prefer that
they stayed blue.  How is it supposed to work?

What should I do?

Thanks,

  Tony


Re: paragraph indents -- document class book (Polish version by M. W.), MWBK

2008-10-21 Thread Manveru
The most tweakable (is this correct word in English?) style is
Koma-Script, so you may probably prefer it instead of fighting with
mwcls classes. Koma-Script is well documented, which not exactly means
is easy for beginners.

Marcin Woliński who is the author of mwcls used old documents about
Polish typography, when he was creating these classes (mwcls set). And
in real, output looks very similarly to that what I remember from old
books from times of the primary school.

M.

2008/10/21 Jonathan Kroner <[EMAIL PROTECTED]>:
> Hi Manveru,
>
> Thank you for getting back to me. I don't think I'll get very far in Polish
> but I still like that book class. It works great for me for a few reasons:
> it seems to be more laid out like a book than some of the more popular
> classes. In particular I like that the cover page is not numbered, the
> headers fit and it looks (to me) more professional.
>
> I'm not doing a lot of tweaks, mostly because after way way too many hours I
> still can't figure out how to use most advanced LyX features.
>
> regards,
>
> Jonathan
>
>
> On Mon, Oct 20, 2008 at 5:18 AM, Manveru <[EMAIL PROTECTED]> wrote:
>>
>> 2008/10/18 Jonathan Kroner <[EMAIL PROTECTED]>:
>> > re: paragraph indents -- document class book (Polish version by M. W.),
>> > MWBK
>> >
>> > 1.   Is there a way to remove the indent from the initial paragraph
>> > under
>> > chapter, section, subsection titles in the document class book (Polish
>> > version by M. W.)?
>> >
>> > 2.   Is there a link to document class "options" for MWBK, "Polish
>> > version
>> > by M. W." other than those listed in "Extended LyX Features", section
>> > 4.19
>> > about the MWBK class?
>>
>> I don't remember all options for mwbk, but this is very specific for
>> classic Polish book standards (let's say very old standards). In these
>> standards all paragraphs has indentation. And I am not sure whether
>> this could be removed.
>>
>> Additionally, LyX layout file was buggy for this style in 1.5.3 - it
>> does not contains some include, what causes outline function to not
>> work (I dont't remember whether it was corrected or not as I am using
>> my own layout file).
>>
>> This style has more "strange" behaviours, so I suggest not using it,
>> if you really do not know what are you doing. It is good practice to
>> read the manual for this style, but it is in Polish only:
>> http://www.ctan.org/tex-archive/macros/latex/contrib/mwcls/mwclsdoc.pdf
>> --
>> Manveru
>> jabber: [EMAIL PROTECTED]
>> gg: 1624001
>>   http://www.manveru.pl
>
>
>
> --
> Jonathan Kroner
> http://jonathankroner.com/
> http://floridafalseclaim.com/
> 305.310.6046
>
>



-- 
Manveru
jabber: [EMAIL PROTECTED]
 gg: 1624001
   http://www.manveru.pl


LYX will crash when changing the Toolbar icon's size

2008-10-21 Thread asm23
Hi, I'm using Lyx 1.6RC3. I install the Lyx with Chinese language UI. 
When I right click on the ToolBar, and try to select another size of 
icons. Lyx will crash. It seems that not all the menu's were fully 
translated from English to Chinese.


As a solving method, I reinstall Lyx with English language, the crash 
never happened again.


Thanks you!



Re: LYX will crash when changing the Toolbar icon's size

2008-10-21 Thread Abdelrazak Younes

On 21/10/2008 09:18, asm23 wrote:

Hi, I'm using Lyx 1.6RC3. I install the Lyx with Chinese language UI.
When I right click on the ToolBar, and try to select another size of
icons. Lyx will crash. It seems that not all the menu's were fully
translated from English to Chinese.


I cannot reproduce the crash with current svn version so I guess the bug 
will be fixed in the next RC. Please create a bugzilla entry in any case 
so that we can track this bug (bugzilla.lyx.org). Make sure to answer 
those questions in the entry:


Question 1: did you use the diplay language preference dialog or did you 
set the LANGUAGE environment variable?

Question 2: which platform?

Thanks,
Abdel.



Re: LYX will crash when changing the Toolbar icon's size

2008-10-21 Thread asm23

Abdelrazak Younes wrote:

On 21/10/2008 09:18, asm23 wrote:

Hi, I'm using Lyx 1.6RC3. I install the Lyx with Chinese language UI.
When I right click on the ToolBar, and try to select another size of
icons. Lyx will crash. It seems that not all the menu's were fully
translated from English to Chinese.


I cannot reproduce the crash with current svn version so I guess the bug 
will be fixed in the next RC. Please create a bugzilla entry in any case 
so that we can track this bug (bugzilla.lyx.org). Make sure to answer 
those questions in the entry:


Question 1: did you use the diplay language preference dialog or did you 
set the LANGUAGE environment variable?

Question 2: which platform?

Thanks,
Abdel.




Thanks Abdelrazak for your help. My platform is windows XP EN.For 
testing, I reinstall Lyx 1.6RC3.In the SETUP step, I select 
Chinese(simplified) as the Lyx's interface.
But this time I can't reproduce the crash again. I guess this problem 
happens when I just overwrite the previous version from Lyx 1.5 to Lyx 
1.6RC3. Anyway, it works in Chinese interface Now!


Thanks again.



Re: LYX will crash when changing the Toolbar icon's size

2008-10-21 Thread Abdelrazak Younes

On 21/10/2008 13:22, asm23 wrote:

Abdelrazak Younes wrote:

On 21/10/2008 09:18, asm23 wrote:

Hi, I'm using Lyx 1.6RC3. I install the Lyx with Chinese language UI.
When I right click on the ToolBar, and try to select another size of
icons. Lyx will crash. It seems that not all the menu's were fully
translated from English to Chinese.


I cannot reproduce the crash with current svn version so I guess the
bug will be fixed in the next RC. Please create a bugzilla entry in
any case so that we can track this bug (bugzilla.lyx.org). Make sure
to answer those questions in the entry:

Question 1: did you use the diplay language preference dialog or did
you set the LANGUAGE environment variable?
Question 2: which platform?

Thanks,
Abdel.




Thanks Abdelrazak for your help. My platform is windows XP EN.For
testing, I reinstall Lyx 1.6RC3.In the SETUP step, I select
Chinese(simplified) as the Lyx's interface.
But this time I can't reproduce the crash again. I guess this problem
happens when I just overwrite the previous version from Lyx 1.5 to Lyx
1.6RC3. Anyway, it works in Chinese interface Now!


Good! Don't hesitate to contribute further translation of the interface ;-)

FYI, you can change the display language at runtime without reinstalling 
nor restarting.


Abdel.



Re: Bringing the footer higher...

2008-10-21 Thread Helge Hafting

M-L wrote:

I will attempt that, though I may have tried it before? I know I have tried 
just about everything I could think of, and found nothing that worked. I 
tried that firstfootvpos though I didn't know whether it required  a "\" in 
front of it or not and tried it with that and without and various brackets 
and a whole lot of other combinations.


If I knew more about LaTeX and LyX, would have a crack at re-writing the 
manual but in a different format. That's not a criticisms, it's simply and 
observation as to why I, who is in the minority, can't grasp all the 
concepts. Probably because I left school at the age of 14, and have only used 
computers for the last decade. For someone like me it really requires an 
example of the preamble and then an explanation of each line, and why those 
commands work in letter and not in article, etc., or whatever.



Latex can be tricky. LyX tries to help that, by offering easier dialog
boxes for common stuff. You should be able to set the margin sizes
without any latex commands at all. Some latex will be necessary to make 
a multiline footer though.


I started reading the scrguien.pdf from the start, but it was hard going, and 
data overload. Going to the sections was better, but like many of these 
manuals written by experts, they presume the reader has a greater 
understanding than may be the case, which chases me back to previous chapters 
and then I start getting lost again.


Well known problem! This can be fixed by reading books that explains
latex from scratch. Kopka and Daly "Guide to Latex" is a good one.
Get it from the library to see if it helps, buy it later if you find
it useful. It explains what all those other manual writers expect you to 
know. It certainly helped me.



During my frustrations I wrote in my journal:

[quote]
Trying to understand something this large with a brain this small is an 
arrogance of a kind in itself.

[end quote]


Not a small brain, just lack of training. Latex package manuals
gets easier if you learn the basics first.



I then tried the letter [KOMA v2] template and started adapting it to my 
needs. I still didn't understand much of what it did, and found things in the 
preamble were duplicated by the commands that were point and click in LyX, 
and other preamble entries were not permitted. 

[Disclaimer - aware that LyX does not take all LaTeX commands and may never do 
so as stated in the introduction of LyX]


There was also a funny thing, when I opened a new document in LyX Letter 
[KOMA-script v2] and tried to insert some of the preamble from the template, 
one at a time, they didn't work, or didn't work properly. I couldn't 
understand that at all. I kept adding things from the template and I'm not 
certain that I didn't copy the whole preamble into the new LyX document 
before they worked? But I am not sure any more if this was the case. I have a 
funny feeling they still didn't work, so the template used something 
different again?



Letters are a bit special. The letter document class sort of have a
"all or nothing" approach, which isn't very user-friendly. If you
want to use letter, start with the Lyx template and work from there.
It just fails if some of the required fields aren't present.
Other document classes are easier to use, without such hidden requirements.

I have attached a lyx document with a multiline footer,
custom margins, and no more latex than necessary.
Here is how to do it:

1. Create a document, of type koma-script article.
2. Menu Document->settings
3. Click "Page Layout" in the document settings dialog box
4. Set the Page style to "fancy" using the dropdown menu / combobox.
5. Click "Page margins" in the dialog box
6. Uncheck "default margins"
7. Specify other margins, I used 5cm top and bottom margins.
8. Click "LaTeX Preamble" in the dialog box.
9. Enter this text in the preamble:
\lfoot{Test line1\\line2\\line3\\line4}

Put in as many lines as you like. "\lfoot" means "left footer", this 
command works because you set the pagestyle to "fancy".

You may also use \rfoot{right footer} \cfoot{center footer}
as well as \lhead, \rhead and \chead for the headers.

10.Click "OK" in the dialog, to get rid of it.
11.Enter normal text in the document, then print or view it.
12.Fine-tune the bottom margin if you need to. A bigger margin has
   more room for the footer, a smaller margin will push a big
   footer down and possibly across the paper edge.


This footer is the same on all pages. It is possible to get
variable stuff too, such as the page number. Ask again
if you need more tips.

Helge Hafting


footer.lyx
Description: application/lyx


Re: spellchecking problem…

2008-10-21 Thread Stefan Schimanski

I had to put the correct directionary path into ~/.aspell.conf

  dict-dir /Library/Application Support/cocoAspell/aspell6-en-6.0-0/

Now it works for me (at least UK English, maybe German as well).

Stefan

Am 12.10.2008 um 10:45 schrieb macnews:


Hello,

I have a problem using spellchecking in Lyx (1.6.0rc3 and also in  
1.5.4)
with OSX. I have installed th recent version of cocoAspell (2.0.4).  
I also
installed a german dictionary into the proper folder (Library ->  
Application

Support -> cocoAspell). After that I activated the languages in the
sytem-preferences. Lyx seems to recognize the dictionaries, as I could
choose them in the language-menu.
Every time (regardless of the language I choose) I run the  
spellchecker I

get the following message:

»Das Rechtschreibprogramm konnte nicht gestartet werden
Error: The file "/usr/local/lib/aspell-0.60/english" can not be  
opened for

reading.«

I tried to change setting both in the documents-window and in the  
general
preferences – without success. What could be the problem here? Does  
anybody

have a working spellchecking configuration for a german dictionary?

Best*
Jess




Re: LYX will crash when changing the Toolbar icon's size

2008-10-21 Thread asm23

Abdelrazak Younes wrote:


Good! Don't hesitate to contribute further translation of the interface ;-)

Ok, I will do my contribution to this project in my free time. I do 
think "Video tutorial" is a fast way to teach a beginner to use Lyx.


FYI, you can change the display language at runtime without reinstalling 
nor restarting.
WoW, it's so simple to change the interface. Thanks, it will save me a 
lot of time. Thanks!




Abdel.






Re: Theorem cross reference title missing

2008-10-21 Thread rgheck

Jozef Aardappel wrote:

hmm, indeed, your example works as I would expect it to work.  This also works for 
sections etc with me.  Although I thought it did not, apperently i forgot to choose 
"formatted reference" there.

I however use my own layout which uses 'rule'.  This is basically something 
like lemma etc in the ams-math layout.  Did I made a mistake in my layout?  How 
can I fix this?

  

You need to define a prettyref format to go with this. Something like:
   \newrefformat{rul}{rule \ref{#1}}
See the prettyref docs for more info.

rh



Toolbar will always slide to the right side on start up

2008-10-21 Thread asm23

How can I demonstrate this problem. I just snap the screen.

I'm using window xp en. Lyx 1.6RC3.

This is the toolbar before I close:
http://zyh23.diinoweb.com/files/openPic/good1.jpg
And ,this is the toolbar when I restart Lyx: the toolbars will slide to 
the right corner.

http://zyh23.diinoweb.com/files/openPic/error.jpg

I test it in Big icons, normal icons and small icons mode, and they all 
have this problem.




Re: Toolbar will always slide to the right side on start up

2008-10-21 Thread Abdelrazak Younes

On 21/10/2008 15:30, asm23 wrote:

How can I demonstrate this problem. I just snap the screen.

I'm using window xp en. Lyx 1.6RC3.

This is the toolbar before I close:
http://zyh23.diinoweb.com/files/openPic/good1.jpg
And ,this is the toolbar when I restart Lyx: the toolbars will slide to
the right corner.
http://zyh23.diinoweb.com/files/openPic/error.jpg

I test it in Big icons, normal icons and small icons mode, and they all
have this problem.


This is a known Qt bug. I was hoping that it get fixed with Qt4.4.3 but no.

http://bugzilla.lyx.org/show_bug.cgi?id=4967

Abdel.



How to change pdf viewer?

2008-10-21 Thread Joachim Kreimer-de Fries

Salve,

How can one configure LyX to use another pdf viewer when clicking the  
"view pdf (pdf-latex) button?


I could not find out. It depends what is set automatically during  
installation.


Actually I would like to disburden Adobe Acrobat Reader from this  
task because too slow and change to Skim (or PDFView).


joachim
--
MacTeX - TeXLive 2007 - TeXShop 2.14-svn (2.14)
und auch ggf. LyX/Mac 1.5.6 auf MacBook Pro mit OSX 10.4.11 Tiger





Re: How to change pdf viewer?

2008-10-21 Thread Uwe Stöhr

Joachim Kreimer-de Fries schrieb:

How can one configure LyX to use another pdf viewer when clicking the 
"view pdf (pdf-latex) button?


menu Tools->Settings->file formats
There specify the viewer you like for the format PDF (pdflatex).

regards Uwe


Re: Toolbar will always slide to the right side on start up

2008-10-21 Thread asm23

Abdelrazak Younes wrote:

On 21/10/2008 15:30, asm23 wrote:

How can I demonstrate this problem. I just snap the screen.

I'm using window xp en. Lyx 1.6RC3.

This is the toolbar before I close:
http://zyh23.diinoweb.com/files/openPic/good1.jpg
And ,this is the toolbar when I restart Lyx: the toolbars will slide to
the right corner.
http://zyh23.diinoweb.com/files/openPic/error.jpg

I test it in Big icons, normal icons and small icons mode, and they all
have this problem.


This is a known Qt bug. I was hoping that it get fixed with Qt4.4.3 but no.

http://bugzilla.lyx.org/show_bug.cgi?id=4967

Abdel.



Thanks, I hope it will be fixed soon.



Re: How to change pdf viewer?

2008-10-21 Thread Konrad Hofbauer

Joachim Kreimer-de Fries wrote [on Mac]:
How can one configure LyX to use another pdf viewer when clicking the 
"view pdf (pdf-latex) button?


By default, LyX uses the default viewer that is set in the operating 
system for PDFs. So you can change Mac OS X default PDF application 
setting, or you can change in LyX -> Preferences -> File Formats -> PDF 
(...) -> Viewer.


HTH,
Konrad

P.S. Please do not hijack threads by replying to old messages with a new 
question. Start a new thread for new questions.




Re: Toolbar will always slide to the right side on start up

2008-10-21 Thread Nikos Alexandris
On Tue, 2008-10-21 at 22:14 +0800, asm23 wrote:
> Abdelrazak Younes wrote:
> > On 21/10/2008 15:30, asm23 wrote:
> >> How can I demonstrate this problem. I just snap the screen.
> >>
> >> I'm using window xp en. Lyx 1.6RC3.
> >>
> >> This is the toolbar before I close:
> >> http://zyh23.diinoweb.com/files/openPic/good1.jpg
> >> And ,this is the toolbar when I restart Lyx: the toolbars will slide to
> >> the right corner.
> >> http://zyh23.diinoweb.com/files/openPic/error.jpg
> >>
> >> I test it in Big icons, normal icons and small icons mode, and they all
> >> have this problem.
> > 
> > This is a known Qt bug. I was hoping that it get fixed with Qt4.4.3 but no.
> > 
> > http://bugzilla.lyx.org/show_bug.cgi?id=4967
> > 
> > Abdel.
> > 
> > 
> Thanks, I hope it will be fixed soon.
> 

Me too :-)



Installing a new class on Lyx

2008-10-21 Thread Daniel Joshua Stark

To whom it may concern:

I would like to install the class and BibTex files for the American  
Chemical Society Journal Submissions (achemso style package) on Lyx.   
I also tried making a very basic layout file.


I've tried following the numerous tutorials, but they don't seem to  
work, even after doing texhash and reconfigure.  The only thing I can  
think of is that the tutorials are written for Unix or Windows and  
following them does not work right for Lyx 1.5.6 on Mac OS X 10.5.5,  
which I am running.


Any help would be greatly appreciated.

Thank you,

Daniel Stark
Graduate Student
Rice University, MS-61
Physics and Astronomy
Dell Butcher Hall 100
1900 Rice Blvd., Ent. 20
Houston TX 77005
USA

Ph: +1-713-348-3126
Fx:  +1-713-348-2603

In physics, you don't have to go around making trouble for yourself -  
nature does it for you. - Frank Wilczek
I think physicists are the Peter Pans of the human race. They never  
grow up and they keep their curiosity. - Isidor Isaac Rabi




Re: How to change pdf viewer?

2008-10-21 Thread Joachim Kreimer-de Fries

Am 21.10.2008 um 16:10 schrieb Uwe Stöhr:

menu Tools->Settings->file formats

Am 21.10.2008 um 16:17 schrieb Konrad Hofbauer:
you can change in LyX -> Preferences -> File Formats -> PDF (...) - 
> Viewer.


Thanks, it works finally. But for someone else who also might want to  
change the pdf viewer I add: it it not sufficient to give in the path  
to the application package but to the application EXECutable itself,  
at least on Mac-OSX, in my case:


/Applications/Skim.app/Contents/MacOS/Skim

Konrad wrote further
P.S. Please do not hijack threads by replying to old messages with  
a new question. Start a new thread for new questions.


Sorry, I was not aware of it, now I remember again that it is not  
enough to to erase content and change subject, but not to "answer" on  
a received mail from the list.

--
MacTeX - TeXLive 2007 - TeXShop 2.14-svn (2.14)
und auch ggf. LyX/Mac 1.5.6 auf MacBook Pro mit OSX 10.4.11 Tiger



Lyx + Biblatex + Headers formating problems

2008-10-21 Thread Jose A. Aponte
Hi All

I have just started to use Lyx for writing my first year PhD report and I am
having some problems which I hope you can help me to solve.

I followed all the procedures to install biblatex and use it with Lyx. It is
working great now and I have managed to edit the biblatex style to suit my
requirements.

However I am having basically two problems:

1. When using the \printbibliography command in ERT I have also to add the
following commands before it so that the bibliography is showed in a new
page and accounted for the TOC.
\clearpage

\addcontentsline{toc}{chapter}{\numberline{}{Bibliography}}


This works fine but when the bibliography has more than one page the header
(which is done using fancy header and works fine to all other pages) is
shown in Uppercase although as I said the fancy header package is configure
to show the headers in lowercase (both chapters and sections)  and works
fine with all other pages. So instead of showing 'Bibliography' it displays
'BIBLIOGRAPHY'.


The fancy header commands, in case are needed are:




\pagestyle{fancy}

\renewcommand{\chaptermark}[1]{\markright{\chaptername\ \thechapter.\ #1}}

\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}{}}

\lhead[\fancyplain{}{}]%

{\fancyplain{}{\bfseries\rightmark}}

\chead[\fancyplain{}{}]%

{\fancyplain{}{}}

\rhead[\fancyplain{}{}]%

{\fancyplain{}{\bfseries\thepage}}

\lfoot[\fancyplain{}{}]%

{\fancyplain{}{}}

\cfoot[\fancyplain{}{}]%

{\fancyplain{}{}}

\rfoot[\fancyplain{}{}]%

{\fancyplain{}{\bfseries\today}}

%%


2. The second problems has to do with the output bibliography format from
biblatex.I am using Author-year style but each item in the bibliography
seems to be displayed unaligned in reference to each other. I do not whether
it is clear but it seems that each item (reference) has its own indentation
for the first line e.g.


Author One Surname, (year) etc etc etc 

Second line and all other are fine..

Third
line

Final
line.


 Author Two Surname, (year) etc etc etc .

Second line and all other are fine..

Third
line

Final
line.


  Author Three Surname, (year) etc etc etc .

Second line and all other are fine..

Third
line

Final
line.



Hope you see what I mean. I do not know what is happening here but each time
I change the fonts the errors in the indentation seems to change between the
items. For instance if Author one was in the right position now it is wrong
but Author two is OK and so on.


Well, hopefully someone will be able to help me.


Thanks in advance.


Jose A


Re: How to change pdf viewer?

2008-10-21 Thread Christian Liesen


Thanks, it works finally. But for someone else who also might want  
to change the pdf viewer I add: it it not sufficient to give in the  
path to the application package but to the application EXECutable  
itself, at least on Mac-OSX, in my case:


/Applications/Skim.app/Contents/MacOS/Skim



Not true. I'm on Mac OS X and have been using "open -a skim" all along  
without problems and through several versions of LyX. It is not  
necessary to call the app's contents.


Cheers,
-- Christian


Re: How to change pdf viewer?

2008-10-21 Thread Konrad Hofbauer

Joachim Kreimer-de Fries wrote:

Am 21.10.2008 um 16:10 schrieb Uwe Stöhr:

menu Tools->Settings->file formats

Am 21.10.2008 um 16:17 schrieb Konrad Hofbauer:
you can change in LyX -> Preferences -> File Formats -> PDF (...) -> 
Viewer.


Thanks, it works finally. But for someone else who also might want to 
change the pdf viewer I add: it it not sufficient to give in the path to 
the application package but to the application EXECutable itself, at 
least on Mac-OSX, in my case:


/Applications/Skim.app/Contents/MacOS/Skim


What should also do the trick is "open -a Skim", that lets OS X do the 
work of finding the app.


What I actually use is the attached script that explicitly tells Skim to 
reload. I've disabled auto-reload in Skim, since this sometimes does not 
work in combination with LyX's multiple compilation of the file.


So I have the attached script in ~/bin, set the script as executable 
(chmod u+x ...), in LyX "~/bin/SkimReload.sh", and then always use View 
PDF (not: Update PDF) in LyX


HTH,
Konrad



SkimReload.sh
Description: Bourne shell script


Re: Installing a new class on Lyx

2008-10-21 Thread Uwe Stöhr

Daniel Joshua Stark schrieb:

I would like to install the class and BibTex files for the American 
Chemical Society Journal Submissions (achemso style package) on Lyx. I 
also tried making a very basic layout file.


I've tried following the numerous tutorials, but they don't seem to 
work, even after doing texhash and reconfigure.  The only thing I can 
think of is that the tutorials are written for Unix or Windows and 
following them does not work right for Lyx 1.5.6 on Mac OS X 10.5.5, 
which I am running.


LaTeX-class files are independent of the OS, the same as for the layout files. So you first need to 
install achemso, the same way you install LaTeX-classes normally. The easiest way to do this is to 
use the package manager in case you use TeXLive 2008 as TeX-engine.


LyX unfortunately does not yet have layout file for achemso, so you have to create new one. The best 
way is to take an existing layout file (for example the file "iopart.layout") and adopt it for your 
class. The Customization manual explains the possible entries of layout file.


When you give me some days, I can also create a layout file as achemso would be of interest for 
other LyX users too.


regards Uwe


Re: Installing a new class on Lyx

2008-10-21 Thread Uwe Stöhr

Daniel Joshua Stark schrieb:

I would like to install the class and BibTex files for the American 
Chemical Society Journal Submissions (achemso style package) on Lyx. I 
also tried making a very basic layout file.


I've tried following the numerous tutorials, but they don't seem to 
work, even after doing texhash and reconfigure.  The only thing I can 
think of is that the tutorials are written for Unix or Windows and 
following them does not work right for Lyx 1.5.6 on Mac OS X 10.5.5, 
which I am running.


LaTeX-class files are independent of the OS, the same as for the layout files. So you first need to 
install achemso, the same way you install LaTeX-classes normally. The easiest way to do this is to 
use the package manager in case you use TeXLive 2008 as TeX-engine.


LyX unfortunately does not yet have layout file for achemso, so you have to create new one. The best 
way is to take an existing layout file (for example the file "iopart.layout") and adopt it for your 
class. The Customization manual explains the possible entries of layout file.


When you give me some days, I can also create a layout file as achemso would be of interest for 
other LyX users too.


regards Uwe


Re: Bringing the footer higher...

2008-10-21 Thread M-L
On Tue, 21 Oct 2008, Helge Hafting engaged keyboard and shared this with us 
all:
>--} Letters are a bit special. The letter document class sort of have a
>--} "all or nothing" approach, which isn't very user-friendly. If you
>--} want to use letter, start with the Lyx template and work from there.
>--} It just fails if some of the required fields aren't present.
>--} Other document classes are easier to use, without such hidden
> requirements. --}
>--} I have attached a lyx document with a multiline footer,
>--} custom margins, and no more latex than necessary.
>--} Here is how to do it:
>--}
>--} 1. Create a document, of type koma-script article.
>--} 2. Menu Document->settings
>--} 3. Click "Page Layout" in the document settings dialog box
>--} 4. Set the Page style to "fancy" using the dropdown menu / combobox.
>--} 5. Click "Page margins" in the dialog box
>--} 6. Uncheck "default margins"
>--} 7. Specify other margins, I used 5cm top and bottom margins.
>--} 8. Click "LaTeX Preamble" in the dialog box.
>--} 9. Enter this text in the preamble:
>--} \lfoot{Test line1\\line2\\line3\\line4}
>--}
>--} Put in as many lines as you like. "\lfoot" means "left footer", this
>--} command works because you set the pagestyle to "fancy".
>--} You may also use \rfoot{right footer} \cfoot{center footer}
>--} as well as \lhead, \rhead and \chead for the headers.
>--}
>--} 10.Click "OK" in the dialog, to get rid of it.
>--} 11.Enter normal text in the document, then print or view it.
>--} 12.Fine-tune the bottom margin if you need to. A bigger margin has
>--}     more room for the footer, a smaller margin will push a big
>--}     footer down and possibly across the paper edge.
>--}
>--}
>--} This footer is the same on all pages. It is possible to get
>--} variable stuff too, such as the page number. Ask again
>--} if you need more tips.
>--}

Thanks Helge,

In article (KOMA-Script) I got things working and as you suggested by raising 
the bottom margin and it worked a treat there, but I am still working with 
the letter KOMA class and seeing what I can discover. I have never worked 
with footers much, though I have brought the bottom margin up often, to make 
a document look a little more to my liking.

In the article (KOMA-Script) things work great, and I have several/many 
templates in that class for various purposes including letters, but I thought 
I would just attempt to do something a bit different, so tried the letters 
(KOMA-Script v.2). 

In  article (KOMA-Script) I have headers with text and with and without 
graphics and footers with and without graphics and text, but if I insert a 
graphic in the footer it sits higher than the footer text. Not a worry, but 
something I am, when time permits, trying to eradicate.

I can create any documents in OpenOffice of course, but I have really switched 
to LyX for everything, and use OpenOffice so seldom now, that I have to look 
up some things in Help - why can't I remember this. The change hasn't been 
made because OO isn't great software, because it is, but rather because LyX 
suits my masochistic streak and my way of working. LyX certainly looks 
cleaner or just appeals to me, preferring to use it though no definitive 
explanation can be found.

I have the LaTeX manual.pdf and have read parts of it and while I read I work 
on a document to see what can be done when time and power supply permits. I 
will, as you suggest have to read more specifically, and try to understand 
the principles and basics.

As an aside to do with the footer:

Setting my bottom margin: Settings=Page Margins-->Bottom to 6

Here is my footer preamble [you'll need to insert your own graphic file, in my 
case it's a .jpg file of a tawny frogmouth] on my footer experimental 
document:

\usepackage{graphics}\rfoot{\resizebox{60pt}{!}
{\includegraphics{/home/charlie/Wildlife/tawny-egwsg.jpg}}}
\lfoot{\bf \large \scshape this was\\fine as well}
\cfoot{\bf \large \scshape did this\\and it was fine}

The tawny frogmouth graphic sits a bit high as you can see in the attached 
pic. Not a problem, just something I haven't as yet worked out how to fix. I 
don't like bothering the list.

Thanks for your good advice, it is much appreciated.

Be well,
Charlie
-- 
Registered Linux User:- 329524
***
Whatever you think is delusion. KATAGIRI ROSHI

***
Debian, just the best way to create magic
___
<>

install thesis class, Mac

2008-10-21 Thread Mike Martell
Hi:
I've been having a lot of trouble installing a new class for LyX with
my mac.  I am hoping to use LyX to write my doctoral dissertation.  I
am trying to install the thesis class for my university, authesis.cls.

I have followed the directions, I believe, but am not getting the class to work.

I have placed these files (authesis.cls, aucas.clo, aut10.clo,
auecon.clo) in this location:

users/username/library/texmf/tex/latex/authesis/


i have placed a layout file (authesis.layout) at this location:

username/libarary/Application Support/Lyx-1.5/layouts

The layout file reads:
#% Do not delete hte line below; configure depens on this
# \DeclareLaTeXClass[authesis]{article (authesis)}

# Input general definitions
Input stdclass.inc

After doing this, I open terminal typed "texhash" and then quit terminal
I went to LyX, reconfigure and i get an error message that says, "The
system reconfiguration has failed. Default textclass is used but LyX
may not be able to work properly. Please reconfigure again if needed."
I close LyX, start it again, and then if I go to Document, Settings, I
do not see the authesis in the document class menu(and the number of
classes I have listed is now much smaller than before i tried to
install this class).

Can someone help?  I would very greatly appreciate it!  I am very new
to both LyX and my Mac.
Thanks,
Mike


Re: install thesis class, Mac

2008-10-21 Thread rgheck

Mike Martell wrote:

Hi:
I've been having a lot of trouble installing a new class for LyX with
my mac.  I am hoping to use LyX to write my doctoral dissertation.  I
am trying to install the thesis class for my university, authesis.cls.

I have followed the directions, I believe, but am not getting the class to work.

I have placed these files (authesis.cls, aucas.clo, aut10.clo,
auecon.clo) in this location:

users/username/library/texmf/tex/latex/authesis/

  
OK, this is a very silly question, but did you replace "username" with 
your username?


rh

i have placed a layout file (authesis.layout) at this location:

username/libarary/Application Support/Lyx-1.5/layouts

The layout file reads:
#% Do not delete hte line below; configure depens on this

  

Typos. I don't think they matter, though.


# \DeclareLaTeXClass[authesis]{article (authesis)}

  

You might need a format tag here, viz:

   Format 4


# Input general definitions
Input stdclass.inc

  

I'd try Input article.layout instead, and get the whole thing.

After doing this, I open terminal typed "texhash" 

  
Try "kpsewhich authesis.cls". If you don't get a sensible response, then 
TeX hasn't found it.



and then quit terminal
I went to LyX, reconfigure and i get an error message that says, "The
system reconfiguration has failed. Default textclass is used but LyX
may not be able to work properly. Please reconfigure again if needed."
I close LyX, start it again, and then if I go to Document, Settings, I
do not see the authesis in the document class menu(and the number of
classes I have listed is now much smaller than before i tried to
install this class).

  

That's because of the reconfigure failure.

What I'd suggest is to try to run the reconfigure directly from 
/users/username/libarary/Application Support/Lyx-1.5/. I.e., open a 
terminal, go to that directory, and then run "python 
/path/to/configure.py". If you can't figure out where that file is, 
someone else will know. Anyway, you'll get more helpful error messages then.


rh



Re: install thesis class, Mac

2008-10-21 Thread Mike Martell
Thanks for your response.
I updated my layout file to read:

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[authesis]{article (authesis)}
Format 4
# Input general definitions
Input article.layout

and I tried kpsewhich authesis.cls in the terminal.  the response was
the location of the file.  I noticed that when I tried texhash,
terminal told me that it was not writeable, so I tried sudo texhash
and it gave me the same response as kpsewhich.  I still get the same
error message in LyX.

I don't under stand your last recommendation:
What I'd suggest is to try to run the reconfigure directly from
/users/username/libarary/Application Support/Lyx-1.5/. I.e., open a
terminal, go to that directory, and then run "python
/path/to/configure.py". If you can't figure out where that file is,
someone else will know. Anyway, you'll get more helpful error messages
then.

do i open terminal, type in the location of the class file?  i.e.
/users/username/library/texmf/tex/latex/authesis/  or the location of
the layouts: username/libarary/Application Support/Lyx-1.5/layouts .
and then I type "python/path/to/configure.py" in terminal? when I
tried this, it said -bash ... doesn't exist

thanks so much for your insight.
mike


On Tue, Oct 21, 2008 at 7:45 PM, rgheck <[EMAIL PROTECTED]> wrote:
> Mike Martell wrote:
>>
>> Hi:
>> I've been having a lot of trouble installing a new class for LyX with
>> my mac.  I am hoping to use LyX to write my doctoral dissertation.  I
>> am trying to install the thesis class for my university, authesis.cls.
>>
>> I have followed the directions, I believe, but am not getting the class to
>> work.
>>
>> I have placed these files (authesis.cls, aucas.clo, aut10.clo,
>> auecon.clo) in this location:
>>
>> users/username/library/texmf/tex/latex/authesis/
>>
>>
>
> OK, this is a very silly question, but did you replace "username" with your
> username?
>
> rh
>>
>> i have placed a layout file (authesis.layout) at this location:
>>
>> username/libarary/Application Support/Lyx-1.5/layouts
>>
>> The layout file reads:
>> #% Do not delete hte line below; configure depens on this
>>
>>
>
> Typos. I don't think they matter, though.
>
>> # \DeclareLaTeXClass[authesis]{article (authesis)}
>>
>>
>
> You might need a format tag here, viz:
>
>   Format 4
>
>> # Input general definitions
>> Input stdclass.inc
>>
>>
>
> I'd try Input article.layout instead, and get the whole thing.
>
>> After doing this, I open terminal typed "texhash"
>>
>
> Try "kpsewhich authesis.cls". If you don't get a sensible response, then TeX
> hasn't found it.
>
>> and then quit terminal
>> I went to LyX, reconfigure and i get an error message that says, "The
>> system reconfiguration has failed. Default textclass is used but LyX
>> may not be able to work properly. Please reconfigure again if needed."
>> I close LyX, start it again, and then if I go to Document, Settings, I
>> do not see the authesis in the document class menu(and the number of
>> classes I have listed is now much smaller than before i tried to
>> install this class).
>>
>>
>
> That's because of the reconfigure failure.
>
> What I'd suggest is to try to run the reconfigure directly from
> /users/username/libarary/Application Support/Lyx-1.5/. I.e., open a
> terminal, go to that directory, and then run "python /path/to/configure.py".
> If you can't figure out where that file is, someone else will know. Anyway,
> you'll get more helpful error messages then.
>
> rh
>
>


Re: install thesis class, Mac

2008-10-21 Thread rgheck

Mike Martell wrote:

Thanks for your response.
I updated my layout file to read:

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[authesis]{article (authesis)}
Format 4
# Input general definitions
Input article.layout

and I tried kpsewhich authesis.cls in the terminal.  the response was
the location of the file.  I noticed that when I tried texhash,
terminal told me that it was not writeable, 

  
That's normal, since texhash wants to update lots of files, some of 
which you wouldn't be able to write.



so I tried sudo texhash
and it gave me the same response as kpsewhich.  I still get the same
error message in LyX.

I don't under stand your last recommendation:
What I'd suggest is to try to run the reconfigure directly from
/users/username/libarary/Application Support/Lyx-1.5/. I.e., open a
terminal, go to that directory, and then run "python
/path/to/configure.py". If you can't figure out where that file is,
someone else will know. Anyway, you'll get more helpful error messages
then.

  
When you hit Tools>Configure, what it actually does is run the 
configure.py python script and write a bunch of files to your user 
directory. One of these, for example, is textclass.lst, which contains a 
list of all the layout files configure.py finds and some information 
about them. You can run this configure.py script from outside LyX, and 
that's what we want to do. But we have to run it from your user 
directory, that is, from where configure.py is, since the file will 
write the next textclass.lst to the directory from which you run it.


That said, you CAN run it from anywhere, and since we're just debugging 
you can run it from /tmp/, and then it won't actually change any of your 
files. What we want is error messages right now.



do i open terminal, type in the location of the class file?  i.e.
/users/username/library/texmf/tex/latex/authesis/  or the location of
the layouts: username/libarary/Application Support/Lyx-1.5/layouts.

  

For now:
# cd /tmp/
but for real:
# cd "username/library/Application Support/Lyx-1.5/
That ought to be where textclass.lst lives.

and then I type "python/path/to/configure.py" in terminal? when I
tried this, it said -bash ... doesn't exist

  

Type:
# python /path/to/configure.py
where the "/path/to/" part is replaced by the actual path to 
configure.py. I don't know what that is on your machine, because I'm not 
on Mac. (On my machine, it would be: /usr/local/share/lyx/configure.py, 
but this probably isn't right for you.) But maybe you can try:

# locate configure.py
I don't know if locate is available on Mac, though.

I'm cc'ing Bennett, as he knows about Mac stuff.

rh



Table of contents dialog problem

2008-10-21 Thread asm23

My environment is Windows XP En. Lyx 1.6RC3.

When I click the "Table of contents" in a lyx file. A "Outline" dialog 
will display in the left side. But nothing will show below. I should 
select another item in the list, and then select the "table of contents" 
again, the TOC will displayed and updated.


the attachment image is a screen shot of this problem.
<>

Re: install thesis class, Mac

2008-10-21 Thread Mike Martell
Thanks again.  I took your advice.  I located configure.py  I opened
terminal, typed:
# cd /tmp/

then,

#python/library/applications/lyx.app/content/resources/configure.py

Then, I opened LyX, and tried to reconfigure.  I got the same error
message that the configure did not work.  Is it of interest that if I
go to, Tools->Tex Information, I see authesis under the list of
classes?

I really appreciate your help so far!  thanks, mike

On Tue, Oct 21, 2008 at 9:19 PM, rgheck <[EMAIL PROTECTED]> wrote:
> Mike Martell wrote:
>>
>> Thanks for your response.
>> I updated my layout file to read:
>>
>> #% Do not delete the line below; configure depends on this
>> #  \DeclareLaTeXClass[authesis]{article (authesis)}
>> Format 4
>> # Input general definitions
>> Input article.layout
>>
>> and I tried kpsewhich authesis.cls in the terminal.  the response was
>> the location of the file.  I noticed that when I tried texhash,
>> terminal told me that it was not writeable,
>>
>
> That's normal, since texhash wants to update lots of files, some of which
> you wouldn't be able to write.
>
>> so I tried sudo texhash
>> and it gave me the same response as kpsewhich.  I still get the same
>> error message in LyX.
>>
>> I don't under stand your last recommendation:
>> What I'd suggest is to try to run the reconfigure directly from
>> /users/username/libarary/Application Support/Lyx-1.5/. I.e., open a
>> terminal, go to that directory, and then run "python
>> /path/to/configure.py". If you can't figure out where that file is,
>> someone else will know. Anyway, you'll get more helpful error messages
>> then.
>>
>>
>
> When you hit Tools>Configure, what it actually does is run the configure.py
> python script and write a bunch of files to your user directory. One of
> these, for example, is textclass.lst, which contains a list of all the
> layout files configure.py finds and some information about them. You can run
> this configure.py script from outside LyX, and that's what we want to do.
> But we have to run it from your user directory, that is, from where
> configure.py is, since the file will write the next textclass.lst to the
> directory from which you run it.
>
> That said, you CAN run it from anywhere, and since we're just debugging you
> can run it from /tmp/, and then it won't actually change any of your files.
> What we want is error messages right now.
>
>> do i open terminal, type in the location of the class file?  i.e.
>> /users/username/library/texmf/tex/latex/authesis/  or the location of
>> the layouts: username/libarary/Application Support/Lyx-1.5/layouts.
>>
>>
>
> For now:
> # cd /tmp/
> but for real:
> # cd "username/library/Application Support/Lyx-1.5/
> That ought to be where textclass.lst lives.
>>
>> and then I type "python/path/to/configure.py" in terminal? when I
>> tried this, it said -bash ... doesn't exist
>>
>>
>
> Type:
> # python /path/to/configure.py
> where the "/path/to/" part is replaced by the actual path to configure.py. I
> don't know what that is on your machine, because I'm not on Mac. (On my
> machine, it would be: /usr/local/share/lyx/configure.py, but this probably
> isn't right for you.) But maybe you can try:
> # locate configure.py
> I don't know if locate is available on Mac, though.
>
> I'm cc'ing Bennett, as he knows about Mac stuff.
>
> rh
>
>


Mac Cursor and Math Mode problem

2008-10-21 Thread Antonio Rieser
Hi, all!

Two problems.  I'm using LyX on the Mac (OS X.3/4.?) for the
first time, and after I choose 'Section' and then type, the text on
the line I'm typing jumps to the right, but the cursor stays where it
is.  It drives me a little nuts.  This behavior continues if I choose
another mode, like 'Standard' or 'Theorem', if I have a  'Section'
somewhere above where I'm trying to type.  If I only type above all of
the 'Section' areas, then the cursor acts normally.

Also, the program does not keep the areas typed in math mode in a
different color.  If I scroll to a new page, the formulas start out
blue, but then switch to black after a second.  I would prefer that
they stayed blue.  How is it supposed to work?

What should I do?

Thanks,

  Tony