Re: LyX on Windows Vista

2008-02-09 Thread Uwe Stöhr

Max Bian schrieb:

1. When I do view-PDF(PDFLATEX), it will ask me if I want to create the 
directory for the output files. Is there a way to remove this 
unnecessary user input?


2. If the pdf is open in Acrobat, the update would fail. Is there a way 
to avoid this?


Both should not occur. What installer have you used to install LyX, the standard, or the alternative 
one?


regards Uwe


Re: LyX on Windows Vista

2008-02-09 Thread Max Bian

I used the alternative installer. Was that the difference?

Thanks.

Max

Uwe Stöhr wrote:

Max Bian schrieb:

1. When I do view-PDF(PDFLATEX), it will ask me if I want to create 
the directory for the output files. Is there a way to remove this 
unnecessary user input?


2. If the pdf is open in Acrobat, the update would fail. Is there a 
way to avoid this?


Both should not occur. What installer have you used to install LyX, 
the standard, or the alternative one?


regards Uwe




Preamble code not working

2008-02-09 Thread ashinpan
Hi! all

I have been able to use XeTeX directly from Lyx by changing the pdftex
command to xelatex $$i in LyX preferences, and declaring fonts for
XeTeX in the preamble.

However, I have to declare \catcodeAD=\active  \def^^ad{} in the
preamble to remove soft hyphens appearing mid-line. As soon as I
insert that code in the preamble, Xelatex no longer works. But after
exporting to pdflatex and opening in the TexMaker, it works perfectly
again.

Can someone help me out again?

with respect and appreciation

Ven. Pandita


Re: Beamer: enumerate on 2 slides

2008-02-09 Thread Jürgen Spitzmüller
Nicolas Ferré wrote:
 In a Beamer document, how can I do this:

 New slide
 1.
 2.
 New slide
 3.
 4.

In the second slide, put in ERT at the very beginning of the first enumeration 
item: [3.]

Jürgen


Re: Repeating numbered Examples

2008-02-09 Thread Jürgen Spitzmüller
Manolo Martínez wrote:
 I'm writing a paper using numbered examples, with Covington.sty. I would
 like to repeat one example later in the text, like this

 ***
 Some text

 (1) The first example
 (2) The second example

 Some more text

 (3) The third example
 (1) The first example
 ***

 I have found no easy way to do this. Any ideas?

* insert a label in the first example
* in the repeated example, insert at a crossref to this first example at the 
beginning and enclose the crossref by [( and )]. At least the square brackets 
must be in TeX mode.

Jürgen


Re: Koma letter: make first page longer

2008-02-09 Thread Jean-Marie Pacquet

Laurent Duperval a écrit :

Hi,

I noticed that the first page of a Koma letter2 is shorter than the rest
of the pages. How can I make it be the same length? The reason I want this
is because I have two lines of text on the second page of a two-page
letter. I want it all on the first page, and it looks like it should fit
correctly.

Thanks,

L


  
You can add the line ,enlargefirstpage=true at the end of the class 
options in the preamble (between the lines %,refline=wide% and }) in 
my lyx version.


HTH
--
jean-marie pacquet


Re: Nomenclature in Table of Contens

2008-02-09 Thread Jürgen Spitzmüller
Fritz Bein wrote:
 \def\nompreamble{\addcontentsline{toc}{section}{\nomname}\markboth{\nomname
}{\nomname}

 results in a double entry in the TOC: one on chapter level and one on  
 section level.

 How can I remove the entry on chapter level?

By default, nomencl does not insert anything to the TOC, unless you have 
entered the option intoc (in Document-Settings-Class-Options). Remove that 
and it will work (if not, post an example file, please).

Jürgen


Re: Exporting non-unicode characters to Latex

2008-02-09 Thread Jürgen Spitzmüller
Uwe Stöhr wrote:
  As LyX 1.5.3 is Unicode-compliant, my tex editor supports unicode
  characters, and XeTeX  can  access  all unicode fonts in the operating
  system, I do not need in my latex file the tex formatting for
  diacritics, e.g., \={a}, \d{m}, \~n, etc..
 
  How should I prevent  such formatting in the LaTeX file that I export
  from LyX?

 This can be done by changing the corresponding entries in the file
 unicodesymbols that is part of LyX. This file is designed, to translate
 unicode characters to commands that are suppoerted by certain
 LaTeX-packages.

Even better, chose the inputencoding utf8-plain. Then you can export without 
messing up the unicodesymbols file. You can even directly process with xetex, 
cf.

http://wiki.lyx.org/Mac/XeTeX

 Support for XeTeX won't be in the next version 1.6 that will released this
 year. Personally, I plan to support it in LyX 1.7. But this requires, that
 XeTeX is better supported by existing LaTeX packages.

Actually, I have some support for it in my tree. I'm not sure I'll finish that 
in time, though.

Jürgen


Re: Repeating numbered Examples

2008-02-09 Thread Manolo Martínez

Hi, Jürgen, thanks for your reply.

I'm not sure I've understood your solution: I must copy and paste the 
text of the repeated example and place a crossref before, enclosed by 
two ERT calls, one with an opening bracket, the other with a closing 
bracket. Is that right?


The problem if I do that is that the example does not have the same 
format as normal numbered examples. So, for instance, The line-spacing 
is not respected.


Anyway, have I understood the solution you proposed? Thanks again,
Manolo

Jürgen Spitzmüller escribió:

Manolo Martínez wrote:
  

I'm writing a paper using numbered examples, with Covington.sty. I would
like to repeat one example later in the text, like this

***
Some text

(1) The first example
(2) The second example

Some more text

(3) The third example
(1) The first example
***

I have found no easy way to do this. Any ideas?



* insert a label in the first example
* in the repeated example, insert at a crossref to this first example at the 
beginning and enclose the crossref by [( and )]. At least the square brackets 
must be in TeX mode.


Jürgen

  




Re: Repeating numbered Examples

2008-02-09 Thread Jürgen Spitzmüller
Manolo Martínez wrote:
 I'm not sure I've understood your solution: I must copy and paste the
 text of the repeated example and place a crossref before, enclosed by
 two ERT calls, one with an opening bracket, the other with a closing
 bracket. Is that right?

It depends how you insert the covington examples. If you use the layout from 
the LinguistLyX wiki page [1], you just have to insert another Numbered 
Example, copy the text from the first example and put in crossref and 
bracket in that example, at the beginning of the line.

In LaTeX, the output must look like this:

\begin{examples}
\item First example\label{exa:first}
\item Second example
\end{examples}
Some text

\begin{examples}
\item Third Example
\item [(\ref{exa:first})] First example
\end{examples}


Jürgen

[1] http://wiki.lyx.org/LyX/LinguistLyX#toc14


Re: LyX on Windows Vista

2008-02-09 Thread Julio Rojas
Same problem here using the alternate installer. While rendering PDF's using
any method (translation from error in spanish):

*The folder
c:/Users/myuser/AppData/Local/Temp/lyx_tmpdir5056a...\lyx_tmpbuf0\ doesn't
exist. May have been moved or deleted. Wish to create it?
*
If you answer yes nothing happens.

Can it be a permissions related error? Maybe the backslashes of the buffer
folder?

Thanks in advance.

On Feb 9, 2008 10:40 AM, Max Bian [EMAIL PROTECTED] wrote:

 I used the alternative installer. Was that the difference?

 Thanks.

 Max

 Uwe Stöhr wrote:
  Max Bian schrieb:
 
  1. When I do view-PDF(PDFLATEX), it will ask me if I want to create
  the directory for the output files. Is there a way to remove this
  unnecessary user input?
 
  2. If the pdf is open in Acrobat, the update would fail. Is there a
  way to avoid this?
 
  Both should not occur. What installer have you used to install LyX,
  the standard, or the alternative one?
 
  regards Uwe




-- 
-
Julio Rojas
[EMAIL PROTECTED]


Re: LyX on Windows Vista

2008-02-09 Thread Julio Rojas
The folders do exist and both, the temporal files and the PDF are inside.
Maybe the problem is path related.

On Feb 9, 2008 12:57 PM, Julio Rojas [EMAIL PROTECTED] wrote:

 Same problem here using the alternate installer. While rendering PDF's
 using any method (translation from error in spanish):

 *The folder
 c:/Users/myuser/AppData/Local/Temp/lyx_tmpdir5056a...\lyx_tmpbuf0\ doesn't
 exist. May have been moved or deleted. Wish to create it?
 *
 If you answer yes nothing happens.

 Can it be a permissions related error? Maybe the backslashes of the buffer
 folder?

 Thanks in advance.


 On Feb 9, 2008 10:40 AM, Max Bian [EMAIL PROTECTED] wrote:

  I used the alternative installer. Was that the difference?
 
  Thanks.
 
  Max
 
  Uwe Stöhr wrote:
   Max Bian schrieb:
  
   1. When I do view-PDF(PDFLATEX), it will ask me if I want to create
   the directory for the output files. Is there a way to remove this
   unnecessary user input?
  
   2. If the pdf is open in Acrobat, the update would fail. Is there a
   way to avoid this?
  
   Both should not occur. What installer have you used to install LyX,
   the standard, or the alternative one?
  
   regards Uwe
 
 


 --
 -
 Julio Rojas
 [EMAIL PROTECTED]




-- 
-
Julio Rojas
[EMAIL PROTECTED]


Re: LyX on Windows Vista

2008-02-09 Thread Uwe Stöhr

Max Bian schrieb:


I used the alternative installer. Was that the difference?


I'm the author of this installer ;-)
Just joking, here's the difference:
http://wiki.lyx.org/Windows/LyXWinInstaller

It should work on Vista as well. On Vista 64bit editions there are problems 
with this:

2. If the pdf is open in Acrobat, the update would fail. Is there a 
way to avoid this?


That I couldn't solve because I don't have access to Vista 64bit.
You could try t reinstall LyX using the other installer, because this use another method of the PDF 
update but other Vista users reported problems with this installer concerning the way it hides LyX's 
console window.

Could you please report how it works for you?

regards Uwe


Re: LyX on Windows Vista

2008-02-09 Thread Uwe Stöhr

Julio Rojas schrieb:


Same problem here using the alternate installer. While rendering PDF's using
any method (translation from error in spanish):

*The folder
c:/Users/myuser/AppData/Local/Temp/lyx_tmpdir5056a...\lyx_tmpbuf0\ doesn't
exist. May have been moved or deleted. Wish to create it?


The path (back)slashes are strange. I'm not able to figure out where this is 
set.
I'm using a Delphi program to update the PDF view. It seems that the path handling is changed on 
Vista 64bit (I got reports that it works on Vista 32bit). I'll have a look for a newer Delphi 
compiler or try to rewrite it using C++ or a python script.


Before I start, I need to know if pdf updating works four you when you install LyX using the 
standard installer.


thanks and regards
Uwe


Re: Beamer: enumerate on 2 slides

2008-02-09 Thread Paul A. Rubin

Jürgen Spitzmüller wrote:

Nicolas Ferré wrote:

In a Beamer document, how can I do this:

New slide
1.
2.
New slide
3.
4.


In the second slide, put in ERT at the very beginning of the first enumeration 
item: [3.]




You will also need \setcounter{enumi}{3} in the same ERT box; otherwise 
you'll get


3.
1.

on the second slide (I think).

If you are not using overlays (i.e., everything displays in one gulp on 
each of those slides), and if you don't mind having the same title with 
a Roman numeral index (e.g., Results I and Results II) for the two 
slides, you can condense it to one slide, whose title is as above but 
without the Roman numerals (e.g., Results), and put 
[allowframebreaks] in ERT at the beginning of the slide title.  This 
has the advantage that if you change the bullet items later, the 
locations of the breaks are adjusted automatically, and you don't have 
to modify the ERT.  The twin disadvantages are that you are locked into 
the same-title-plus-numeral frame titles and overlaying is disabled.


/Paul



Re: Problems with picture position.

2008-02-09 Thread Uwe Stöhr

Gregor Skrt schrieb:

I have one question concerning picture floats. I have a picture that's 
quite long and doesn't fit between borders very well. It seems like Lyx 
is obeying borders that I've set in document settings and ads some free 
space between border and picture on left side. Is there a way to use 
that free space too ?


The spacing is set by you: When the image is too wide ti fit into the margin, then sets its width in 
the image dialog to 100 column% or below.
You should then not see whitespace at the left side. If you still do, please send me a SMALL example 
file by private mail and I'll have a look.


regards Uwe


Re: Translation problems with AMS

2008-02-09 Thread Uwe Stöhr

Dominik Böhm schrieb:


Adding

\newtheorem{exa}{Beispiel}
\renewenvironment{example}{\begin{exa}}{\end{exa}}

to my lyx file translated the example lable. But now the numbering doesn't
work as expected. A
\numberwithin{exa}{theorem}/\numberwithin{exa}{section} didn't help...


Could you send me a SMALL example file?

regards Uwe


Re: LyX on Windows Vista

2008-02-09 Thread Max Bian
I tried the official installer but I got the same problems and more. It 
will not launch the Acrobat program to show the pdf file when I 
selection View-PDF (PDFLATEX).


If I open the file manually, the update will fail because LyX cannot 
write to the file that is open.


No, I am not using Vista 64bit. It is a 32bit version.

Thanks.

Max

Uwe Stöhr wrote:

Max Bian schrieb:


I used the alternative installer. Was that the difference?


I'm the author of this installer ;-)
Just joking, here's the difference:
http://wiki.lyx.org/Windows/LyXWinInstaller

It should work on Vista as well. On Vista 64bit editions there are 
problems with this:


2. If the pdf is open in Acrobat, the update would fail. Is there a 
way to avoid this?


That I couldn't solve because I don't have access to Vista 64bit.
You could try t reinstall LyX using the other installer, because this 
use another method of the PDF update but other Vista users reported 
problems with this installer concerning the way it hides LyX's console 
window.

Could you please report how it works for you?

regards Uwe




Re: LyX on Windows Vista

2008-02-09 Thread Julio Rojas
Thank you very much for your answer. FYI, I'm using Vista 32bit version.

Before I start, I need to know if pdf updating works four you when you
 install LyX using the
 standard installer.


I have never used the standard installer, so I can't answer your question.

On Feb 9, 2008 2:07 PM, Uwe Stöhr [EMAIL PROTECTED] wrote:

 Julio Rojas schrieb:

  Same problem here using the alternate installer. While rendering PDF's
 using
  any method (translation from error in spanish):
 
  *The folder
  c:/Users/myuser/AppData/Local/Temp/lyx_tmpdir5056a...\lyx_tmpbuf0\
 doesn't
  exist. May have been moved or deleted. Wish to create it?

 The path (back)slashes are strange. I'm not able to figure out where this
 is set.
 I'm using a Delphi program to update the PDF view. It seems that the path
 handling is changed on
 Vista 64bit (I got reports that it works on Vista 32bit). I'll have a look
 for a newer Delphi
 compiler or try to rewrite it using C++ or a python script.

 Before I start, I need to know if pdf updating works four you when you
 install LyX using the
 standard installer.

 thanks and regards
 Uwe




-- 
-
Julio Rojas
[EMAIL PROTECTED]


Re: copy/paste from emacs/openoffice

2008-02-09 Thread Micha
On Fri, 8 Feb 2008 16:05:52 -0800 (PST)
Rich Shepard [EMAIL PROTECTED] wrote:

 On Sat, 9 Feb 2008, Micha wrote:
 
  How do I copy text from emacs and openoffice into lyx under linux? I am
  trying to patch together a few sources for a presentation and I can't get
  lyx to recognize that it has something to paste in any way (marking and
  middle mouse button or marking and using edit-copy).
 
 Micha,
 
I've found that I sometimes need to hold the shift key down when I mark
 text with the trackball (mouse), and when pasting into the receiving
 application.
 
I've copied from emacs to lyx without any problem. Just did a test, with
 emacs running under X, too: left trackball button held down as I blocked
 text in emacs; in lyx, click the left button where I wanted to insert the
 text, then both buttons (emulating a 3-button mouse).
 
Worked like a charm.
 
 Rich
 

Well, for some reason it just started working again, don't know what kept lyx.
I don't even think that I restarted it. It didn't accept paste in any form and
now it's just working again. Go figure.

Thanks ayway


Re: copy/paste from emacs/openoffice

2008-02-09 Thread Micha
On Sat, 9 Feb 2008 01:00:47 +0100
Pavel Sanda [EMAIL PROTECTED] wrote:

  How do I copy text from emacs and openoffice into lyx under linux? I am
  trying to patch together a few sources for a presentation and I can't get
  lyx to recognize that it has something to paste in any way (marking and
  middle mouse button or marking and using edit-copy).
 
 what version of lyx you use?
 pavel
 

1.5.3, but for some unknown reason it just started working again without me
doing anything. It didn't accept paste from any program no matter what i did
and now it's accepting again. Unless someone knows whats wrong I will just try
not to break it again.

Thanks


Re: Beamer: enumerate on 2 slides

2008-02-09 Thread Rich Shepard

On Sat, 9 Feb 2008, Paul A. Rubin wrote:


If you are not using overlays (i.e., everything displays in one gulp on
each of those slides), and if you don't mind having the same title with a
Roman numeral index (e.g., Results I and Results II) for the two
slides, you can condense it to one slide, whose title is as above but
without the Roman numerals (e.g., Results), and put [allowframebreaks]
in ERT at the beginning of the slide title.  This has the advantage that
if you change the bullet items later, the locations of the breaks are
adjusted automatically, and you don't have to modify the ERT.  The twin
disadvantages are that you are locked into the same-title-plus-numeral
frame titles and overlaying is disabled.


  This is what I do, and I don't see the numbered slide titles as a
disadvantage at all. It tells the audience that I'm still on the same topic
as the previous slide(s). Makes it easier for those still awake to know
where we are.

  I suspect that the \setcounter{enum}{3} approach leaves the slide untitled,
and that may not communicate as well with the audience.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: copy/paste from emacs/openoffice

2008-02-09 Thread Pavel Sanda
   How do I copy text from emacs and openoffice into lyx under linux? I am
   trying to patch together a few sources for a presentation and I can't get
   lyx to recognize that it has something to paste in any way (marking and
   middle mouse button or marking and using edit-copy).
  
  what version of lyx you use?
  pavel
  
 
 1.5.3, but for some unknown reason it just started working again without me
 doing anything. It didn't accept paste from any program no matter what i did
 and now it's accepting again. Unless someone knows whats wrong I will just try
 not to break it again.

:(
we already had such kind of bug. in that case it was triggered this way:
1. launch lyx, new file
2. select some text in another application
3. paste text by middle button click (works)
4. select text inside lyx window and copy it by ctrl+c
5. select some text in another application
6. paste text by middle button click (does not work)

but this should be fixed in 1.5.3.

try to find out what triggers your case.

pavel


Disable the hyphenation

2008-02-09 Thread Aitor Valle
Hello everyone,

I'm running LyX 1.5.3 in Ubuntu Gutsy. Now I'm previewing a text I've
written in basque, but LaTeX does not make the right separation of
syllables. Do you know how to disable the hyphenation?

Thanks,
Aitor


Re: LyX on Windows Vista

2008-02-09 Thread Julio Rojas
It seems there's a problem in the path to the default PDF viewer. If I added
the full path to Acrobat Reader in the file format configuration as follows:

c:\PROGRA~1\Adobe\READER~1.0\Reader\acrord32.exe

after rendering the PDF, the reader is run but gets hung with about 49% of
the processor used. Then if I add quotation marks to the path like:

c:\PROGRA~1\Adobe\READER~1.0\Reader\acrord32.exe

it works just fine, but when I close and reload LyX, the path is moved to
the editor field (instead of the viewer field), check marks for the document
format and the vectorial graphic format are cleared and both quotation marks
are put at the end of the path, rendering the document format unusable (and,
of course, it doesn't get shown in the View menu):

c:\PROGRA~1\Adobe\READER~1.0\Reader\acrord32.exe

So, can it be a LyX related problem, more than an installer related one?

On Feb 9, 2008 4:08 PM, Julio Rojas [EMAIL PROTECTED] wrote:

 Thank you very much for your answer. FYI, I'm using Vista 32bit version.

  Before I start, I need to know if pdf updating works four you when you
  install LyX using the
  standard installer.
 

 I have never used the standard installer, so I can't answer your question.

 On Feb 9, 2008 2:07 PM, Uwe Stöhr [EMAIL PROTECTED] wrote:

  Julio Rojas schrieb:
 
   Same problem here using the alternate installer. While rendering PDF's
  using
   any method (translation from error in spanish):
  
   *The folder
   c:/Users/myuser/AppData/Local/Temp/lyx_tmpdir5056a...\lyx_tmpbuf0\
  doesn't
   exist. May have been moved or deleted. Wish to create it?
 
  The path (back)slashes are strange. I'm not able to figure out where
  this is set.
  I'm using a Delphi program to update the PDF view. It seems that the
  path handling is changed on
  Vista 64bit (I got reports that it works on Vista 32bit). I'll have a
  look for a newer Delphi
  compiler or try to rewrite it using C++ or a python script.
 
  Before I start, I need to know if pdf updating works four you when you
  install LyX using the
  standard installer.
 
  thanks and regards
  Uwe
 



 --
 -
 Julio Rojas
 [EMAIL PROTECTED]




-- 
-
Julio Rojas
[EMAIL PROTECTED]


Re: LyX on Windows Vista

2008-02-09 Thread Julio Rojas
Following what was said on:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg57937.html

I decided to use pdfview.exe instead of pdfviewwin.exe. It works fine,
but there's the nagging problem of UAC always asking me for confirmation to
run pdfview.exe, as it is not registered.

At least, now I can see the PDF output.

On Feb 9, 2008 5:06 PM, Julio Rojas [EMAIL PROTECTED] wrote:

 It seems there's a problem in the path to the default PDF viewer. If I
 added the full path to Acrobat Reader in the file format configuration as
 follows:

 c:\PROGRA~1\Adobe\READER~1.0\Reader\acrord32.exe

 after rendering the PDF, the reader is run but gets hung with about 49% of
 the processor used. Then if I add quotation marks to the path like:

 c:\PROGRA~1\Adobe\READER~1.0\Reader\acrord32.exe

 it works just fine, but when I close and reload LyX, the path is moved to
 the editor field (instead of the viewer field), check marks for the document
 format and the vectorial graphic format are cleared and both quotation marks
 are put at the end of the path, rendering the document format unusable (and,
 of course, it doesn't get shown in the View menu):

 c:\PROGRA~1\Adobe\READER~1.0\Reader\acrord32.exe

 So, can it be a LyX related problem, more than an installer related one?


 On Feb 9, 2008 4:08 PM, Julio Rojas [EMAIL PROTECTED] wrote:

  Thank you very much for your answer. FYI, I'm using Vista 32bit version.
 
 
   Before I start, I need to know if pdf updating works four you when you
   install LyX using the
   standard installer.
  
 
  I have never used the standard installer, so I can't answer your
  question.
 
  On Feb 9, 2008 2:07 PM, Uwe Stöhr [EMAIL PROTECTED] wrote:
 
   Julio Rojas schrieb:
  
Same problem here using the alternate installer. While rendering
   PDF's using
any method (translation from error in spanish):
   
*The folder
c:/Users/myuser/AppData/Local/Temp/lyx_tmpdir5056a...\lyx_tmpbuf0\
   doesn't
exist. May have been moved or deleted. Wish to create it?
  
   The path (back)slashes are strange. I'm not able to figure out where
   this is set.
   I'm using a Delphi program to update the PDF view. It seems that the
   path handling is changed on
   Vista 64bit (I got reports that it works on Vista 32bit). I'll have a
   look for a newer Delphi
   compiler or try to rewrite it using C++ or a python script.
  
   Before I start, I need to know if pdf updating works four you when you
   install LyX using the
   standard installer.
  
   thanks and regards
   Uwe
  
 
 
 
  --
  -
  Julio Rojas
  [EMAIL PROTECTED]
 



 --
 -
 Julio Rojas
 [EMAIL PROTECTED]




-- 
-
Julio Rojas
[EMAIL PROTECTED]


Re: LyX on Windows Vista

2008-02-09 Thread Julio Rojas
Another solution, installing Sumatra (
http://blog.kowalczyk.info/software/sumatrapdf/) which is WAY smaller and
adding the path:

C:\PROGRA~1\SUMATR~1\SUMATR~1.EXE

to the viewer field.

On Feb 9, 2008 5:46 PM, Julio Rojas [EMAIL PROTECTED] wrote:

 Following what was said on:
 http://www.mail-archive.com/lyx-users@lists.lyx.org/msg57937.html

 I decided to use pdfview.exe instead of pdfviewwin.exe. It works fine,
 but there's the nagging problem of UAC always asking me for confirmation to
 run pdfview.exe, as it is not registered.

 At least, now I can see the PDF output.


 On Feb 9, 2008 5:06 PM, Julio Rojas [EMAIL PROTECTED] wrote:

  It seems there's a problem in the path to the default PDF viewer. If I
  added the full path to Acrobat Reader in the file format configuration as
  follows:
 
  c:\PROGRA~1\Adobe\READER~1.0\Reader\acrord32.exe
 
  after rendering the PDF, the reader is run but gets hung with about 49%
  of the processor used. Then if I add quotation marks to the path like:
 
  c:\PROGRA~1\Adobe\READER~1.0\Reader\acrord32.exe
 
  it works just fine, but when I close and reload LyX, the path is moved
  to the editor field (instead of the viewer field), check marks for the
  document format and the vectorial graphic format are cleared and both
  quotation marks are put at the end of the path, rendering the document
  format unusable (and, of course, it doesn't get shown in the View menu):
 
  c:\PROGRA~1\Adobe\READER~1.0\Reader\acrord32.exe
 
  So, can it be a LyX related problem, more than an installer related one?
 
 
  On Feb 9, 2008 4:08 PM, Julio Rojas [EMAIL PROTECTED] wrote:
 
   Thank you very much for your answer. FYI, I'm using Vista 32bit
   version.
  
Before I start, I need to know if pdf updating works four you when
you install LyX using the
standard installer.
   
  
   I have never used the standard installer, so I can't answer your
   question.
  
   On Feb 9, 2008 2:07 PM, Uwe Stöhr [EMAIL PROTECTED] wrote:
  
Julio Rojas schrieb:
   
 Same problem here using the alternate installer. While rendering
PDF's using
 any method (translation from error in spanish):

 *The folder
 c:/Users/myuser/AppData/Local/Temp/lyx_tmpdir5056a...\lyx_tmpbuf0\
doesn't
 exist. May have been moved or deleted. Wish to create it?
   
The path (back)slashes are strange. I'm not able to figure out where
this is set.
I'm using a Delphi program to update the PDF view. It seems that the
path handling is changed on
Vista 64bit (I got reports that it works on Vista 32bit). I'll have
a look for a newer Delphi
compiler or try to rewrite it using C++ or a python script.
   
Before I start, I need to know if pdf updating works four you when
you install LyX using the
standard installer.
   
thanks and regards
Uwe
   
  
  
  
   --
   -
   Julio Rojas
   [EMAIL PROTECTED]
  
 
 
 
  --
  -
  Julio Rojas
  [EMAIL PROTECTED]
 



 --
 -

 Julio Rojas
 [EMAIL PROTECTED]




-- 
-
Julio Rojas
[EMAIL PROTECTED]


Re: Beamer: enumerate on 2 slides

2008-02-09 Thread Paul A. Rubin

Rich Shepard wrote:

On Sat, 9 Feb 2008, Paul A. Rubin wrote:


If you are not using overlays (i.e., everything displays in one gulp on
each of those slides), and if you don't mind having the same title with a
Roman numeral index (e.g., Results I and Results II) for the two
slides, you can condense it to one slide, whose title is as above but
without the Roman numerals (e.g., Results), and put 
[allowframebreaks]

in ERT at the beginning of the slide title.  This has the advantage that
if you change the bullet items later, the locations of the breaks are
adjusted automatically, and you don't have to modify the ERT.  The twin
disadvantages are that you are locked into the same-title-plus-numeral
frame titles and overlaying is disabled.


  This is what I do, and I don't see the numbered slide titles as a
disadvantage at all. It tells the audience that I'm still on the same topic
as the previous slide(s). Makes it easier for those still awake to know
where we are.


I'd test that myself if any of my students were still awake at that 
point, but no joy.  :-)


  I suspect that the \setcounter{enum}{3} approach leaves the slide 
untitled,

and that may not communicate as well with the audience.



No.  You manually split the list at some point and insert a new 
BeginFrame at the split point (including whatever title you like).  So 
the second slide has a title (barring a memory lapse on the author's 
part), but if changes are made to the bullet lists (either 
adding/deleting items or changing the text length, considerable manual 
(re)tuning is in order.  Were it not for the loss of overlays (which I 
use extensively), I'd always use the allowframebreaks option.


/Paul



Re: LyX on Windows Vista

2008-02-09 Thread Joost Verburg

Max Bian wrote:
I am using 1.53 on Windows Vista. I found pdflatex easiest to get what I 
need. However I have two problems with it:


1. When I do view-PDF(PDFLATEX), it will ask me if I want to create the 
directory for the output files. Is there a way to remove this 
unnecessary user input?


2. If the pdf is open in Acrobat, the update would fail. Is there a way 
to avoid this?


Try to reinstall the latest Adobe Reader. I just tried the standard 
installer with Windows Vista and PDF viewing works fine.


Joost



Re: LyX on Windows Vista

2008-02-09 Thread Max Bian

I tried both installer and updated the Acrobat.

With the official installer, problem #1 is fixed. I still have problem 
with #2. LyX error: I cannot write on file xxx.pdf.


Max

Joost Verburg wrote:

Max Bian wrote:
I am using 1.53 on Windows Vista. I found pdflatex easiest to get 
what I need. However I have two problems with it:


1. When I do view-PDF(PDFLATEX), it will ask me if I want to create 
the directory for the output files. Is there a way to remove this 
unnecessary user input?


2. If the pdf is open in Acrobat, the update would fail. Is there a 
way to avoid this?


Try to reinstall the latest Adobe Reader. I just tried the standard 
installer with Windows Vista and PDF viewing works fine.


Joost





Re: LyX on Windows Vista

2008-02-09 Thread Uwe Stöhr

Max Bian schrieb:

1. When I do view-PDF(PDFLATEX), it will ask me if I want to create the 
directory for the output files. Is there a way to remove this 
unnecessary user input?


2. If the pdf is open in Acrobat, the update would fail. Is there a way 
to avoid this?


Both should not occur. What installer have you used to install LyX, the standard, or the alternative 
one?


regards Uwe


Re: LyX on Windows Vista

2008-02-09 Thread Max Bian

I used the alternative installer. Was that the difference?

Thanks.

Max

Uwe Stöhr wrote:

Max Bian schrieb:

1. When I do view-PDF(PDFLATEX), it will ask me if I want to create 
the directory for the output files. Is there a way to remove this 
unnecessary user input?


2. If the pdf is open in Acrobat, the update would fail. Is there a 
way to avoid this?


Both should not occur. What installer have you used to install LyX, 
the standard, or the alternative one?


regards Uwe




Preamble code not working

2008-02-09 Thread ashinpan
Hi! all

I have been able to use XeTeX directly from Lyx by changing the pdftex
command to xelatex $$i in LyX preferences, and declaring fonts for
XeTeX in the preamble.

However, I have to declare \catcodeAD=\active  \def^^ad{} in the
preamble to remove soft hyphens appearing mid-line. As soon as I
insert that code in the preamble, Xelatex no longer works. But after
exporting to pdflatex and opening in the TexMaker, it works perfectly
again.

Can someone help me out again?

with respect and appreciation

Ven. Pandita


Re: Beamer: enumerate on 2 slides

2008-02-09 Thread Jürgen Spitzmüller
Nicolas Ferré wrote:
 In a Beamer document, how can I do this:

 New slide
 1.
 2.
 New slide
 3.
 4.

In the second slide, put in ERT at the very beginning of the first enumeration 
item: [3.]

Jürgen


Re: Repeating numbered Examples

2008-02-09 Thread Jürgen Spitzmüller
Manolo Martínez wrote:
 I'm writing a paper using numbered examples, with Covington.sty. I would
 like to repeat one example later in the text, like this

 ***
 Some text

 (1) The first example
 (2) The second example

 Some more text

 (3) The third example
 (1) The first example
 ***

 I have found no easy way to do this. Any ideas?

* insert a label in the first example
* in the repeated example, insert at a crossref to this first example at the 
beginning and enclose the crossref by [( and )]. At least the square brackets 
must be in TeX mode.

Jürgen


Re: Koma letter: make first page longer

2008-02-09 Thread Jean-Marie Pacquet

Laurent Duperval a écrit :

Hi,

I noticed that the first page of a Koma letter2 is shorter than the rest
of the pages. How can I make it be the same length? The reason I want this
is because I have two lines of text on the second page of a two-page
letter. I want it all on the first page, and it looks like it should fit
correctly.

Thanks,

L


  
You can add the line ,enlargefirstpage=true at the end of the class 
options in the preamble (between the lines %,refline=wide% and }) in 
my lyx version.


HTH
--
jean-marie pacquet


Re: Nomenclature in Table of Contens

2008-02-09 Thread Jürgen Spitzmüller
Fritz Bein wrote:
 \def\nompreamble{\addcontentsline{toc}{section}{\nomname}\markboth{\nomname
}{\nomname}

 results in a double entry in the TOC: one on chapter level and one on  
 section level.

 How can I remove the entry on chapter level?

By default, nomencl does not insert anything to the TOC, unless you have 
entered the option intoc (in Document-Settings-Class-Options). Remove that 
and it will work (if not, post an example file, please).

Jürgen


Re: Exporting non-unicode characters to Latex

2008-02-09 Thread Jürgen Spitzmüller
Uwe Stöhr wrote:
  As LyX 1.5.3 is Unicode-compliant, my tex editor supports unicode
  characters, and XeTeX  can  access  all unicode fonts in the operating
  system, I do not need in my latex file the tex formatting for
  diacritics, e.g., \={a}, \d{m}, \~n, etc..
 
  How should I prevent  such formatting in the LaTeX file that I export
  from LyX?

 This can be done by changing the corresponding entries in the file
 unicodesymbols that is part of LyX. This file is designed, to translate
 unicode characters to commands that are suppoerted by certain
 LaTeX-packages.

Even better, chose the inputencoding utf8-plain. Then you can export without 
messing up the unicodesymbols file. You can even directly process with xetex, 
cf.

http://wiki.lyx.org/Mac/XeTeX

 Support for XeTeX won't be in the next version 1.6 that will released this
 year. Personally, I plan to support it in LyX 1.7. But this requires, that
 XeTeX is better supported by existing LaTeX packages.

Actually, I have some support for it in my tree. I'm not sure I'll finish that 
in time, though.

Jürgen


Re: Repeating numbered Examples

2008-02-09 Thread Manolo Martínez

Hi, Jürgen, thanks for your reply.

I'm not sure I've understood your solution: I must copy and paste the 
text of the repeated example and place a crossref before, enclosed by 
two ERT calls, one with an opening bracket, the other with a closing 
bracket. Is that right?


The problem if I do that is that the example does not have the same 
format as normal numbered examples. So, for instance, The line-spacing 
is not respected.


Anyway, have I understood the solution you proposed? Thanks again,
Manolo

Jürgen Spitzmüller escribió:

Manolo Martínez wrote:
  

I'm writing a paper using numbered examples, with Covington.sty. I would
like to repeat one example later in the text, like this

***
Some text

(1) The first example
(2) The second example

Some more text

(3) The third example
(1) The first example
***

I have found no easy way to do this. Any ideas?



* insert a label in the first example
* in the repeated example, insert at a crossref to this first example at the 
beginning and enclose the crossref by [( and )]. At least the square brackets 
must be in TeX mode.


Jürgen

  




Re: Repeating numbered Examples

2008-02-09 Thread Jürgen Spitzmüller
Manolo Martínez wrote:
 I'm not sure I've understood your solution: I must copy and paste the
 text of the repeated example and place a crossref before, enclosed by
 two ERT calls, one with an opening bracket, the other with a closing
 bracket. Is that right?

It depends how you insert the covington examples. If you use the layout from 
the LinguistLyX wiki page [1], you just have to insert another Numbered 
Example, copy the text from the first example and put in crossref and 
bracket in that example, at the beginning of the line.

In LaTeX, the output must look like this:

\begin{examples}
\item First example\label{exa:first}
\item Second example
\end{examples}
Some text

\begin{examples}
\item Third Example
\item [(\ref{exa:first})] First example
\end{examples}


Jürgen

[1] http://wiki.lyx.org/LyX/LinguistLyX#toc14


Re: LyX on Windows Vista

2008-02-09 Thread Julio Rojas
Same problem here using the alternate installer. While rendering PDF's using
any method (translation from error in spanish):

*The folder
c:/Users/myuser/AppData/Local/Temp/lyx_tmpdir5056a...\lyx_tmpbuf0\ doesn't
exist. May have been moved or deleted. Wish to create it?
*
If you answer yes nothing happens.

Can it be a permissions related error? Maybe the backslashes of the buffer
folder?

Thanks in advance.

On Feb 9, 2008 10:40 AM, Max Bian [EMAIL PROTECTED] wrote:

 I used the alternative installer. Was that the difference?

 Thanks.

 Max

 Uwe Stöhr wrote:
  Max Bian schrieb:
 
  1. When I do view-PDF(PDFLATEX), it will ask me if I want to create
  the directory for the output files. Is there a way to remove this
  unnecessary user input?
 
  2. If the pdf is open in Acrobat, the update would fail. Is there a
  way to avoid this?
 
  Both should not occur. What installer have you used to install LyX,
  the standard, or the alternative one?
 
  regards Uwe




-- 
-
Julio Rojas
[EMAIL PROTECTED]


Re: LyX on Windows Vista

2008-02-09 Thread Julio Rojas
The folders do exist and both, the temporal files and the PDF are inside.
Maybe the problem is path related.

On Feb 9, 2008 12:57 PM, Julio Rojas [EMAIL PROTECTED] wrote:

 Same problem here using the alternate installer. While rendering PDF's
 using any method (translation from error in spanish):

 *The folder
 c:/Users/myuser/AppData/Local/Temp/lyx_tmpdir5056a...\lyx_tmpbuf0\ doesn't
 exist. May have been moved or deleted. Wish to create it?
 *
 If you answer yes nothing happens.

 Can it be a permissions related error? Maybe the backslashes of the buffer
 folder?

 Thanks in advance.


 On Feb 9, 2008 10:40 AM, Max Bian [EMAIL PROTECTED] wrote:

  I used the alternative installer. Was that the difference?
 
  Thanks.
 
  Max
 
  Uwe Stöhr wrote:
   Max Bian schrieb:
  
   1. When I do view-PDF(PDFLATEX), it will ask me if I want to create
   the directory for the output files. Is there a way to remove this
   unnecessary user input?
  
   2. If the pdf is open in Acrobat, the update would fail. Is there a
   way to avoid this?
  
   Both should not occur. What installer have you used to install LyX,
   the standard, or the alternative one?
  
   regards Uwe
 
 


 --
 -
 Julio Rojas
 [EMAIL PROTECTED]




-- 
-
Julio Rojas
[EMAIL PROTECTED]


Re: LyX on Windows Vista

2008-02-09 Thread Uwe Stöhr

Max Bian schrieb:


I used the alternative installer. Was that the difference?


I'm the author of this installer ;-)
Just joking, here's the difference:
http://wiki.lyx.org/Windows/LyXWinInstaller

It should work on Vista as well. On Vista 64bit editions there are problems 
with this:

2. If the pdf is open in Acrobat, the update would fail. Is there a 
way to avoid this?


That I couldn't solve because I don't have access to Vista 64bit.
You could try t reinstall LyX using the other installer, because this use another method of the PDF 
update but other Vista users reported problems with this installer concerning the way it hides LyX's 
console window.

Could you please report how it works for you?

regards Uwe


Re: LyX on Windows Vista

2008-02-09 Thread Uwe Stöhr

Julio Rojas schrieb:


Same problem here using the alternate installer. While rendering PDF's using
any method (translation from error in spanish):

*The folder
c:/Users/myuser/AppData/Local/Temp/lyx_tmpdir5056a...\lyx_tmpbuf0\ doesn't
exist. May have been moved or deleted. Wish to create it?


The path (back)slashes are strange. I'm not able to figure out where this is 
set.
I'm using a Delphi program to update the PDF view. It seems that the path handling is changed on 
Vista 64bit (I got reports that it works on Vista 32bit). I'll have a look for a newer Delphi 
compiler or try to rewrite it using C++ or a python script.


Before I start, I need to know if pdf updating works four you when you install LyX using the 
standard installer.


thanks and regards
Uwe


Re: Beamer: enumerate on 2 slides

2008-02-09 Thread Paul A. Rubin

Jürgen Spitzmüller wrote:

Nicolas Ferré wrote:

In a Beamer document, how can I do this:

New slide
1.
2.
New slide
3.
4.


In the second slide, put in ERT at the very beginning of the first enumeration 
item: [3.]




You will also need \setcounter{enumi}{3} in the same ERT box; otherwise 
you'll get


3.
1.

on the second slide (I think).

If you are not using overlays (i.e., everything displays in one gulp on 
each of those slides), and if you don't mind having the same title with 
a Roman numeral index (e.g., Results I and Results II) for the two 
slides, you can condense it to one slide, whose title is as above but 
without the Roman numerals (e.g., Results), and put 
[allowframebreaks] in ERT at the beginning of the slide title.  This 
has the advantage that if you change the bullet items later, the 
locations of the breaks are adjusted automatically, and you don't have 
to modify the ERT.  The twin disadvantages are that you are locked into 
the same-title-plus-numeral frame titles and overlaying is disabled.


/Paul



Re: Problems with picture position.

2008-02-09 Thread Uwe Stöhr

Gregor Skrt schrieb:

I have one question concerning picture floats. I have a picture that's 
quite long and doesn't fit between borders very well. It seems like Lyx 
is obeying borders that I've set in document settings and ads some free 
space between border and picture on left side. Is there a way to use 
that free space too ?


The spacing is set by you: When the image is too wide ti fit into the margin, then sets its width in 
the image dialog to 100 column% or below.
You should then not see whitespace at the left side. If you still do, please send me a SMALL example 
file by private mail and I'll have a look.


regards Uwe


Re: Translation problems with AMS

2008-02-09 Thread Uwe Stöhr

Dominik Böhm schrieb:


Adding

\newtheorem{exa}{Beispiel}
\renewenvironment{example}{\begin{exa}}{\end{exa}}

to my lyx file translated the example lable. But now the numbering doesn't
work as expected. A
\numberwithin{exa}{theorem}/\numberwithin{exa}{section} didn't help...


Could you send me a SMALL example file?

regards Uwe


Re: LyX on Windows Vista

2008-02-09 Thread Max Bian
I tried the official installer but I got the same problems and more. It 
will not launch the Acrobat program to show the pdf file when I 
selection View-PDF (PDFLATEX).


If I open the file manually, the update will fail because LyX cannot 
write to the file that is open.


No, I am not using Vista 64bit. It is a 32bit version.

Thanks.

Max

Uwe Stöhr wrote:

Max Bian schrieb:


I used the alternative installer. Was that the difference?


I'm the author of this installer ;-)
Just joking, here's the difference:
http://wiki.lyx.org/Windows/LyXWinInstaller

It should work on Vista as well. On Vista 64bit editions there are 
problems with this:


2. If the pdf is open in Acrobat, the update would fail. Is there a 
way to avoid this?


That I couldn't solve because I don't have access to Vista 64bit.
You could try t reinstall LyX using the other installer, because this 
use another method of the PDF update but other Vista users reported 
problems with this installer concerning the way it hides LyX's console 
window.

Could you please report how it works for you?

regards Uwe




Re: LyX on Windows Vista

2008-02-09 Thread Julio Rojas
Thank you very much for your answer. FYI, I'm using Vista 32bit version.

Before I start, I need to know if pdf updating works four you when you
 install LyX using the
 standard installer.


I have never used the standard installer, so I can't answer your question.

On Feb 9, 2008 2:07 PM, Uwe Stöhr [EMAIL PROTECTED] wrote:

 Julio Rojas schrieb:

  Same problem here using the alternate installer. While rendering PDF's
 using
  any method (translation from error in spanish):
 
  *The folder
  c:/Users/myuser/AppData/Local/Temp/lyx_tmpdir5056a...\lyx_tmpbuf0\
 doesn't
  exist. May have been moved or deleted. Wish to create it?

 The path (back)slashes are strange. I'm not able to figure out where this
 is set.
 I'm using a Delphi program to update the PDF view. It seems that the path
 handling is changed on
 Vista 64bit (I got reports that it works on Vista 32bit). I'll have a look
 for a newer Delphi
 compiler or try to rewrite it using C++ or a python script.

 Before I start, I need to know if pdf updating works four you when you
 install LyX using the
 standard installer.

 thanks and regards
 Uwe




-- 
-
Julio Rojas
[EMAIL PROTECTED]


Re: copy/paste from emacs/openoffice

2008-02-09 Thread Micha
On Fri, 8 Feb 2008 16:05:52 -0800 (PST)
Rich Shepard [EMAIL PROTECTED] wrote:

 On Sat, 9 Feb 2008, Micha wrote:
 
  How do I copy text from emacs and openoffice into lyx under linux? I am
  trying to patch together a few sources for a presentation and I can't get
  lyx to recognize that it has something to paste in any way (marking and
  middle mouse button or marking and using edit-copy).
 
 Micha,
 
I've found that I sometimes need to hold the shift key down when I mark
 text with the trackball (mouse), and when pasting into the receiving
 application.
 
I've copied from emacs to lyx without any problem. Just did a test, with
 emacs running under X, too: left trackball button held down as I blocked
 text in emacs; in lyx, click the left button where I wanted to insert the
 text, then both buttons (emulating a 3-button mouse).
 
Worked like a charm.
 
 Rich
 

Well, for some reason it just started working again, don't know what kept lyx.
I don't even think that I restarted it. It didn't accept paste in any form and
now it's just working again. Go figure.

Thanks ayway


Re: copy/paste from emacs/openoffice

2008-02-09 Thread Micha
On Sat, 9 Feb 2008 01:00:47 +0100
Pavel Sanda [EMAIL PROTECTED] wrote:

  How do I copy text from emacs and openoffice into lyx under linux? I am
  trying to patch together a few sources for a presentation and I can't get
  lyx to recognize that it has something to paste in any way (marking and
  middle mouse button or marking and using edit-copy).
 
 what version of lyx you use?
 pavel
 

1.5.3, but for some unknown reason it just started working again without me
doing anything. It didn't accept paste from any program no matter what i did
and now it's accepting again. Unless someone knows whats wrong I will just try
not to break it again.

Thanks


Re: Beamer: enumerate on 2 slides

2008-02-09 Thread Rich Shepard

On Sat, 9 Feb 2008, Paul A. Rubin wrote:


If you are not using overlays (i.e., everything displays in one gulp on
each of those slides), and if you don't mind having the same title with a
Roman numeral index (e.g., Results I and Results II) for the two
slides, you can condense it to one slide, whose title is as above but
without the Roman numerals (e.g., Results), and put [allowframebreaks]
in ERT at the beginning of the slide title.  This has the advantage that
if you change the bullet items later, the locations of the breaks are
adjusted automatically, and you don't have to modify the ERT.  The twin
disadvantages are that you are locked into the same-title-plus-numeral
frame titles and overlaying is disabled.


  This is what I do, and I don't see the numbered slide titles as a
disadvantage at all. It tells the audience that I'm still on the same topic
as the previous slide(s). Makes it easier for those still awake to know
where we are.

  I suspect that the \setcounter{enum}{3} approach leaves the slide untitled,
and that may not communicate as well with the audience.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: copy/paste from emacs/openoffice

2008-02-09 Thread Pavel Sanda
   How do I copy text from emacs and openoffice into lyx under linux? I am
   trying to patch together a few sources for a presentation and I can't get
   lyx to recognize that it has something to paste in any way (marking and
   middle mouse button or marking and using edit-copy).
  
  what version of lyx you use?
  pavel
  
 
 1.5.3, but for some unknown reason it just started working again without me
 doing anything. It didn't accept paste from any program no matter what i did
 and now it's accepting again. Unless someone knows whats wrong I will just try
 not to break it again.

:(
we already had such kind of bug. in that case it was triggered this way:
1. launch lyx, new file
2. select some text in another application
3. paste text by middle button click (works)
4. select text inside lyx window and copy it by ctrl+c
5. select some text in another application
6. paste text by middle button click (does not work)

but this should be fixed in 1.5.3.

try to find out what triggers your case.

pavel


Disable the hyphenation

2008-02-09 Thread Aitor Valle
Hello everyone,

I'm running LyX 1.5.3 in Ubuntu Gutsy. Now I'm previewing a text I've
written in basque, but LaTeX does not make the right separation of
syllables. Do you know how to disable the hyphenation?

Thanks,
Aitor


Re: LyX on Windows Vista

2008-02-09 Thread Julio Rojas
It seems there's a problem in the path to the default PDF viewer. If I added
the full path to Acrobat Reader in the file format configuration as follows:

c:\PROGRA~1\Adobe\READER~1.0\Reader\acrord32.exe

after rendering the PDF, the reader is run but gets hung with about 49% of
the processor used. Then if I add quotation marks to the path like:

c:\PROGRA~1\Adobe\READER~1.0\Reader\acrord32.exe

it works just fine, but when I close and reload LyX, the path is moved to
the editor field (instead of the viewer field), check marks for the document
format and the vectorial graphic format are cleared and both quotation marks
are put at the end of the path, rendering the document format unusable (and,
of course, it doesn't get shown in the View menu):

c:\PROGRA~1\Adobe\READER~1.0\Reader\acrord32.exe

So, can it be a LyX related problem, more than an installer related one?

On Feb 9, 2008 4:08 PM, Julio Rojas [EMAIL PROTECTED] wrote:

 Thank you very much for your answer. FYI, I'm using Vista 32bit version.

  Before I start, I need to know if pdf updating works four you when you
  install LyX using the
  standard installer.
 

 I have never used the standard installer, so I can't answer your question.

 On Feb 9, 2008 2:07 PM, Uwe Stöhr [EMAIL PROTECTED] wrote:

  Julio Rojas schrieb:
 
   Same problem here using the alternate installer. While rendering PDF's
  using
   any method (translation from error in spanish):
  
   *The folder
   c:/Users/myuser/AppData/Local/Temp/lyx_tmpdir5056a...\lyx_tmpbuf0\
  doesn't
   exist. May have been moved or deleted. Wish to create it?
 
  The path (back)slashes are strange. I'm not able to figure out where
  this is set.
  I'm using a Delphi program to update the PDF view. It seems that the
  path handling is changed on
  Vista 64bit (I got reports that it works on Vista 32bit). I'll have a
  look for a newer Delphi
  compiler or try to rewrite it using C++ or a python script.
 
  Before I start, I need to know if pdf updating works four you when you
  install LyX using the
  standard installer.
 
  thanks and regards
  Uwe
 



 --
 -
 Julio Rojas
 [EMAIL PROTECTED]




-- 
-
Julio Rojas
[EMAIL PROTECTED]


Re: LyX on Windows Vista

2008-02-09 Thread Julio Rojas
Following what was said on:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg57937.html

I decided to use pdfview.exe instead of pdfviewwin.exe. It works fine,
but there's the nagging problem of UAC always asking me for confirmation to
run pdfview.exe, as it is not registered.

At least, now I can see the PDF output.

On Feb 9, 2008 5:06 PM, Julio Rojas [EMAIL PROTECTED] wrote:

 It seems there's a problem in the path to the default PDF viewer. If I
 added the full path to Acrobat Reader in the file format configuration as
 follows:

 c:\PROGRA~1\Adobe\READER~1.0\Reader\acrord32.exe

 after rendering the PDF, the reader is run but gets hung with about 49% of
 the processor used. Then if I add quotation marks to the path like:

 c:\PROGRA~1\Adobe\READER~1.0\Reader\acrord32.exe

 it works just fine, but when I close and reload LyX, the path is moved to
 the editor field (instead of the viewer field), check marks for the document
 format and the vectorial graphic format are cleared and both quotation marks
 are put at the end of the path, rendering the document format unusable (and,
 of course, it doesn't get shown in the View menu):

 c:\PROGRA~1\Adobe\READER~1.0\Reader\acrord32.exe

 So, can it be a LyX related problem, more than an installer related one?


 On Feb 9, 2008 4:08 PM, Julio Rojas [EMAIL PROTECTED] wrote:

  Thank you very much for your answer. FYI, I'm using Vista 32bit version.
 
 
   Before I start, I need to know if pdf updating works four you when you
   install LyX using the
   standard installer.
  
 
  I have never used the standard installer, so I can't answer your
  question.
 
  On Feb 9, 2008 2:07 PM, Uwe Stöhr [EMAIL PROTECTED] wrote:
 
   Julio Rojas schrieb:
  
Same problem here using the alternate installer. While rendering
   PDF's using
any method (translation from error in spanish):
   
*The folder
c:/Users/myuser/AppData/Local/Temp/lyx_tmpdir5056a...\lyx_tmpbuf0\
   doesn't
exist. May have been moved or deleted. Wish to create it?
  
   The path (back)slashes are strange. I'm not able to figure out where
   this is set.
   I'm using a Delphi program to update the PDF view. It seems that the
   path handling is changed on
   Vista 64bit (I got reports that it works on Vista 32bit). I'll have a
   look for a newer Delphi
   compiler or try to rewrite it using C++ or a python script.
  
   Before I start, I need to know if pdf updating works four you when you
   install LyX using the
   standard installer.
  
   thanks and regards
   Uwe
  
 
 
 
  --
  -
  Julio Rojas
  [EMAIL PROTECTED]
 



 --
 -
 Julio Rojas
 [EMAIL PROTECTED]




-- 
-
Julio Rojas
[EMAIL PROTECTED]


Re: LyX on Windows Vista

2008-02-09 Thread Julio Rojas
Another solution, installing Sumatra (
http://blog.kowalczyk.info/software/sumatrapdf/) which is WAY smaller and
adding the path:

C:\PROGRA~1\SUMATR~1\SUMATR~1.EXE

to the viewer field.

On Feb 9, 2008 5:46 PM, Julio Rojas [EMAIL PROTECTED] wrote:

 Following what was said on:
 http://www.mail-archive.com/lyx-users@lists.lyx.org/msg57937.html

 I decided to use pdfview.exe instead of pdfviewwin.exe. It works fine,
 but there's the nagging problem of UAC always asking me for confirmation to
 run pdfview.exe, as it is not registered.

 At least, now I can see the PDF output.


 On Feb 9, 2008 5:06 PM, Julio Rojas [EMAIL PROTECTED] wrote:

  It seems there's a problem in the path to the default PDF viewer. If I
  added the full path to Acrobat Reader in the file format configuration as
  follows:
 
  c:\PROGRA~1\Adobe\READER~1.0\Reader\acrord32.exe
 
  after rendering the PDF, the reader is run but gets hung with about 49%
  of the processor used. Then if I add quotation marks to the path like:
 
  c:\PROGRA~1\Adobe\READER~1.0\Reader\acrord32.exe
 
  it works just fine, but when I close and reload LyX, the path is moved
  to the editor field (instead of the viewer field), check marks for the
  document format and the vectorial graphic format are cleared and both
  quotation marks are put at the end of the path, rendering the document
  format unusable (and, of course, it doesn't get shown in the View menu):
 
  c:\PROGRA~1\Adobe\READER~1.0\Reader\acrord32.exe
 
  So, can it be a LyX related problem, more than an installer related one?
 
 
  On Feb 9, 2008 4:08 PM, Julio Rojas [EMAIL PROTECTED] wrote:
 
   Thank you very much for your answer. FYI, I'm using Vista 32bit
   version.
  
Before I start, I need to know if pdf updating works four you when
you install LyX using the
standard installer.
   
  
   I have never used the standard installer, so I can't answer your
   question.
  
   On Feb 9, 2008 2:07 PM, Uwe Stöhr [EMAIL PROTECTED] wrote:
  
Julio Rojas schrieb:
   
 Same problem here using the alternate installer. While rendering
PDF's using
 any method (translation from error in spanish):

 *The folder
 c:/Users/myuser/AppData/Local/Temp/lyx_tmpdir5056a...\lyx_tmpbuf0\
doesn't
 exist. May have been moved or deleted. Wish to create it?
   
The path (back)slashes are strange. I'm not able to figure out where
this is set.
I'm using a Delphi program to update the PDF view. It seems that the
path handling is changed on
Vista 64bit (I got reports that it works on Vista 32bit). I'll have
a look for a newer Delphi
compiler or try to rewrite it using C++ or a python script.
   
Before I start, I need to know if pdf updating works four you when
you install LyX using the
standard installer.
   
thanks and regards
Uwe
   
  
  
  
   --
   -
   Julio Rojas
   [EMAIL PROTECTED]
  
 
 
 
  --
  -
  Julio Rojas
  [EMAIL PROTECTED]
 



 --
 -

 Julio Rojas
 [EMAIL PROTECTED]




-- 
-
Julio Rojas
[EMAIL PROTECTED]


Re: Beamer: enumerate on 2 slides

2008-02-09 Thread Paul A. Rubin

Rich Shepard wrote:

On Sat, 9 Feb 2008, Paul A. Rubin wrote:


If you are not using overlays (i.e., everything displays in one gulp on
each of those slides), and if you don't mind having the same title with a
Roman numeral index (e.g., Results I and Results II) for the two
slides, you can condense it to one slide, whose title is as above but
without the Roman numerals (e.g., Results), and put 
[allowframebreaks]

in ERT at the beginning of the slide title.  This has the advantage that
if you change the bullet items later, the locations of the breaks are
adjusted automatically, and you don't have to modify the ERT.  The twin
disadvantages are that you are locked into the same-title-plus-numeral
frame titles and overlaying is disabled.


  This is what I do, and I don't see the numbered slide titles as a
disadvantage at all. It tells the audience that I'm still on the same topic
as the previous slide(s). Makes it easier for those still awake to know
where we are.


I'd test that myself if any of my students were still awake at that 
point, but no joy.  :-)


  I suspect that the \setcounter{enum}{3} approach leaves the slide 
untitled,

and that may not communicate as well with the audience.



No.  You manually split the list at some point and insert a new 
BeginFrame at the split point (including whatever title you like).  So 
the second slide has a title (barring a memory lapse on the author's 
part), but if changes are made to the bullet lists (either 
adding/deleting items or changing the text length, considerable manual 
(re)tuning is in order.  Were it not for the loss of overlays (which I 
use extensively), I'd always use the allowframebreaks option.


/Paul



Re: LyX on Windows Vista

2008-02-09 Thread Joost Verburg

Max Bian wrote:
I am using 1.53 on Windows Vista. I found pdflatex easiest to get what I 
need. However I have two problems with it:


1. When I do view-PDF(PDFLATEX), it will ask me if I want to create the 
directory for the output files. Is there a way to remove this 
unnecessary user input?


2. If the pdf is open in Acrobat, the update would fail. Is there a way 
to avoid this?


Try to reinstall the latest Adobe Reader. I just tried the standard 
installer with Windows Vista and PDF viewing works fine.


Joost



Re: LyX on Windows Vista

2008-02-09 Thread Max Bian

I tried both installer and updated the Acrobat.

With the official installer, problem #1 is fixed. I still have problem 
with #2. LyX error: I cannot write on file xxx.pdf.


Max

Joost Verburg wrote:

Max Bian wrote:
I am using 1.53 on Windows Vista. I found pdflatex easiest to get 
what I need. However I have two problems with it:


1. When I do view-PDF(PDFLATEX), it will ask me if I want to create 
the directory for the output files. Is there a way to remove this 
unnecessary user input?


2. If the pdf is open in Acrobat, the update would fail. Is there a 
way to avoid this?


Try to reinstall the latest Adobe Reader. I just tried the standard 
installer with Windows Vista and PDF viewing works fine.


Joost





Re: LyX on Windows Vista

2008-02-09 Thread Uwe Stöhr

Max Bian schrieb:

1. When I do view->PDF(PDFLATEX), it will ask me if I want to create the 
directory for the output files. Is there a way to remove this 
unnecessary user input?


2. If the pdf is open in Acrobat, the update would fail. Is there a way 
to avoid this?


Both should not occur. What installer have you used to install LyX, the standard, or the alternative 
one?


regards Uwe


Re: LyX on Windows Vista

2008-02-09 Thread Max Bian

I used the alternative installer. Was that the difference?

Thanks.

Max

Uwe Stöhr wrote:

Max Bian schrieb:

1. When I do view->PDF(PDFLATEX), it will ask me if I want to create 
the directory for the output files. Is there a way to remove this 
unnecessary user input?


2. If the pdf is open in Acrobat, the update would fail. Is there a 
way to avoid this?


Both should not occur. What installer have you used to install LyX, 
the standard, or the alternative one?


regards Uwe




Preamble code not working

2008-02-09 Thread ashinpan
Hi! all

I have been able to use XeTeX directly from Lyx by changing the pdftex
command to "xelatex $$i" in LyX preferences, and declaring fonts for
XeTeX in the preamble.

However, I have to declare \catcode"AD=\active  \def^^ad{} in the
preamble to remove soft hyphens appearing mid-line. As soon as I
insert that code in the preamble, Xelatex no longer works. But after
exporting to pdflatex and opening in the TexMaker, it works perfectly
again.

Can someone help me out again?

with respect and appreciation

Ven. Pandita


Re: Beamer: enumerate on 2 slides

2008-02-09 Thread Jürgen Spitzmüller
Nicolas Ferré wrote:
> In a Beamer document, how can I do this:
>
> New slide
> 1.
> 2.
> New slide
> 3.
> 4.

In the second slide, put in ERT at the very beginning of the first enumeration 
item: [3.]

Jürgen


Re: Repeating numbered Examples

2008-02-09 Thread Jürgen Spitzmüller
Manolo Martínez wrote:
> I'm writing a paper using numbered examples, with Covington.sty. I would
> like to repeat one example later in the text, like this
>
> ***
> Some text
>
> (1) The first example
> (2) The second example
>
> Some more text
>
> (3) The third example
> (1) The first example
> ***
>
> I have found no easy way to do this. Any ideas?

* insert a label in the first example
* in the repeated example, insert at a crossref to this first example at the 
beginning and enclose the crossref by [( and )]. At least the square brackets 
must be in TeX mode.

Jürgen


Re: Koma letter: make first page longer

2008-02-09 Thread Jean-Marie Pacquet

Laurent Duperval a écrit :

Hi,

I noticed that the first page of a Koma letter2 is shorter than the rest
of the pages. How can I make it be the same length? The reason I want this
is because I have two lines of text on the second page of a two-page
letter. I want it all on the first page, and it looks like it should fit
correctly.

Thanks,

L


  
You can add the line ",enlargefirstpage=true" at the end of the class 
options in the preamble (between the lines "%,refline=wide%" and "}") in 
my lyx version.


HTH
--
jean-marie pacquet


Re: Nomenclature in Table of Contens

2008-02-09 Thread Jürgen Spitzmüller
Fritz Bein wrote:
> \def\nompreamble{\addcontentsline{toc}{section}{\nomname}\markboth{\nomname
>}{\nomname}
>
> results in a double entry in the TOC: one on chapter level and one on  
> section level.
>
> How can I remove the entry on chapter level?

By default, nomencl does not insert anything to the TOC, unless you have 
entered the option intoc (in Document->Settings->Class->Options). Remove that 
and it will work (if not, post an example file, please).

Jürgen


Re: Exporting non-unicode characters to Latex

2008-02-09 Thread Jürgen Spitzmüller
Uwe Stöhr wrote:
> >> As LyX 1.5.3 is Unicode-compliant, my tex editor supports unicode
> >> characters, and XeTeX  can  access  all unicode fonts in the operating
> >> system, I do not need in my latex file the tex formatting for
> >> diacritics, e.g., \={a}, \d{m}, \~n, etc..
> >>
> >> How should I prevent  such formatting in the LaTeX file that I export
> >> from LyX?
>
> This can be done by changing the corresponding entries in the file
> "unicodesymbols" that is part of LyX. This file is designed, to translate
> unicode characters to commands that are suppoerted by certain
> LaTeX-packages.

Even better, chose the inputencoding "utf8-plain". Then you can export without 
messing up the unicodesymbols file. You can even directly process with xetex, 
cf.

http://wiki.lyx.org/Mac/XeTeX

> Support for XeTeX won't be in the next version 1.6 that will released this
> year. Personally, I plan to support it in LyX 1.7. But this requires, that
> XeTeX is better supported by existing LaTeX packages.

Actually, I have some support for it in my tree. I'm not sure I'll finish that 
in time, though.

Jürgen


Re: Repeating numbered Examples

2008-02-09 Thread Manolo Martínez

Hi, Jürgen, thanks for your reply.

I'm not sure I've understood your solution: I must copy and paste the 
text of the repeated example and place a crossref before, enclosed by 
two ERT calls, one with an opening bracket, the other with a closing 
bracket. Is that right?


The problem if I do that is that the example does not have the same 
format as normal numbered examples. So, for instance, The line-spacing 
is not respected.


Anyway, have I understood the solution you proposed? Thanks again,
Manolo

Jürgen Spitzmüller escribió:

Manolo Martínez wrote:
  

I'm writing a paper using numbered examples, with Covington.sty. I would
like to repeat one example later in the text, like this

***
Some text

(1) The first example
(2) The second example

Some more text

(3) The third example
(1) The first example
***

I have found no easy way to do this. Any ideas?



* insert a label in the first example
* in the repeated example, insert at a crossref to this first example at the 
beginning and enclose the crossref by [( and )]. At least the square brackets 
must be in TeX mode.


Jürgen

  




Re: Repeating numbered Examples

2008-02-09 Thread Jürgen Spitzmüller
Manolo Martínez wrote:
> I'm not sure I've understood your solution: I must copy and paste the
> text of the repeated example and place a crossref before, enclosed by
> two ERT calls, one with an opening bracket, the other with a closing
> bracket. Is that right?

It depends how you insert the covington examples. If you use the layout from 
the LinguistLyX wiki page [1], you just have to insert another "Numbered 
Example", copy the text from the first example and put in crossref and 
bracket in that example, at the beginning of the line.

In LaTeX, the output must look like this:

\begin{examples}
\item First example\label{exa:first}
\item Second example
\end{examples}
Some text

\begin{examples}
\item Third Example
\item [(\ref{exa:first})] First example
\end{examples}


Jürgen

[1] http://wiki.lyx.org/LyX/LinguistLyX#toc14


Re: LyX on Windows Vista

2008-02-09 Thread Julio Rojas
Same problem here using the alternate installer. While rendering PDF's using
any method (translation from error in spanish):

*The folder
c:/Users/myuser/AppData/Local/Temp/lyx_tmpdir5056a...\lyx_tmpbuf0\ doesn't
exist. May have been moved or deleted. Wish to create it?
*
If you answer "yes" nothing happens.

Can it be a permissions related error? Maybe the backslashes of the buffer
folder?

Thanks in advance.

On Feb 9, 2008 10:40 AM, Max Bian <[EMAIL PROTECTED]> wrote:

> I used the alternative installer. Was that the difference?
>
> Thanks.
>
> Max
>
> Uwe Stöhr wrote:
> > Max Bian schrieb:
> >
> >> 1. When I do view->PDF(PDFLATEX), it will ask me if I want to create
> >> the directory for the output files. Is there a way to remove this
> >> unnecessary user input?
> >>
> >> 2. If the pdf is open in Acrobat, the update would fail. Is there a
> >> way to avoid this?
> >
> > Both should not occur. What installer have you used to install LyX,
> > the standard, or the alternative one?
> >
> > regards Uwe
>
>


-- 
-
Julio Rojas
[EMAIL PROTECTED]


Re: LyX on Windows Vista

2008-02-09 Thread Julio Rojas
The folders do exist and both, the temporal files and the PDF are inside.
Maybe the problem is path related.

On Feb 9, 2008 12:57 PM, Julio Rojas <[EMAIL PROTECTED]> wrote:

> Same problem here using the alternate installer. While rendering PDF's
> using any method (translation from error in spanish):
>
> *The folder
> c:/Users/myuser/AppData/Local/Temp/lyx_tmpdir5056a...\lyx_tmpbuf0\ doesn't
> exist. May have been moved or deleted. Wish to create it?
> *
> If you answer "yes" nothing happens.
>
> Can it be a permissions related error? Maybe the backslashes of the buffer
> folder?
>
> Thanks in advance.
>
>
> On Feb 9, 2008 10:40 AM, Max Bian <[EMAIL PROTECTED]> wrote:
>
> > I used the alternative installer. Was that the difference?
> >
> > Thanks.
> >
> > Max
> >
> > Uwe Stöhr wrote:
> > > Max Bian schrieb:
> > >
> > >> 1. When I do view->PDF(PDFLATEX), it will ask me if I want to create
> > >> the directory for the output files. Is there a way to remove this
> > >> unnecessary user input?
> > >>
> > >> 2. If the pdf is open in Acrobat, the update would fail. Is there a
> > >> way to avoid this?
> > >
> > > Both should not occur. What installer have you used to install LyX,
> > > the standard, or the alternative one?
> > >
> > > regards Uwe
> >
> >
>
>
> --
> -
> Julio Rojas
> [EMAIL PROTECTED]




-- 
-
Julio Rojas
[EMAIL PROTECTED]


Re: LyX on Windows Vista

2008-02-09 Thread Uwe Stöhr

Max Bian schrieb:


I used the alternative installer. Was that the difference?


I'm the author of this installer ;-)
Just joking, here's the difference:
http://wiki.lyx.org/Windows/LyXWinInstaller

It should work on Vista as well. On Vista 64bit editions there are problems 
with this:

2. If the pdf is open in Acrobat, the update would fail. Is there a 
way to avoid this?


That I couldn't solve because I don't have access to Vista 64bit.
You could try t reinstall LyX using the other installer, because this use another method of the PDF 
update but other Vista users reported problems with this installer concerning the way it hides LyX's 
console window.

Could you please report how it works for you?

regards Uwe


Re: LyX on Windows Vista

2008-02-09 Thread Uwe Stöhr

Julio Rojas schrieb:


Same problem here using the alternate installer. While rendering PDF's using
any method (translation from error in spanish):

*The folder
c:/Users/myuser/AppData/Local/Temp/lyx_tmpdir5056a...\lyx_tmpbuf0\ doesn't
exist. May have been moved or deleted. Wish to create it?


The path (back)slashes are strange. I'm not able to figure out where this is 
set.
I'm using a Delphi program to update the PDF view. It seems that the path handling is changed on 
Vista 64bit (I got reports that it works on Vista 32bit). I'll have a look for a newer Delphi 
compiler or try to rewrite it using C++ or a python script.


Before I start, I need to know if pdf updating works four you when you install LyX using the 
standard installer.


thanks and regards
Uwe


Re: Beamer: enumerate on 2 slides

2008-02-09 Thread Paul A. Rubin

Jürgen Spitzmüller wrote:

Nicolas Ferré wrote:

In a Beamer document, how can I do this:

New slide
1.
2.
New slide
3.
4.


In the second slide, put in ERT at the very beginning of the first enumeration 
item: [3.]




You will also need \setcounter{enumi}{3} in the same ERT box; otherwise 
you'll get


3.
1.

on the second slide (I think).

If you are not using overlays (i.e., everything displays in one gulp on 
each of those slides), and if you don't mind having the same title with 
a Roman numeral index (e.g., "Results I" and "Results II") for the two 
slides, you can condense it to one slide, whose title is as above but 
without the Roman numerals (e.g., "Results"), and put 
"[allowframebreaks]" in ERT at the beginning of the slide title.  This 
has the advantage that if you change the bullet items later, the 
locations of the breaks are adjusted automatically, and you don't have 
to modify the ERT.  The twin disadvantages are that you are locked into 
the same-title-plus-numeral frame titles and overlaying is disabled.


/Paul



Re: Problems with picture position.

2008-02-09 Thread Uwe Stöhr

Gregor Skrt schrieb:

I have one question concerning picture floats. I have a picture that's 
quite long and doesn't fit between borders very well. It seems like Lyx 
is obeying borders that I've set in document settings and ads some free 
space between border and picture on left side. Is there a way to use 
that free space too ?


The spacing is set by you: When the image is too wide ti fit into the margin, then sets its width in 
the image dialog to 100 column% or below.
You should then not see whitespace at the left side. If you still do, please send me a SMALL example 
file by private mail and I'll have a look.


regards Uwe


Re: Translation problems with AMS

2008-02-09 Thread Uwe Stöhr

Dominik Böhm schrieb:


Adding

\newtheorem{exa}{Beispiel}
\renewenvironment{example}{\begin{exa}}{\end{exa}}

to my lyx file translated the example lable. But now the numbering doesn't
work as expected. A
"\numberwithin{exa}{theorem}"/"\numberwithin{exa}{section}" didn't help...


Could you send me a SMALL example file?

regards Uwe


Re: LyX on Windows Vista

2008-02-09 Thread Max Bian
I tried the official installer but I got the same problems and more. It 
will not launch the Acrobat program to show the pdf file when I 
selection View->PDF (PDFLATEX).


If I open the file manually, the update will fail because LyX cannot 
write to the file that is open.


No, I am not using Vista 64bit. It is a 32bit version.

Thanks.

Max

Uwe Stöhr wrote:

Max Bian schrieb:


I used the alternative installer. Was that the difference?


I'm the author of this installer ;-)
Just joking, here's the difference:
http://wiki.lyx.org/Windows/LyXWinInstaller

It should work on Vista as well. On Vista 64bit editions there are 
problems with this:


2. If the pdf is open in Acrobat, the update would fail. Is there a 
way to avoid this?


That I couldn't solve because I don't have access to Vista 64bit.
You could try t reinstall LyX using the other installer, because this 
use another method of the PDF update but other Vista users reported 
problems with this installer concerning the way it hides LyX's console 
window.

Could you please report how it works for you?

regards Uwe




Re: LyX on Windows Vista

2008-02-09 Thread Julio Rojas
Thank you very much for your answer. FYI, I'm using Vista 32bit version.

Before I start, I need to know if pdf updating works four you when you
> install LyX using the
> standard installer.
>

I have never used the standard installer, so I can't answer your question.

On Feb 9, 2008 2:07 PM, Uwe Stöhr <[EMAIL PROTECTED]> wrote:

> Julio Rojas schrieb:
>
> > Same problem here using the alternate installer. While rendering PDF's
> using
> > any method (translation from error in spanish):
> >
> > *The folder
> > c:/Users/myuser/AppData/Local/Temp/lyx_tmpdir5056a...\lyx_tmpbuf0\
> doesn't
> > exist. May have been moved or deleted. Wish to create it?
>
> The path (back)slashes are strange. I'm not able to figure out where this
> is set.
> I'm using a Delphi program to update the PDF view. It seems that the path
> handling is changed on
> Vista 64bit (I got reports that it works on Vista 32bit). I'll have a look
> for a newer Delphi
> compiler or try to rewrite it using C++ or a python script.
>
> Before I start, I need to know if pdf updating works four you when you
> install LyX using the
> standard installer.
>
> thanks and regards
> Uwe
>



-- 
-
Julio Rojas
[EMAIL PROTECTED]


Re: copy/paste from emacs/openoffice

2008-02-09 Thread Micha
On Fri, 8 Feb 2008 16:05:52 -0800 (PST)
Rich Shepard <[EMAIL PROTECTED]> wrote:

> On Sat, 9 Feb 2008, Micha wrote:
> 
> > How do I copy text from emacs and openoffice into lyx under linux? I am
> > trying to patch together a few sources for a presentation and I can't get
> > lyx to recognize that it has something to paste in any way (marking and
> > middle mouse button or marking and using edit->copy).
> 
> Micha,
> 
>I've found that I sometimes need to hold the shift key down when I mark
> text with the trackball (mouse), and when pasting into the receiving
> application.
> 
>I've copied from emacs to lyx without any problem. Just did a test, with
> emacs running under X, too: left trackball button held down as I blocked
> text in emacs; in lyx, click the left button where I wanted to insert the
> text, then both buttons (emulating a 3-button mouse).
> 
>Worked like a charm.
> 
> Rich
> 

Well, for some reason it just started working again, don't know what kept lyx.
I don't even think that I restarted it. It didn't accept paste in any form and
now it's just working again. Go figure.

Thanks ayway


Re: copy/paste from emacs/openoffice

2008-02-09 Thread Micha
On Sat, 9 Feb 2008 01:00:47 +0100
Pavel Sanda <[EMAIL PROTECTED]> wrote:

> > How do I copy text from emacs and openoffice into lyx under linux? I am
> > trying to patch together a few sources for a presentation and I can't get
> > lyx to recognize that it has something to paste in any way (marking and
> > middle mouse button or marking and using edit->copy).
> 
> what version of lyx you use?
> pavel
> 

1.5.3, but for some unknown reason it just started working again without me
doing anything. It didn't accept paste from any program no matter what i did
and now it's accepting again. Unless someone knows whats wrong I will just try
not to break it again.

Thanks


Re: Beamer: enumerate on 2 slides

2008-02-09 Thread Rich Shepard

On Sat, 9 Feb 2008, Paul A. Rubin wrote:


If you are not using overlays (i.e., everything displays in one gulp on
each of those slides), and if you don't mind having the same title with a
Roman numeral index (e.g., "Results I" and "Results II") for the two
slides, you can condense it to one slide, whose title is as above but
without the Roman numerals (e.g., "Results"), and put "[allowframebreaks]"
in ERT at the beginning of the slide title.  This has the advantage that
if you change the bullet items later, the locations of the breaks are
adjusted automatically, and you don't have to modify the ERT.  The twin
disadvantages are that you are locked into the same-title-plus-numeral
frame titles and overlaying is disabled.


  This is what I do, and I don't see the numbered slide titles as a
disadvantage at all. It tells the audience that I'm still on the same topic
as the previous slide(s). Makes it easier for those still awake to know
where we are.

  I suspect that the \setcounter{enum}{3} approach leaves the slide untitled,
and that may not communicate as well with the audience.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: copy/paste from emacs/openoffice

2008-02-09 Thread Pavel Sanda
> > > How do I copy text from emacs and openoffice into lyx under linux? I am
> > > trying to patch together a few sources for a presentation and I can't get
> > > lyx to recognize that it has something to paste in any way (marking and
> > > middle mouse button or marking and using edit->copy).
> > 
> > what version of lyx you use?
> > pavel
> > 
> 
> 1.5.3, but for some unknown reason it just started working again without me
> doing anything. It didn't accept paste from any program no matter what i did
> and now it's accepting again. Unless someone knows whats wrong I will just try
> not to break it again.

:(
we already had such kind of bug. in that case it was triggered this way:
1. launch lyx, new file
2. select some text in another application
3. paste text by middle button click (works)
4. select text inside lyx window and copy it by ctrl+c
5. select some text in another application
6. paste text by middle button click (does not work)

but this should be fixed in 1.5.3.

try to find out what triggers your case.

pavel


Disable the hyphenation

2008-02-09 Thread Aitor Valle
Hello everyone,

I'm running LyX 1.5.3 in Ubuntu Gutsy. Now I'm previewing a text I've
written in basque, but LaTeX does not make the right separation of
syllables. Do you know how to disable the hyphenation?

Thanks,
Aitor


Re: LyX on Windows Vista

2008-02-09 Thread Julio Rojas
It seems there's a problem in the path to the default PDF viewer. If I added
the full path to Acrobat Reader in the file format configuration as follows:

c:\PROGRA~1\Adobe\READER~1.0\Reader\acrord32.exe

after rendering the PDF, the reader is run but gets hung with about 49% of
the processor used. Then if I add quotation marks to the path like:

"c:\PROGRA~1\Adobe\READER~1.0\Reader\acrord32.exe"

it works just fine, but when I close and reload LyX, the path is moved to
the editor field (instead of the viewer field), check marks for the document
format and the vectorial graphic format are cleared and both quotation marks
are put at the end of the path, rendering the document format unusable (and,
of course, it doesn't get shown in the "View" menu):

c:\PROGRA~1\Adobe\READER~1.0\Reader\acrord32.exe""

So, can it be a LyX related problem, more than an installer related one?

On Feb 9, 2008 4:08 PM, Julio Rojas <[EMAIL PROTECTED]> wrote:

> Thank you very much for your answer. FYI, I'm using Vista 32bit version.
>
>  Before I start, I need to know if pdf updating works four you when you
> > install LyX using the
> > standard installer.
> >
>
> I have never used the standard installer, so I can't answer your question.
>
> On Feb 9, 2008 2:07 PM, Uwe Stöhr <[EMAIL PROTECTED]> wrote:
>
> > Julio Rojas schrieb:
> >
> > > Same problem here using the alternate installer. While rendering PDF's
> > using
> > > any method (translation from error in spanish):
> > >
> > > *The folder
> > > c:/Users/myuser/AppData/Local/Temp/lyx_tmpdir5056a...\lyx_tmpbuf0\
> > doesn't
> > > exist. May have been moved or deleted. Wish to create it?
> >
> > The path (back)slashes are strange. I'm not able to figure out where
> > this is set.
> > I'm using a Delphi program to update the PDF view. It seems that the
> > path handling is changed on
> > Vista 64bit (I got reports that it works on Vista 32bit). I'll have a
> > look for a newer Delphi
> > compiler or try to rewrite it using C++ or a python script.
> >
> > Before I start, I need to know if pdf updating works four you when you
> > install LyX using the
> > standard installer.
> >
> > thanks and regards
> > Uwe
> >
>
>
>
> --
> -
> Julio Rojas
> [EMAIL PROTECTED]
>



-- 
-
Julio Rojas
[EMAIL PROTECTED]


Re: LyX on Windows Vista

2008-02-09 Thread Julio Rojas
Following what was said on:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg57937.html

I decided to use "pdfview.exe" instead of "pdfviewwin.exe". It works fine,
but there's the nagging problem of UAC always asking me for confirmation to
run pdfview.exe, as it is not registered.

At least, now I can see the PDF output.

On Feb 9, 2008 5:06 PM, Julio Rojas <[EMAIL PROTECTED]> wrote:

> It seems there's a problem in the path to the default PDF viewer. If I
> added the full path to Acrobat Reader in the file format configuration as
> follows:
>
> c:\PROGRA~1\Adobe\READER~1.0\Reader\acrord32.exe
>
> after rendering the PDF, the reader is run but gets hung with about 49% of
> the processor used. Then if I add quotation marks to the path like:
>
> "c:\PROGRA~1\Adobe\READER~1.0\Reader\acrord32.exe"
>
> it works just fine, but when I close and reload LyX, the path is moved to
> the editor field (instead of the viewer field), check marks for the document
> format and the vectorial graphic format are cleared and both quotation marks
> are put at the end of the path, rendering the document format unusable (and,
> of course, it doesn't get shown in the "View" menu):
>
> c:\PROGRA~1\Adobe\READER~1.0\Reader\acrord32.exe""
>
> So, can it be a LyX related problem, more than an installer related one?
>
>
> On Feb 9, 2008 4:08 PM, Julio Rojas <[EMAIL PROTECTED]> wrote:
>
> > Thank you very much for your answer. FYI, I'm using Vista 32bit version.
> >
> >
> >  Before I start, I need to know if pdf updating works four you when you
> > > install LyX using the
> > > standard installer.
> > >
> >
> > I have never used the standard installer, so I can't answer your
> > question.
> >
> > On Feb 9, 2008 2:07 PM, Uwe Stöhr <[EMAIL PROTECTED]> wrote:
> >
> > > Julio Rojas schrieb:
> > >
> > > > Same problem here using the alternate installer. While rendering
> > > PDF's using
> > > > any method (translation from error in spanish):
> > > >
> > > > *The folder
> > > > c:/Users/myuser/AppData/Local/Temp/lyx_tmpdir5056a...\lyx_tmpbuf0\
> > > doesn't
> > > > exist. May have been moved or deleted. Wish to create it?
> > >
> > > The path (back)slashes are strange. I'm not able to figure out where
> > > this is set.
> > > I'm using a Delphi program to update the PDF view. It seems that the
> > > path handling is changed on
> > > Vista 64bit (I got reports that it works on Vista 32bit). I'll have a
> > > look for a newer Delphi
> > > compiler or try to rewrite it using C++ or a python script.
> > >
> > > Before I start, I need to know if pdf updating works four you when you
> > > install LyX using the
> > > standard installer.
> > >
> > > thanks and regards
> > > Uwe
> > >
> >
> >
> >
> > --
> > -
> > Julio Rojas
> > [EMAIL PROTECTED]
> >
>
>
>
> --
> -
> Julio Rojas
> [EMAIL PROTECTED]
>



-- 
-
Julio Rojas
[EMAIL PROTECTED]


Re: LyX on Windows Vista

2008-02-09 Thread Julio Rojas
Another solution, installing Sumatra (
http://blog.kowalczyk.info/software/sumatrapdf/) which is WAY smaller and
adding the path:

C:\PROGRA~1\SUMATR~1\SUMATR~1.EXE

to the viewer field.

On Feb 9, 2008 5:46 PM, Julio Rojas <[EMAIL PROTECTED]> wrote:

> Following what was said on:
> http://www.mail-archive.com/lyx-users@lists.lyx.org/msg57937.html
>
> I decided to use "pdfview.exe" instead of "pdfviewwin.exe". It works fine,
> but there's the nagging problem of UAC always asking me for confirmation to
> run pdfview.exe, as it is not registered.
>
> At least, now I can see the PDF output.
>
>
> On Feb 9, 2008 5:06 PM, Julio Rojas <[EMAIL PROTECTED]> wrote:
>
> > It seems there's a problem in the path to the default PDF viewer. If I
> > added the full path to Acrobat Reader in the file format configuration as
> > follows:
> >
> > c:\PROGRA~1\Adobe\READER~1.0\Reader\acrord32.exe
> >
> > after rendering the PDF, the reader is run but gets hung with about 49%
> > of the processor used. Then if I add quotation marks to the path like:
> >
> > "c:\PROGRA~1\Adobe\READER~1.0\Reader\acrord32.exe"
> >
> > it works just fine, but when I close and reload LyX, the path is moved
> > to the editor field (instead of the viewer field), check marks for the
> > document format and the vectorial graphic format are cleared and both
> > quotation marks are put at the end of the path, rendering the document
> > format unusable (and, of course, it doesn't get shown in the "View" menu):
> >
> > c:\PROGRA~1\Adobe\READER~1.0\Reader\acrord32.exe""
> >
> > So, can it be a LyX related problem, more than an installer related one?
> >
> >
> > On Feb 9, 2008 4:08 PM, Julio Rojas <[EMAIL PROTECTED]> wrote:
> >
> > > Thank you very much for your answer. FYI, I'm using Vista 32bit
> > > version.
> > >
> > >  Before I start, I need to know if pdf updating works four you when
> > > > you install LyX using the
> > > > standard installer.
> > > >
> > >
> > > I have never used the standard installer, so I can't answer your
> > > question.
> > >
> > > On Feb 9, 2008 2:07 PM, Uwe Stöhr <[EMAIL PROTECTED]> wrote:
> > >
> > > > Julio Rojas schrieb:
> > > >
> > > > > Same problem here using the alternate installer. While rendering
> > > > PDF's using
> > > > > any method (translation from error in spanish):
> > > > >
> > > > > *The folder
> > > > > c:/Users/myuser/AppData/Local/Temp/lyx_tmpdir5056a...\lyx_tmpbuf0\
> > > > doesn't
> > > > > exist. May have been moved or deleted. Wish to create it?
> > > >
> > > > The path (back)slashes are strange. I'm not able to figure out where
> > > > this is set.
> > > > I'm using a Delphi program to update the PDF view. It seems that the
> > > > path handling is changed on
> > > > Vista 64bit (I got reports that it works on Vista 32bit). I'll have
> > > > a look for a newer Delphi
> > > > compiler or try to rewrite it using C++ or a python script.
> > > >
> > > > Before I start, I need to know if pdf updating works four you when
> > > > you install LyX using the
> > > > standard installer.
> > > >
> > > > thanks and regards
> > > > Uwe
> > > >
> > >
> > >
> > >
> > > --
> > > -
> > > Julio Rojas
> > > [EMAIL PROTECTED]
> > >
> >
> >
> >
> > --
> > -
> > Julio Rojas
> > [EMAIL PROTECTED]
> >
>
>
>
> --
> -
>
> Julio Rojas
> [EMAIL PROTECTED]
>



-- 
-
Julio Rojas
[EMAIL PROTECTED]


Re: Beamer: enumerate on 2 slides

2008-02-09 Thread Paul A. Rubin

Rich Shepard wrote:

On Sat, 9 Feb 2008, Paul A. Rubin wrote:


If you are not using overlays (i.e., everything displays in one gulp on
each of those slides), and if you don't mind having the same title with a
Roman numeral index (e.g., "Results I" and "Results II") for the two
slides, you can condense it to one slide, whose title is as above but
without the Roman numerals (e.g., "Results"), and put 
"[allowframebreaks]"

in ERT at the beginning of the slide title.  This has the advantage that
if you change the bullet items later, the locations of the breaks are
adjusted automatically, and you don't have to modify the ERT.  The twin
disadvantages are that you are locked into the same-title-plus-numeral
frame titles and overlaying is disabled.


  This is what I do, and I don't see the numbered slide titles as a
disadvantage at all. It tells the audience that I'm still on the same topic
as the previous slide(s). Makes it easier for those still awake to know
where we are.


I'd test that myself if any of my students were still awake at that 
point, but no joy.  :-)


  I suspect that the \setcounter{enum}{3} approach leaves the slide 
untitled,

and that may not communicate as well with the audience.



No.  You manually split the list at some point and insert a new 
BeginFrame at the split point (including whatever title you like).  So 
the second slide has a title (barring a memory lapse on the author's 
part), but if changes are made to the bullet lists (either 
adding/deleting items or changing the text length, considerable manual 
(re)tuning is in order.  Were it not for the loss of overlays (which I 
use extensively), I'd always use the allowframebreaks option.


/Paul



Re: LyX on Windows Vista

2008-02-09 Thread Joost Verburg

Max Bian wrote:
I am using 1.53 on Windows Vista. I found pdflatex easiest to get what I 
need. However I have two problems with it:


1. When I do view->PDF(PDFLATEX), it will ask me if I want to create the 
directory for the output files. Is there a way to remove this 
unnecessary user input?


2. If the pdf is open in Acrobat, the update would fail. Is there a way 
to avoid this?


Try to reinstall the latest Adobe Reader. I just tried the standard 
installer with Windows Vista and PDF viewing works fine.


Joost



Re: LyX on Windows Vista

2008-02-09 Thread Max Bian

I tried both installer and updated the Acrobat.

With the official installer, problem #1 is fixed. I still have problem 
with #2. LyX error: I cannot write on file xxx.pdf.


Max

Joost Verburg wrote:

Max Bian wrote:
I am using 1.53 on Windows Vista. I found pdflatex easiest to get 
what I need. However I have two problems with it:


1. When I do view->PDF(PDFLATEX), it will ask me if I want to create 
the directory for the output files. Is there a way to remove this 
unnecessary user input?


2. If the pdf is open in Acrobat, the update would fail. Is there a 
way to avoid this?


Try to reinstall the latest Adobe Reader. I just tried the standard 
installer with Windows Vista and PDF viewing works fine.


Joost