Re: Minutes typeseting

2011-01-27 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/26/2011 11:51 PM, Dr Eberhard W Lisse wrote:
> perhaps a modified/simplified adaptation may be attempted?

I second that - I just looked at *minutes* the first time, and it looks
really impressive.

If there would be a basic implementation, one could build on that and
use, in the beginning, ert for more advanced features, or implement them
when going along.

Cheers,

Rainer


> 
> el
> 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1BQBMACgkQoYgNqgF2egon7ACfV4bDJxfz70GFa5sYBxGXefA6
6cMAn2fb3ilCMepjLVlwZczKuXKBNzy0
=xFNO
-END PGP SIGNATURE-


Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-01-27 Thread Stephan Witt
Am 26.01.2011 um 15:00 schrieb Walter:

I'll try to answer this - although I surely don't have so much time you had to 
write this.

> Whilst using LyX 2.0beta1 [since verified on LyX 2.0beta3] I recently ran
> a spell check for the first time.
> 
> The interface is good and no doubt an improvement on previous eras, however
> the following struck me as possible to improve.
> 
> Those items marked with "[*]" I consider a bug in LyX. Those items marked
> with "[X]" I consider a bug elsewhere.
> 
> 
> 1. Preferences|Language Settings|Spellchecker [*]
>   --
>   Fields lack a description.  Faced with having used non-US spelling
>   in my document ("for shame!"), I do not want to manually set hundreds
>   of individual words to be 'English (UK)', which using the inbuilt right
>   sidebar interface appears to be the default way forward.  (For some
>   reason, 'English (AU)' is not even an option on my system, though that's
>   probably my fault.)

The following refers to the field "Alternative language" I'd guess.

>   Thus driven to the preferences dialog, I was unsure of which mystical
>   value to enter in to the great LyX machine.  Assuming 'man aspell' would
>   clear it up, indeed some text was located that made the expected format
>   for the entry of a single language value probable:
> 
>"It follows the same format of the  LANG  environmental variable on
> most systems. It consists of the two letter ISO 639 language code and
> an optional two letter ISO 3166 country code after a dash or underscore."
> 
>   I tried this ("en_AU"), and it did work.  However, there are two problems:
>- Even the first step would be a challenge for some users
>- I would like to add multiple values to the field, since otherwise even
>  at this early stage of my document still hundreds of words and place
>  names in French, German, Greek (+romanised Greek), Chinese (+romanised
>  Chinese), etc. trip up the spell checker. (Use of these languages
>  is frequent and scattered right throughout the document.)

Ok, with this use case - mixed language documents - you are requested to
mark the text appropriately. Here LyX does no guessing and there are no
plans to change that.

>   The method to do this (eg: separate multiple values with a space or comma),
>   or indeed whether entering multiple values in to this field is at all
>   possible remains unclear.
> 
>   Whilst the ideal route would be to add (relatively) complex integration
>   code that auto-detected available spellcheckers, their dictionaries,
>   and provided a sexy GUI for end user language selection instead of a
>   mystical text field, I realise this is not going to happen overnight or
>   perhaps ever.

Alternative language is a - as I would rate it - cul-de-sac and shouldn't be 
there.
If any LyX should have a mapping of available languages to alternate languages.

As it is now the single value here is used for all text having the documents 
language
as a replacement to pass on to the spell checker.

So if you want to use English (UK) you don't need to change it here -
simply set your document language to English (UK).

The alternate language is used for all (!) languages regardless of making 
any sense. If you edit a french LyX-document and the alternate language
is set to "en_GB" e. g. you'll have no fun.

This is what I would rate as a bug. 

So this field is of very limited "use" and should be replaced by something else.
Of course "something else" may have an more user friendly interface too...

But it can be tricky to make it right. It heavily depends on the spell checker -
aspell e. g. accepts completely different "alternative" language settings as
hunspell or apples spell checker do. And it depends on the runtime-environment -
what dictionaries are available for the user on the current machine.
And we have the feature to switch between the spell checker back ends at 
runtime.

>   Thus, as a relatively easy half-way fix, could we please have some
>   increased on-screen documentation?  Something like "eg: 'en_GB' for
>   aspell." may suffice for 95% of users.

Until the field gets replaced or removed a tooltip may help.

> 2. Right click to set spellchecker language on a highlighted word fails [*]
>   
>   It appears that when 'Tools|Preferences|Language Settings|Spellchecker|
>   Spellcheck continuously' is set, and red-wavy (Note: LyX 2.0.0beta1 was
>   wavy, LyX 2.0.0beta3 is straight and thicker) underlined words are right
>   clicked, there is an option to set their language for spellchecking
>   purposes.  However, this does not appear to actually do anything!
>   This makes it necessary for the user to select the word then use 'Edit|
>   Language|Whatever language' to actually perform the change - pointless
>   tedium.

You propose to auto extend the selection to word boundaries when setting
the languag

Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-01-27 Thread Walter
> I'll try to answer this - although I surely don't have so much time you had 
> to write this.

Relativity...

>> Whilst using LyX 2.0beta1 [since verified on LyX 2.0beta3] I recently ran
>> a spell check for the first time.
>>
>> The interface is good and no doubt an improvement on previous eras, however
>> the following struck me as possible to improve.
>>
>> Those items marked with "[*]" I consider a bug in LyX. Those items marked
>> with "[X]" I consider a bug elsewhere.
>>
>>
>> 1. Preferences|Language Settings|Spellchecker [*]
>>   --
>>   Fields lack a description.  Faced with having used non-US spelling
>>   in my document ("for shame!"), I do not want to manually set hundreds
>>   of individual words to be 'English (UK)', which using the inbuilt right
>>   sidebar interface appears to be the default way forward.  (For some
>>   reason, 'English (AU)' is not even an option on my system, though that's
>>   probably my fault.)
>
> The following refers to the field "Alternative language" I'd guess.

Correct!

>>   Thus driven to the preferences dialog, I was unsure of which mystical
>>   value to enter in to the great LyX machine.  Assuming 'man aspell' would
>>   clear it up, indeed some text was located that made the expected format
>>   for the entry of a single language value probable:
>>
>>    "It follows the same format of the  LANG  environmental variable on
>>     most systems. It consists of the two letter ISO 639 language code and
>>     an optional two letter ISO 3166 country code after a dash or underscore."
>>
>>   I tried this ("en_AU"), and it did work.  However, there are two problems:
>>    - Even the first step would be a challenge for some users
>>    - I would like to add multiple values to the field, since otherwise even
>>      at this early stage of my document still hundreds of words and place
>>      names in French, German, Greek (+romanised Greek), Chinese (+romanised
>>      Chinese), etc. trip up the spell checker. (Use of these languages
>>      is frequent and scattered right throughout the document.)
>
> Ok, with this use case - mixed language documents - you are requested to
> mark the text appropriately. Here LyX does no guessing and there are no
> plans to change that.

On the contrary, dear fellow: the opposite has already come to pass!
Demand hath begat a plan!  One man, I understand, begat that plan: a
module fan, Michiel Kamermans!
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg83713.html


 "So that fonts are *autoselected* based on UNICODE range unless
otherwise overridden."

But alas, the user is still utterly laboured with tedious repetition
of language specification (also text style selection, with the hack i
use), and will remain so until LyX UI changes.

> But it can be tricky to make it right. It heavily depends on the spell 
> checker -
> aspell e. g. accepts completely different "alternative" language settings as
> hunspell or apples spell checker do. And it depends on the 
> runtime-environment -
> what dictionaries are available for the user on the current machine.
> And we have the feature to switch between the spell checker back ends at 
> runtime.

This sounds ugly.  Is there any similarity between spell checking APIs?  Is
there a cross platform, spell checking library unification / abstraction layer
available? Would it be worth developing one? How difficult is it to detect
known dictionaries and spell checkers on a cross-platform basis?

>>   Thus, as a relatively easy half-way fix, could we please have some
>>   increased on-screen documentation?  Something like "eg: 'en_GB' for
>>   aspell." may suffice for 95% of users.
>
> Until the field gets replaced or removed a tooltip may help.

Great!

>> 2. Right click to set spellchecker language on a highlighted word fails [*]
>>   
>>   It appears that when 'Tools|Preferences|Language Settings|Spellchecker|
>>   Spellcheck continuously' is set, and red-wavy (Note: LyX 2.0.0beta1 was
>>   wavy, LyX 2.0.0beta3 is straight and thicker) underlined words are right
>>   clicked, there is an option to set their language for spellchecking
>>   purposes.  However, this does not appear to actually do anything!
>>   This makes it necessary for the user to select the word then use 'Edit|
>>   Language|Whatever language' to actually perform the change - pointless
>>   tedium.
>
> You propose to auto extend the selection to word boundaries when setting
> the language at a given position and no selection exists. That sounds
> sensible...

Hurrah!

>> 3. Wider problem of spellchecking and multilingual support
>>   ---
>>   Regarding points 1 and 2, really there is a wider problem of multilingual
>>   support being a little 'all over the place', with a bunch of different
>>   "solut

Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-01-27 Thread Liviu Andronic

Hello
This is a long document indeed and, unfortunately, I couldn't find the  
will to go through it all. But I should have a couple of interesting  
references regarding multilingual documents.


This has been discussed previously on the list, in the context of XeTeX  
support in LyX 2.0 SVN:

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg83713.html
http://comments.gmane.org/gmane.editors.lyx.general/66485

Especially Daron's comments:
http://permalink.gmane.org/gmane.editors.lyx.general/66547

Hope this is of help
Liviu



On Wed, 26 Jan 2011 15:00:56 +0100, Walter   
wrote:


(Note: Mostly this email dates from pre-Christmas December - took me  
awhile

   to post!)

(This is a bit more verbose than it should be, as I am presently stuck in
an historic colonial hill station of Tunisia, by the Algerian border, and
being winter the weather is bitter and I am therefore locked in my hotel
room with time, but no internet connection!)

Whilst using LyX 2.0beta1 [since verified on LyX 2.0beta3] I recently ran
a spell check for the first time.

The interface is good and no doubt an improvement on previous eras,  
however

the following struck me as possible to improve.

Those items marked with "[*]" I consider a bug in LyX. Those items marked
with "[X]" I consider a bug elsewhere.


1. Preferences|Language Settings|Spellchecker [*]
   --
   Fields lack a description.  Faced with having used non-US spelling
   in my document ("for shame!"), I do not want to manually set hundreds
   of individual words to be 'English (UK)', which using the inbuilt  
right

   sidebar interface appears to be the default way forward.  (For some
   reason, 'English (AU)' is not even an option on my system, though  
that's

   probably my fault.)

   Thus driven to the preferences dialog, I was unsure of which mystical
   value to enter in to the great LyX machine.  Assuming 'man aspell'  
would
   clear it up, indeed some text was located that made the expected  
format

   for the entry of a single language value probable:

"It follows the same format of the  LANG  environmental variable on
 most systems. It consists of the two letter ISO 639 language code  
and
 an optional two letter ISO 3166 country code after a dash or  
underscore."


   I tried this ("en_AU"), and it did work.  However, there are two  
problems:

- Even the first step would be a challenge for some users
- I would like to add multiple values to the field, since otherwise  
even
  at this early stage of my document still hundreds of words and  
place
  names in French, German, Greek (+romanised Greek), Chinese  
(+romanised

  Chinese), etc. trip up the spell checker. (Use of these languages
  is frequent and scattered right throughout the document.)

   The method to do this (eg: separate multiple values with a space or  
comma),

   or indeed whether entering multiple values in to this field is at all
   possible remains unclear.

   Whilst the ideal route would be to add (relatively) complex  
integration

   code that auto-detected available spellcheckers, their dictionaries,
   and provided a sexy GUI for end user language selection instead of a
   mystical text field, I realise this is not going to happen overnight  
or

   perhaps ever.

   Thus, as a relatively easy half-way fix, could we please have some
   increased on-screen documentation?  Something like "eg: 'en_GB' for
   aspell." may suffice for 95% of users.

2. Right click to set spellchecker language on a highlighted word fails  
[*]

   
   It appears that when 'Tools|Preferences|Language  
Settings|Spellchecker|
   Spellcheck continuously' is set, and red-wavy (Note: LyX 2.0.0beta1  
was
   wavy, LyX 2.0.0beta3 is straight and thicker) underlined words are  
right

   clicked, there is an option to set their language for spellchecking
   purposes.  However, this does not appear to actually do anything!
   This makes it necessary for the user to select the word then use  
'Edit|

   Language|Whatever language' to actually perform the change - pointless
   tedium.

3. Wider problem of spellchecking and multilingual support
   ---
   Regarding points 1 and 2, really there is a wider problem of  
multilingual

   support being a little 'all over the place', with a bunch of different
   "solutions" in use.  In terms of LyX, none of these are really  
"solutions"
   as even with LyX 2.0beta1 it appears to be demonstrably impossible to  
link
   the manual language markup made in conjunction with a font-linked  
solution

   to the manual language markup required for spellchecking purposes.

   The TeX-world's colourful background to all this is understandable,  
and of
   course I would not suggest to fly in the face of either  
configurability
   nor tradition nor the existing user b

Export image to PDF as JPG, not as EPS

2011-01-27 Thread Ken
Hi. I am writing a Beamer presentation. One of my slides has a very
large EPS graphic. When I get to this slide in the presentation the
computer takes a few moments to draw this image to screen.

Is there a way for me to instead ask LyX to export this image to the
PDF slideshow under a different format?  One that will render more
instantly, such as a high-quality JPEG?

Thanks,
Ken


Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-01-27 Thread Walter
> This sounds ugly.  Is there any similarity between spell checking APIs?  Is
> there a cross platform, spell checking library unification / abstraction layer
> available? Would it be worth developing one? How difficult is it to detect
> known dictionaries and spell checkers on a cross-platform basis?

Possible answer: http://www.abisource.com/projects/enchant/

- Walter


Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-01-27 Thread Liviu Andronic
On Thu, Jan 27, 2011 at 3:16 PM, Walter  wrote:
>> This sounds ugly.  Is there any similarity between spell checking APIs?  Is
>> there a cross platform, spell checking library unification / abstraction 
>> layer
>> available? Would it be worth developing one? How difficult is it to detect
>> known dictionaries and spell checkers on a cross-platform basis?
>
> Possible answer: http://www.abisource.com/projects/enchant/
>
LyX supports enchant. [1] [2]
Liviu

[1] http://wiki.lyx.org/LyX/NewInLyX20#toc28
[2] http://www.mail-archive.com/lyx-announce@lists.lyx.org/msg00124.html


> - Walter
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Can anyone help?

2011-01-27 Thread Richard Heck

On 01/25/2011 03:15 PM, Lars Adiels wrote:

Hello
I wonder if any one can help with one or morre of those questions, please.
I want to procuce dokuments in the line of Te.pdf (attached). My lyx
file is Te.lyx and the layoutfile myTe_layout.local.

Q1. the mechanism I used is insets. I would like to make those boxes as
styles. But if I do that I cant color them in the lyx window?

You can color the foreground, but not the background. Perhaps this is a 
missing feature. Of course, they will look the same onscreen.



Q2 if I have to use insets I also have too specify the correct style in
each box. Can this be automatic. There is a possibility to not force
plain but one can not force a given style?

Within the inset, there's no reason to do anything other than force 
plain layout, if you do not want to be able to change it. Whatever the 
style would do, you can just include in your environment definition. But 
I'd suggest you just use styles and not worry about the background in 
the LyX window.



Q3 I net a protected space in the beginning of each box if not the text
splits.??


Can't you write that into the environment definition?


Q4 The boxes are not pure rectangels. Can this be fixed?

It can definitely be fixed, but I am not sure what the problem is. 
Perhaps you should try reposting a note about that problem only, to 
attract the attention of the LaTeX experts.


Richard



How Do You Run LyX on Mac from a Terminal?

2011-01-27 Thread Richard Heck

On 01/24/2011 09:07 AM, Michelle Bottorff wrote:


I think my personal preference would be to run Lyx or even just rtf2latex2e 
from the terminal, so I could get the better error messages and maybe have a 
chance of finding out what is going wrong. Fixing the problems that I'm having 
with Lyx seems like a better long-time solution than merely working around 
them.  (Especially if all that is wrong is that I need to alter a few 
configuration files, or reinstall a package or two.)

But someone would need to do a little hand-holding for me, because, this is 
entirely out of my area of expertise.  (Although, FWIW, I am good at following 
directions.  I have successfully installed php and mysql and done a number of 
other command line tasks, using instructions found online.)


Can someone on Mac help Michelle here?


I guess in lieu of that, I will be hunting down a copy of NeoOffice.


LibreOffice
http://www.libreoffice.org/download/
is probably a better choice at this point. Like LyX, it's free. It can 
do an excellent job converting Word and RTF type documents to LaTeX.


Richard



RE: user-defined functions (yet again)

2011-01-27 Thread Bennink, Ryan S.

Thank you Günter and Julien, you have helped me understand LyX better and 
suggested good workarounds.


Re: problem with a bibtex style

2011-01-27 Thread Julien Rioux

On 24/01/2011 9:54 AM, Harold Mouras wrote:

Would you have any idea about a corresponding bibtex style ?


The various styles available are documented in many places. One such 
place is here:


http://www.cs.stir.ac.uk/~kjt/software/latex/showbst.html

See if you can find a style that matches your need.

Alternatively you can create your own style by answering questions using 
a command-line tool (custom-bib, bib-it)


If you are adventurous you can learn bibtex's stack language syntax and 
modify an existing style to your liking or write your own.


Good luck,
Julien



Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-01-27 Thread Stephan Witt
Am 27.01.2011 um 15:16 schrieb Walter:

>> This sounds ugly.  Is there any similarity between spell checking APIs?  Is
>> there a cross platform, spell checking library unification / abstraction 
>> layer
>> available? Would it be worth developing one? How difficult is it to detect
>> known dictionaries and spell checkers on a cross-platform basis?
> 
> Possible answer: http://www.abisource.com/projects/enchant/

Unfortunately enchant has big drawbacks:
* missing language variety support
* not available for LyX on mac

And in fact it is only a wrapper around existing spell checkers -
just as LyX is :-)

Stephan

Re: [LyX] How Do You Run LyX on Mac from a Terminal?

2011-01-27 Thread Kevin Middleton

On Jan 27, 2011, at 7:12 AM, Richard Heck wrote:

> On 01/24/2011 09:07 AM, Michelle Bottorff wrote:
>> 
>> I think my personal preference would be to run Lyx or even just rtf2latex2e 
>> from the terminal, so I could get the better error messages and maybe have a 
>> chance of finding out what is going wrong. Fixing the problems that I'm 
>> having with Lyx seems like a better long-time solution than merely working 
>> around them.  (Especially if all that is wrong is that I need to alter a few 
>> configuration files, or reinstall a package or two.)
>> 
>> But someone would need to do a little hand-holding for me, because, this is 
>> entirely out of my area of expertise.  (Although, FWIW, I am good at 
>> following directions.  I have successfully installed php and mysql and done 
>> a number of other command line tasks, using instructions found online.)
>> 
> Can someone on Mac help Michelle here?

From the terminal,

/Applications/LyX.app/Contents/MacOS/lyx

should launch LyX. Error messages will show up in the terminal.

Kevin


> 
>> I guess in lieu of that, I will be hunting down a copy of NeoOffice.
>> 
> LibreOffice
>http://www.libreoffice.org/download/
> is probably a better choice at this point. Like LyX, it's free. It can do an 
> excellent job converting Word and RTF type documents to LaTeX.
> 
> Richard
> 



Lyx 1.6.2 on Win7, PDF won't update

2011-01-27 Thread Joshua Macy
Up until recently making an edit to a document in Lyx and then clicking View
PDF in the toolbar caused it to regenerate the PDF and display it; if the
file was still open in the viewer, then it would throw an error and you'd
have to close the file first...

As of this morning, though, it simply redisplays the last generated pdf from
the temp dir.  Closing Lyx and restarting it fixes it (because it deletes
the temp files), but only for that first time generating the pdf.  Deleting
the pdf by hand from the temp dir, without touching any of the other files
in the temp dir, also works.  It doesn't matter whether the viewer is closed
or not, just whether the pdf in the temp dir is gone.

I've tried various things, including running reconfigure, and uninstalling
and re-installing Lyx 1.6.2, running it as an Administrator (in case it was
a permissions problem), but no luck.  Looking at the archive, it seems that
there were similar problems a long time ago, but nothing for recent versions
of Lyx,

Any thoughts?

-- 
- Joshua


Re: Export image to PDF as JPG, not as EPS

2011-01-27 Thread Paul Rubin
Ken  gmail.com> writes:

> 
> Hi. I am writing a Beamer presentation. One of my slides has a very
> large EPS graphic. When I get to this slide in the presentation the
> computer takes a few moments to draw this image to screen.
> 
> Is there a way for me to instead ask LyX to export this image to the
> PDF slideshow under a different format?  One that will render more
> instantly, such as a high-quality JPEG?
> 

Whether a different image format will render faster is an empirical question,
but why not just convert the image to a PDF file in a terminal/DOS windows (for
instance, using the epstopdf script) and then link the PDF rather than the EPS
in your document?

/Paul





Re: Lyx 1.6.2 on Win7, PDF won't update

2011-01-27 Thread Stephan Witt
Am 27.01.2011 um 17:23 schrieb Joshua Macy:

> Up until recently making an edit to a document in Lyx and then clicking View 
> PDF in the toolbar caused it to regenerate the PDF and display it; if the 
> file was still open in the viewer, then it would throw an error and you'd 
> have to close the file first...
> 
> As of this morning, though, it simply redisplays the last generated pdf from 
> the temp dir.  Closing Lyx and restarting it fixes it (because it deletes the 
> temp files), but only for that first time generating the pdf.  Deleting the 
> pdf by hand from the temp dir, without touching any of the other files in the 
> temp dir, also works.  It doesn't matter whether the viewer is closed or not, 
> just whether the pdf in the temp dir is gone.
> 
> I've tried various things, including running reconfigure, and uninstalling 
> and re-installing Lyx 1.6.2, running it as an Administrator (in case it was a 
> permissions problem), but no luck.  Looking at the archive, it seems that 
> there were similar problems a long time ago, but nothing for recent versions 
> of Lyx,

I guess you've upgraded acrobat reader...
I remember some problem reports on this list for the (currently) latest version.

Stephan

Re: Lyx 1.6.2 on Win7, PDF won't update

2011-01-27 Thread Joshua Macy
Joshua Macy  gmail.com> writes:

> 

> I've tried various things, including running reconfigure, and uninstalling 
> and 
re-installing Lyx 1.6.2

Oops, I meant Lyx 1.6.8 (the latest) *not* 1.6.2

Joshua



Re: Lyx 1.6.2 on Win7, PDF won't update

2011-01-27 Thread Joshua Macy
Stephan Witt  gmx.net> writes:


> 
> I guess you've upgraded acrobat reader...
> I remember some problem reports on this list for 
the (currently) latest version.
> 
> Stephan
> 

I'm using PDF-XChange Viewer, not Acro X, so I don't think that's the problem.
  
Also the symptom isn't that it won't open the temp file
(which is what the other folks seem to be experiencing),
but that Lyx won't overwrite the temp file if it 
exists... the unchanged temp file pops up in the
PDF-XChange viewer, no problem opening it.


Joshua 





Problemas con instalación de MikText 2.9 (LyX-168-4-26-AltInstaller-Complete.exe)

2011-01-27 Thread Ernesto Arce
Estimados amigos espero me puedan ayudar:

1.- Problema con MikText 2.9

Intenté instalar LyX mediante LyX-168-4-26-AltInstaller-Complete.exe  (Win
XP) durante la instalación del programa, al momento de instalar MikText 2.9
me apareció el siguiente error:

La operación falló por alguna razón

C:\Archivos de Programa\MikText 2.9\miktext/bin\*initexmf.exe   *


2.- Ejecución de LyX 1.6

Como me falló la instalación de lo anterior, instalé LyX 1.6. Del menú de
ayuda cargué el archivo *Objetos Insertados*. Al ejecutar visualizar pdf. me
apareció el error:

Metric (TFM) file not found.

{\Pifont{psy}

}

I wasn't able to read the size data for this font,

so I will ignore the font specification.

[Wizards can fix TFM files using TFtoPL/PLtoTF.]

You might try inserting a different font spec;

e.g., type `I\font='.


Al final he tenido problemas con la versión 1.6.8 y la versión 1.6

Agradeceré vuestra ayuda con lo indicado, ya que estoy dando mis primeras
pasos con Latex.

Ernesto.,


SOLVED: LyX startup is slow on Windows

2011-01-27 Thread J. Gardner
Earlier I posted about slow startup (up to five minutes) with LyX 2.0
beta 3 on Windows 7 Pro 32 bit. After some experimentation, I
discovered that the problem was that there was a corrupted DVD in the
drive. This caused very LyX to start very slowly and freeze for
several minutes every time a change was made to the preferences
(presumably because of an interaction with Windows explorer).
Interestingly, it didn't cause problems with other applications.
Removing the DVD solved the problem, but I thought it might be useful
to note what the solution was -- maybe it suggests a change that can
be made to prevent similar problems.

John


Re: Export image to PDF as JPG, not as EPS

2011-01-27 Thread Les Denham
On Thursday, January 27, 2011 07:56:06 Ken wrote:
> Hi. I am writing a Beamer presentation. One of my slides has a very
> large EPS graphic. When I get to this slide in the presentation the
> computer takes a few moments to draw this image to screen.
> 
> Is there a way for me to instead ask LyX to export this image to the
> PDF slideshow under a different format?  One that will render more
> instantly, such as a high-quality JPEG?
> 
Your EPS graphic almost certainly has too much detail for the screen 
resolution of the projector used in the presentation.  Depending on the 
content of the graphic there might be better approaches, but I'd suggest using 
an image editor such as Gimp to produce a raster image with no more than about 
1600 pixels in the largest dimension, and save it as a PNG file.

If the result does not have detail you need for the presentation, you will 
have to reconsider what you're presenting, perhaps using an overview with 
additional slides to show detail.

-- 
Les Denham


Re: Lyx 1.6.2 on Win7, PDF won't update

2011-01-27 Thread Paul Rubin
I interpret what you said about closing the viewer to mean that it's not just
Update PDF that balks, but that View PDF will also balk (meaning that if you
View PDF, close the viewer, edit the document and click View PDF again you'll
get the unedited version).  Charitably assuming I go that right, you might try
the following experiment:  View PDF, close the viewer, edit, View PDF again,
verify you're still seeing the old version, then close the viewer (but leave LyX
open).  Open the temp directory in an Explorer window and use Notepad or
whatever to check the .tex file, looking for whether LyX wrote the change to the
.tex file.  If yes, run pdflatex against the .tex file in a command shell and
see if it succeeds in updating the PDF file.  If one or the other of those steps
breaks, maybe that will shed a little light.

/Paul



Re: problem with a bibtex style

2011-01-27 Thread Waluyo Adi Siswanto
>
> Alternatively you can create your own style by answering questions using a
> command-line tool (custom-bib, bib-it)
>

Another alternative is by using makebst
an example how to use makebst is documented here:
http://sites.google.com/site/lyxthesistemplate/5-bibliography/4-custumize-style-bst

Regards
waluyo


Can't insert BibTeX Bibliography; TeXFiles.py fails.

2011-01-27 Thread Gabe
Hello,

I'm running LyX 1.6.8 on Windows 7 and I can't seem to insert my BibTeX
bibliography into my LyX document. 'Insert > List / TOC > BibTeX
Bibliography...' causes an error window to open that says "The script '/LyX/bin/../Resources/scripts/TeXFiles.py' failed". When I click "OK" the
error window opens again a few more times before an empty 'LyX: BibTeX
Bibliography' window opens up.

I'm also using JabRef (2.6) to push BibTeX entries to LyX which seems to work
except I get a [?] in the resulting .pdf wherever I have a citation. My
understanding is that I need to insert a BibTeX bibliography in the LyX document
to fix this and actually have the bibliography included in the .pdf, is this
correct?

Thanks!



Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-01-27 Thread Stephan Witt
Am 27.01.2011 um 14:05 schrieb Walter:

>>> Whilst using LyX 2.0beta1 [since verified on LyX 2.0beta3] I recently ran
>>> a spell check for the first time.
>>> 
>>> The interface is good and no doubt an improvement on previous eras, however
>>> the following struck me as possible to improve.
>>> 
>>> Those items marked with "[*]" I consider a bug in LyX. Those items marked
>>> with "[X]" I consider a bug elsewhere.
>>> 
>>> 
>>> 1. Preferences|Language Settings|Spellchecker [*]
>>>   --
>>>   Fields lack a description.  Faced with having used non-US spelling
>>>   in my document ("for shame!"), I do not want to manually set hundreds
>>>   of individual words to be 'English (UK)', which using the inbuilt right
>>>   sidebar interface appears to be the default way forward.  (For some
>>>   reason, 'English (AU)' is not even an option on my system, though that's
>>>   probably my fault.)
>> 
>> The following refers to the field "Alternative language" I'd guess.
> 
> Correct!
> 
>>>   Thus driven to the preferences dialog, I was unsure of which mystical
>>>   value to enter in to the great LyX machine.  Assuming 'man aspell' would
>>>   clear it up, indeed some text was located that made the expected format
>>>   for the entry of a single language value probable:
>>> 
>>>"It follows the same format of the  LANG  environmental variable on
>>> most systems. It consists of the two letter ISO 639 language code and
>>> an optional two letter ISO 3166 country code after a dash or 
>>> underscore."
>>> 
>>>   I tried this ("en_AU"), and it did work.  However, there are two problems:
>>>- Even the first step would be a challenge for some users
>>>- I would like to add multiple values to the field, since otherwise even
>>>  at this early stage of my document still hundreds of words and place
>>>  names in French, German, Greek (+romanised Greek), Chinese (+romanised
>>>  Chinese), etc. trip up the spell checker. (Use of these languages
>>>  is frequent and scattered right throughout the document.)
>> 
>> Ok, with this use case - mixed language documents - you are requested to
>> mark the text appropriately. Here LyX does no guessing and there are no
>> plans to change that.
> 
> On the contrary, dear fellow: the opposite has already come to pass!
> Demand hath begat a plan!  One man, I understand, begat that plan: a
> module fan, Michiel Kamermans!
> http://www.mail-archive.com/lyx-users@lists.lyx.org/msg83713.html

Ok, AFAIU this refers to the XeLaTeX engine and not to LyX.
Of course, if someone wants to develop a solid algorithm for language
guessing and can convince the LyX developer community of it and has the
resources to implement and test it - it may happen. Another option
would be to have a spell checker backend including this feature.

> 
> "So that fonts are *autoselected* based on UNICODE range unless
> otherwise overridden."
> 
> But alas, the user is still utterly laboured with tedious repetition
> of language specification (also text style selection, with the hack i
> use), and will remain so until LyX UI changes.

Do you have an example for such a document?

> 
>> But it can be tricky to make it right. It heavily depends on the spell 
>> checker -
>> aspell e. g. accepts completely different "alternative" language settings as
>> hunspell or apples spell checker do. And it depends on the 
>> runtime-environment -
>> what dictionaries are available for the user on the current machine.
>> And we have the feature to switch between the spell checker back ends at 
>> runtime.
> 
> This sounds ugly.  Is there any similarity between spell checking APIs?  Is
> there a cross platform, spell checking library unification / abstraction layer
> available? Would it be worth developing one? How difficult is it to detect
> known dictionaries and spell checkers on a cross-platform basis?

I'll cite my own investigation about similarity between spell checking APIs.
The focus was the management of personal word lists.

> We have support for different spell checker backends.
> All of them are able to check words, of course.
> But the capabilities with personal word lists differs horrible.
> The following table presents the results of my investigation.
> 
> Feature | aspell | native (mac) | enchant | hunspell
> 
> check   | +  | +| +   | +
> suggest | +  | +| +   | +
> accept  | +  | +| +   | +
> insert  | +  | +| o (2)   | o (3)
> ispersonal? | o (1)  | +| -   | -
> remove  | -  | +| + (4)   | -
> 
> Legend:
> + feature is supported
> - feature is not supported
> o there are limitations:
> 1) aspell has the interface to enumerate the personal word list.
>   So it's possible to implement, I have a patc

Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-01-27 Thread Jürgen Spitzmüller
Stephan Witt wrote:
> Of course, if someone wants to develop a solid algorithm for language
> guessing and can convince the LyX developer community of it and has the
> resources to implement and test it - it may happen. Another option
> would be to have a spell checker backend including this feature.

Note that language settings are not only needed for the spellchecker, but 
ultimately also for LaTeX (babel). If you do not mark the language properly, 
you will get wrong hyphenation, which is much more crucial than the 
spellchecker. 

Jürgen


section numbering

2011-01-27 Thread Sajjad
Hello forum,

I am writing a small report and the document settings has been set to
Report.

When i change the environment to section the numbering style starts with
0.1.


I would like to have it started as 1 instead. How do i change this setting?


Thanks
Sajjad