Re: Edit Header on 1 page of a Koma book

2008-11-29 Thread Christian Liesen
\cleardoublepage in ERT should do the trick. If not, did you try  
\clearpage{\pagestyle{empty} \cleardoublepage}?


-- Christian


Am 29.11.2008 um 00:52 schrieb Jonathan Kroner:


How can I change a single page's header?

The last page of a chapter is an odd numbered (right) page.
The next page (even number, left) includes a page number and chapter  
title
as a header above the otherwise blank page. The following page is  
the first

page of a new chapter.
How to delete either the chapter title, or the chapter title and the  
page

number from a chapter's  last even-numbered page when it is blank.
I tried various erts from the Koma manual, but nothing happened.

Thank you.

Jonathan Kroner

The document is under Lyx 1.6.0rc3, Koma Book class and miktex  
(windows)

with options:
intoc,refpage,bibtotoc,idxtotoc,BCOR7mm, scrpage, appendixprefix,
chapterprefix, smallheadings

The latex preamble includes:
% define page head line

\usepackage{scrpage2}

\pagestyle{scrheadings}

\lehead{\pagemark}

\rehead{\leftmark}

\rohead{\pagemark}

\lohead{\rightmark}

\ifoot{}

\cfoot{}

\ofoot{}

% don't number chapter pages

\renewcommand*{\chapterpagestyle}{empty}




Re: Fast typing - LyX follows slowly only [solved]

2008-11-29 Thread [EMAIL PROTECTED]
Am Fri, 28 Nov 2008 17:55:40 +0100
schrieb [EMAIL PROTECTED] [EMAIL PROTECTED]:

 Hello,
 
 For a long time I valued LyX for its swiftness when typing. 
 Something changed recently, however and I do not
 have an idea what is causing this.
 
 When I type the letters only show up slowly on the screen. This makes
 working with LyX really cumbersome.
 
 I assumed this could have something to do with Auto Completion. But
 nothing changed when I switched this feature of.
 
 Version: LyX 1.6.0 (7 November 2008) - compiled binary on Ubuntu 8.10
 
 Any ideas?
 
 Regards,
 seacyd

I solved it, however, without knowing what was the original cause.

Here is what I did:

1. removed the lyx ubuntu package 1.5.6 from my system (wajig remove
lyx)

2. installed the same package again (wajig install lyx) - I did want to
test with the old version to see if the slowness also occurs there.

3. I started lyx 1.5.6 everything worked fine  the positive suprise
was, when I started lyx 1.6.0 the so much appreciated responsiveness of
lyx is back.

So maybe when compiling the source code some different
versions of libraries get installed then with the standard Ubuntu
package?

Regards,
seacyd


LyX can’t find sprachwerker.bst

2008-11-29 Thread Max Nabble

Hi everyone,


I am trying to set up sprachwerker.bst for use in LyX, so I can use Natbib
and a German bibliography style for linguistics (other than dinat and more
Harvard-like). I installed it in

~/Library/texmf/bibtex/bst

run sudo texhash and yes, kpsewhich sprachwerker.bst tells me, that it is
exactly there. However, in LyX I cannot find it at all (although I ran
Reconfigure several times). I tried to display the bibliography via ERT,
manually choosing \bibliographystle{sprachwerker} and so on but it still
does not work. I updated both MacTeX from 2007 to 2008 and LyX from 1.5.4 to
1.6.0 (all on latest Tiger/PPC) but the problem still exists. However,
exporting to LaTeX and compiling through TeXShop works. I even restarted my
computer and reconfigured LyX several times but the style still does not
show up in LyX.

What more can I do? Thank you in advance for any help,


Max
-- 
View this message in context: 
http://n2.nabble.com/LyX-can%E2%80%99t-find-sprachwerker.bst-tp1592169p1592169.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: LyX can’t find sprachwerker.bst

2008-11-29 Thread Jürgen Spitzmüller
Max Nabble wrote:
 What more can I do? Thank you in advance for any help,

Tools-TeX Information-Rescan.
(Yes, this is all but obvious).

Jürgen


Re: LyX can’t find sprachwerker.bst

2008-11-29 Thread Konrad Hofbauer

Jürgen Spitzmüller wrote:

Max Nabble wrote:

What more can I do? Thank you in advance for any help,


Tools-TeX Information-Rescan.
(Yes, this is all but obvious).


Could this be included into the reconfigure-script?

/Konrad



Re: LyX can’t find sprachwerker.bst

2008-11-29 Thread Jürgen Spitzmüller
Konrad Hofbauer wrote:
  Tools-TeX Information-Rescan.
  (Yes, this is all but obvious).

 Could this be included into the reconfigure-script?

We discussed this before. The argument for not doing it is that scanning can 
take a long time if you have many bst files included (auch as with a full 
TeXLive installation).

But we need to make this more obvious for sure.

Jürgen


Re: using ACM SIGGRAPH layout

2008-11-29 Thread Uwe Stöhr

Manveru schrieb:


If yes - try to add siggraph package from the MikTeX Package Manager
(available from menu group of MikTex).


This file is not the official one and it is not recommended to use it for 
submissions.


%BEEP% I do not have LyX layout for siggraph only for sigplan. Do you
have your layout file for this style?


LyX didn't yet have a layout file for acmsiggraph, but I now created one. You find it together with 
the installation instructions and an example file here:

http://wiki.lyx.org/Examples/AcmSiggraph

Please test it out and report me back. When you can use it successfully, I will include the layout 
file to the next LyX version.


regards Uwe


Re: Changing the color of notes in pdf output

2008-11-29 Thread Ignacio García
Matts Lindström, Fri, 28 Nov 2008
 Is it somehow possible to change the color of notes (Greyed out notes) in
 the pdf that lyx outputs?

Yes, add in the LaTeX preamble:

\renewenvironment{lyxgreyedout}
 {\textcolor{blue}\bgroup}{\egroup}

blue or you want.

More info in sec. 4.1 in the Embedded Objects manual

Regards
Ignacio G.


Re: Toggle Toolbars off?

2008-11-29 Thread Paul A. Rubin

Ivan Werning wrote:
When I type a math the math toolbar and math-panel toolbar automatically 
toggles at the bottom of the screen. (Mac OS X 10.5.5 with Lyx 1.6)


This is a nice idea, but sometimes has some problems. For example, if I 
was typing at the bottom of the screen, then I may get the stuff I'm 
writing covered up by the toolbar! After hitting a key the screen will 
move, but it isn't ideal to be left blinded for a moment.


Anyway, since I barely need it, for this and other reasons I'd rather 
have it turned off by default and then opt in at will. But I couldn't 
figure out how to do this.


So how can I get the toggled math and math-panel toolbars to be off?



This is IMHO rather unintuitive behavior, but if you put the cursor in a 
math inset and then go to View - Toolbars and click a math toolbar, it 
toggles between auto and always off.  If you do this _outside_ a math 
inset, it toggles between auto and always on.  The menu entry does not 
change (other than presence/absence of the check mark) -- it always says 
'auto'.  I miss the old behavior.


/Paul



Re: LyX can’t find sprachwerker.bst

2008-11-29 Thread Konrad Hofbauer

Jürgen Spitzmüller wrote:

Konrad Hofbauer wrote:

Tools-TeX Information-Rescan.
(Yes, this is all but obvious).

Could this be included into the reconfigure-script?


We discussed this before. The argument for not doing it is that scanning can 
take a long time if you have many bst files included (auch as with a full 
TeXLive installation).


Aha.


But we need to make this more obvious for sure.


Maybe put it in the menus, next to Reconfigure?

/Konrad



Re: LyX can’t find sprachwerker.bst

2008-11-29 Thread Jürgen Spitzmüller
Konrad Hofbauer wrote:
  But we need to make this more obvious for sure.

 Maybe put it in the menus, next to Reconfigure?

Or in the BibTeX dialog.

Jürgen


[correction] LyXWinInstaller for LyX 1.6.0

2008-11-29 Thread Uwe Stöhr

Hello LyXers,

I uploaded version 4.15 of the LyXWinInstaller that fixes two bugs:
- add missing Python file to be able to import CSV-files to LyX
- fix bug that PDF and EPS images weren't show in LyX

In case you are affected by these bugs, you have to reinstall LyX using this 
new installer version.

The installer can be downloaded from:
https://developer.berlios.de/project/showfiles.php?group_id=5117release_id=15475
and soon also from
ftp://ftp.lyx.org/pub/lyx/bin/1.6.0
(under the name AltInstaller)

(More infos about the installer can be found here:
 http://wiki.lyx.org/Windows/LyXWinInstaller )

sorry for the inconvenience and regards
Uwe


IEEE: one column

2008-11-29 Thread Fabián
I need to write an article using the IEEE layout. The thing is, I need it to
be a one column article.
¿Is there a quick fix?

Thank you.

Note: I'm currently using the IEEEtran layout and lyx 1.6.0

-- 
Fabián Montealegre


Re: IEEE: one column

2008-11-29 Thread Vincent van Ravesteijn

Fabián schreef:

I need to write an article using the IEEE layout. The thing is, I need it to
be a one column article.
¿Is there a quick fix?

Thank you.

Note: I'm currently using the IEEEtran layout and lyx 1.6.0

  

Yes, the IEEEtran class has the option 'onecolumn'.

Enter onecolumn in : Document-Settings-Document Class-Class 
Options-Custom:


Vincent


Re: IEEE: one column

2008-11-29 Thread Fabián
Thanks Vincent, but it didn't work that well.

Lyx generates:

\documentclass[twocolumn,spanish,english,onecolumn]{IEEEtran}


I'm still getting two columns :(


Now, if only I could get rid off that 'twocolumn'...


-- 
Fabián Montealegre Carvajal


Re: IEEE: one column

2008-11-29 Thread Vincent van Ravesteijn

Fabián schreef:

Thanks Vincent, but it didn't work that well.

Lyx generates:

\documentclass[twocolumn,spanish,english,onecolumn]{IEEEtran}


I'm still getting two columns :(


Now, if only I could get rid off that 'twocolumn'...


  

Did you manually set the format to two columns ?

Check Document - Settings - Text Layout  and make sure that the 
Two-column document checkbox is unchecked.


If so, LyX shouldn't decide to add twocolumn.

Vincent


Re: IEEE: one column

2008-11-29 Thread Fabián
Thank you very much! That solved it :)

-- 
Fabián Montealegre Carvajal


I built some lyx160 packages for Ubuntu 8.10 you can install alongside lyx-1.5.6

2008-11-29 Thread Paul Johnson
Hey, Ubuntu running lyx guys:

I saw in the lyx list that it is possible to build lyx-1.6.0  from
source so that it will be installed without damaging lyx-1.5.6.  I
wanted to try the newest lyx, but need to make sure the old faithful
lyx-1.5.6 is available.

The configure option that builds a parallel version
--with-version-suffix=-1.6.0. I wanted that same function, but
in a deb package so I could easily uninstall later.

I took the upstream Debian source code for the lyx-1.6.0 packages and
hacked the build scripts so that the new lyx is built with a suffix
-1.6.0, so you run it by typing lyx-1.6.0.  I'm an RPM packager by
nature, the Debian thing is still kinda new to me and I still stuggle
a bit.Eventually I made it work.  (I've pasted the list of
installed files shown below.  You can see it really is separate from
the old verison.)

I've not yet learned how to setup an apt archive, but you can just
download the deb packages and install with dpkg.

Unlike RPM based systems, the Debian package system will not allow
installation of 2 packages called lyx, so this new one is named lyx160
and it depends on lyx160-common.  As far as I can tell, this does no
damage at all to the Ubuntu provided packages lyx and lyx-common.

I've not yet learned how to setup an apt archive, but you can just
download the deb packages and install with dpkg.

http://pj.freefaculty.org/Ubuntu/8.10/i386/lyx160-common_1.6.0-2ubuntu_all.deb
http://pj.freefaculty.org/Ubuntu/8.10/i386/lyx160_1.6.0-2ubuntu_i386.deb

Here's my PGP key in case you are *that kind* of person (security conscious).

http://pj.freefaculty.org/Ubuntu/PaulJohnson-BinaryPackageSigningKey

pj

When the user runs lyx-1.6.0, it creates a configuration directory
~/.lyx-1.6.0, so settings and such are kept completely separate from
the existing settings for lyx-1.5.6 that are kept in ~/.lyx.

Here are the installed files. Note the -1.6.0 suffix added to
executables and directory names.  This installed version does work for
me.

$ dpkg -L lyx160
/.
/usr
/usr/bin
/usr/bin/lyxclient-1.6.0
/usr/bin/tex2lyx-1.6.0
/usr/bin/lyx-1.6.0
/usr/share
/usr/share/doc
/usr/share/doc/lyx160
/usr/share/doc/lyx160/NEWS.Debian.gz
/usr/share/doc/lyx160/changelog.Debian.gz
/usr/share/doc/lyx160/copyright
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/lyxclient-1.6.0.1.gz
/usr/share/man/man1/tex2lyx-1.6.0.1.gz
/usr/share/man/man1/lyx-1.6.0.1.gz
$ dpkg -L lyx160-common | more

/usr
/usr/share
/usr/share/texmf
/usr/share/texmf/tex
/usr/share/texmf/tex/latex
/usr/share/texmf/tex/latex/lyx-1.6.0
/usr/share/texmf/tex/latex/lyx-1.6.0/revtex.cls
/usr/share/texmf/tex/latex/lyx-1.6.0/lyxskak.sty
/usr/share/texmf/tex/latex/lyx-1.6.0/broadway.cls
/usr/share/texmf/tex/latex/lyx-1.6.0/hollywood.cls
/usr/share/texmf/tex/latex/lyx-1.6.0/lyxchess.sty
/usr/share/lyx-1.6.0
/usr/share/lyx-1.6.0/bind
/usr/share/lyx-1.6.0/bind/math.bind
/usr/share/lyx-1.6.0/bind/greekkeys.bind
/usr/share/lyx-1.6.0/bind/cyrkeys.bind
/usr/share/lyx-1.6.0/bind/pt
/usr/share/lyx-1.6.0/bind/pt/menus.bind
/usr/share/lyx-1.6.0/bind/hollywood.bind
/usr/share/lyx-1.6.0/bind/site.bind
/usr/share/lyx-1.6.0/bind/sv
/usr/share/lyx-1.6.0/bind/sv/menus.bind
/usr/share/lyx-1.6.0/bind/de
/usr/share/lyx-1.6.0/bind/de/menus.bind
/usr/share/lyx-1.6.0/bind/xemacs.bind
/usr/share/lyx-1.6.0/bind/latinkeys.bind
/usr/share/lyx-1.6.0/bind/menus.bind
/usr/share/lyx-1.6.0/bind/fi
/usr/share/lyx-1.6.0/bind/fi/menus.bind
/usr/share/lyx-1.6.0/bind/mac.bind
/usr/share/lyx-1.6.0/bind/emacs.bind
/usr/share/lyx-1.6.0/bind/cua.bind
/usr/share/lyx-1.6.0/bind/broadway.bind
/usr/share/lyx-1.6.0/bind/aqua.bind
/usr/share/lyx-1.6.0/bind/sciword.bind
/usr/share/lyx-1.6.0/chkconfig.ltx
/usr/share/lyx-1.6.0/commands
/usr/share/lyx-1.6.0/commands/default.def
/usr/share/lyx-1.6.0/configure.py
/usr/share/lyx-1.6.0/scripts
/usr/share/lyx-1.6.0/scripts/lyxpreview_tools.py
/usr/share/lyx-1.6.0/scripts/clean_dvi.py
/usr/share/lyx-1.6.0/scripts/fig_copy.py
/usr/share/lyx-1.6.0/scripts/ext_copy.py
/usr/share/lyx-1.6.0/scripts/fig2pdftex.py
/usr/share/lyx-1.6.0/scripts/lyxpreview-platex2bitmap.py
/usr/share/lyx-1.6.0/scripts/listerrors
/usr/share/lyx-1.6.0/scripts/fig2pstex.py
/usr/share/lyx-1.6.0/scripts/date.py
/usr/share/lyx-1.6.0/scripts/csv2lyx.py
/usr/share/lyx-1.6.0/scripts/TeXFiles.py
/usr/share/lyx-1.6.0/scripts/lyxpreview2bitmap.py
/usr/share/lyx-1.6.0/scripts/tex_copy.py
/usr/share/lyx-1.6.0/scripts/fen2ascii.py
/usr/share/lyx-1.6.0/scripts/convertDefault.py
/usr/share/lyx-1.6.0/scripts/legacy_lyxpreview2ppm.py
/usr/share/lyx-1.6.0/scripts/layout2layout.py
/usr/share/lyx-1.6.0/ui
/usr/share/lyx-1.6.0/ui/classic.ui
/usr/share/lyx-1.6.0/ui/stdcontext.inc
/usr/share/lyx-1.6.0/ui/default.ui
/usr/share/lyx-1.6.0/ui/stdtoolbars.inc
/usr/share/lyx-1.6.0/ui/stdmenus.inc
/usr/share/lyx-1.6.0/external_templates
/usr/share/lyx-1.6.0/templates
/usr/share/lyx-1.6.0/templates/de_beamer-conference-ornate-20min.lyx
/usr/share/lyx-1.6.0/templates/slides.lyx

view pdf error: the file doesn't exist - what to do?

2008-11-29 Thread Joachim Kreimer-de Fries

Moin Lyxers,

not for the first time I got today an LyX when clicking show pdf an  
error message:


Die Datei existiert nicht:
(I suppose in english: The file doesn't exist:)
/tmp/lyx_tmpdir.L12205/lyx_tmpbuf1/Lyra-Pracher-odt-teil.pdf

That was after adding an TeX code for another footnoteB (from the -  
loaded - manyfoot package), because I'm using for that the handout  
(tufte) layout because of the many sidenotes I need.


But because - at a certain point, when LaTeX (via LyX) said too many  
floats - I changed to the TeX-box \footnoteB command to get a real  
footnote. Which normally gives the planned result.


If the error message The file doesn't exist ... .pdf is a known  
problem, I ask:


== how to come out of this situation best?

I found out by trial and error, that I deleted the last TeX inset  
\footnoteB{...}, (but after many other trials, even after clothing  
and reopening LyX, after deleting the LyX - /tmp ... xyz-files and so  
on).


Regained functionality of LyX in making and showing a pdf result, I  
reintroduced the TeX-inset \footnoteB and it worked.


Fine for the project. But Question:

= are there reasons for that behaviour of LyX and/or other ways than  
just trying out, deleting the last inset(s) and remaking them?


== What might be the reason of the LaTeX-error about too many  
flouts when inserting footnotes = sidenotes in the handout  
(tufte) class, even if on the page where I am working and on the  
horizontal space on the margin there is place enough for another  
footnote=sidenote?


Goutgaun! joachim
--
MacTeXLive 200 - TeXShop 2.14-svn - LyX 1.6
MacBook Pro OSX 10.4.11 Tiger





Re: autocomplete question

2008-11-29 Thread Ivan Werning

On Nov 29, 2008, at 4:28 PM, Stefan Schimanski wrote:


Hi!

In fact there is some logic in the autocompletion to remember the  
last choice. I fear it is not working correctly and should be fixed  
(and extended).


It is not that obvious what exactly should be remembered. Probably  
it would be enough to remember just a fixed number of completions  
and put those in front to be selected first on tab. Everytime a  
selection is chosen, the item it put in front again. So next time  
you want press tab on the same prefix, you get the same completion  
again.


Regards,
 Stefan


Yes, that would be perfect. Having a ranking of autocompletions  
accepted with this rule would be nice and I think it would solve it.


As a simple example of the problems no:if one attempts to type the  
sequence (within math): \sum \beta \sum \beta \sum ... auto-completion  
does not help very much. The problem is it will forget what you wanted  
to complete \su with after completing typing \beta(\beta, then  
\sagitarius, then \subarray are given priority to \sum) and viceversa.


This case would be fixed with the suggested rule.

I really value having the autocompletion feature in LyX. I hope it can  
get an improved memory!


-Ivan


Re: Key bindings

2008-11-29 Thread Peleg Michaeli
Thank you very much.

I think I will try to install LyX 1.6 some day here on my old ubuntu,
but it won't be in the next weeks, probably (for the solution of the
bindings of Ω, ψ, etc...). The bindings of the C-g y works well now.


Peleg.

On Mon, 2008-11-24 at 12:13 +, Guenter Milde wrote:
 Dov Feldstern [EMAIL PROTECTED] schrieb:
  Peleg Michaeli wrote:
  On Sat, 2008-11-22 at 20:28 +0200, Dov Feldstern wrote:
  They shouldn't all be bothering you, only the ones you include are
  activated. 
  Probably it's cua -- that's the default.
 
  what exactly does your bind file look like? 
 
  I'm attaching cua and hebrew here.
 
  The cua.bind is in usr/share/... and the hebrew.bind is in
  ~/.lyx1.5.1/bind/
 
 
  The first line of hebrew.bind (\bind_file cua) is including cua.bind.
  I don't remember the rules in terms of whether you can override
  bindings, and they may also have changes since 1.5. 
 
 Generally, you can overwrite bindings. However in this case it is more
 complicated:
 
  ./bind/cua.bind:\bind C-g error-next
  
 binds ^G, so LyX will not wait for ^G y.
 
 @ the LyX experts: 
   
   Is there a way to unbind a key so that it can be used at basis for a
   set of multi-key bindings?
  
  The easiest thing to do may be to just copy cua.bind from /usr to your
  local lyx bind directory, rename it to mycua or something, 
 
 Actually, there is no need to rename (other than clarity), as LyX will
 try the version in your personal LyXDir first.
 
  get rid of the C-g y in there, and include that in hebrew instead of
  cua. 
 
 It will not matter where the new bindings are included as long as the
 original binding is commented out:
 
 -  \bind C-g error-next
 +  # \bind C-g error-next
 
 Günter
 



Re: autocomplete question

2008-11-29 Thread Paul Smith
On Sat, Nov 29, 2008 at 10:17 PM, Ivan Werning
[EMAIL PROTECTED] wrote:
 In fact there is some logic in the autocompletion to remember the last
 choice. I fear it is not working correctly and should be fixed (and
 extended).

 It is not that obvious what exactly should be remembered. Probably it
 would be enough to remember just a fixed number of completions and put those
 in front to be selected first on tab. Everytime a selection is chosen, the
 item it put in front again. So next time you want press tab on the same
 prefix, you get the same completion again.

 Yes, that would be perfect. Having a ranking of autocompletions accepted
 with this rule would be nice and I think it would solve it.

 As a simple example of the problems no:if one attempts to type the sequence
 (within math): \sum \beta \sum \beta \sum ... auto-completion does not help
 very much. The problem is it will forget what you wanted to complete \su
 with after completing typing \beta(\beta, then \sagitarius, then \subarray
 are given priority to \sum) and viceversa.

 This case would be fixed with the suggested rule.

 I really value having the autocompletion feature in LyX. I hope it can get
 an improved memory!

Perhaps, prediction algorithms from Artificial Intelligence could help
with ranking the autocompletion suggestions.

Paul


Cross-reference

2008-11-29 Thread Max Bian
In the embedded object help document, there are description of 6 
different cross-reference variations. The last one is Formatted 
reference: prints a self defined cross-reference format. 


The questions are, how and where does LyX define the format? How do I 
define a different format?


Thanks.

Max


Re: Cross-reference

2008-11-29 Thread rgheck

Max Bian wrote:
In the embedded object help document, there are description of 6 
different cross-reference variations. The last one is Formatted 
reference: prints a self defined cross-reference format. 


The questions are, how and where does LyX define the format? How do I 
define a different format?


LyX uses the prettyref package to do this. The default definitions are 
in the preamble, which you can see using ViewSource. You can add your 
own to the user preamble.


rh



Re: Edit Header on 1 page of a Koma book

2008-11-29 Thread Christian Liesen
\cleardoublepage in ERT should do the trick. If not, did you try  
\clearpage{\pagestyle{empty} \cleardoublepage}?


-- Christian


Am 29.11.2008 um 00:52 schrieb Jonathan Kroner:


How can I change a single page's header?

The last page of a chapter is an odd numbered (right) page.
The next page (even number, left) includes a page number and chapter  
title
as a header above the otherwise blank page. The following page is  
the first

page of a new chapter.
How to delete either the chapter title, or the chapter title and the  
page

number from a chapter's  last even-numbered page when it is blank.
I tried various erts from the Koma manual, but nothing happened.

Thank you.

Jonathan Kroner

The document is under Lyx 1.6.0rc3, Koma Book class and miktex  
(windows)

with options:
intoc,refpage,bibtotoc,idxtotoc,BCOR7mm, scrpage, appendixprefix,
chapterprefix, smallheadings

The latex preamble includes:
% define page head line

\usepackage{scrpage2}

\pagestyle{scrheadings}

\lehead{\pagemark}

\rehead{\leftmark}

\rohead{\pagemark}

\lohead{\rightmark}

\ifoot{}

\cfoot{}

\ofoot{}

% don't number chapter pages

\renewcommand*{\chapterpagestyle}{empty}




Re: Fast typing - LyX follows slowly only [solved]

2008-11-29 Thread [EMAIL PROTECTED]
Am Fri, 28 Nov 2008 17:55:40 +0100
schrieb [EMAIL PROTECTED] [EMAIL PROTECTED]:

 Hello,
 
 For a long time I valued LyX for its swiftness when typing. 
 Something changed recently, however and I do not
 have an idea what is causing this.
 
 When I type the letters only show up slowly on the screen. This makes
 working with LyX really cumbersome.
 
 I assumed this could have something to do with Auto Completion. But
 nothing changed when I switched this feature of.
 
 Version: LyX 1.6.0 (7 November 2008) - compiled binary on Ubuntu 8.10
 
 Any ideas?
 
 Regards,
 seacyd

I solved it, however, without knowing what was the original cause.

Here is what I did:

1. removed the lyx ubuntu package 1.5.6 from my system (wajig remove
lyx)

2. installed the same package again (wajig install lyx) - I did want to
test with the old version to see if the slowness also occurs there.

3. I started lyx 1.5.6 everything worked fine  the positive suprise
was, when I started lyx 1.6.0 the so much appreciated responsiveness of
lyx is back.

So maybe when compiling the source code some different
versions of libraries get installed then with the standard Ubuntu
package?

Regards,
seacyd


LyX can’t find sprachwerker.bst

2008-11-29 Thread Max Nabble

Hi everyone,


I am trying to set up sprachwerker.bst for use in LyX, so I can use Natbib
and a German bibliography style for linguistics (other than dinat and more
Harvard-like). I installed it in

~/Library/texmf/bibtex/bst

run sudo texhash and yes, kpsewhich sprachwerker.bst tells me, that it is
exactly there. However, in LyX I cannot find it at all (although I ran
Reconfigure several times). I tried to display the bibliography via ERT,
manually choosing \bibliographystle{sprachwerker} and so on but it still
does not work. I updated both MacTeX from 2007 to 2008 and LyX from 1.5.4 to
1.6.0 (all on latest Tiger/PPC) but the problem still exists. However,
exporting to LaTeX and compiling through TeXShop works. I even restarted my
computer and reconfigured LyX several times but the style still does not
show up in LyX.

What more can I do? Thank you in advance for any help,


Max
-- 
View this message in context: 
http://n2.nabble.com/LyX-can%E2%80%99t-find-sprachwerker.bst-tp1592169p1592169.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: LyX can’t find sprachwerker.bst

2008-11-29 Thread Jürgen Spitzmüller
Max Nabble wrote:
 What more can I do? Thank you in advance for any help,

Tools-TeX Information-Rescan.
(Yes, this is all but obvious).

Jürgen


Re: LyX can’t find sprachwerker.bst

2008-11-29 Thread Konrad Hofbauer

Jürgen Spitzmüller wrote:

Max Nabble wrote:

What more can I do? Thank you in advance for any help,


Tools-TeX Information-Rescan.
(Yes, this is all but obvious).


Could this be included into the reconfigure-script?

/Konrad



Re: LyX can’t find sprachwerker.bst

2008-11-29 Thread Jürgen Spitzmüller
Konrad Hofbauer wrote:
  Tools-TeX Information-Rescan.
  (Yes, this is all but obvious).

 Could this be included into the reconfigure-script?

We discussed this before. The argument for not doing it is that scanning can 
take a long time if you have many bst files included (auch as with a full 
TeXLive installation).

But we need to make this more obvious for sure.

Jürgen


Re: using ACM SIGGRAPH layout

2008-11-29 Thread Uwe Stöhr

Manveru schrieb:


If yes - try to add siggraph package from the MikTeX Package Manager
(available from menu group of MikTex).


This file is not the official one and it is not recommended to use it for 
submissions.


%BEEP% I do not have LyX layout for siggraph only for sigplan. Do you
have your layout file for this style?


LyX didn't yet have a layout file for acmsiggraph, but I now created one. You find it together with 
the installation instructions and an example file here:

http://wiki.lyx.org/Examples/AcmSiggraph

Please test it out and report me back. When you can use it successfully, I will include the layout 
file to the next LyX version.


regards Uwe


Re: Changing the color of notes in pdf output

2008-11-29 Thread Ignacio García
Matts Lindström, Fri, 28 Nov 2008
 Is it somehow possible to change the color of notes (Greyed out notes) in
 the pdf that lyx outputs?

Yes, add in the LaTeX preamble:

\renewenvironment{lyxgreyedout}
 {\textcolor{blue}\bgroup}{\egroup}

blue or you want.

More info in sec. 4.1 in the Embedded Objects manual

Regards
Ignacio G.


Re: Toggle Toolbars off?

2008-11-29 Thread Paul A. Rubin

Ivan Werning wrote:
When I type a math the math toolbar and math-panel toolbar automatically 
toggles at the bottom of the screen. (Mac OS X 10.5.5 with Lyx 1.6)


This is a nice idea, but sometimes has some problems. For example, if I 
was typing at the bottom of the screen, then I may get the stuff I'm 
writing covered up by the toolbar! After hitting a key the screen will 
move, but it isn't ideal to be left blinded for a moment.


Anyway, since I barely need it, for this and other reasons I'd rather 
have it turned off by default and then opt in at will. But I couldn't 
figure out how to do this.


So how can I get the toggled math and math-panel toolbars to be off?



This is IMHO rather unintuitive behavior, but if you put the cursor in a 
math inset and then go to View - Toolbars and click a math toolbar, it 
toggles between auto and always off.  If you do this _outside_ a math 
inset, it toggles between auto and always on.  The menu entry does not 
change (other than presence/absence of the check mark) -- it always says 
'auto'.  I miss the old behavior.


/Paul



Re: LyX can’t find sprachwerker.bst

2008-11-29 Thread Konrad Hofbauer

Jürgen Spitzmüller wrote:

Konrad Hofbauer wrote:

Tools-TeX Information-Rescan.
(Yes, this is all but obvious).

Could this be included into the reconfigure-script?


We discussed this before. The argument for not doing it is that scanning can 
take a long time if you have many bst files included (auch as with a full 
TeXLive installation).


Aha.


But we need to make this more obvious for sure.


Maybe put it in the menus, next to Reconfigure?

/Konrad



Re: LyX can’t find sprachwerker.bst

2008-11-29 Thread Jürgen Spitzmüller
Konrad Hofbauer wrote:
  But we need to make this more obvious for sure.

 Maybe put it in the menus, next to Reconfigure?

Or in the BibTeX dialog.

Jürgen


[correction] LyXWinInstaller for LyX 1.6.0

2008-11-29 Thread Uwe Stöhr

Hello LyXers,

I uploaded version 4.15 of the LyXWinInstaller that fixes two bugs:
- add missing Python file to be able to import CSV-files to LyX
- fix bug that PDF and EPS images weren't show in LyX

In case you are affected by these bugs, you have to reinstall LyX using this 
new installer version.

The installer can be downloaded from:
https://developer.berlios.de/project/showfiles.php?group_id=5117release_id=15475
and soon also from
ftp://ftp.lyx.org/pub/lyx/bin/1.6.0
(under the name AltInstaller)

(More infos about the installer can be found here:
 http://wiki.lyx.org/Windows/LyXWinInstaller )

sorry for the inconvenience and regards
Uwe


IEEE: one column

2008-11-29 Thread Fabián
I need to write an article using the IEEE layout. The thing is, I need it to
be a one column article.
¿Is there a quick fix?

Thank you.

Note: I'm currently using the IEEEtran layout and lyx 1.6.0

-- 
Fabián Montealegre


Re: IEEE: one column

2008-11-29 Thread Vincent van Ravesteijn

Fabián schreef:

I need to write an article using the IEEE layout. The thing is, I need it to
be a one column article.
¿Is there a quick fix?

Thank you.

Note: I'm currently using the IEEEtran layout and lyx 1.6.0

  

Yes, the IEEEtran class has the option 'onecolumn'.

Enter onecolumn in : Document-Settings-Document Class-Class 
Options-Custom:


Vincent


Re: IEEE: one column

2008-11-29 Thread Fabián
Thanks Vincent, but it didn't work that well.

Lyx generates:

\documentclass[twocolumn,spanish,english,onecolumn]{IEEEtran}


I'm still getting two columns :(


Now, if only I could get rid off that 'twocolumn'...


-- 
Fabián Montealegre Carvajal


Re: IEEE: one column

2008-11-29 Thread Vincent van Ravesteijn

Fabián schreef:

Thanks Vincent, but it didn't work that well.

Lyx generates:

\documentclass[twocolumn,spanish,english,onecolumn]{IEEEtran}


I'm still getting two columns :(


Now, if only I could get rid off that 'twocolumn'...


  

Did you manually set the format to two columns ?

Check Document - Settings - Text Layout  and make sure that the 
Two-column document checkbox is unchecked.


If so, LyX shouldn't decide to add twocolumn.

Vincent


Re: IEEE: one column

2008-11-29 Thread Fabián
Thank you very much! That solved it :)

-- 
Fabián Montealegre Carvajal


I built some lyx160 packages for Ubuntu 8.10 you can install alongside lyx-1.5.6

2008-11-29 Thread Paul Johnson
Hey, Ubuntu running lyx guys:

I saw in the lyx list that it is possible to build lyx-1.6.0  from
source so that it will be installed without damaging lyx-1.5.6.  I
wanted to try the newest lyx, but need to make sure the old faithful
lyx-1.5.6 is available.

The configure option that builds a parallel version
--with-version-suffix=-1.6.0. I wanted that same function, but
in a deb package so I could easily uninstall later.

I took the upstream Debian source code for the lyx-1.6.0 packages and
hacked the build scripts so that the new lyx is built with a suffix
-1.6.0, so you run it by typing lyx-1.6.0.  I'm an RPM packager by
nature, the Debian thing is still kinda new to me and I still stuggle
a bit.Eventually I made it work.  (I've pasted the list of
installed files shown below.  You can see it really is separate from
the old verison.)

I've not yet learned how to setup an apt archive, but you can just
download the deb packages and install with dpkg.

Unlike RPM based systems, the Debian package system will not allow
installation of 2 packages called lyx, so this new one is named lyx160
and it depends on lyx160-common.  As far as I can tell, this does no
damage at all to the Ubuntu provided packages lyx and lyx-common.

I've not yet learned how to setup an apt archive, but you can just
download the deb packages and install with dpkg.

http://pj.freefaculty.org/Ubuntu/8.10/i386/lyx160-common_1.6.0-2ubuntu_all.deb
http://pj.freefaculty.org/Ubuntu/8.10/i386/lyx160_1.6.0-2ubuntu_i386.deb

Here's my PGP key in case you are *that kind* of person (security conscious).

http://pj.freefaculty.org/Ubuntu/PaulJohnson-BinaryPackageSigningKey

pj

When the user runs lyx-1.6.0, it creates a configuration directory
~/.lyx-1.6.0, so settings and such are kept completely separate from
the existing settings for lyx-1.5.6 that are kept in ~/.lyx.

Here are the installed files. Note the -1.6.0 suffix added to
executables and directory names.  This installed version does work for
me.

$ dpkg -L lyx160
/.
/usr
/usr/bin
/usr/bin/lyxclient-1.6.0
/usr/bin/tex2lyx-1.6.0
/usr/bin/lyx-1.6.0
/usr/share
/usr/share/doc
/usr/share/doc/lyx160
/usr/share/doc/lyx160/NEWS.Debian.gz
/usr/share/doc/lyx160/changelog.Debian.gz
/usr/share/doc/lyx160/copyright
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/lyxclient-1.6.0.1.gz
/usr/share/man/man1/tex2lyx-1.6.0.1.gz
/usr/share/man/man1/lyx-1.6.0.1.gz
$ dpkg -L lyx160-common | more

/usr
/usr/share
/usr/share/texmf
/usr/share/texmf/tex
/usr/share/texmf/tex/latex
/usr/share/texmf/tex/latex/lyx-1.6.0
/usr/share/texmf/tex/latex/lyx-1.6.0/revtex.cls
/usr/share/texmf/tex/latex/lyx-1.6.0/lyxskak.sty
/usr/share/texmf/tex/latex/lyx-1.6.0/broadway.cls
/usr/share/texmf/tex/latex/lyx-1.6.0/hollywood.cls
/usr/share/texmf/tex/latex/lyx-1.6.0/lyxchess.sty
/usr/share/lyx-1.6.0
/usr/share/lyx-1.6.0/bind
/usr/share/lyx-1.6.0/bind/math.bind
/usr/share/lyx-1.6.0/bind/greekkeys.bind
/usr/share/lyx-1.6.0/bind/cyrkeys.bind
/usr/share/lyx-1.6.0/bind/pt
/usr/share/lyx-1.6.0/bind/pt/menus.bind
/usr/share/lyx-1.6.0/bind/hollywood.bind
/usr/share/lyx-1.6.0/bind/site.bind
/usr/share/lyx-1.6.0/bind/sv
/usr/share/lyx-1.6.0/bind/sv/menus.bind
/usr/share/lyx-1.6.0/bind/de
/usr/share/lyx-1.6.0/bind/de/menus.bind
/usr/share/lyx-1.6.0/bind/xemacs.bind
/usr/share/lyx-1.6.0/bind/latinkeys.bind
/usr/share/lyx-1.6.0/bind/menus.bind
/usr/share/lyx-1.6.0/bind/fi
/usr/share/lyx-1.6.0/bind/fi/menus.bind
/usr/share/lyx-1.6.0/bind/mac.bind
/usr/share/lyx-1.6.0/bind/emacs.bind
/usr/share/lyx-1.6.0/bind/cua.bind
/usr/share/lyx-1.6.0/bind/broadway.bind
/usr/share/lyx-1.6.0/bind/aqua.bind
/usr/share/lyx-1.6.0/bind/sciword.bind
/usr/share/lyx-1.6.0/chkconfig.ltx
/usr/share/lyx-1.6.0/commands
/usr/share/lyx-1.6.0/commands/default.def
/usr/share/lyx-1.6.0/configure.py
/usr/share/lyx-1.6.0/scripts
/usr/share/lyx-1.6.0/scripts/lyxpreview_tools.py
/usr/share/lyx-1.6.0/scripts/clean_dvi.py
/usr/share/lyx-1.6.0/scripts/fig_copy.py
/usr/share/lyx-1.6.0/scripts/ext_copy.py
/usr/share/lyx-1.6.0/scripts/fig2pdftex.py
/usr/share/lyx-1.6.0/scripts/lyxpreview-platex2bitmap.py
/usr/share/lyx-1.6.0/scripts/listerrors
/usr/share/lyx-1.6.0/scripts/fig2pstex.py
/usr/share/lyx-1.6.0/scripts/date.py
/usr/share/lyx-1.6.0/scripts/csv2lyx.py
/usr/share/lyx-1.6.0/scripts/TeXFiles.py
/usr/share/lyx-1.6.0/scripts/lyxpreview2bitmap.py
/usr/share/lyx-1.6.0/scripts/tex_copy.py
/usr/share/lyx-1.6.0/scripts/fen2ascii.py
/usr/share/lyx-1.6.0/scripts/convertDefault.py
/usr/share/lyx-1.6.0/scripts/legacy_lyxpreview2ppm.py
/usr/share/lyx-1.6.0/scripts/layout2layout.py
/usr/share/lyx-1.6.0/ui
/usr/share/lyx-1.6.0/ui/classic.ui
/usr/share/lyx-1.6.0/ui/stdcontext.inc
/usr/share/lyx-1.6.0/ui/default.ui
/usr/share/lyx-1.6.0/ui/stdtoolbars.inc
/usr/share/lyx-1.6.0/ui/stdmenus.inc
/usr/share/lyx-1.6.0/external_templates
/usr/share/lyx-1.6.0/templates
/usr/share/lyx-1.6.0/templates/de_beamer-conference-ornate-20min.lyx
/usr/share/lyx-1.6.0/templates/slides.lyx

view pdf error: the file doesn't exist - what to do?

2008-11-29 Thread Joachim Kreimer-de Fries

Moin Lyxers,

not for the first time I got today an LyX when clicking show pdf an  
error message:


Die Datei existiert nicht:
(I suppose in english: The file doesn't exist:)
/tmp/lyx_tmpdir.L12205/lyx_tmpbuf1/Lyra-Pracher-odt-teil.pdf

That was after adding an TeX code for another footnoteB (from the -  
loaded - manyfoot package), because I'm using for that the handout  
(tufte) layout because of the many sidenotes I need.


But because - at a certain point, when LaTeX (via LyX) said too many  
floats - I changed to the TeX-box \footnoteB command to get a real  
footnote. Which normally gives the planned result.


If the error message The file doesn't exist ... .pdf is a known  
problem, I ask:


== how to come out of this situation best?

I found out by trial and error, that I deleted the last TeX inset  
\footnoteB{...}, (but after many other trials, even after clothing  
and reopening LyX, after deleting the LyX - /tmp ... xyz-files and so  
on).


Regained functionality of LyX in making and showing a pdf result, I  
reintroduced the TeX-inset \footnoteB and it worked.


Fine for the project. But Question:

= are there reasons for that behaviour of LyX and/or other ways than  
just trying out, deleting the last inset(s) and remaking them?


== What might be the reason of the LaTeX-error about too many  
flouts when inserting footnotes = sidenotes in the handout  
(tufte) class, even if on the page where I am working and on the  
horizontal space on the margin there is place enough for another  
footnote=sidenote?


Goutgaun! joachim
--
MacTeXLive 200 - TeXShop 2.14-svn - LyX 1.6
MacBook Pro OSX 10.4.11 Tiger





Re: autocomplete question

2008-11-29 Thread Ivan Werning

On Nov 29, 2008, at 4:28 PM, Stefan Schimanski wrote:


Hi!

In fact there is some logic in the autocompletion to remember the  
last choice. I fear it is not working correctly and should be fixed  
(and extended).


It is not that obvious what exactly should be remembered. Probably  
it would be enough to remember just a fixed number of completions  
and put those in front to be selected first on tab. Everytime a  
selection is chosen, the item it put in front again. So next time  
you want press tab on the same prefix, you get the same completion  
again.


Regards,
 Stefan


Yes, that would be perfect. Having a ranking of autocompletions  
accepted with this rule would be nice and I think it would solve it.


As a simple example of the problems no:if one attempts to type the  
sequence (within math): \sum \beta \sum \beta \sum ... auto-completion  
does not help very much. The problem is it will forget what you wanted  
to complete \su with after completing typing \beta(\beta, then  
\sagitarius, then \subarray are given priority to \sum) and viceversa.


This case would be fixed with the suggested rule.

I really value having the autocompletion feature in LyX. I hope it can  
get an improved memory!


-Ivan


Re: Key bindings

2008-11-29 Thread Peleg Michaeli
Thank you very much.

I think I will try to install LyX 1.6 some day here on my old ubuntu,
but it won't be in the next weeks, probably (for the solution of the
bindings of Ω, ψ, etc...). The bindings of the C-g y works well now.


Peleg.

On Mon, 2008-11-24 at 12:13 +, Guenter Milde wrote:
 Dov Feldstern [EMAIL PROTECTED] schrieb:
  Peleg Michaeli wrote:
  On Sat, 2008-11-22 at 20:28 +0200, Dov Feldstern wrote:
  They shouldn't all be bothering you, only the ones you include are
  activated. 
  Probably it's cua -- that's the default.
 
  what exactly does your bind file look like? 
 
  I'm attaching cua and hebrew here.
 
  The cua.bind is in usr/share/... and the hebrew.bind is in
  ~/.lyx1.5.1/bind/
 
 
  The first line of hebrew.bind (\bind_file cua) is including cua.bind.
  I don't remember the rules in terms of whether you can override
  bindings, and they may also have changes since 1.5. 
 
 Generally, you can overwrite bindings. However in this case it is more
 complicated:
 
  ./bind/cua.bind:\bind C-g error-next
  
 binds ^G, so LyX will not wait for ^G y.
 
 @ the LyX experts: 
   
   Is there a way to unbind a key so that it can be used at basis for a
   set of multi-key bindings?
  
  The easiest thing to do may be to just copy cua.bind from /usr to your
  local lyx bind directory, rename it to mycua or something, 
 
 Actually, there is no need to rename (other than clarity), as LyX will
 try the version in your personal LyXDir first.
 
  get rid of the C-g y in there, and include that in hebrew instead of
  cua. 
 
 It will not matter where the new bindings are included as long as the
 original binding is commented out:
 
 -  \bind C-g error-next
 +  # \bind C-g error-next
 
 Günter
 



Re: autocomplete question

2008-11-29 Thread Paul Smith
On Sat, Nov 29, 2008 at 10:17 PM, Ivan Werning
[EMAIL PROTECTED] wrote:
 In fact there is some logic in the autocompletion to remember the last
 choice. I fear it is not working correctly and should be fixed (and
 extended).

 It is not that obvious what exactly should be remembered. Probably it
 would be enough to remember just a fixed number of completions and put those
 in front to be selected first on tab. Everytime a selection is chosen, the
 item it put in front again. So next time you want press tab on the same
 prefix, you get the same completion again.

 Yes, that would be perfect. Having a ranking of autocompletions accepted
 with this rule would be nice and I think it would solve it.

 As a simple example of the problems no:if one attempts to type the sequence
 (within math): \sum \beta \sum \beta \sum ... auto-completion does not help
 very much. The problem is it will forget what you wanted to complete \su
 with after completing typing \beta(\beta, then \sagitarius, then \subarray
 are given priority to \sum) and viceversa.

 This case would be fixed with the suggested rule.

 I really value having the autocompletion feature in LyX. I hope it can get
 an improved memory!

Perhaps, prediction algorithms from Artificial Intelligence could help
with ranking the autocompletion suggestions.

Paul


Cross-reference

2008-11-29 Thread Max Bian
In the embedded object help document, there are description of 6 
different cross-reference variations. The last one is Formatted 
reference: prints a self defined cross-reference format. 


The questions are, how and where does LyX define the format? How do I 
define a different format?


Thanks.

Max


Re: Cross-reference

2008-11-29 Thread rgheck

Max Bian wrote:
In the embedded object help document, there are description of 6 
different cross-reference variations. The last one is Formatted 
reference: prints a self defined cross-reference format. 


The questions are, how and where does LyX define the format? How do I 
define a different format?


LyX uses the prettyref package to do this. The default definitions are 
in the preamble, which you can see using ViewSource. You can add your 
own to the user preamble.


rh



Re: Edit Header on 1 page of a Koma book

2008-11-29 Thread Christian Liesen
\cleardoublepage in ERT should do the trick. If not, did you try  
\clearpage{\pagestyle{empty} \cleardoublepage}?


-- Christian


Am 29.11.2008 um 00:52 schrieb Jonathan Kroner:


How can I change a single page's header?

The last page of a chapter is an odd numbered (right) page.
The next page (even number, left) includes a page number and chapter  
title
as a header above the otherwise blank page. The following page is  
the first

page of a new chapter.
How to delete either the chapter title, or the chapter title and the  
page

number from a chapter's  last even-numbered page when it is blank.
I tried various erts from the Koma manual, but nothing happened.

Thank you.

Jonathan Kroner

The document is under Lyx 1.6.0rc3, Koma Book class and miktex  
(windows)

with options:
"intoc,refpage,bibtotoc,idxtotoc,BCOR7mm, scrpage, appendixprefix,
chapterprefix, smallheadings"

The latex preamble includes:
% define page head line

\usepackage{scrpage2}

\pagestyle{scrheadings}

\lehead{\pagemark}

\rehead{\leftmark}

\rohead{\pagemark}

\lohead{\rightmark}

\ifoot{}

\cfoot{}

\ofoot{}

% don't number chapter pages

\renewcommand*{\chapterpagestyle}{empty}




Re: Fast typing - LyX follows slowly only [solved]

2008-11-29 Thread [EMAIL PROTECTED]
Am Fri, 28 Nov 2008 17:55:40 +0100
schrieb "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>:

> Hello,
> 
> For a long time I valued LyX for its swiftness when typing. 
> Something changed recently, however and I do not
> have an idea what is causing this.
> 
> When I type the letters only show up slowly on the screen. This makes
> working with LyX really cumbersome.
> 
> I assumed this could have something to do with "Auto Completion". But
> nothing changed when I switched this feature of.
> 
> Version: LyX 1.6.0 (7 November 2008) - compiled binary on Ubuntu 8.10
> 
> Any ideas?
> 
> Regards,
> seacyd

I solved it, however, without knowing what was the original cause.

Here is what I did:

1. removed the lyx ubuntu package 1.5.6 from my system (wajig remove
lyx)

2. installed the same package again (wajig install lyx) - I did want to
test with the old version to see if the slowness also occurs there.

3. I started lyx 1.5.6 everything worked fine & the positive suprise
was, when I started lyx 1.6.0 the so much appreciated responsiveness of
lyx is back.

So maybe when compiling the source code some different
versions of libraries get installed then with the standard Ubuntu
package?

Regards,
seacyd


LyX can’t find sprachwerker.bst

2008-11-29 Thread Max Nabble

Hi everyone,


I am trying to set up sprachwerker.bst for use in LyX, so I can use Natbib
and a German bibliography style for linguistics (other than dinat and more
Harvard-like). I installed it in

~/Library/texmf/bibtex/bst

run sudo texhash and yes, kpsewhich sprachwerker.bst tells me, that it is
exactly there. However, in LyX I cannot find it at all (although I ran
Reconfigure several times). I tried to display the bibliography via ERT,
manually choosing \bibliographystle{sprachwerker} and so on but it still
does not work. I updated both MacTeX from 2007 to 2008 and LyX from 1.5.4 to
1.6.0 (all on latest Tiger/PPC) but the problem still exists. However,
exporting to LaTeX and compiling through TeXShop works. I even restarted my
computer and reconfigured LyX several times but the style still does not
show up in LyX.

What more can I do? Thank you in advance for any help,


Max
-- 
View this message in context: 
http://n2.nabble.com/LyX-can%E2%80%99t-find-sprachwerker.bst-tp1592169p1592169.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: LyX can’t find sprachwerker.bst

2008-11-29 Thread Jürgen Spitzmüller
Max Nabble wrote:
> What more can I do? Thank you in advance for any help,

Tools->TeX Information->Rescan.
(Yes, this is all but obvious).

Jürgen


Re: LyX can’t find sprachwerker.bst

2008-11-29 Thread Konrad Hofbauer

Jürgen Spitzmüller wrote:

Max Nabble wrote:

What more can I do? Thank you in advance for any help,


Tools->TeX Information->Rescan.
(Yes, this is all but obvious).


Could this be included into the reconfigure-script?

/Konrad



Re: LyX can’t find sprachwerker.bst

2008-11-29 Thread Jürgen Spitzmüller
Konrad Hofbauer wrote:
> > Tools->TeX Information->Rescan.
> > (Yes, this is all but obvious).
>
> Could this be included into the reconfigure-script?

We discussed this before. The argument for not doing it is that scanning can 
take a long time if you have many bst files included (auch as with a full 
TeXLive installation).

But we need to make this more obvious for sure.

Jürgen


Re: using ACM SIGGRAPH layout

2008-11-29 Thread Uwe Stöhr

Manveru schrieb:


If yes - try to add "siggraph" package from the MikTeX Package Manager
(available from menu group of MikTex).


This file is not the official one and it is not recommended to use it for 
submissions.


%BEEP% I do not have LyX layout for siggraph only for sigplan. Do you
have your layout file for this style?


LyX didn't yet have a layout file for acmsiggraph, but I now created one. You find it together with 
the installation instructions and an example file here:

http://wiki.lyx.org/Examples/AcmSiggraph

Please test it out and report me back. When you can use it successfully, I will include the layout 
file to the next LyX version.


regards Uwe


Re: Changing the color of notes in pdf output

2008-11-29 Thread Ignacio García
Matts Lindström, Fri, 28 Nov 2008
>> Is it somehow possible to change the color of notes ("Greyed out notes") in
>> the pdf that lyx outputs?

Yes, add in the LaTeX preamble:

\renewenvironment{lyxgreyedout}
 {\textcolor{blue}\bgroup}{\egroup}

blue or you want.

More info in sec. 4.1 in the Embedded Objects manual

Regards
Ignacio G.


Re: Toggle Toolbars off?

2008-11-29 Thread Paul A. Rubin

Ivan Werning wrote:
When I type a math the math toolbar and math-panel toolbar automatically 
toggles at the bottom of the screen. (Mac OS X 10.5.5 with Lyx 1.6)


This is a nice idea, but sometimes has some problems. For example, if I 
was typing at the bottom of the screen, then I may get the stuff I'm 
writing covered up by the toolbar! After hitting a key the screen will 
move, but it isn't ideal to be left blinded for a moment.


Anyway, since I barely need it, for this and other reasons I'd rather 
have it turned off by default and then opt in at will. But I couldn't 
figure out how to do this.


So how can I get the toggled math and math-panel toolbars to be off?



This is IMHO rather unintuitive behavior, but if you put the cursor in a 
math inset and then go to View -> Toolbars and click a math toolbar, it 
toggles between auto and always off.  If you do this _outside_ a math 
inset, it toggles between auto and always on.  The menu entry does not 
change (other than presence/absence of the check mark) -- it always says 
'auto'.  I miss the old behavior.


/Paul



Re: LyX can’t find sprachwerker.bst

2008-11-29 Thread Konrad Hofbauer

Jürgen Spitzmüller wrote:

Konrad Hofbauer wrote:

Tools->TeX Information->Rescan.
(Yes, this is all but obvious).

Could this be included into the reconfigure-script?


We discussed this before. The argument for not doing it is that scanning can 
take a long time if you have many bst files included (auch as with a full 
TeXLive installation).


Aha.


But we need to make this more obvious for sure.


Maybe put it in the menus, next to Reconfigure?

/Konrad



Re: LyX can’t find sprachwerker.bst

2008-11-29 Thread Jürgen Spitzmüller
Konrad Hofbauer wrote:
> > But we need to make this more obvious for sure.
>
> Maybe put it in the menus, next to Reconfigure?

Or in the BibTeX dialog.

Jürgen


[correction] LyXWinInstaller for LyX 1.6.0

2008-11-29 Thread Uwe Stöhr

Hello LyXers,

I uploaded version 4.15 of the LyXWinInstaller that fixes two bugs:
- add missing Python file to be able to import CSV-files to LyX
- fix bug that PDF and EPS images weren't show in LyX

In case you are affected by these bugs, you have to reinstall LyX using this 
new installer version.

The installer can be downloaded from:
https://developer.berlios.de/project/showfiles.php?group_id=5117_id=15475
and soon also from
ftp://ftp.lyx.org/pub/lyx/bin/1.6.0
(under the name AltInstaller)

(More infos about the installer can be found here:
 http://wiki.lyx.org/Windows/LyXWinInstaller )

sorry for the inconvenience and regards
Uwe


IEEE: one column

2008-11-29 Thread Fabián
I need to write an article using the IEEE layout. The thing is, I need it to
be a one column article.
¿Is there a quick fix?

Thank you.

Note: I'm currently using the IEEEtran layout and lyx 1.6.0

-- 
Fabián Montealegre


Re: IEEE: one column

2008-11-29 Thread Vincent van Ravesteijn

Fabián schreef:

I need to write an article using the IEEE layout. The thing is, I need it to
be a one column article.
¿Is there a quick fix?

Thank you.

Note: I'm currently using the IEEEtran layout and lyx 1.6.0

  

Yes, the IEEEtran class has the option 'onecolumn'.

Enter onecolumn in : Document->Settings->Document Class->Class 
Options->Custom:


Vincent


Re: IEEE: one column

2008-11-29 Thread Fabián
Thanks Vincent, but it didn't work that well.

Lyx generates:

\documentclass[twocolumn,spanish,english,onecolumn]{IEEEtran}


I'm still getting two columns :(


Now, if only I could get rid off that 'twocolumn'...


-- 
Fabián Montealegre Carvajal


Re: IEEE: one column

2008-11-29 Thread Vincent van Ravesteijn

Fabián schreef:

Thanks Vincent, but it didn't work that well.

Lyx generates:

\documentclass[twocolumn,spanish,english,onecolumn]{IEEEtran}


I'm still getting two columns :(


Now, if only I could get rid off that 'twocolumn'...


  

Did you manually set the format to two columns ?

Check "Document -> Settings -> Text Layout"  and make sure that the 
"Two-column document" checkbox is unchecked.


If so, LyX shouldn't decide to add twocolumn.

Vincent


Re: IEEE: one column

2008-11-29 Thread Fabián
Thank you very much! That solved it :)

-- 
Fabián Montealegre Carvajal


I built some lyx160 packages for Ubuntu 8.10 you can install alongside lyx-1.5.6

2008-11-29 Thread Paul Johnson
Hey, Ubuntu running lyx guys:

I saw in the lyx list that it is possible to build lyx-1.6.0  from
source so that it will be installed without damaging lyx-1.5.6.  I
wanted to try the newest lyx, but need to make sure the old faithful
lyx-1.5.6 is available.

The configure option that builds a parallel version
"--with-version-suffix=-1.6.0". I wanted that same function, but
in a deb package so I could easily uninstall later.

I took the upstream Debian source code for the lyx-1.6.0 packages and
hacked the build scripts so that the new lyx is built with a suffix
-1.6.0, so you run it by typing lyx-1.6.0.  I'm an RPM packager by
nature, the Debian thing is still kinda new to me and I still stuggle
a bit.Eventually I made it work.  (I've pasted the list of
installed files shown below.  You can see it really is separate from
the old verison.)

I've not yet learned how to setup an apt archive, but you can just
download the deb packages and install with dpkg.

Unlike RPM based systems, the Debian package system will not allow
installation of 2 packages called lyx, so this new one is named lyx160
and it depends on lyx160-common.  As far as I can tell, this does no
damage at all to the Ubuntu provided packages lyx and lyx-common.

I've not yet learned how to setup an apt archive, but you can just
download the deb packages and install with dpkg.

http://pj.freefaculty.org/Ubuntu/8.10/i386/lyx160-common_1.6.0-2ubuntu_all.deb
http://pj.freefaculty.org/Ubuntu/8.10/i386/lyx160_1.6.0-2ubuntu_i386.deb

Here's my PGP key in case you are *that kind* of person (security conscious).

http://pj.freefaculty.org/Ubuntu/PaulJohnson-BinaryPackageSigningKey

pj

When the user runs lyx-1.6.0, it creates a configuration directory
~/.lyx-1.6.0, so settings and such are kept completely separate from
the existing settings for lyx-1.5.6 that are kept in ~/.lyx.

Here are the installed files. Note the -1.6.0 suffix added to
executables and directory names.  This installed version does work for
me.

$ dpkg -L lyx160
/.
/usr
/usr/bin
/usr/bin/lyxclient-1.6.0
/usr/bin/tex2lyx-1.6.0
/usr/bin/lyx-1.6.0
/usr/share
/usr/share/doc
/usr/share/doc/lyx160
/usr/share/doc/lyx160/NEWS.Debian.gz
/usr/share/doc/lyx160/changelog.Debian.gz
/usr/share/doc/lyx160/copyright
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/lyxclient-1.6.0.1.gz
/usr/share/man/man1/tex2lyx-1.6.0.1.gz
/usr/share/man/man1/lyx-1.6.0.1.gz
$ dpkg -L lyx160-common | more

/usr
/usr/share
/usr/share/texmf
/usr/share/texmf/tex
/usr/share/texmf/tex/latex
/usr/share/texmf/tex/latex/lyx-1.6.0
/usr/share/texmf/tex/latex/lyx-1.6.0/revtex.cls
/usr/share/texmf/tex/latex/lyx-1.6.0/lyxskak.sty
/usr/share/texmf/tex/latex/lyx-1.6.0/broadway.cls
/usr/share/texmf/tex/latex/lyx-1.6.0/hollywood.cls
/usr/share/texmf/tex/latex/lyx-1.6.0/lyxchess.sty
/usr/share/lyx-1.6.0
/usr/share/lyx-1.6.0/bind
/usr/share/lyx-1.6.0/bind/math.bind
/usr/share/lyx-1.6.0/bind/greekkeys.bind
/usr/share/lyx-1.6.0/bind/cyrkeys.bind
/usr/share/lyx-1.6.0/bind/pt
/usr/share/lyx-1.6.0/bind/pt/menus.bind
/usr/share/lyx-1.6.0/bind/hollywood.bind
/usr/share/lyx-1.6.0/bind/site.bind
/usr/share/lyx-1.6.0/bind/sv
/usr/share/lyx-1.6.0/bind/sv/menus.bind
/usr/share/lyx-1.6.0/bind/de
/usr/share/lyx-1.6.0/bind/de/menus.bind
/usr/share/lyx-1.6.0/bind/xemacs.bind
/usr/share/lyx-1.6.0/bind/latinkeys.bind
/usr/share/lyx-1.6.0/bind/menus.bind
/usr/share/lyx-1.6.0/bind/fi
/usr/share/lyx-1.6.0/bind/fi/menus.bind
/usr/share/lyx-1.6.0/bind/mac.bind
/usr/share/lyx-1.6.0/bind/emacs.bind
/usr/share/lyx-1.6.0/bind/cua.bind
/usr/share/lyx-1.6.0/bind/broadway.bind
/usr/share/lyx-1.6.0/bind/aqua.bind
/usr/share/lyx-1.6.0/bind/sciword.bind
/usr/share/lyx-1.6.0/chkconfig.ltx
/usr/share/lyx-1.6.0/commands
/usr/share/lyx-1.6.0/commands/default.def
/usr/share/lyx-1.6.0/configure.py
/usr/share/lyx-1.6.0/scripts
/usr/share/lyx-1.6.0/scripts/lyxpreview_tools.py
/usr/share/lyx-1.6.0/scripts/clean_dvi.py
/usr/share/lyx-1.6.0/scripts/fig_copy.py
/usr/share/lyx-1.6.0/scripts/ext_copy.py
/usr/share/lyx-1.6.0/scripts/fig2pdftex.py
/usr/share/lyx-1.6.0/scripts/lyxpreview-platex2bitmap.py
/usr/share/lyx-1.6.0/scripts/listerrors
/usr/share/lyx-1.6.0/scripts/fig2pstex.py
/usr/share/lyx-1.6.0/scripts/date.py
/usr/share/lyx-1.6.0/scripts/csv2lyx.py
/usr/share/lyx-1.6.0/scripts/TeXFiles.py
/usr/share/lyx-1.6.0/scripts/lyxpreview2bitmap.py
/usr/share/lyx-1.6.0/scripts/tex_copy.py
/usr/share/lyx-1.6.0/scripts/fen2ascii.py
/usr/share/lyx-1.6.0/scripts/convertDefault.py
/usr/share/lyx-1.6.0/scripts/legacy_lyxpreview2ppm.py
/usr/share/lyx-1.6.0/scripts/layout2layout.py
/usr/share/lyx-1.6.0/ui
/usr/share/lyx-1.6.0/ui/classic.ui
/usr/share/lyx-1.6.0/ui/stdcontext.inc
/usr/share/lyx-1.6.0/ui/default.ui
/usr/share/lyx-1.6.0/ui/stdtoolbars.inc
/usr/share/lyx-1.6.0/ui/stdmenus.inc
/usr/share/lyx-1.6.0/external_templates
/usr/share/lyx-1.6.0/templates
/usr/share/lyx-1.6.0/templates/de_beamer-conference-ornate-20min.lyx
/usr/share/lyx-1.6.0/templates/slides.lyx

"view pdf" error: "the file doesn't exist" - what to do?

2008-11-29 Thread Joachim Kreimer-de Fries

Moin Lyxers,

not for the first time I got today an LyX when clicking "show pdf" an  
error message:


Die Datei existiert nicht:
(I suppose in english: The file doesn't exist:)
/tmp/lyx_tmpdir.L12205/lyx_tmpbuf1/Lyra-Pracher-odt-teil.pdf

That was after adding an TeX code for another "footnoteB" (from the -  
loaded - manyfoot package), because I'm using for that the "handout  
(tufte)" layout because of the many sidenotes I need.


But because - at a certain point, when LaTeX (via LyX) said "too many  
floats" - I changed to the TeX-box \footnoteB command to get a real  
footnote. Which normally gives the planned result.


If the error message "The file doesn't exist ... .pdf" is a known  
problem, I ask:


==> how to come out of this situation best?

I found out by trial and error, that I deleted the last TeX inset  
\footnoteB{...}, (but after many other trials, even after clothing  
and reopening LyX, after deleting the LyX - /tmp ... xyz-files and so  
on).


Regained functionality of LyX in making and showing a pdf result, I  
reintroduced the TeX-inset \footnoteB and it worked.


Fine for the project. But Question:

=> are there reasons for that behaviour of LyX and/or other ways than  
just trying out, deleting the last inset(s) and remaking them?


==> What might be the reason of the LaTeX-error about "too many  
flouts" when inserting "footnotes" = sidenotes in the "handout  
(tufte)" class, even if on the page where I am working and on the  
horizontal space on the margin there is place enough for another  
"footnote"=sidenote?


Goutgaun! joachim
--
MacTeXLive 200 - TeXShop 2.14-svn - LyX 1.6
MacBook Pro OSX 10.4.11 Tiger





Re: autocomplete question

2008-11-29 Thread Ivan Werning

On Nov 29, 2008, at 4:28 PM, Stefan Schimanski wrote:


Hi!

In fact there is some logic in the autocompletion to remember the  
last choice. I fear it is not working correctly and should be fixed  
(and extended).


It is not that obvious what exactly should be remembered. Probably  
it would be enough to remember just a fixed number of completions  
and put those in front to be selected first on tab. Everytime a  
selection is chosen, the item it put in front again. So next time  
you want press tab on the same prefix, you get the same completion  
again.


Regards,
 Stefan


Yes, that would be perfect. Having a ranking of autocompletions  
accepted with this rule would be nice and I think it would solve it.


As a simple example of the problems no:if one attempts to type the  
sequence (within math): \sum \beta \sum \beta \sum ... auto-completion  
does not help very much. The problem is it will forget what you wanted  
to complete \su with after completing typing \beta(\beta, then  
\sagitarius, then \subarray are given priority to \sum) and viceversa.


This case would be fixed with the suggested rule.

I really value having the autocompletion feature in LyX. I hope it can  
get an improved memory!


-Ivan


Re: Key bindings

2008-11-29 Thread Peleg Michaeli
Thank you very much.

I think I will try to install LyX 1.6 some day here on my old ubuntu,
but it won't be in the next weeks, probably (for the solution of the
bindings of Ω, ψ, etc...). The bindings of the C-g y works well now.


Peleg.

On Mon, 2008-11-24 at 12:13 +, Guenter Milde wrote:
> Dov Feldstern <[EMAIL PROTECTED]> schrieb:
> > Peleg Michaeli wrote:
> >> On Sat, 2008-11-22 at 20:28 +0200, Dov Feldstern wrote:
> >>> They shouldn't all be bothering you, only the ones you include are
> >>> activated. 
> >>> Probably it's cua -- that's the default.
> 
> >>> what exactly does your bind file look like? 
> 
> >> I'm attaching cua and hebrew here.
> 
> >> The cua.bind is in usr/share/... and the hebrew.bind is in
> >> ~/.lyx1.5.1/bind/
> 
> 
> > The first line of hebrew.bind ("\bind_file cua") is including cua.bind.
> > I don't remember the rules in terms of whether you can override
> > bindings, and they may also have changes since 1.5. 
> 
> Generally, you can overwrite bindings. However in this case it is more
> complicated:
> 
>  ./bind/cua.bind:\bind "C-g" "error-next"
>  
> binds ^G, so LyX will not wait for ^G y.
> 
> @ the LyX experts: 
>   
>   Is there a way to "unbind" a key so that it can be used at basis for a
>   set of multi-key bindings?
>  
> > The easiest thing to do may be to just copy cua.bind from /usr to your
> > local lyx bind directory, rename it to mycua or something, 
> 
> Actually, there is no need to rename (other than clarity), as LyX will
> try the version in your personal LyXDir first.
> 
> > get rid of the "C-g y" in there, and include that in hebrew instead of
> > cua. 
> 
> It will not matter where the new bindings are included as long as the
> original binding is commented out:
> 
> -  \bind "C-g" "error-next"
> +  # \bind "C-g" "error-next"
> 
> Günter
> 



Re: autocomplete question

2008-11-29 Thread Paul Smith
On Sat, Nov 29, 2008 at 10:17 PM, Ivan Werning
<[EMAIL PROTECTED]> wrote:
>> In fact there is some logic in the autocompletion to remember the last
>> choice. I fear it is not working correctly and should be fixed (and
>> extended).
>>
>> It is not that obvious what exactly should be remembered. Probably it
>> would be enough to remember just a fixed number of completions and put those
>> in front to be selected first on tab. Everytime a selection is chosen, the
>> item it put in front again. So next time you want press tab on the same
>> prefix, you get the same completion again.
>
> Yes, that would be perfect. Having a ranking of autocompletions accepted
> with this rule would be nice and I think it would solve it.
>
> As a simple example of the problems no:if one attempts to type the sequence
> (within math): \sum \beta \sum \beta \sum ... auto-completion does not help
> very much. The problem is it will forget what you wanted to complete \su
> with after completing typing \beta(\beta, then \sagitarius, then \subarray
> are given priority to \sum) and viceversa.
>
> This case would be fixed with the suggested rule.
>
> I really value having the autocompletion feature in LyX. I hope it can get
> an improved memory!

Perhaps, prediction algorithms from Artificial Intelligence could help
with ranking the autocompletion suggestions.

Paul


Cross-reference

2008-11-29 Thread Max Bian
In the embedded object help document, there are description of 6 
different cross-reference variations. The last one is "Formatted 
reference: prints a self defined cross-reference format. "


The questions are, how and where does LyX define the format? How do I 
define a different format?


Thanks.

Max


Re: Cross-reference

2008-11-29 Thread rgheck

Max Bian wrote:
In the embedded object help document, there are description of 6 
different cross-reference variations. The last one is "Formatted 
reference: prints a self defined cross-reference format. "


The questions are, how and where does LyX define the format? How do I 
define a different format?


LyX uses the prettyref package to do this. The default definitions are 
in the preamble, which you can see using View>Source. You can add your 
own to the user preamble.


rh