Lyx citations - keys and abbreviation of inserted citation

2011-04-06 Thread Csikos Bela
Hello:

I have two questions related to how citations are shown in lyx document (not in 
the final output pdf).

1. When I insert 3 or more citations in the document, the list is abbreviated, 
only the first two keys are shown completely and the end of the list is cut. Is 
it possible to set lyx to show the complete list independently the number of 
inserted citations, even by hacking some layout files?

2. If the citation/bibliography style is set to author-year in document 
settings, the inserted citations are not shown as the original bib file keys; 
they look similar to the final result. Is it possible to set lyx to show the 
original key independently from the citation style? (For example I would prefer 
to see Johnson2005 (the bib file key) instead of (Johnson et al., 2005) in 
the lyx document.

Thanks in advance,

bcsikos





Re: Translations of Math environments in LyX output - last call for LyX 2.0

2011-04-06 Thread Pavel Sanda
Georg Baum wrote:
  Concerning the translation to brazilian portuguese, your structure works
  with your template file (localization_test_1.lyx), which employs the
  Theorems (AMS) and Theorems (AMS-Extended ) modules.
  However, when I try the numbered by type modules, I detect the same
  problems I already mentioned in my previous threads:
  
  you attached wrong document, because its identical to the previous one...
  anyway i can reproduce your problem. it seems that our mechanism is not
  working for all AMS modules. Georg?
 
 These styles are missing the LangPreamble and BabelPreamble tags, since they 
 did not exist yet when those tags were introduced. Somebody should go 
 through all modules that have been added after the initial translation 
 support (Feb. 2009) and add these tags where it makes sense. Unfortunately I 
 have no time do so ATM. Fortunately the mentioned theorems will most 
 probably not produce new strings for lib/layouttranslations.

this should go before next RC. i have no idea which modules need this
but for consitency at least the theorem ones? i went through theorems*
in layout and found those have no LangPreamble string:

theorems-ams-bytype.inc
theorems-ams-bytype.module
theorems-ams-extended-bytype.module
theorems-ams.module
theorems-bytype.inc
theorems-bytype.module
theorems-chap-bytype.module
theorems-chap.module
theorems-named.module
theorems-order.inc
theorems-proof.inc
theorems-refprefix.inc
theorems-sec-bytype.module
theorems-sec.module
theorems-starred-equivalents.inc
theorems-starred.module
theorems-std.module

pavel


Re: Lyx citations - keys and abbreviation of inserted citation

2011-04-06 Thread Richard Heck

On 04/06/2011 04:58 AM, Csikos Bela wrote:

Hello:

I have two questions related to how citations are shown in lyx document (not in 
the final output pdf).

1. When I insert 3 or more citations in the document, the list is abbreviated, 
only the first two keys are shown completely and the end of the list is cut. Is 
it possible to set lyx to show the complete list independently the number of 
inserted citations, even by hacking some layout files?

No, this is set in the source. Having no limit at all would cause 
massive problems with line breaking. Note that if you put your mouse 
over the inset, then you will see the complete citation as a tooltip.



2. If the citation/bibliography style is set to author-year in document settings, the inserted 
citations are not shown as the original bib file keys; they look similar to the final result. Is it 
possible to set lyx to show the original key independently from the citation style? (For example I 
would prefer to see Johnson2005 (the bib file key) instead of (Johnson et al., 
2005) in the lyx document.

No, this is not possible, either, but it's a reasonable request. Feel 
free to file an enhancement on trac, and we can try to get to it for 
2.1. (Too late for 2.0.)


Richard



lmodern?

2011-04-06 Thread Neal Becker
I'm trying lyx-2.0.0rc2.

Do I still need to keep manually adding \usepackage{lmodern} to get vector 
fonts?  I would have hoped that if this wasn't the default by now, at least I'd 
find an option on the document settings.



Re: Translations of Math environments in LyX output - last call for LyX 2.0

2011-04-06 Thread Rudi Gaelzer
What should be done with this information?
Right now, I don't have time as well, but in a fortnight I could be somewhat 
freer and could lend a hand.
Alas, I never did this, so I don't know, for example, if only the files listed 
below need to be modified and how to do it...
Is there any template I could look at?

On Wednesday 06 April 2011 08:29:07 Pavel Sanda wrote:
 Georg Baum wrote:
   Concerning the translation to brazilian portuguese, your structure
   works with your template file (localization_test_1.lyx), which
   employs the Theorems (AMS) and Theorems (AMS-Extended ) modules.
   However, when I try the numbered by type modules, I detect the same
   
   problems I already mentioned in my previous threads:
   you attached wrong document, because its identical to the previous
   one... anyway i can reproduce your problem. it seems that our
   mechanism is not working for all AMS modules. Georg?
  
  These styles are missing the LangPreamble and BabelPreamble tags, since
  they did not exist yet when those tags were introduced. Somebody should
  go through all modules that have been added after the initial
  translation support (Feb. 2009) and add these tags where it makes sense.
  Unfortunately I have no time do so ATM. Fortunately the mentioned
  theorems will most probably not produce new strings for
  lib/layouttranslations.
 
 this should go before next RC. i have no idea which modules need this
 but for consitency at least the theorem ones? i went through theorems*
 in layout and found those have no LangPreamble string:
 
 theorems-ams-bytype.inc
 theorems-ams-bytype.module
 theorems-ams-extended-bytype.module
 theorems-ams.module
 theorems-bytype.inc
 theorems-bytype.module
 theorems-chap-bytype.module
 theorems-chap.module
 theorems-named.module
 theorems-order.inc
 theorems-proof.inc
 theorems-refprefix.inc
 theorems-sec-bytype.module
 theorems-sec.module
 theorems-starred-equivalents.inc
 theorems-starred.module
 theorems-std.module
 
 pavel

-- 
Rudi Gaelzer
Departamento de Física
Instituto de Física e Matemática
Universidade Federal de Pelotas
Caixa Postal 354 - Campus UFPel
96001-970 Pelotas - RS
Fone: (53) 3275-7416
FAX:  (53) 3275-7343
Usuário de Linux registrado # 153741


Re: Translations of Math environments in LyX output - last call for LyX 2.0

2011-04-06 Thread Richard Heck

On 04/06/2011 07:29 AM, Pavel Sanda wrote:

Georg Baum wrote:

Concerning the translation to brazilian portuguese, your structure works
with your template file (localization_test_1.lyx), which employs the
Theorems (AMS) and Theorems (AMS-Extended ) modules.
However, when I try the numbered by type modules, I detect the same
problems I already mentioned in my previous threads:

you attached wrong document, because its identical to the previous one...
anyway i can reproduce your problem. it seems that our mechanism is not
working for all AMS modules. Georg?

These styles are missing the LangPreamble and BabelPreamble tags, since they
did not exist yet when those tags were introduced. Somebody should go
through all modules that have been added after the initial translation
support (Feb. 2009) and add these tags where it makes sense. Unfortunately I
have no time do so ATM. Fortunately the mentioned theorems will most
probably not produce new strings for lib/layouttranslations.

this should go before next RC. i have no idea which modules need this
but for consitency at least the theorem ones? i went through theorems*
in layout and found those have no LangPreamble string:

theorems-ams-bytype.inc
theorems-ams-bytype.module
theorems-ams-extended-bytype.module
theorems-ams.module
theorems-bytype.inc
theorems-bytype.module
theorems-chap-bytype.module
theorems-chap.module
theorems-named.module
theorems-order.inc
theorems-proof.inc
theorems-refprefix.inc
theorems-sec-bytype.module
theorems-sec.module
theorems-starred-equivalents.inc
theorems-starred.module
theorems-std.module

I have taken care of almost all of these. Obviously, they should be 
tested, but I don't have time to do that right now myself. Perhaps those 
who were having issues could have a look.


Richard



Re: Translations of Math environments in LyX output - last call for LyX 2.0

2011-04-06 Thread Pavel Sanda
Rudi Gaelzer wrote:
 What should be done with this information?

nothing, Richard alredy started with fixing.
my question for you was about those Assumption  Fact.
pavel


2.0.0rc2 math panel drawing defect

2011-04-06 Thread Neal Becker
I just hit alt-m d to insert a display equation, and noticed the math panel was 
not drawn properly.  Only one menu appeared, but as I mouse over the panel, 
more 
menus are drawn.



Re: LyX 2.0 RC2 for Windows

2011-04-06 Thread Diego Queiroz
Alejandro.

They are now available at the ftp server (
ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.0/rc2).
But they won't solve your problem.

I've found this bug when I installed Adobe Acrobat X also (when you click to
view PDF, the Adobe Acrobat app starts as well but the file is not oppened),
but it is not exactly related with Adobe Acrobat installation.

I already found what causes this error:
* Select Tools  Preferences  File Handling  File Formats;
* In Format, select the PDF format you use (eg. PDF (pdflatex);
* Change Viewer property to Custom and type auto (it probably should be
set to pdfview, so just modify this value)
* Save and test.
This will make things work as expected.

Anyway, it will be great if someone point why this happens.
I don't have an idea what this option really do and why it prevents Acrobat
X to open the file (note that previous versions of Acrobat do not experience
this problem).
I want to open a ticket regarding this issue, but I really don't know what
to write.

I am forwarding this message to devel list to read what they say.


Regards,
---
Diego Queiroz



2011/4/5 Alejandro Alonso Rodriguez alrdg...@gmail.com

 How can I get LyX 2.0 RC2 in .exe to install in Windows? I can get the RC1
 but the RC2 i can´t see it. I would like to get it because of a bug with
 Adobe Reader X in RC1 when viewing files.

 Keep the good work guys! You´re amazing! ;)
 Best regards.




Re: lmodern?

2011-04-06 Thread Pavel Sanda
Neal Becker wrote:
 I'm trying lyx-2.0.0rc2.
 
 Do I still need to keep manually adding \usepackage{lmodern} to get vector 
 fonts?  I would have hoped that if this wasn't the default by now, at least 
 I'd 
 find an option on the document settings.

document-settings-fonts-latin modern roman
works even in 1.6.
p


Re: 2.0.0rc2 math panel drawing defect

2011-04-06 Thread Pavel Sanda
Neal Becker wrote:
 I just hit alt-m d to insert a display equation, and noticed the math panel 
 was 
 not drawn properly.  Only one menu appeared, but as I mouse over the panel, 
 more 
 menus are drawn.

can't reproduce, can you report more info about your setup? p


Re: Lyx citations - keys and abbreviation of inserted citation

2011-04-06 Thread Csikos Bela
Richard Heck rgh...@comcast.net írta:
On 04/06/2011 04:58 AM, Csikos Bela wrote:
 Hello:

 I have two questions related to how citations are shown in lyx document (not 
 in the final output pdf).

 1. When I insert 3 or more citations in the document, the list is 
 abbreviated, only the first two keys are shown completely and the end of the 
 list is cut. Is it possible to set lyx to show the complete list 
 independently the number of inserted citations, even by hacking some layout 
 files?

No, this is set in the source. Having no limit at all would cause 
massive problems with line breaking. Note that if you put your mouse 
over the inset, then you will see the complete citation as a tooltip.


I understand. Would it be possible to have the tooltip show the keys instead of 
complete citations?


 2. If the citation/bibliography style is set to author-year in document 
 settings, the inserted citations are not shown as the original bib file keys; 
 they look similar to the final result. Is it possible to set lyx to show the 
 original key independently from the citation style? (For example I would 
 prefer to see Johnson2005 (the bib file key) instead of (Johnson et al., 
 2005) in the lyx document.

No, this is not possible, either, but it's a reasonable request. Feel 
free to file an enhancement on trac, and we can try to get to it for 
2.1. (Too late for 2.0.)

OK, I will do thi

Thank you,

bcsikos





Re: Lyx citations - keys and abbreviation of inserted citation

2011-04-06 Thread Richard Heck

On 04/06/2011 11:09 AM, Csikos Bela wrote:

Richard Heckrgh...@comcast.net  írta:

On 04/06/2011 04:58 AM, Csikos Bela wrote:
Hello:
I have two questions related to how citations are shown in lyx document (not in 
the final output pdf).
1. When I insert 3 or more citations in the document, the list is abbreviated, 
only the first two keys are shown completely and the end of the list is cut. Is it 
possible to set lyx to show the complete list independently the number of inserted 
citations, even by hacking some layout files?

No, this is set in the source. Having no limit at all would cause
massive problems with line breaking. Note that if you put your mouse
over the inset, then you will see the complete citation as a tooltip.
I understand. Would it be possible to have the tooltip show the keys instead of 
complete citations?

I think most people prefer to see the complete citation, as it's 
generally more informative. (Many people have auto-generated keys, and 
they have little idea what they are.) You can always see the keys a 
different way, but not all the citations together.


rh



SV: Crash in rc_2

2011-04-06 Thread Ingar Pareliussen
Hi

I just tried some more small things:

You do not need to change the language to anything other than 
away from default. Removing the \gui_language from
the .lyx/preferences makes it seg.fault on save as:

#
# 2nd MISC SUPPORT SECTION ##
#

\gui_language nynorsk

also changing the language the first time seems to  give the following 
error sometimes:
Application asked to unregister timer 0x3604 which is not registered in 
this thread. Fix application.
If this is related I do not know, I tried to find out when it is triggered, but 
were not able to find an absoulte
pattern...

Ingar

Re: lmodern?

2011-04-06 Thread Liviu Andronic
On Wed, Apr 6, 2011 at 2:23 PM, Neal Becker ndbeck...@gmail.com wrote:
 I'm trying lyx-2.0.0rc2.

 Do I still need to keep manually adding \usepackage{lmodern} to get vector
 fonts?  I would have hoped that if this wasn't the default by now, at least 
 I'd
 find an option on the document settings.

There have been several lengthy discussions on this topic, and the
consensus was that it made little sense to depart from LaTeX defaults;
people unhappy with the default font should choose a different one.

Regards
Liviu


Downloaking MikTeX failed, installer using wrong download path?

2011-04-06 Thread Matt Seitz (matseitz)
Does the LyX installer for Windows need to change the path for
downloading miktex from /get/systems/win32/miktex/setup to
/systems/win32/miktex/setup?

 

When I tried to install LyX 1.6.9-2 for Microsoft Windows using the
standard installer
(ftp://ftp.lyx.org/pub/lyx/bin/1.6.9/LyX-1.6.9-2-Installer.exe), the
installer reported the error Downloading MikTeX failed.  

 

I reran the installer while taking a network trace and saw the following
error:

 

1910   71.947625171.71.137.121  171.70.168.183  DNS
Standard query A www.ctan.org

1911   72.047106171.70.168.183  171.71.137.121  DNS
Standard query response CNAME alan.smcvt.edu A 192.80.64.33

1915   72.136694171.71.137.121  192.80.64.33   HTTP
GET /get/systems/win32/miktex/setup/basic-miktex-2.9.3972.exe HTTP/1.0

1918   72.282413192.80.64.33   171.71.137.121  HTTP
HTTP/1.1 404 NOT FOUND  (text/html)

 

I then went to the miktex web site and checked it's download page.  I
didn't see alan.smcvt.edu listed as a mirror, so I tried using
ctan.mackichan.com, again while taking a network trace.  This time, I
saw:

 

94   4.739099  171.71.137.121  171.70.168.183  DNS
Standard query A ctan.mackichan.com

96   4.896114  171.70.168.183  171.71.137.121  DNS
Standard query response A 50.17.254.94

102 4.975983  171.71.137.121  50.17.254.94
HTTP  GET /systems/win32/miktex/setup/basic-miktex-2.9.4106.exe
HTTP/1.0

 

...followed by a stream of data.

 

I then went to http://alan.smcvt.edu and clicked the Browse the
directory tree link.  I found the following link:

 

http://mirrors.ctan.org/systems/win32/miktex/setup/basic-miktex-2.9.3972
.exe

 

 



Re: 2.0.0rc2 math panel drawing defect

2011-04-06 Thread Pavel Sanda
Neal Becker wrote:
 Pavel Sanda wrote:
 
  Neal Becker wrote:
  I just hit alt-m d to insert a display equation, and noticed the math panel
  was
  not drawn properly.  Only one menu appeared, but as I mouse over the panel,
  more menus are drawn.
  
  can't reproduce, can you report more info about your setup? p
 
 Also seen on spell checker pane.
 
 fedora linux 14
 kde
 nvidia proprietary driver
 
 I have seen sometimes similar symptoms related to nvidia driver, which is why 
 I 
 mention it.  Before you dismiss this though, I haven't seen this on any other 
 app for quite a long time.
 

qt version? p


Re: Crash in rc_2

2011-04-06 Thread Pavel Sanda
Ingar Pareliussen wrote:
 Hi
 
 I have gone through the translation for nn I could not find any errors in 
 connection to %1$s. (many others: like missing : and to many spaces, though, 
 more work for me :) )
 
 However: I did try saving some more files (with the old translation) and 
 every time I tried to save
 a file with save as I get a segmentation fault. In addition I noticed that 
 the file name in the window-decoration
 became replaced with Chinese-signs just before the segmentation fault. 
 Screenshot attached.

the good news is that this rings a bell. the bad news nothing knows whats going 
on.
http://www.lyx.org/trac/ticket/7371
do you have qt 4.7?
pavel


finding citations

2011-04-06 Thread Jack Tanner
Is there a way to ask where is this paper already cited in my document? How
about is anything by author X already cited in my document?

Thanks!



Re: finding citations

2011-04-06 Thread BH
On Wed, Apr 6, 2011 at 2:55 PM, Jack Tanner i...@hotmail.com wrote:
 Is there a way to ask where is this paper already cited in my document? How
 about is anything by author X already cited in my document?

Document  Outline ... and then use the dropdown list to select List
of Citations. Note that it normally comes in order of citation, but
if you select the Sort option at the bottom, it will be sorted by
author's last name.

BH


Re: finding citations

2011-04-06 Thread Jack Tanner
BH bewihelm at gmail.com writes:

 Document  Outline ... and then use the dropdown list to select List
 of Citations. Note that it normally comes in order of citation, but
 if you select the Sort option at the bottom, it will be sorted by
 author's last name.

That's neat! But it doesn't help me find those citations where a person is not a
first author.



Re: SV: Crash in rc_2

2011-04-06 Thread Pavel Sanda
Ingar Pareliussen wrote:
 also changing the language the first time seems to  give the following 
 error sometimes:
 Application asked to unregister timer 0x3604 which is not registered in 
 this thread. Fix application.
 If this is related I do not know, I tried to find out when it is triggered, 
 but were not able to find an absoulte
 pattern...

aren't you by chance compiling lyx yourself? we could test whether switching 
threads off makes difference...
pavel


Re: finding citations

2011-04-06 Thread Jack Tanner
Jack Tanner ihok at hotmail.com writes:

 That's neat! But it doesn't help me find those citations where a person is 
 not a first author.

And it also doesn't help to find those citations where a person is a first
author, but the paper is not the first one listed in a \cite{}.



SV: SV: Crash in rc_2

2011-04-06 Thread Ingar Pareliussen
Hi

aren't you by chance compiling lyx yourself? 

Yes, I am. 

we could test whether switching threads off makes difference...

I recompiled without threads, and the problem with save as is 
not changed. Same behavior as before. The thread problem 
was not seen of course.

Ingar

weird footnote symbol

2011-04-06 Thread Junchao Zhang
Hi,
  I use Lyx 1.6.9 to write my document. It has two footnotes. When I export
it to pdf,  both footnotes look like  9* The work is supported ... .
  I don't know where is the 9 from. I only want a simple *.
  Previouly, I didn't have this problem  It happens after I installed some
packages, added the following in the preamble.

\usepackage{url}
\setlength\tabcolsep{1.2pt}
\usepackage{slashbox}


  How can I get rid of the annoying '9'?

  Thanks
Junchao Zhang


Re: 2.0.0rc2 math panel drawing defect

2011-04-06 Thread Neal Becker
Pavel Sanda wrote:

 Neal Becker wrote:
 Pavel Sanda wrote:
 
  Neal Becker wrote:
  I just hit alt-m d to insert a display equation, and noticed the math
  panel was
  not drawn properly.  Only one menu appeared, but as I mouse over the
  panel, more menus are drawn.
  
  can't reproduce, can you report more info about your setup? p
 
 Also seen on spell checker pane.
 
 fedora linux 14
 kde
 nvidia proprietary driver
 
 I have seen sometimes similar symptoms related to nvidia driver, which is why
 I
 mention it.  Before you dismiss this though, I haven't seen this on any other
 app for quite a long time.
 
 
 qt version? p
qt-4.7.2-1.fc14.x86_64




Re: SV: SV: Crash in rc_2

2011-04-06 Thread Pavel Sanda
Ingar Pareliussen wrote:
 Hi
 
 aren't you by chance compiling lyx yourself? 
 
 Yes, I am. 

could you post the whole backtrace when the assertion occurs?
pavel


Re: XeTeX (No Math!)

2011-04-06 Thread Rob Oakes
Hi Richard,

There is a known bug in older versions of XeTeX which can cause problems with 
math symbols in some fonts. The bug report for Ubuntu can be found here:

https://bugs.launchpad.net/ubuntu/+source/texlive-bin/+bug/364627

I was able to fix the problem by editing a configuration file:

/etc/texmf/dvipdfm/dvipdfmx.cfg

Comment out: f pdftex.map
Uncomment: f dvipdfm.map 

I haven't had any trouble with newer versions (either that shipped in TeX Live 
2009, or 2010).

Cheers,

Rob

Lyx citations - keys and abbreviation of inserted citation

2011-04-06 Thread Csikos Bela
Hello:

I have two questions related to how citations are shown in lyx document (not in 
the final output pdf).

1. When I insert 3 or more citations in the document, the list is abbreviated, 
only the first two keys are shown completely and the end of the list is cut. Is 
it possible to set lyx to show the complete list independently the number of 
inserted citations, even by hacking some layout files?

2. If the citation/bibliography style is set to author-year in document 
settings, the inserted citations are not shown as the original bib file keys; 
they look similar to the final result. Is it possible to set lyx to show the 
original key independently from the citation style? (For example I would prefer 
to see Johnson2005 (the bib file key) instead of (Johnson et al., 2005) in 
the lyx document.

Thanks in advance,

bcsikos





Re: Translations of Math environments in LyX output - last call for LyX 2.0

2011-04-06 Thread Pavel Sanda
Georg Baum wrote:
  Concerning the translation to brazilian portuguese, your structure works
  with your template file (localization_test_1.lyx), which employs the
  Theorems (AMS) and Theorems (AMS-Extended ) modules.
  However, when I try the numbered by type modules, I detect the same
  problems I already mentioned in my previous threads:
  
  you attached wrong document, because its identical to the previous one...
  anyway i can reproduce your problem. it seems that our mechanism is not
  working for all AMS modules. Georg?
 
 These styles are missing the LangPreamble and BabelPreamble tags, since they 
 did not exist yet when those tags were introduced. Somebody should go 
 through all modules that have been added after the initial translation 
 support (Feb. 2009) and add these tags where it makes sense. Unfortunately I 
 have no time do so ATM. Fortunately the mentioned theorems will most 
 probably not produce new strings for lib/layouttranslations.

this should go before next RC. i have no idea which modules need this
but for consitency at least the theorem ones? i went through theorems*
in layout and found those have no LangPreamble string:

theorems-ams-bytype.inc
theorems-ams-bytype.module
theorems-ams-extended-bytype.module
theorems-ams.module
theorems-bytype.inc
theorems-bytype.module
theorems-chap-bytype.module
theorems-chap.module
theorems-named.module
theorems-order.inc
theorems-proof.inc
theorems-refprefix.inc
theorems-sec-bytype.module
theorems-sec.module
theorems-starred-equivalents.inc
theorems-starred.module
theorems-std.module

pavel


Re: Lyx citations - keys and abbreviation of inserted citation

2011-04-06 Thread Richard Heck

On 04/06/2011 04:58 AM, Csikos Bela wrote:

Hello:

I have two questions related to how citations are shown in lyx document (not in 
the final output pdf).

1. When I insert 3 or more citations in the document, the list is abbreviated, 
only the first two keys are shown completely and the end of the list is cut. Is 
it possible to set lyx to show the complete list independently the number of 
inserted citations, even by hacking some layout files?

No, this is set in the source. Having no limit at all would cause 
massive problems with line breaking. Note that if you put your mouse 
over the inset, then you will see the complete citation as a tooltip.



2. If the citation/bibliography style is set to author-year in document settings, the inserted 
citations are not shown as the original bib file keys; they look similar to the final result. Is it 
possible to set lyx to show the original key independently from the citation style? (For example I 
would prefer to see Johnson2005 (the bib file key) instead of (Johnson et al., 
2005) in the lyx document.

No, this is not possible, either, but it's a reasonable request. Feel 
free to file an enhancement on trac, and we can try to get to it for 
2.1. (Too late for 2.0.)


Richard



lmodern?

2011-04-06 Thread Neal Becker
I'm trying lyx-2.0.0rc2.

Do I still need to keep manually adding \usepackage{lmodern} to get vector 
fonts?  I would have hoped that if this wasn't the default by now, at least I'd 
find an option on the document settings.



Re: Translations of Math environments in LyX output - last call for LyX 2.0

2011-04-06 Thread Rudi Gaelzer
What should be done with this information?
Right now, I don't have time as well, but in a fortnight I could be somewhat 
freer and could lend a hand.
Alas, I never did this, so I don't know, for example, if only the files listed 
below need to be modified and how to do it...
Is there any template I could look at?

On Wednesday 06 April 2011 08:29:07 Pavel Sanda wrote:
 Georg Baum wrote:
   Concerning the translation to brazilian portuguese, your structure
   works with your template file (localization_test_1.lyx), which
   employs the Theorems (AMS) and Theorems (AMS-Extended ) modules.
   However, when I try the numbered by type modules, I detect the same
   
   problems I already mentioned in my previous threads:
   you attached wrong document, because its identical to the previous
   one... anyway i can reproduce your problem. it seems that our
   mechanism is not working for all AMS modules. Georg?
  
  These styles are missing the LangPreamble and BabelPreamble tags, since
  they did not exist yet when those tags were introduced. Somebody should
  go through all modules that have been added after the initial
  translation support (Feb. 2009) and add these tags where it makes sense.
  Unfortunately I have no time do so ATM. Fortunately the mentioned
  theorems will most probably not produce new strings for
  lib/layouttranslations.
 
 this should go before next RC. i have no idea which modules need this
 but for consitency at least the theorem ones? i went through theorems*
 in layout and found those have no LangPreamble string:
 
 theorems-ams-bytype.inc
 theorems-ams-bytype.module
 theorems-ams-extended-bytype.module
 theorems-ams.module
 theorems-bytype.inc
 theorems-bytype.module
 theorems-chap-bytype.module
 theorems-chap.module
 theorems-named.module
 theorems-order.inc
 theorems-proof.inc
 theorems-refprefix.inc
 theorems-sec-bytype.module
 theorems-sec.module
 theorems-starred-equivalents.inc
 theorems-starred.module
 theorems-std.module
 
 pavel

-- 
Rudi Gaelzer
Departamento de Física
Instituto de Física e Matemática
Universidade Federal de Pelotas
Caixa Postal 354 - Campus UFPel
96001-970 Pelotas - RS
Fone: (53) 3275-7416
FAX:  (53) 3275-7343
Usuário de Linux registrado # 153741


Re: Translations of Math environments in LyX output - last call for LyX 2.0

2011-04-06 Thread Richard Heck

On 04/06/2011 07:29 AM, Pavel Sanda wrote:

Georg Baum wrote:

Concerning the translation to brazilian portuguese, your structure works
with your template file (localization_test_1.lyx), which employs the
Theorems (AMS) and Theorems (AMS-Extended ) modules.
However, when I try the numbered by type modules, I detect the same
problems I already mentioned in my previous threads:

you attached wrong document, because its identical to the previous one...
anyway i can reproduce your problem. it seems that our mechanism is not
working for all AMS modules. Georg?

These styles are missing the LangPreamble and BabelPreamble tags, since they
did not exist yet when those tags were introduced. Somebody should go
through all modules that have been added after the initial translation
support (Feb. 2009) and add these tags where it makes sense. Unfortunately I
have no time do so ATM. Fortunately the mentioned theorems will most
probably not produce new strings for lib/layouttranslations.

this should go before next RC. i have no idea which modules need this
but for consitency at least the theorem ones? i went through theorems*
in layout and found those have no LangPreamble string:

theorems-ams-bytype.inc
theorems-ams-bytype.module
theorems-ams-extended-bytype.module
theorems-ams.module
theorems-bytype.inc
theorems-bytype.module
theorems-chap-bytype.module
theorems-chap.module
theorems-named.module
theorems-order.inc
theorems-proof.inc
theorems-refprefix.inc
theorems-sec-bytype.module
theorems-sec.module
theorems-starred-equivalents.inc
theorems-starred.module
theorems-std.module

I have taken care of almost all of these. Obviously, they should be 
tested, but I don't have time to do that right now myself. Perhaps those 
who were having issues could have a look.


Richard



Re: Translations of Math environments in LyX output - last call for LyX 2.0

2011-04-06 Thread Pavel Sanda
Rudi Gaelzer wrote:
 What should be done with this information?

nothing, Richard alredy started with fixing.
my question for you was about those Assumption  Fact.
pavel


2.0.0rc2 math panel drawing defect

2011-04-06 Thread Neal Becker
I just hit alt-m d to insert a display equation, and noticed the math panel was 
not drawn properly.  Only one menu appeared, but as I mouse over the panel, 
more 
menus are drawn.



Re: LyX 2.0 RC2 for Windows

2011-04-06 Thread Diego Queiroz
Alejandro.

They are now available at the ftp server (
ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.0/rc2).
But they won't solve your problem.

I've found this bug when I installed Adobe Acrobat X also (when you click to
view PDF, the Adobe Acrobat app starts as well but the file is not oppened),
but it is not exactly related with Adobe Acrobat installation.

I already found what causes this error:
* Select Tools  Preferences  File Handling  File Formats;
* In Format, select the PDF format you use (eg. PDF (pdflatex);
* Change Viewer property to Custom and type auto (it probably should be
set to pdfview, so just modify this value)
* Save and test.
This will make things work as expected.

Anyway, it will be great if someone point why this happens.
I don't have an idea what this option really do and why it prevents Acrobat
X to open the file (note that previous versions of Acrobat do not experience
this problem).
I want to open a ticket regarding this issue, but I really don't know what
to write.

I am forwarding this message to devel list to read what they say.


Regards,
---
Diego Queiroz



2011/4/5 Alejandro Alonso Rodriguez alrdg...@gmail.com

 How can I get LyX 2.0 RC2 in .exe to install in Windows? I can get the RC1
 but the RC2 i can´t see it. I would like to get it because of a bug with
 Adobe Reader X in RC1 when viewing files.

 Keep the good work guys! You´re amazing! ;)
 Best regards.




Re: lmodern?

2011-04-06 Thread Pavel Sanda
Neal Becker wrote:
 I'm trying lyx-2.0.0rc2.
 
 Do I still need to keep manually adding \usepackage{lmodern} to get vector 
 fonts?  I would have hoped that if this wasn't the default by now, at least 
 I'd 
 find an option on the document settings.

document-settings-fonts-latin modern roman
works even in 1.6.
p


Re: 2.0.0rc2 math panel drawing defect

2011-04-06 Thread Pavel Sanda
Neal Becker wrote:
 I just hit alt-m d to insert a display equation, and noticed the math panel 
 was 
 not drawn properly.  Only one menu appeared, but as I mouse over the panel, 
 more 
 menus are drawn.

can't reproduce, can you report more info about your setup? p


Re: Lyx citations - keys and abbreviation of inserted citation

2011-04-06 Thread Csikos Bela
Richard Heck rgh...@comcast.net írta:
On 04/06/2011 04:58 AM, Csikos Bela wrote:
 Hello:

 I have two questions related to how citations are shown in lyx document (not 
 in the final output pdf).

 1. When I insert 3 or more citations in the document, the list is 
 abbreviated, only the first two keys are shown completely and the end of the 
 list is cut. Is it possible to set lyx to show the complete list 
 independently the number of inserted citations, even by hacking some layout 
 files?

No, this is set in the source. Having no limit at all would cause 
massive problems with line breaking. Note that if you put your mouse 
over the inset, then you will see the complete citation as a tooltip.


I understand. Would it be possible to have the tooltip show the keys instead of 
complete citations?


 2. If the citation/bibliography style is set to author-year in document 
 settings, the inserted citations are not shown as the original bib file keys; 
 they look similar to the final result. Is it possible to set lyx to show the 
 original key independently from the citation style? (For example I would 
 prefer to see Johnson2005 (the bib file key) instead of (Johnson et al., 
 2005) in the lyx document.

No, this is not possible, either, but it's a reasonable request. Feel 
free to file an enhancement on trac, and we can try to get to it for 
2.1. (Too late for 2.0.)

OK, I will do thi

Thank you,

bcsikos





Re: Lyx citations - keys and abbreviation of inserted citation

2011-04-06 Thread Richard Heck

On 04/06/2011 11:09 AM, Csikos Bela wrote:

Richard Heckrgh...@comcast.net  írta:

On 04/06/2011 04:58 AM, Csikos Bela wrote:
Hello:
I have two questions related to how citations are shown in lyx document (not in 
the final output pdf).
1. When I insert 3 or more citations in the document, the list is abbreviated, 
only the first two keys are shown completely and the end of the list is cut. Is it 
possible to set lyx to show the complete list independently the number of inserted 
citations, even by hacking some layout files?

No, this is set in the source. Having no limit at all would cause
massive problems with line breaking. Note that if you put your mouse
over the inset, then you will see the complete citation as a tooltip.
I understand. Would it be possible to have the tooltip show the keys instead of 
complete citations?

I think most people prefer to see the complete citation, as it's 
generally more informative. (Many people have auto-generated keys, and 
they have little idea what they are.) You can always see the keys a 
different way, but not all the citations together.


rh



SV: Crash in rc_2

2011-04-06 Thread Ingar Pareliussen
Hi

I just tried some more small things:

You do not need to change the language to anything other than 
away from default. Removing the \gui_language from
the .lyx/preferences makes it seg.fault on save as:

#
# 2nd MISC SUPPORT SECTION ##
#

\gui_language nynorsk

also changing the language the first time seems to  give the following 
error sometimes:
Application asked to unregister timer 0x3604 which is not registered in 
this thread. Fix application.
If this is related I do not know, I tried to find out when it is triggered, but 
were not able to find an absoulte
pattern...

Ingar

Re: lmodern?

2011-04-06 Thread Liviu Andronic
On Wed, Apr 6, 2011 at 2:23 PM, Neal Becker ndbeck...@gmail.com wrote:
 I'm trying lyx-2.0.0rc2.

 Do I still need to keep manually adding \usepackage{lmodern} to get vector
 fonts?  I would have hoped that if this wasn't the default by now, at least 
 I'd
 find an option on the document settings.

There have been several lengthy discussions on this topic, and the
consensus was that it made little sense to depart from LaTeX defaults;
people unhappy with the default font should choose a different one.

Regards
Liviu


Downloaking MikTeX failed, installer using wrong download path?

2011-04-06 Thread Matt Seitz (matseitz)
Does the LyX installer for Windows need to change the path for
downloading miktex from /get/systems/win32/miktex/setup to
/systems/win32/miktex/setup?

 

When I tried to install LyX 1.6.9-2 for Microsoft Windows using the
standard installer
(ftp://ftp.lyx.org/pub/lyx/bin/1.6.9/LyX-1.6.9-2-Installer.exe), the
installer reported the error Downloading MikTeX failed.  

 

I reran the installer while taking a network trace and saw the following
error:

 

1910   71.947625171.71.137.121  171.70.168.183  DNS
Standard query A www.ctan.org

1911   72.047106171.70.168.183  171.71.137.121  DNS
Standard query response CNAME alan.smcvt.edu A 192.80.64.33

1915   72.136694171.71.137.121  192.80.64.33   HTTP
GET /get/systems/win32/miktex/setup/basic-miktex-2.9.3972.exe HTTP/1.0

1918   72.282413192.80.64.33   171.71.137.121  HTTP
HTTP/1.1 404 NOT FOUND  (text/html)

 

I then went to the miktex web site and checked it's download page.  I
didn't see alan.smcvt.edu listed as a mirror, so I tried using
ctan.mackichan.com, again while taking a network trace.  This time, I
saw:

 

94   4.739099  171.71.137.121  171.70.168.183  DNS
Standard query A ctan.mackichan.com

96   4.896114  171.70.168.183  171.71.137.121  DNS
Standard query response A 50.17.254.94

102 4.975983  171.71.137.121  50.17.254.94
HTTP  GET /systems/win32/miktex/setup/basic-miktex-2.9.4106.exe
HTTP/1.0

 

...followed by a stream of data.

 

I then went to http://alan.smcvt.edu and clicked the Browse the
directory tree link.  I found the following link:

 

http://mirrors.ctan.org/systems/win32/miktex/setup/basic-miktex-2.9.3972
.exe

 

 



Re: 2.0.0rc2 math panel drawing defect

2011-04-06 Thread Pavel Sanda
Neal Becker wrote:
 Pavel Sanda wrote:
 
  Neal Becker wrote:
  I just hit alt-m d to insert a display equation, and noticed the math panel
  was
  not drawn properly.  Only one menu appeared, but as I mouse over the panel,
  more menus are drawn.
  
  can't reproduce, can you report more info about your setup? p
 
 Also seen on spell checker pane.
 
 fedora linux 14
 kde
 nvidia proprietary driver
 
 I have seen sometimes similar symptoms related to nvidia driver, which is why 
 I 
 mention it.  Before you dismiss this though, I haven't seen this on any other 
 app for quite a long time.
 

qt version? p


Re: Crash in rc_2

2011-04-06 Thread Pavel Sanda
Ingar Pareliussen wrote:
 Hi
 
 I have gone through the translation for nn I could not find any errors in 
 connection to %1$s. (many others: like missing : and to many spaces, though, 
 more work for me :) )
 
 However: I did try saving some more files (with the old translation) and 
 every time I tried to save
 a file with save as I get a segmentation fault. In addition I noticed that 
 the file name in the window-decoration
 became replaced with Chinese-signs just before the segmentation fault. 
 Screenshot attached.

the good news is that this rings a bell. the bad news nothing knows whats going 
on.
http://www.lyx.org/trac/ticket/7371
do you have qt 4.7?
pavel


finding citations

2011-04-06 Thread Jack Tanner
Is there a way to ask where is this paper already cited in my document? How
about is anything by author X already cited in my document?

Thanks!



Re: finding citations

2011-04-06 Thread BH
On Wed, Apr 6, 2011 at 2:55 PM, Jack Tanner i...@hotmail.com wrote:
 Is there a way to ask where is this paper already cited in my document? How
 about is anything by author X already cited in my document?

Document  Outline ... and then use the dropdown list to select List
of Citations. Note that it normally comes in order of citation, but
if you select the Sort option at the bottom, it will be sorted by
author's last name.

BH


Re: finding citations

2011-04-06 Thread Jack Tanner
BH bewihelm at gmail.com writes:

 Document  Outline ... and then use the dropdown list to select List
 of Citations. Note that it normally comes in order of citation, but
 if you select the Sort option at the bottom, it will be sorted by
 author's last name.

That's neat! But it doesn't help me find those citations where a person is not a
first author.



Re: SV: Crash in rc_2

2011-04-06 Thread Pavel Sanda
Ingar Pareliussen wrote:
 also changing the language the first time seems to  give the following 
 error sometimes:
 Application asked to unregister timer 0x3604 which is not registered in 
 this thread. Fix application.
 If this is related I do not know, I tried to find out when it is triggered, 
 but were not able to find an absoulte
 pattern...

aren't you by chance compiling lyx yourself? we could test whether switching 
threads off makes difference...
pavel


Re: finding citations

2011-04-06 Thread Jack Tanner
Jack Tanner ihok at hotmail.com writes:

 That's neat! But it doesn't help me find those citations where a person is 
 not a first author.

And it also doesn't help to find those citations where a person is a first
author, but the paper is not the first one listed in a \cite{}.



SV: SV: Crash in rc_2

2011-04-06 Thread Ingar Pareliussen
Hi

aren't you by chance compiling lyx yourself? 

Yes, I am. 

we could test whether switching threads off makes difference...

I recompiled without threads, and the problem with save as is 
not changed. Same behavior as before. The thread problem 
was not seen of course.

Ingar

weird footnote symbol

2011-04-06 Thread Junchao Zhang
Hi,
  I use Lyx 1.6.9 to write my document. It has two footnotes. When I export
it to pdf,  both footnotes look like  9* The work is supported ... .
  I don't know where is the 9 from. I only want a simple *.
  Previouly, I didn't have this problem  It happens after I installed some
packages, added the following in the preamble.

\usepackage{url}
\setlength\tabcolsep{1.2pt}
\usepackage{slashbox}


  How can I get rid of the annoying '9'?

  Thanks
Junchao Zhang


Re: 2.0.0rc2 math panel drawing defect

2011-04-06 Thread Neal Becker
Pavel Sanda wrote:

 Neal Becker wrote:
 Pavel Sanda wrote:
 
  Neal Becker wrote:
  I just hit alt-m d to insert a display equation, and noticed the math
  panel was
  not drawn properly.  Only one menu appeared, but as I mouse over the
  panel, more menus are drawn.
  
  can't reproduce, can you report more info about your setup? p
 
 Also seen on spell checker pane.
 
 fedora linux 14
 kde
 nvidia proprietary driver
 
 I have seen sometimes similar symptoms related to nvidia driver, which is why
 I
 mention it.  Before you dismiss this though, I haven't seen this on any other
 app for quite a long time.
 
 
 qt version? p
qt-4.7.2-1.fc14.x86_64




Re: SV: SV: Crash in rc_2

2011-04-06 Thread Pavel Sanda
Ingar Pareliussen wrote:
 Hi
 
 aren't you by chance compiling lyx yourself? 
 
 Yes, I am. 

could you post the whole backtrace when the assertion occurs?
pavel


Re: XeTeX (No Math!)

2011-04-06 Thread Rob Oakes
Hi Richard,

There is a known bug in older versions of XeTeX which can cause problems with 
math symbols in some fonts. The bug report for Ubuntu can be found here:

https://bugs.launchpad.net/ubuntu/+source/texlive-bin/+bug/364627

I was able to fix the problem by editing a configuration file:

/etc/texmf/dvipdfm/dvipdfmx.cfg

Comment out: f pdftex.map
Uncomment: f dvipdfm.map 

I haven't had any trouble with newer versions (either that shipped in TeX Live 
2009, or 2010).

Cheers,

Rob

Lyx citations - keys and abbreviation of inserted citation

2011-04-06 Thread Csikos Bela
Hello:

I have two questions related to how citations are shown in lyx document (not in 
the final output pdf).

1. When I insert 3 or more citations in the document, the list is abbreviated, 
only the first two keys are shown completely and the end of the list is cut. Is 
it possible to set lyx to show the complete list independently the number of 
inserted citations, even by hacking some layout files?

2. If the citation/bibliography style is set to author-year in document 
settings, the inserted citations are not shown as the original bib file keys; 
they look similar to the final result. Is it possible to set lyx to show the 
original key independently from the citation style? (For example I would prefer 
to see "Johnson2005" (the bib file key) instead of "(Johnson et al., 2005)" in 
the lyx document.

Thanks in advance,

bcsikos





Re: Translations of Math environments in LyX output - last call for LyX 2.0

2011-04-06 Thread Pavel Sanda
Georg Baum wrote:
> >> Concerning the translation to brazilian portuguese, your structure works
> >> with your template file (localization_test_1.lyx), which employs the
> >> Theorems (AMS) and Theorems (AMS-Extended ) modules.
> >> However, when I try the numbered by type modules, I detect the same
> >> problems I already mentioned in my previous threads:
> > 
> > you attached wrong document, because its identical to the previous one...
> > anyway i can reproduce your problem. it seems that our mechanism is not
> > working for all AMS modules. Georg?
> 
> These styles are missing the LangPreamble and BabelPreamble tags, since they 
> did not exist yet when those tags were introduced. Somebody should go 
> through all modules that have been added after the initial translation 
> support (Feb. 2009) and add these tags where it makes sense. Unfortunately I 
> have no time do so ATM. Fortunately the mentioned theorems will most 
> probably not produce new strings for lib/layouttranslations.

this should go before next RC. i have no idea which modules need this
but for consitency at least the theorem ones? i went through theorems*
in layout and found those have no LangPreamble string:

theorems-ams-bytype.inc
theorems-ams-bytype.module
theorems-ams-extended-bytype.module
theorems-ams.module
theorems-bytype.inc
theorems-bytype.module
theorems-chap-bytype.module
theorems-chap.module
theorems-named.module
theorems-order.inc
theorems-proof.inc
theorems-refprefix.inc
theorems-sec-bytype.module
theorems-sec.module
theorems-starred-equivalents.inc
theorems-starred.module
theorems-std.module

pavel


Re: Lyx citations - keys and abbreviation of inserted citation

2011-04-06 Thread Richard Heck

On 04/06/2011 04:58 AM, Csikos Bela wrote:

Hello:

I have two questions related to how citations are shown in lyx document (not in 
the final output pdf).

1. When I insert 3 or more citations in the document, the list is abbreviated, 
only the first two keys are shown completely and the end of the list is cut. Is 
it possible to set lyx to show the complete list independently the number of 
inserted citations, even by hacking some layout files?

No, this is set in the source. Having no limit at all would cause 
massive problems with line breaking. Note that if you put your mouse 
over the inset, then you will see the complete citation as a tooltip.



2. If the citation/bibliography style is set to author-year in document settings, the inserted 
citations are not shown as the original bib file keys; they look similar to the final result. Is it 
possible to set lyx to show the original key independently from the citation style? (For example I 
would prefer to see "Johnson2005" (the bib file key) instead of "(Johnson et al., 
2005)" in the lyx document.

No, this is not possible, either, but it's a reasonable request. Feel 
free to file an enhancement on trac, and we can try to get to it for 
2.1. (Too late for 2.0.)


Richard



lmodern?

2011-04-06 Thread Neal Becker
I'm trying lyx-2.0.0rc2.

Do I still need to keep manually adding \usepackage{lmodern} to get vector 
fonts?  I would have hoped that if this wasn't the default by now, at least I'd 
find an option on the document settings.



Re: Translations of Math environments in LyX output - last call for LyX 2.0

2011-04-06 Thread Rudi Gaelzer
What should be done with this information?
Right now, I don't have time as well, but in a fortnight I could be somewhat 
"freer" and could lend a hand.
Alas, I never did this, so I don't know, for example, if only the files listed 
below need to be modified and how to do it...
Is there any template I could look at?

On Wednesday 06 April 2011 08:29:07 Pavel Sanda wrote:
> Georg Baum wrote:
> > >> Concerning the translation to brazilian portuguese, your structure
> > >> works with your template file (localization_test_1.lyx), which
> > >> employs the Theorems (AMS) and Theorems (AMS-Extended ) modules.
> > >> However, when I try the numbered by type modules, I detect the same
> > > 
> > >> problems I already mentioned in my previous threads:
> > > you attached wrong document, because its identical to the previous
> > > one... anyway i can reproduce your problem. it seems that our
> > > mechanism is not working for all AMS modules. Georg?
> > 
> > These styles are missing the LangPreamble and BabelPreamble tags, since
> > they did not exist yet when those tags were introduced. Somebody should
> > go through all modules that have been added after the initial
> > translation support (Feb. 2009) and add these tags where it makes sense.
> > Unfortunately I have no time do so ATM. Fortunately the mentioned
> > theorems will most probably not produce new strings for
> > lib/layouttranslations.
> 
> this should go before next RC. i have no idea which modules need this
> but for consitency at least the theorem ones? i went through theorems*
> in layout and found those have no LangPreamble string:
> 
> theorems-ams-bytype.inc
> theorems-ams-bytype.module
> theorems-ams-extended-bytype.module
> theorems-ams.module
> theorems-bytype.inc
> theorems-bytype.module
> theorems-chap-bytype.module
> theorems-chap.module
> theorems-named.module
> theorems-order.inc
> theorems-proof.inc
> theorems-refprefix.inc
> theorems-sec-bytype.module
> theorems-sec.module
> theorems-starred-equivalents.inc
> theorems-starred.module
> theorems-std.module
> 
> pavel

-- 
Rudi Gaelzer
Departamento de Física
Instituto de Física e Matemática
Universidade Federal de Pelotas
Caixa Postal 354 - Campus UFPel
96001-970 Pelotas - RS
Fone: (53) 3275-7416
FAX:  (53) 3275-7343
Usuário de Linux registrado # 153741


Re: Translations of Math environments in LyX output - last call for LyX 2.0

2011-04-06 Thread Richard Heck

On 04/06/2011 07:29 AM, Pavel Sanda wrote:

Georg Baum wrote:

Concerning the translation to brazilian portuguese, your structure works
with your template file (localization_test_1.lyx), which employs the
Theorems (AMS) and Theorems (AMS-Extended ) modules.
However, when I try the numbered by type modules, I detect the same
problems I already mentioned in my previous threads:

you attached wrong document, because its identical to the previous one...
anyway i can reproduce your problem. it seems that our mechanism is not
working for all AMS modules. Georg?

These styles are missing the LangPreamble and BabelPreamble tags, since they
did not exist yet when those tags were introduced. Somebody should go
through all modules that have been added after the initial translation
support (Feb. 2009) and add these tags where it makes sense. Unfortunately I
have no time do so ATM. Fortunately the mentioned theorems will most
probably not produce new strings for lib/layouttranslations.

this should go before next RC. i have no idea which modules need this
but for consitency at least the theorem ones? i went through theorems*
in layout and found those have no LangPreamble string:

theorems-ams-bytype.inc
theorems-ams-bytype.module
theorems-ams-extended-bytype.module
theorems-ams.module
theorems-bytype.inc
theorems-bytype.module
theorems-chap-bytype.module
theorems-chap.module
theorems-named.module
theorems-order.inc
theorems-proof.inc
theorems-refprefix.inc
theorems-sec-bytype.module
theorems-sec.module
theorems-starred-equivalents.inc
theorems-starred.module
theorems-std.module

I have taken care of almost all of these. Obviously, they should be 
tested, but I don't have time to do that right now myself. Perhaps those 
who were having issues could have a look.


Richard



Re: Translations of Math environments in LyX output - last call for LyX 2.0

2011-04-06 Thread Pavel Sanda
Rudi Gaelzer wrote:
> What should be done with this information?

nothing, Richard alredy started with fixing.
my question for you was about those Assumption & Fact.
pavel


2.0.0rc2 math panel drawing defect

2011-04-06 Thread Neal Becker
I just hit alt-m d to insert a display equation, and noticed the math panel was 
not drawn properly.  Only one menu appeared, but as I mouse over the panel, 
more 
menus are drawn.



Re: LyX 2.0 RC2 for Windows

2011-04-06 Thread Diego Queiroz
Alejandro.

They are now available at the ftp server (
ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.0/rc2).
But they won't solve your problem.

I've found this bug when I installed Adobe Acrobat X also (when you click to
view PDF, the Adobe Acrobat app starts as well but the file is not oppened),
but it is not exactly related with Adobe Acrobat installation.

I already found what causes this error:
* Select Tools > Preferences > File Handling > File Formats;
* In Format, select the PDF format you use (eg. PDF (pdflatex);
* Change Viewer property to Custom and type "auto" (it probably should be
set to "pdfview", so just modify this value)
* Save and test.
This will make things work as expected.

Anyway, it will be great if someone point why this happens.
I don't have an idea what this option really do and why it prevents Acrobat
X to open the file (note that previous versions of Acrobat do not experience
this problem).
I want to open a ticket regarding this issue, but I really don't know what
to write.

I am forwarding this message to devel list to read what they say.


Regards,
---
Diego Queiroz



2011/4/5 Alejandro Alonso Rodriguez 

> How can I get LyX 2.0 RC2 in .exe to install in Windows? I can get the RC1
> but the RC2 i can´t see it. I would like to get it because of a bug with
> Adobe Reader X in RC1 when viewing files.
>
> Keep the good work guys! You´re amazing! ;)
> Best regards.
>
>


Re: lmodern?

2011-04-06 Thread Pavel Sanda
Neal Becker wrote:
> I'm trying lyx-2.0.0rc2.
> 
> Do I still need to keep manually adding \usepackage{lmodern} to get vector 
> fonts?  I would have hoped that if this wasn't the default by now, at least 
> I'd 
> find an option on the document settings.

document->settings->fonts->latin modern roman
works even in 1.6.
p


Re: 2.0.0rc2 math panel drawing defect

2011-04-06 Thread Pavel Sanda
Neal Becker wrote:
> I just hit alt-m d to insert a display equation, and noticed the math panel 
> was 
> not drawn properly.  Only one menu appeared, but as I mouse over the panel, 
> more 
> menus are drawn.

can't reproduce, can you report more info about your setup? p


Re: Lyx citations - keys and abbreviation of inserted citation

2011-04-06 Thread Csikos Bela
Richard Heck  írta:
>On 04/06/2011 04:58 AM, Csikos Bela wrote:>
> Hello:>
>>
> I have two questions related to how citations are shown in lyx document (not 
> in the final output pdf).>
>>
> 1. When I insert 3 or more citations in the document, the list is 
> abbreviated, only the first two keys are shown completely and the end of the 
> list is cut. Is it possible to set lyx to show the complete list 
> independently the number of inserted citations, even by hacking some layout 
> files?>
>>
No, this is set in the source. Having no limit at all would cause >
massive problems with line breaking. Note that if you put your mouse >
over the inset, then you will see the complete citation as a tooltip.>
>

I understand. Would it be possible to have the tooltip show the keys instead of 
complete citations?


> 2. If the citation/bibliography style is set to author-year in document 
> settings, the inserted citations are not shown as the original bib file keys; 
> they look similar to the final result. Is it possible to set lyx to show the 
> original key independently from the citation style? (For example I would 
> prefer to see "Johnson2005" (the bib file key) instead of "(Johnson et al., 
> 2005)" in the lyx document.>
>>
No, this is not possible, either, but it's a reasonable request. Feel >
free to file an enhancement on trac, and we can try to get to it for >
2.1. (Too late for 2.0.)>

OK, I will do thi

Thank you,

bcsikos





Re: Lyx citations - keys and abbreviation of inserted citation

2011-04-06 Thread Richard Heck

On 04/06/2011 11:09 AM, Csikos Bela wrote:

Richard Heck  írta:

On 04/06/2011 04:58 AM, Csikos Bela wrote:>
Hello:>
I have two questions related to how citations are shown in lyx document (not in 
the final output pdf).>
1. When I insert 3 or more citations in the document, the list is abbreviated, 
only the first two keys are shown completely and the end of the list is cut. Is it 
possible to set lyx to show the complete list independently the number of inserted 
citations, even by hacking some layout files?>

No, this is set in the source. Having no limit at all would cause>
massive problems with line breaking. Note that if you put your mouse>
over the inset, then you will see the complete citation as a tooltip.>
I understand. Would it be possible to have the tooltip show the keys instead of 
complete citations?

I think most people prefer to see the complete citation, as it's 
generally more informative. (Many people have auto-generated keys, and 
they have little idea what they are.) You can always see the keys a 
different way, but not all the citations together.


rh



SV: Crash in rc_2

2011-04-06 Thread Ingar Pareliussen
Hi

I just tried some more small things:

You do not need to change the language to anything other than 
away from default. Removing the \gui_language from
the .lyx/preferences makes it seg.fault on save as:

#
# 2nd MISC SUPPORT SECTION ##
#

\gui_language nynorsk

also changing the language the first time seems to  give the following 
error sometimes:
"Application asked to unregister timer 0x3604 which is not registered in 
this thread. Fix application."
If this is related I do not know, I tried to find out when it is triggered, but 
were not able to find an absoulte
pattern...

Ingar

Re: lmodern?

2011-04-06 Thread Liviu Andronic
On Wed, Apr 6, 2011 at 2:23 PM, Neal Becker  wrote:
> I'm trying lyx-2.0.0rc2.
>
> Do I still need to keep manually adding \usepackage{lmodern} to get vector
> fonts?  I would have hoped that if this wasn't the default by now, at least 
> I'd
> find an option on the document settings.
>
There have been several lengthy discussions on this topic, and the
consensus was that it made little sense to depart from LaTeX defaults;
people unhappy with the default font should choose a different one.

Regards
Liviu


Downloaking MikTeX failed, installer using wrong download path?

2011-04-06 Thread Matt Seitz (matseitz)
Does the LyX installer for Windows need to change the path for
downloading miktex from "/get/systems/win32/miktex/setup" to
"/systems/win32/miktex/setup"?

 

When I tried to install LyX 1.6.9-2 for Microsoft Windows using the
standard installer
(ftp://ftp.lyx.org/pub/lyx/bin/1.6.9/LyX-1.6.9-2-Installer.exe), the
installer reported the error "Downloading MikTeX failed".  

 

I reran the installer while taking a network trace and saw the following
error:

 

1910   71.947625171.71.137.121  171.70.168.183  DNS
Standard query A www.ctan.org

1911   72.047106171.70.168.183  171.71.137.121  DNS
Standard query response CNAME alan.smcvt.edu A 192.80.64.33

1915   72.136694171.71.137.121  192.80.64.33   HTTP
GET /get/systems/win32/miktex/setup/basic-miktex-2.9.3972.exe HTTP/1.0

1918   72.282413192.80.64.33   171.71.137.121  HTTP
HTTP/1.1 404 NOT FOUND  (text/html)

 

I then went to the miktex web site and checked it's download page.  I
didn't see alan.smcvt.edu listed as a mirror, so I tried using
"ctan.mackichan.com", again while taking a network trace.  This time, I
saw:

 

94   4.739099  171.71.137.121  171.70.168.183  DNS
Standard query A ctan.mackichan.com

96   4.896114  171.70.168.183  171.71.137.121  DNS
Standard query response A 50.17.254.94

102 4.975983  171.71.137.121  50.17.254.94
HTTP  GET /systems/win32/miktex/setup/basic-miktex-2.9.4106.exe
HTTP/1.0

 

...followed by a stream of data.

 

I then went to http://alan.smcvt.edu and clicked the "Browse the
directory tree link".  I found the following link:

 

http://mirrors.ctan.org/systems/win32/miktex/setup/basic-miktex-2.9.3972
.exe

 

 



Re: 2.0.0rc2 math panel drawing defect

2011-04-06 Thread Pavel Sanda
Neal Becker wrote:
> Pavel Sanda wrote:
> 
> > Neal Becker wrote:
> >> I just hit alt-m d to insert a display equation, and noticed the math panel
> >> was
> >> not drawn properly.  Only one menu appeared, but as I mouse over the panel,
> >> more menus are drawn.
> > 
> > can't reproduce, can you report more info about your setup? p
> 
> Also seen on spell checker pane.
> 
> fedora linux 14
> kde
> nvidia proprietary driver
> 
> I have seen sometimes similar symptoms related to nvidia driver, which is why 
> I 
> mention it.  Before you dismiss this though, I haven't seen this on any other 
> app for quite a long time.
> 

qt version? p


Re: Crash in rc_2

2011-04-06 Thread Pavel Sanda
Ingar Pareliussen wrote:
> Hi
> 
> I have gone through the translation for nn I could not find any errors in 
> connection to %1$s. (many others: like missing : and to many spaces, though, 
> more work for me :) )
> 
> However: I did try saving some more files (with the old translation) and 
> every time I tried to save
> a file with "save as" I get a segmentation fault. In addition I noticed that 
> the file name in the window-decoration
> became replaced with "Chinese-signs" just before the segmentation fault. 
> Screenshot attached.

the good news is that this rings a bell. the bad news nothing knows whats going 
on.
http://www.lyx.org/trac/ticket/7371
do you have qt 4.7?
pavel


finding citations

2011-04-06 Thread Jack Tanner
Is there a way to ask "where is this paper already cited in my document"? How
about "is anything by author X already cited in my document"?

Thanks!



Re: finding citations

2011-04-06 Thread BH
On Wed, Apr 6, 2011 at 2:55 PM, Jack Tanner  wrote:
> Is there a way to ask "where is this paper already cited in my document"? How
> about "is anything by author X already cited in my document"?

Document > Outline ... and then use the dropdown list to select "List
of Citations". Note that it normally comes in order of citation, but
if you select the "Sort" option at the bottom, it will be sorted by
author's last name.

BH


Re: finding citations

2011-04-06 Thread Jack Tanner
BH  gmail.com> writes:

> Document > Outline ... and then use the dropdown list to select "List
> of Citations". Note that it normally comes in order of citation, but
> if you select the "Sort" option at the bottom, it will be sorted by
> author's last name.

That's neat! But it doesn't help me find those citations where a person is not a
first author.



Re: SV: Crash in rc_2

2011-04-06 Thread Pavel Sanda
Ingar Pareliussen wrote:
> also changing the language the first time seems to  give the following 
> error sometimes:
> "Application asked to unregister timer 0x3604 which is not registered in 
> this thread. Fix application."
> If this is related I do not know, I tried to find out when it is triggered, 
> but were not able to find an absoulte
> pattern...

aren't you by chance compiling lyx yourself? we could test whether switching 
threads off makes difference...
pavel


Re: finding citations

2011-04-06 Thread Jack Tanner
Jack Tanner  hotmail.com> writes:

> That's neat! But it doesn't help me find those citations where a person is 
> not a first author.

And it also doesn't help to find those citations where a person is a first
author, but the paper is not the first one listed in a \cite{}.



SV: SV: Crash in rc_2

2011-04-06 Thread Ingar Pareliussen
Hi

>aren't you by chance compiling lyx yourself? 

Yes, I am. 

>we could test whether switching threads off makes difference...

I recompiled without threads, and the problem with save as is 
not changed. Same behavior as before. The thread problem 
was not seen of course.

Ingar

weird footnote symbol

2011-04-06 Thread Junchao Zhang
Hi,
  I use Lyx 1.6.9 to write my document. It has two footnotes. When I export
it to pdf,  both footnotes look like " 9* The work is supported ... ".
  I don't know where is the 9 from. I only want a simple *.
  Previouly, I didn't have this problem  It happens after I installed some
packages, added the following in the preamble.

\usepackage{url}
\setlength\tabcolsep{1.2pt}
\usepackage{slashbox}


  How can I get rid of the annoying '9'?

  Thanks
Junchao Zhang


Re: 2.0.0rc2 math panel drawing defect

2011-04-06 Thread Neal Becker
Pavel Sanda wrote:

> Neal Becker wrote:
>> Pavel Sanda wrote:
>> 
>> > Neal Becker wrote:
>> >> I just hit alt-m d to insert a display equation, and noticed the math
>> >> panel was
>> >> not drawn properly.  Only one menu appeared, but as I mouse over the
>> >> panel, more menus are drawn.
>> > 
>> > can't reproduce, can you report more info about your setup? p
>> 
>> Also seen on spell checker pane.
>> 
>> fedora linux 14
>> kde
>> nvidia proprietary driver
>> 
>> I have seen sometimes similar symptoms related to nvidia driver, which is why
>> I
>> mention it.  Before you dismiss this though, I haven't seen this on any other
>> app for quite a long time.
>> 
> 
> qt version? p
qt-4.7.2-1.fc14.x86_64




Re: SV: SV: Crash in rc_2

2011-04-06 Thread Pavel Sanda
Ingar Pareliussen wrote:
> Hi
> 
> >aren't you by chance compiling lyx yourself? 
> 
> Yes, I am. 

could you post the whole backtrace when the assertion occurs?
pavel


Re: XeTeX (No Math!)

2011-04-06 Thread Rob Oakes
Hi Richard,

There is a known bug in older versions of XeTeX which can cause problems with 
math symbols in some fonts. The bug report for Ubuntu can be found here:

https://bugs.launchpad.net/ubuntu/+source/texlive-bin/+bug/364627

I was able to fix the problem by editing a configuration file:

/etc/texmf/dvipdfm/dvipdfmx.cfg

Comment out: "f pdftex.map"
Uncomment: "f dvipdfm.map" 

I haven't had any trouble with newer versions (either that shipped in TeX Live 
2009, or 2010).

Cheers,

Rob