Re: LyX 2.2.1 doesn't work on WINDOWS 8.1

2016-08-08 Thread Olivier Ripoll

On 26.07.2016 23:27, Uwe Stöhr wrote:

Am 26.07.2016 um 12:13 schrieb emile lunardon:

I have updated LyX2.2.0 to 2.2.1 on my PC under Windows 8.1.
Now it is impossible to launch LyX. The following error message is
returned

lyx.exe - Erreur d'application
l'application n'a pas réussi à démarrer correctement (0xc07b).
Cliquez
sur Ok pour fermer l'application.


Ouch! Do you use a 32bit version of Win 8.1 or a 64bit version? Does it
help to reinstall LyX 2.2.1 using this new installer?:
http://ftp.lyx.de/LyX%202.2.1/LyX-221-Installer-2.exe

regards Uwe



Hi,

FYI, I just had today the same startup error message when trying to run 
LyX 2.2.1 on Windows 7 Professional. LyX 2.1.x versions were running fine.

I installed 2.2.1 with "LyX-221-Installer-2.exe".

Following the discussion in this bug report_
http://www.lyx.org/trac/ticket/10206
I went to:
https://www.microsoft.com/en-US/download/details.aspx?id=48145
downloaded and installed "vc_redist.x86.exe" and now LyX runs fine.

Best regards,

Olivier.



Re: weird bug: extra fi or else when using Koma script article, headings page style and numbered sections

2014-05-09 Thread Olivier Ripoll

On 08.05.2014 08:47, Jürgen Spitzmüller wrote:

2014-05-08 8:42 GMT+02:00 Olivier Ripoll:

On 07.05.2014 16:57, Richard Heck wrote:


Can you post an example file?


Hi,

Sure, here is a small sample file.

By the way, I totally forgot to put the system details in my
previous email: Windows 7 64 bits professional, MikTex 2.9.

I guess it's probably more related to an update of a MikTex package.


It's a bug in the current KOMA-Script release:
http://tex.stackexchange.com/questions/166779/koma-script-throws-extra-else-error

(I see it, too, with the final TeXLive 2013 update)


Indeed, thanks for the link.

Best regards,

Olivier




Jürgen






Re: weird bug: extra fi or else when using Koma script article, headings page style and numbered sections

2014-05-07 Thread Olivier Ripoll

On 07.05.2014 16:57, Richard Heck wrote:


Can you post an example file?


Hi,

Sure, here is a small sample file.

By the way, I totally forgot to put the system details in my previous 
email: Windows 7 64 bits professional, MikTex 2.9.


I guess it's probably more related to an update of a MikTex package.

Best regards.

Olivier



On 05/05/2014 02:15 PM, Olivier Ripoll wrote:

Hi all,

I've been hitting this issue recently on 2.0.7 and also or 2.1.0:

Even with a very simple document: 1 section and 1 word of text.
If I use the Koma-script article class, with "headings" page style and
a numbered section, the compilation result in an error about and extra
\fi or an extra \else


below (between dashes) is the relevant part of the log:
-
! Extra \else.
\H@old@sect ... }{\scr@ds@tocentry }\fi \fi \else
  \def \@svsechd
{#6{\hskip ...
l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.

! Extra \fi.
\H@old@sect ...e }{\scr@ds@tocentry }\fi \fi }\fi
  \@xsect {#5}
l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.
-

If I change the document class, it works. If I change the page style
to any other (plain, fancy, empty or default), it works. If I switch
to a section*, a part or a subsection, it works.

Anyone experiencing this ? Any idea about the cause ?

Best regards,

Olivier








Koma-script-article bug sample.lyx
Description: application/lyx


weird bug: extra fi or else when using Koma script article, headings page style and numbered sections

2014-05-06 Thread Olivier Ripoll

Hi all,

I've been hitting this issue recently on 2.0.7 and also or 2.1.0:

Even with a very simple document: 1 section and 1 word of text.
If I use the Koma-script article class, with "headings" page style and a 
numbered section, the compilation result in an error about and extra \fi 
or an extra \else



below (between dashes) is the relevant part of the log:
-
! Extra \else.
\H@old@sect ... }{\scr@ds@tocentry }\fi \fi \else
  \def \@svsechd 
{#6{\hskip ...

l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.

! Extra \fi.
\H@old@sect ...e }{\scr@ds@tocentry }\fi \fi }\fi
  \@xsect {#5}
l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.
-

If I change the document class, it works. If I change the page style to 
any other (plain, fancy, empty or default), it works. If I switch to a 
section*, a part or a subsection, it works.


Anyone experiencing this ? Any idea about the cause ?

Best regards,

Olivier



Re: listings package options

2013-09-30 Thread Olivier Ripoll

On 30.09.2013 13:57, Michael Bach wrote:

Dear LyX Users and Developers,

I would like to add the numberbychapter=true option to the listings
package for the code listings. I looked around but did not find a GUI
option for it. I found a related issue [1] where the advice was to file
a feature request to add options to packages already loaded by LyX.

Could someone give me a hint?


For listings, you can access the individual inset settings by right 
clicking on it, the selecting "Settings...".
Then, you can type settings not in the GUI in the "Advanced" tab. Type 
your options in the "More Parameters" text box.


If you want to apply the settings to all listings in the document, which 
is the case here (this option is global), then type the text directly in 
Documents->Settings->Listings


However, that option is true by default (according to listings 
documentation and to my tests), so you should not need to do anything.


If you want to switch the option off, then type
numberbychapter=false
in the above mentioned place. Note that LyX may prevent you to apply the 
change, in such case you can check the "Bypass validation" option (I 
needed to do that for that specific option).


Tested in LyX 2.0.6 on Windows with MikTeX.

Best regards,

Olivier



Best Regards,
Michael Bach


[1] http://www.latex-community.org/forum/viewtopic.php?f=19&t=22991







Re: Double quotes in LyX-Code

2013-01-15 Thread Olivier Ripoll

On 14.01.2013 09:35, Andrew Parsloe wrote:

I notice when I press the double-quote key in a LyX-Code environment
that LyX displays *slanted* double quotes, nor does there seem to be any
shortcut specified to produce straight double quotes. I can understand
this for the usual text environments (Standard, Quote etc.) but for
LyX-Code this seems wrong. LyX-Code is used for things like program
listings, where double quotes are usually understood to be ASCII 34s.
Copying and pasting code fragments containing slanted double quotes from
a LyX-Code environment into a program will generally produce errors
because of this.

I've tripped on this before and have now assigned the shortcut

command-sequence self-insert "

to Ctrl+Shift+' to produce ASCII 34. (On my keyboard Shift+' is the
straight double quote symbol which LyX converts into slanted quotes.) I
think a key combination to produce ASCII 34 should be part of "standard
LyX", specifically for the LyX-Code environment.


One workaround could be to use "listing" instead of LyXCode (Insert -> 
Program Listing), with the option:

upquote=true
(to be typed in the Listing "Settings" window, "Advanced" tab)

Best regards,

O.



Andrew








Re: Lyx 2.0.5 and Adobe Reader XI

2013-01-15 Thread Olivier Ripoll

On 14.01.2013 21:35, caterina stenta wrote:>
> I've downloaded the 2.0.5 Lyx, and the pdf viewer eyes no longer bring
> up the acrobat window. The compiling appears to be successful given that
> the lower lefthand corner reads "successful preview of format: pdf2",
> but there is no associated pdf window that is produced.
>
>  From comments on other forums I have tried to change preferences by
> changiing the  custom viewer from pdfview to AcroR32
>
>
> But that doesn't change anything.
>

Hi,

Assuming your are using Windows, there was a related message from Uwe 
Stöhr on the list ~1 week ago. Here is a copy, with hopefully 
instructions that apply to you:


-
Dear users of LyX on Windows,

you might have noticed that updating the view for a PDF from within LyX 
fails with Adobe Reader XI. The reason is that Adobe Reader always opens 
PDFs with write access so that other programs cannot modify the PDFs. 
LyX therefore comes with a helper program that closes the PDF to allow 
its revision and then reopens the modified PDF. Unfortunately this 
helper program fails with Adobe Reader XI.


I released therefore a new LyX for Windows installer that comes with a 
new solution that additionally fixes

- the long standing bug that updating a PDF view failed for larger
  LyX documents if Adobe Reader or Acrobat was used as PDF viewer
- a bug that viewing PDF files could fail if Acrobat or Adobe Reader was
  not the default PDF viewer of the system while LyX was installed, but
  became later the default PDF viewer

So in case you are affected by the problem with Adobe Reader XI, you 
need to reinstall LyX 2.0.5 using the latest installer you find on 
http://www.lyx.org or on 
http://sourceforge.net/projects/lyxwininstaller/ to fix it.


If you are not affected by this issue, there is no reason to reinstall LyX!

regards Uwe
-

> Thanks so much for any help.
> Caterina

Sincerely,

O.




Re: Lyx 2.0.5 and Adobe Reader XI

2013-01-15 Thread Olivier Ripoll

On 14.01.2013 21:35, caterina stenta wrote:>
> I've downloaded the 2.0.5 Lyx, and the pdf viewer eyes no longer bring
> up the acrobat window. The compiling appears to be successful given that
> the lower lefthand corner reads "successful preview of format: pdf2",
> but there is no associated pdf window that is produced.
>
>  From comments on other forums I have tried to change preferences by
> changiing the  custom viewer from pdfview to AcroR32
>
>
> But that doesn't change anything.
>

Hi,

Assuming your are using Windows, there was a related message from Uwe 
Stöhr on the list ~1 week ago. Here is a copy, with hopefully 
instructions that apply to you:


-
Dear users of LyX on Windows,

you might have noticed that updating the view for a PDF from within LyX 
fails with Adobe Reader XI. The reason is that Adobe Reader always opens 
PDFs with write access so that other programs cannot modify the PDFs. 
LyX therefore comes with a helper program that closes the PDF to allow 
its revision and then reopens the modified PDF. Unfortunately this 
helper program fails with Adobe Reader XI.


I released therefore a new LyX for Windows installer that comes with a 
new solution that additionally fixes

- the long standing bug that updating a PDF view failed for larger
  LyX documents if Adobe Reader or Acrobat was used as PDF viewer
- a bug that viewing PDF files could fail if Acrobat or Adobe Reader was
  not the default PDF viewer of the system while LyX was installed, but
  became later the default PDF viewer

So in case you are affected by the problem with Adobe Reader XI, you 
need to reinstall LyX 2.0.5 using the latest installer you find on 
http://www.lyx.org or on 
http://sourceforge.net/projects/lyxwininstaller/ to fix it.


If you are not affected by this issue, there is no reason to reinstall LyX!

regards Uwe
-

> Thanks so much for any help.
> Caterina

Sincerely,

O.





Re: how to install lyx 2.0.5 if you have full miktex 2.9 installed

2012-12-19 Thread Olivier Ripoll

On 19.12.2012 09:30, Gyorgy SZEIDL wrote:

dear list members and developers,

i would like to make a full installation of lyx 2.0.5
under windows 7 (64bit). your home page does not
offer a possibility for this.


[...]
> if i choose
>
> LyX-2.0.5-Installer-4.exe
>  (~35 MB)
>
> then i am supposed to have an older installation which
> i do not have. (it is also not clear from the description what
> to do with the older installation -- in case you have it.
> if you overwrite it your registry will be full with
> unnecessary things, if you uninstall it first then there is
> no a previous version of lyx on your computer).
>
> a last question: can lyx work together with miktex 2.9 64 bit?

Hi,

If you already have MikTeX installed, just download the small version of 
the installer (not the "bundle").


I am using it and have installed MikTeX / ghostscript independently 
beforehand, hopefully it should work the same for you. And to answer 
your second question, I am using MikTeX 2.9 64 bits (on Windows 7 64 
bits) and it works fine.


So the only difference may be that my MikTeX is 6 months old, the 
installer was "basic-miktex-2.9.4521-x64.exe". Packages are updated 
regularly though. I am not sure what problem you are having ("i am 
supposed to have an older installation"). Perhaps you can tell the 
installer not to care about LaTeX (there's an option for that) and use 
reconfigure (in LyX's "Tools" menu) later.


Best regards,

Olivier




please help.

thank you in advance.

with kind regards
györgy szeidl

-
prof. györgy szeidl
department of mechanics
university of miskolc
3515 miskolc-egyetemváros
hungary
---







Re: [ANNOUNCE] LyX 2.0.5

2012-11-16 Thread Olivier Ripoll

On 12.11.2012 17:26, rgheck wrote:>
> We are pleased to announce the release of LyX 2.0.5. This is the fifth
> maintenance release in the 2.0.x series.
>
> LyX 2.0.5 is the result of on-going efforts to make our stable version
> even more reliable and stable. We have fixed a number of bugs and made
> a number of improvements. These are detailed below. We encourage all
> LyX users to upgrade to this version.
>
[...]

Hi,

I just reported it on the tracker, but although it's not mentioned in 
the release notes, this version fixes bug 8135 for me. So it's even 
better that expected :-)


Many thanks to the devs for the good work, and best regards!

Olivier.





Re: Malayalam display in LyX editor is garbage

2012-10-05 Thread Olivier Ripoll

On 05.10.2012 10:07, Jean-Marc Lasgouttes wrote:

Le 05/10/2012 07:33, കെവി & സിജി a écrit :

Hi friends,

LyX editor displays Malayalam Unicode text with all dotted circles.
Please see the attached screenshot.
https://plus.google.com/photos/117279729717492545904/albums/5795693289466547553?authkey=CPLb-pa6maOG3wE



I am unfortunately unable to see what characters are correct and which
are not, but here is a suggestion: did you try to use another display
font in LyX preferences? The problem may be in the font and not in LyX
itself.


I can confirm his problem:

There are dotted circles superimposed to some letters in the picture he 
sent. These are not normal. I can see these in LyX 2.0.4 on Windows (he 
is using 2.0.2 on Ubuntu) .
First I though it was Qt related, but they are not in TeXworks (which is 
Qt based, using Qt 4.7.2).


I tried several display fonts and these circles are always there 
(Calibri, Cambria, Arial, Arial MS unicode, Lucida Unicode, Linux 
Libertine, Déjà Vu Sans, Déjà Vu Serif).


Best regards,

Olivier.


If the problem persist, please send us a short document with a few
faulty characters only.

JMarc







Re: Toobar customizing

2012-10-01 Thread Olivier Ripoll

On 29.09.2012 18:12, BADI-Hamid wrote:

Hello,

I'd like to cutomize the toolbars by adding some new shortcut items. 
Documentation is still confused about the name of the icon. For example  :
1 - I want to add three items that align the text on left, center and right, i 
put this code
 Item "Left" "paragraph-params-apply \align left"
 Item "Center" "paragraph-params-apply \align center"
 Item "Right" "paragraph-params-apply \align right"
 but i can't understand how to fix an icon for each item, normally icon 
must be named as action_parameter.png, do i name 
paragraph-params-apply_align_left.png ?


The pictures need to have the same name as the actions, modulo some 
character changes (e.g. " " -> "_"). From my experiments, naming them

paragraph-params-apply_backslashalign_left.png
paragraph-params-apply_backslashalign_center.png
paragraph-params-apply_backslashalign_right.png

works fine. You need to put the corresponding PNG in your LyX directory, 
"images" subfolder.


Best regards,

Olivier.



Re: Add buttons to toolbars?

2012-06-06 Thread Olivier Ripoll

On 05.06.2012 23:02, Fabio Sobral wrote:

Hi folks.

The company I work for has always used OpenOffice/LibreOffice to write
the software documentation. Recently I convinced everyone to switch to
TeX with LyX, so I've been working on a layout for us.
Now I'd like to add new buttons on the toolbar to perform simple
operations, like change the font family of the selected text to
typewriter, or insert a listing.
I know I can use keyboard shortcuts for pretty much everything, but we
have some clickers here and they are not comfortable with this solution.


You can customise the toolbars (see the content of the "ui" subfolder in 
LyX's preference folder). For instance, here is the content of my 
"customtoolbars.inc" file: one entry adds a "Bold" buttom, the other one 
a horizontall fill.


ToolbarSet

Toolbar "custom" "Custom"
Item "Horizontal fill" "space-insert hfill"
Item "Bold" "font-bold"
End

End

Check the wiki for more details:
http://wiki.lyx.org/LyX/UserInterface

Esp. the old stuff at the end for LyX 1.4 and 1.3 is interesting.

Best regards,

Olivier




Thanks in advance,

Fabio.





Re: Scrolling Slowness [Re: keyboard Scrolling Anomaly]

2012-05-22 Thread Olivier Ripoll

On 20.05.2012 11:14, Rashif Ray Rahman wrote:


So, I finally managed to track down a peculiarity.

On Windows (7), there is no scrolling issue with the keyboard, or the
mouse scroll wheel (or touchpad vertical scroll). However, there is
lag if I use the scroll bar (by dragging with the mouse).

[...]

Hi,

That looks a lot like what I'm seeing since 2.0.2.

www.lyx.org/trac/ticket/8135

Could you try LyX 2.0.1 on Windows and see if you smooth scrolling by 
dragging the scrollbar is working with it ?


Thanks,

Olivier



Re: Slow scrolling

2012-03-22 Thread Olivier Ripoll

On 21.03.2012 16:56, Marc de Bruijn wrote:

Jerry  qwest.net>  writes:


On Jan 3, 2012, at 8:31 AM, Pavel Sanda wrote:


Olivier Ripoll wrote:

I reported the very same sysmptoms a few weeks ago but until now it seems I
was the only person to see it, although I could see it on 2 machines
(different OS versions of windows, different CPU different graphic cards).
So I am somehow glad it's happening to you (sorry).





You're probably missing some libraries, are you getting any errors when running
./configure?

--
MdB


Hi,

I'm using binaries and tried both Uwe and Joost versions with exactly 
same result.


Best regards,

Olivier




Re: Lyx formating

2012-03-08 Thread Olivier Ripoll

On 07.03.2012 16:35, Stephan Witt wrote:

Am 07.03.2012 um 15:50 schrieb Indrek Tuula:


Hi Again,

I totally agreed aspell is better than hunspell. Especially if you working with 
some small language.


Why is aspell better than hunspell?


At least I can answer from my point of view. It just boils down to 1 
difference: aspell had no issue for me. hunspell does not allow me to 
use English and allow coumpound words as aspell did(*). When I opened my 
documents, I had to either add plenty of words to the dictionary or 
change them to 2 words. That was a lot of work.


But I can understand that some people have seen improvements with 
hunspell versus aspell.


Best regards,

Olivier


[...]


Stephan


(*) I did spend a lot of time googling for a solution, just to find I 
was not the only one hit.




Re: Header line

2012-03-06 Thread Olivier Ripoll

On 06.03.2012 02:51, Louise Wilkinson wrote:

Hi,

I'm having trouble with Lyx adding a line that I don't want in the
header of every page. Any help on how to remove this line would be most
appreciated.

Thanks

Louise



Hi,

I think you can remove the headers in the documents settings, "Page 
Layout" section, by setting "Headings style" to "empty".


Best regards,

O.



Re: LyX 2.0.3 Released

2012-03-06 Thread Olivier Ripoll

On 04.03.2012 04:11, Richard Heck wrote:


Public release of LyX version 2.0.3
===

We are pleased to announce the release of LyX 2.0.3. This is the third
maintenance release in the 2.0.x series.


[...]

Hi,

Just FYI, the slow/jaggy scrolling regression from 2.0.1 under Windows 
is still there.


Best regards,

Olivier

PS: not a big problem, I'll stick with 2.0.1, I've not hit any bug with 
it yet.




Re: Lyx formating

2012-03-06 Thread Olivier Ripoll

On 04.03.2012 23:48, Indrek Tuula wrote:

Hi Again,

I just press Send button instead of Save Now. I updating my post.

List of open issues what i have:

2. How to define margin for page number from bottom (dimension from
bottom between paper size and page number). I have to define it as 1,5 cm


You can change the margins in
In Documents->Settings>Page Margins


3. Vertical spacing of Section defined in preamble not working on some
reason. I is defined as 6cm but on the paper it is 3cm.


\usepackage[compact]{titlesec}

%\titleformat{\section}{\normalfont\bfseries}{\thesection}{1em}{}

\titlespacing*{\section}{0pt}{6cm}{30pt}

\titlespacing*{\subsection}{0pt}{30pt}{30pt}

\titlespacing*{\subsubsection}{0pt}{30pt}{30pt}

*
*


4. How to got aspell working under Windows 7.


Unfortunately, aspell is no more supported on recent LyX on Windows, 
IIRC. You'll have to use Hunspell instead (not as good in my experience).


Best regards,

Olivier.



Re: Why do YOU love LyX?

2012-02-20 Thread Olivier Ripoll

On 18.02.2012 12:28, Russell D Brunelle wrote:

If you have a good idea, then there's something special (I'm almost
tempted to say "sacred") about committing it to paper.

The emergence of abstract thinking was an early inflection point in the
development of our species. The invention of written language was
another. The invention of the printing press was yet another.

More recently, LaTeX made professional typesetting standards available
for free, and even more recently LyX made using those standards as easy
as using anything else.

I'm not saying that LyX is as significant as the printing press, only
that there's an unbroken stream of progress which it's a proud part of,
and for that reason I feel proud about using it.

So, why do YOU love LyX?

Russell


Hi,

1- Stability and reliability: It crashed few times on me (once in 2001, 
but it was X, not LyX itself, that had crashed, and some times with some 
1.6 or 1.5 alphas around 2006) but I never lost anything IIRC.


2- Focus on content: In a world where most think that appearance is more 
important that content, a software allowing you to concentrate on the 
content is precious.


3- Mix of WYSIWIG and WYSIWYM: you benefit from the best of both worlds, 
and get little of their drawbacks.


4- Community: It's by far the best developer (& user) community I've 
seen. There can be discussions on some features or implementations, but 
there are usually much more civil than in other soft. Probably related 
to the philosophy of point 2 above.


BR,

Olivier



Re: Slow scrolling

2012-01-06 Thread Olivier Ripoll

On 05.01.2012 19:14, André Pönitz wrote:

On Thu, Jan 05, 2012 at 09:28:58AM +0100, Olivier Ripoll wrote:

To check if this is the culprit one may add the following line to your
preferences file:
\force_paint_single_char false
On a Mac this is the file "~/Library/Application
Support/LyX-2.0/preferences".
(Broken cursor placement for long lines should be one consequence.)


Will try this when I have some time.


I did not see significant changes with or without this line.


Out of curiosity: Can you try the same with "\use_pixmap_cache false" ?

Andre'



Hi,

I think I should refine my previous statement. I mean that we are 
entering into the "subjective" changes:


When I drag the scrollbar down on the "introduction" manual
- 2.0.1 is full scrooling smoothly (*), both in the text scrolling and 
the toolbar scrolling.
- 2.0.2 "pristine" jumps in 2 to 3 steps (text and scrollbar): top of 
the document, sometimes an intermediate step, and bottom of the document.

* Adding "\use_pixmap_cache" and setting to false or true has no effect
	* Adding " \force_paint_single_char", set to false has a slight effect, 
like there are now 5-6 steps and there are sometimes 1-2 areas where it 
scrolls smoothly on a few lines. So I'd say subjectively this setting 
removes 10%-20% of the regression.


Note that the issue is still present if scrolling up back to the top 
then down again (IOW it's not a 1 time effect)


For the sake of completness, I have to say I now notice LyX taking 50% 
CPU in all versions while scrolling fast, with I did not remember seeing 
with 2.0.1 before (perhaps I was using another document and I was 
scrolling on smaller areas ...).


Best regards,

Olivier

(*) If you look closely, the scrollbar sometimes may jump a 2-pixel step 
with 2.0.1, but you really don't perceive that as a "jump". The 2.0.2 
jumps can be like a 1 second freeze of the scroolbar and text (the mouse 
cursor moving smoothly), then jumps several hundreds pixels down.




Re: Which fonts to match LyX output in other applications?

2012-01-05 Thread Olivier Ripoll

On 05.01.2012 16:53, Matthias Hunstig wrote:

Hello,

I need to create some figures for inclusion in a LyX document, using different 
Windows applications (mainly Corel Draw and MATLAB). I want the font in these 
figures to be as close as possible to the fonts in my main document. How can I 
find out which fonts I should use to match
a) the normal text font
b) the math mode font (for both latin and greek letters)
and where do I find the appropriote font files?

The current document in question uses book (koma-script) with all font settings on 
"standard".

I know there is PSfrag and I have experimented with it, but I do not really 
want to use it. I would prefer a simpler (and less perfectly looking) solution.

Thanks

Matthias


Hi,

I think the default are "Computer Modern" or "Latin Modern", and 
according to wikipedia, you can download ttf versions at

http://www.ctan.org/tex-archive/fonts/cm/ps-type1/bakoma/ttf/

The file names there remind me of what I used 10 years ago to solve the 
same problem.


Best regards,

Olivier



Re: Slow scrolling

2012-01-05 Thread Olivier Ripoll

On 05.01.2012 10:13, Rainer M Krug wrote:

-BEGIN PGP SIGNED MESSAGE-

[...]





If the issue I reported is the same (it seems the definition of
"slow scrolling" can cover different behaviours), it happens also
on Windows 7.

BR,

O.


Interesting. So now we have reports of slow scrolling problems on
multiple versions of OS X and multiple versions of Windows, where
the problem got worse with 2.0.2 relative to 2.0.1.

I don't think we have any reports of problems on Linux yet. Don't
some versions of Linux use Qt as their native GUI engine? If so,
maybe somehow there is less chance to mess things up since it would
then be the native engine for those systems.


Slow scrolling and skipping are subjective - maybe the problem does
exist under Linux, b ut the Linux users are more tolerant :-) (I use
Linux...)


Hi,

"Somehow" subjective: skipping versus no skipping is objective. :-)

Also, high CPU usage (seen by Jerry and I) is objective, as you can see 
it in the task manager, measured by the OS. Not to mention the fan 
speeding up.


Best regards,

O.



But seriously: to really evaluate this, one would possibly need screen
recordings of the actual scrolling and one person can evaluate them.
Or installation of the OS in a virtual machine, and then checking (but
this would not be representative for all systems).

So I guess a "howto" to record the actual scrolling on screen and a
website where this can be posted, should help.

Cheers,

Rainer





Re: Qt: was Slow scrolling

2012-01-05 Thread Olivier Ripoll

On 05.01.2012 05:16, Jerry wrote:

Do the developers monitor this list? Or does someone need to file a bug report 
for the slow scrolling problem?

Jerry


Yes, they are looking at it. If you look at the thread, you'll see 
several names of LyX developers (not exhautively: Pavel Sanda, Richard 
Heck, Jean-Marc Lasgouttes, André Pönitz)


As for the bug report, I ave the impression there are 2 bugs reported in 
the thread under the "slow scrolling" umbrella:


- high CPU usage and jumpy scrolling (versus smooth), as you reported in 
your message, which is what I observe also. Seems unrealetd to the OS, 
as you are on OS X, I'm on Windows 7. This bug may also be multiple 
ones, as you mention 2.0.1 also has issues while it is flawless for me 
(I do not think it is Qt-version related)


- time needed to reach the bottom of a document, which seems to be 
discussed in the context of OS X only. This may be Qt-version related.


I think Pavel Sanda listed also one recent change related to X11 (Linux 
and cousins).


Best regards,

O.



Re: Slow scrolling

2012-01-05 Thread Olivier Ripoll

On 04.01.2012 10:03, Olivier Ripoll wrote:

On 03.01.2012 21:36, Stephan Witt wrote:

Am 03.01.2012 um 17:15 schrieb Olivier Ripoll:

[...]


Hi,

I'm almost sure it depends on Qt-Version.


IIRC, I checked the file properties of QtCore4 and QtGUI4 dlls and both
files were version 4.7.4.0 in LyX 2.0.1 and 2.0.2.
But perhaps my memories are confused there.


I double-checked, same Qt version is used on the 2.0.1 and 2.0.2 windows 
binaries.


[...]


To check if this is the culprit one may add the following line to your
preferences file:
\force_paint_single_char false
On a Mac this is the file "~/Library/Application
Support/LyX-2.0/preferences".
(Broken cursor placement for long lines should be one consequence.)


Will try this when I have some time.


I did not see significant changes with or without this line.

[...]

Best regards,

O.



Re: Slow scrolling

2012-01-05 Thread Olivier Ripoll

On 04.01.2012 22:39, Jerry wrote:


On Jan 4, 2012, at 8:46 AM, James Sutherland wrote:

[...]


FWIW, I have been noticing this issue on my Mac as well with LyX 2.0.2
(binary installation) and Mac OSX 10.7.2. It has occurred for me with
small documents as well as large ones. Mouse-scrolling lags substantially.

I just tried it on another Mac system running OSX 10.6.8 and LyX
2.0.0. No problems there. I then updated to LyX 2.0.2 on 10.6.8 and
there were no problems with that either.

So it appears that this issue is unique to LyX on OSX 10.7.x?


No—I'm on OS X 10.6.8.
Jerry


James




If the issue I reported is the same (it seems the definition of "slow 
scrolling" can cover different behaviours), it happens also on Windows 7.


BR,

O.



Re: Slow scrolling

2012-01-04 Thread Olivier Ripoll

On 03.01.2012 21:36, Stephan Witt wrote:

Am 03.01.2012 um 17:15 schrieb Olivier Ripoll:

[...]


Hi,

I'm almost sure it depends on Qt-Version.


IIRC, I checked the file properties of QtCore4 and QtGUI4 dlls and both 
files were version 4.7.4.0 in LyX 2.0.1 and 2.0.2.

But perhaps my memories are confused there.



With LyX on Mac with Qt4 we have two fundamental problems:
1. Qt4 with Carbon crashes when interacting with some desktop tools like Divvy 
or SizeUp
http://www.lyx.org/trac/ticket/7365 and
http://www.lyx.org/trac/ticket/7519

2. Qt4 with Cocoa is painting text with kerning hints
This doesn't match with the drawing engine of LyX and LyX's cursor movement.
See the discussion here: 
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg169152.html

I've build 2.0.2 on Mac with Qt4.7 where Cocoa is the default to avoid (1).
The drawback is we have to deal with (2) - the current solution is to draw text 
just char by char,
the text fragments are only one character long.

To check if this is the culprit one may add the following line to your 
preferences file:
\force_paint_single_char false
On a Mac this is the file "~/Library/Application Support/LyX-2.0/preferences".
(Broken cursor placement for long lines should be one consequence.)


Will try this when I have some time.

Best regards,

Olivier



Stephan





Re: Slow scrolling

2012-01-03 Thread Olivier Ripoll

On 03.01.2012 16:31, Pavel Sanda wrote:

Olivier Ripoll wrote:

I reported the very same sysmptoms a few weeks ago but until now it seems I
was the only person to see it, although I could see it on 2 machines
(different OS versions of windows, different CPU different graphic cards).
So I am somehow glad it's happening to you (sorry).


ticket number? we have similar reports in trac, but very difficult to reproduce
in other systems.

are you able to compile lyx on your own? there were done some fixes for slowness
in recent trunk (targeted on X11 but it may help here as well, cf
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg171540.html ).

pavel



Hi,

Check my 2 messages in the "LyX 2.0.2 Released" thread, one dated 
december 5th (user mailing lists, perhaps devel too) and the other one 
dated december 16th (devel ML), which contains more details:


http://www.mail-archive.com/lyx-users@lists.lyx.org/msg90218.html
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg172462.html

Best regards,

Olivier



Re: Slow scrolling

2012-01-03 Thread Olivier Ripoll

On 03.01.2012 04:12, Jerry wrote:

I'm evaluating LyX for a major project and am mightily impressed.

However, there is one problem that stands out: Scrolling the main LyX window is 
excruciatingly slow.
> I'm using LyX 2.0.2 and OS X 10.6.8. It doesn't seem to matter how I 
scroll--two-finger swipe
> on MacBook Pro trackpad or using the thumb bar or clicking on the 
normal scrolling arrows.
> When scrolling rather fast or using the two-finger "ballistic 
scrolling", there are large jumps
> between screen updates; sometimes the jump is more than an entire 
screenful so there is little hope
> of reliably spotting things as they go by. While scrolling, processor 
usage goes to 100%


The problem seems to be (just guessing here) that text rendering is slowing 
things down, as
> if screen drawing is not being buffered. If I make the window 
narrower, things seem to improve
> a little, also if there is a part of the document that has less text 
because of graphics or white
> space. Also, making the text larger seems to help--again, pointing to 
problems rendering text


Enabling "pixmap cache" helps a little but it makes the on-screen fonts hard to 
read because

> it does away with sub-pixel antialiasing, which I hate.


I'm actually kind of distressed about this because of the prospect of spending 
months
> writing in LyX, and I'm surprised that this problem exists as 
prominently as it does.


Is there a work-around? I've tried a few different fonts but that doesn't seem 
to help.

Thanks,
Jerry


Hi Jerry,

I reported the very same sysmptoms a few weeks ago but until now it 
seems I was the only person to see it, although I could see it on 2 
machines (different OS versions of windows, different CPU different 
graphic cards). So I am somehow glad it's happening to you (sorry).


I did not have that problem with LyX 2.0.1, so I would advise to try 
that version instead and report if it fixes the issue for you too.


Best regards,

Olivier



Re: LyX 2.0.2 Released

2011-12-05 Thread Olivier Ripoll

On 30.11.2011 23:05, Richard Heck wrote:


Public release of LyX version 2.0.2
===

We are pleased to announce the release of LyX 2.0.2. This is the second
maintenance release in the 2.0.x series.

LyX 2.0.2 is the result of on-going efforts to make our stable version
even more reliable and stable. We have fixed a number of bugs and made
a number of improvements. These are detailed below. We encourage all
LyX users to upgrade to this version.

LyX is a document processor that encourages an approach to writing based
on the structure of your documents and not simply their appearance. It is
released under a Free and Open Source Software license.

You can download LyX 2.0.2 from http://www.lyx.org/Download/.

If you think you found a bug in LyX 2.0.2, either e-mail the LyX
developers' mailing list (lyx-devel  lists.lyx.org), or open a bug
report at http://www.lyx.org/trac/wiki/BugTrackerHome.

If you have trouble using LyX or have a question, consult the
documentation that comes with LyX and the LyX wiki, which lives at
http://wiki.lyx.org/. If you can't find the answer there, e-mail the LyX
users' list (lyx-users at lists.lyx.org).

We hope you enjoy using LyX 2.0.2.

[...]

On windows7, LyX 2.0.2's scrolling is somehow broken to me. LyX.exe 
takes 50% CPU (my machine is dual-core, so 50% CPU is max for many 
programs), triggers CPU fan to max, and is very laggy (non smooth).


2.0.1, with both installers (official and Uwe's) has no such issue and 
scrolls smoothly.


Even small documents trigger this, e.g. the "Introduction" to LyX.

OS: Win7 32 bits, professional.

Best regards,

Olivier





Re: option for acronyms, figures and tables color in the pdf

2011-11-28 Thread Olivier Ripoll

On 28.11.2011 11:31, Gian Maria Niccolò Benucci wrote:

Hi all,

There is an option to change the color of  acronyms, Tables and Figures
throughout the text of the document?
Those coloured words should represent a problem during the printing of
the thesis, How can I change their color into black?
Thanks for helping,

--
Gian


I am assuming you are referring to the references (links) in the pdf.

Are you using hyperref ? (Document Settings -> PDF Properties). If so, 
then uncheck the "Color links" checkbox in the "Hyperlinks" tab. See 
section 6.9 of LyX' UserGuide.


Best regards,

Olivier.



Re: Personal Dictionary File Location in Windows 7?

2011-11-16 Thread Olivier Ripoll

On 16.11.2011 00:05, Jose Carlos Rodríguez Rodríguez wrote:

Hello!. My first message!

I work with documents with Lyx 2.0.1 in Windows 7 in Spanish.  It works
very well. :). Thanks! It is fantastic. xD

  But could you tell me where is the personal dictionary (default
spellchecker engine - hunspell)? :/  What is the file name? Is it
possible modify it manually?  Thank you! :)


It is in the LyX user folder: Got to your personal directory, something like
C:\Users\yourlogin

then to the hidden "AppData" subfolder (if your hidden folders are not 
visible, you can type its name in the location bar, I don't know the 
official name), then "Roaming" folder: that where applications store the 
user settings.

Finally, open the "lyx20" folder.

I use Bristish english, the file is called "pwl_british.dict" for me.

Best regards,

Olivier.



JC


Sorry for my poor English!





Re: How to change numeration size and upper case

2011-10-31 Thread Olivier Ripoll

On 30.10.2011 23:00, Kenedy Torcatt wrote:

Hello, I have LyX 2.0, using urw-arial, calling the packege with this
code in the preamble:

\usepackage[T1]{fontenc}
\usepackage[scaled]{uarial}
\renewcommand*\familydefault{\sfdefault}

I realized that roman numbers are so tiny and lower case. I need them
upper case a bit bigger.
Arabic numbers are fine.

How could I achieve that?

P.S:_ for roman numbers I used this in the preamble:

\renewcommand{\thepage}{\roman{page}}
\setcounter{page}{1}


I think "roman" means lowercase while "Roman" means uppercase. And 
"arabic" for arabic numbers (*)


Best regards,

Olivier



Thankyou!

Kenedy



(*) Indian numbers in fact ;-)



Re: Can I Install a New TeX font in LyX?

2011-10-31 Thread Olivier Ripoll

On 29.10.2011 22:33, Kenedy Torcatt wrote:

Hello Guys. I' a windows user and using LyX 2.0.

I need to use Arial font for my documents, I tried deactivating TeX
Fonts and choose Arial from my windows installed fonts, after that I
tried to compile with Xetex but I'm just getting errors!


Probably one on the XeteX/MikTeX packages is broken. Hopefully, it may 
be fixed soon.



I know that Helvetiva is almost an Arial clone and I can select
Helvetica from TeX fonts from sans serif 's drop down menu, but I did
a research and found that urw-arial
located here: http://www.ctan.org/tex-archive/fonts/urw/arial/  is an
Arial font pack for use with LaTeX. I need to know how to install it
and show it in the LyX dropdown menu for sans serif 's fonts the same
way as selecting Helvetica.


I have the same limitation as you have. Please note that the URW A030 
Arial is not really Arial. The differences between Arial and Helvetica 
are described in

http://ilovetypography.com/2007/10/06/arial-versus-helvetica/
http://en.wikipedia.org/wiki/Helvetica
http://www.ms-studio.com/articlesarialsid.html

When using the URW Arial, the G and R are the Arial ones, but the C, t, 
a, 1 are the Helvetica ones. You can actually even see that for a, t and 
1 on the sample text on page:

http://www.tug.dk/FontCatalogue/arial/
which also states that "The font that is actually provided is URW A030".


I could notice that in latex code appear \usepackage{helvet} when I
select it in the drop down menu, so I think is possible to do the same
thing for the urw-arial. After all it will be just adding another font
to LyX.


If you nonetheless want to use this fake arial font, once you have it 
installed through MikTeX (which I think you have already), all you need 
to do is to add


\usepackage[scaled]{uarial}

to the preamble (in Document -> Settings... -> LaTeX Preamble).



I need to know how to do that... A tutorial or something please.

Please help!
Thankyou in advance...


Best regards,

Olivier

PS: off-topic. You wrote "Helvetiva is almost an Arial clone", but it's 
more the opposite.




Kenedy






Re: Anyone having luck with playing movies and sounds in Beamer?

2011-10-28 Thread Olivier Ripoll

On 28.10.2011 17:56, Jürgen Spitzmüller wrote:

stefano franchi wrote:

I am trying to insert  short clips and sound files in a Beamer
presentation with no luck at all.
The file compiles without any issue, but nothing corresponding to the
inserted files/clips  appears in the pdf file.
Is anyone having luck with this issue? The Beamer manual seems to
imply that movie/sound support in pdf is kind of iffy, as it depends
on pdf readers and perhaps on platform. I am on Linux, and have tried
both Acroread and Okular, with similar results. Any hint greatly
welcome.


I think none of the existing PDF readers on Linux can play embedded movies.
Particularly, Adobe Reader for Linux does not provide a suitable media player,
whereas such files usually work on Windows (and Mac).

Jürgen


I guess adobe reader fro windows can be run on wine, can't it?

To second Jürgen's comment, using the movie15 package, I can put 3D 
models in pdf documents (using u3d files and a little bit of evil red 
text). However, only Adobe Reader on Windows can read them, while 
sumatrapdf (based on mupdf) or TexWorks (based on poppler) can't, even 
on Windows. Most Linux readers use poppler, so I'df expect them to fail.


Best regards,

O.



Re: Capital letter

2011-10-20 Thread Olivier Ripoll

On 20.10.2011 11:20, Andrea Montinaro wrote:

Hi everyone,
my question is: How can i get capital letter automatically after every
dot? and more: How can I have the right space afet comma or bracket etc.?
I’m using the lastest LYX version in windows.
Thank you very much who can help me and solve these problem.


Hi,

Perhaps I misunderstand wht you mean by "right space".
If you want to ensure you have 1 space after each comma:
1- put the cursor at the top of the document,
2- use Edit->Find & Replace (Quick)
in Find: type "," (without the quotes)
in Replace with, type ", "  (without the quotes)
click Replace All
3- put the cursor at the top of the document,
4- use Edit->Find & Replace (Quick)
in Find: type "  " (two spaces, without the quotes)
in Replace with, type " "  (one space, without the quotes)
click Replace All

There's probably a better way using the advanced find & replace and 
regexp, but I'm no regexp expert.


Best regards,

Olivier



Re: Need LyX 1.6.10 Configuration file for Windows 32 bit

2011-10-20 Thread Olivier Ripoll

On 19.10.2011 14:09, Keith Roberts wrote:

Greetings all.

I have trashed my Lyx Converter preferences, and cannot View DVI or
Postscript files now.

Does anyone have a working LyX 1.6.10 windows config file I can use
please? Or is there some way to restore the preferences to the originsl
default values please?


On Windows, the configuration folder is in the hidden "AppData" folder 
in your home folder (may be different on Vista and XP). I'm pretty sure 
that if you rename the "lyx" folder there to something else, LyX will 
create a new preference folder with default values the new time you 
start it. You can then compare both and take the best on the two.


Best regards,

Olivier



Kind Regards,

Keith Roberts

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---






Re: Arial fonts LyX Windows

2011-10-19 Thread Olivier Ripoll

On 19.10.2011 07:31, Kenedy Torcatt wrote:

Hello, first of all, I'm a windows user. I've installed LyX 2.0 recently
and I saw that now we can use the windows fonts selecting them in a drop
down menu after tick No tex typography.
My problem is that when i do that I always get an LyX error saying:

  \char_make_active:n

{"20}%

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.


I don't know why is this happening... please help me, I just need Arial
font and that's it!


Hi,

I've seen this recently on 2.0.1 and there was someone with that issue 
recently on the list (thread "problem with xetex-option", end of September).
I think that it's due to some recent xetex breakage (the l3* packages, 
IIRC), which may be fixed by now (I do not have the bug any more). If 
you are using miktex, you may try to update the packages (try to update 
the l3* packages only at first), then reconfigure LyX.


This seems confirmed by some googling:
http://cfc.kizzx2.com/index.php/miktex-xetex-char_make_activen-20-problem-and-the-solution/

Best regards,

Olivier




Thankyou  in advance...







"language" settings inconsistent with the user's guide

2011-10-12 Thread Olivier Ripoll

Hi,

I'm using Uwe's binary (LyX 2.0.1 on Win7 64bits, Miktex 2.9), so 
perhaps it's the cause of this inconsistency.


About the Document-> Settings-> Language, section B9 of the User's guide 
states:

---
Default is the package babel.

Automatic selects the most suitable language package for the view/export 
format you will use. For example for the XeTeX formats the package 
polyglossia will be used instead of babel.

---

However, when I use Default or Automatic, generating the pdf with XeTeX 
result in failures, with an error message mentionning polyglossia(*).


If I switch to "Always Babel", compilation works fine. So I have the 
impression that either the documentation is wrong or that LyX does not 
do as expected.


Best regards,

Olivier.

(*) It seems XeTeX and polyglossia have had issues in the past weeks, 
but may have been fixed very recently. But that's besides the point.




Re: OT: checked box symbol

2011-09-19 Thread Olivier Ripoll

On 19.09.2011 08:10, Liviu Andronic wrote:

Hello
This is slightly off topic. I'm looking for a (decent) LaTeX symbol
that would display a box that contains a check mark. I looked into the
'The Comprehensive LaTeX Symbol List' [1], but it only suggests
\CheckedBox in 'wasysym' and \Checkedbox in 'marvosym', both sloppy
executions (to my taste). I could use XeTeX and insert the Unicode
U+2611 ☑, which looks nice, but I'm not sure I'll be able to compile
my document in a Windows environment.


Hi,

Using the "normal" Palatino font, I can get the checkboxes (3 states of 
them) using the insert->special characters->symbols... (in the 
"miscellaneous symbols" category).


When using xetex/luatex (documents-> settings-> fonts), and choosing 
"Palatina Lynotype" font, they are replaced by a spiral in the pdf. 
Probably they are not available in that font, because they work fine 
with Deja Vu Sans.


Best regards.

Olivier.

(LyX 2.0.1, MikTeX 2.9 on windows 7)



Would you have some other suggestions? Regards
Liviu

[1] http://mirror.ctan.org/info/symbols/comprehensive/symbols-a4.pdf








Re: Completely removing LyX and MikTeX from Windows XP [was RE: pdflatex never finishes (LyX 2.0.1)]

2011-09-15 Thread Olivier Ripoll

On 15.09.2011 09:31, Matthias Hunstig wrote:

Hi,


It would be a good idea to export a file to LaTeX (pdflatex), then run
pdflatex against it in a DOS window.  That might help pin down whether there
are problems with your LaTeX (MiKTeX?) distribution.


I tried exporting three files and see three different behaviours. Looks like my 
whole installation is even more broken than I thought. I think I will wipe all 
LyX and MikTeX from disk and try re-installing afterwards.

If there anything I should delete after uninstalling the software from the Windows XP 
Control Panel to end up with a "clean" system?

Matthias



Assuming windows 7, you may want to delete (or simply rename/move it) 
the LyX preferences folder ("lyx20"), in the AppData\Roaming folder in 
you home directory (the AppData folder is hidden).


that would be
C:\Users\your_login\AppData\Roaming\lyx20
on windows 7, and something like (from memory)
C:\Documents and Settings\your_login\AppData\Roaming\lyx20
on XP.

Also, some apps can help checking for leftovers ("ccleaner" is such an 
app) when uninstalling a soft (they are safe to use to analyse the 
left-overs, you may want to be careful if you use them for cleaning)


Sincerely,

Olivier



Re: Unable to install MikTex with Lyx 2.0

2011-09-14 Thread Olivier Ripoll

On 13.09.2011 16:26, Christian Wilhelmsen wrote:

The LaTeX log under "Document" is blanked out.

Attaching the .lyx and .tex


works for me with Windows 7 prof. 64 bits, using MikTeX 2.9 (32 bits) + 
Lyx 2.0.1 (unofficial).


However, I installed MikTeX manually before installing LyX. Perhaps you 
should try that way.


Best regards,

Olivier




2011/9/13 Liviu Andronic mailto:landronim...@gmail.com>>

On Tue, Sep 13, 2011 at 4:01 PM, Christian Wilhelmsen
mailto:christian.wilhelmse...@gmail.com>> wrote:
 > How can I generate a log-file?
 >
 > This is an exported LaTeX-file from LyX (if you need it)
 >
The guys on this list would usually prefer the *.lyx file. To access
the log, try to compile the document then go to teh menu item Document
 > LaTeX log.

Liviu






Re: [ANNOUNCE] LyX 2.0.1 Released (win installers)

2011-09-07 Thread Olivier Ripoll

On 06.09.2011 21:07, Pavel Sanda wrote:

Olivier Ripoll wrote:

I installed 2.0.1 yesterday on Windows7... Not the official, and not
announced yet, but a from a very reliable&  trustable source. You just need
to know where to find it ;-)


If you mean binary produced by Uwe, its not on our ftp because its not 
considered
reliable contrary to what you say. OTOH it might the only one available for
the next weeks...


Note that I did not write that the binary produced by Uwe was reliable 
(I'd need days of testing to know). I wrote that Uwe, the source of the 
binary, is reliable. And I'm pretty sure we do agree on that :-)


I have always found both "branches" very similar and have used many Uwe 
binaries since 1.6 alpha with very little issues, if any. As with the 
official binaries.


Best regards,

Olivier




Currently we are not organized enough to provide all binaries
at the time of the announcement. As with any volunteer project
the only remedy is that you either join our project to fix it
or patiently wait when the windows branch of developers solve
the situation.

Cheers,
Pavel










Re: [ANNOUNCE] LyX 2.0.1 Released (win installers)

2011-09-06 Thread Olivier Ripoll

On 06.09.2011 13:04, Pavel Sanda wrote:

Firas Ghanim wrote:


  Thanks, but when I installed it on my Windows 7 machine, which already has
  version 2.0, nothing happened! It is still the old version 2.0! Is this an
  installer bug, or shall I install it in a different way?


Windows installer is not yet there, so no bug.
The obvious question when it will be available -- nobody knows ;)


I installed 2.0.1 yesterday on Windows7... Not the official, and not 
announced yet, but a from a very reliable & trustable source. You just 
need to know where to find it ;-)


Best regards,

O.

PS: congratulations & thanks to the devs for this release.



Currently we are not organized enough to provide all binaries
at the time of the announcement. As with any volunteer project
the only remedy is that you either join our project to fix it
or patiently wait when the windows branch of developers solve
the situation.

Cheers,
Pavel






Re: [announce] LyXWinInstaller for LyX 1.6.7

2010-07-21 Thread Olivier Ripoll

Uwe Stöhr wrote:

Hello LyXers,

the alternative Windows installer for LyX 1.6.7 is now available.


[...]


Installer Changelog:
-
Version 4.25
- LyX 1.6.7
- updated to eLyXer 0.99
- updated to ImageMagick 6.6.3-0
- updated Qt libraries to version 4.6.3
-

happy LyXing
Uwe



Hi Uwe,

Thanks! It works fine here (although I have not used it intensively 
yet). Just a quick question though: The 4.25 installer is dated July 
11th, while 1.6.7 was announced on July 15th. Is it the same, or am I 
using a wrong version ?


Best regards,

Olivier



Re: Lyx 1.6.6.1 on Windows - Help broken

2010-06-25 Thread Olivier Ripoll

buchs wrote:

I have just installed 1.6.6.1 on Windows XP.  I found that the Help menu
options are mostly broken.  Nothing happens when I select Introduction,
Tutorial, etc. except on the bottom status line it displays the command.  I
did a full install including MikTeX.  Is this a familiar problem or just me? 
Any suggestions?


Perhaps you could try another binary version of the installer. There are 
2 windows installer branches IIRC, the normal and the alternative. This 
last one is done by Uwe Stöhr and proposes 3 different installers 
(update, small and full). I use 1.6.6.1 on XP, installed with 
"LyX-1661-4-24-AltInstaller-Small.exe", and documentation is fine.


Best regards,

Olivier.

PS: which miktex ?



Re: Spell check on 1.6.6.1

2010-06-17 Thread Olivier Ripoll

Jürgen Spitzmüller wrote:

Daniel Klein wrote:

the lyx spell checker does not seem to work properly on lyx 1.6.6.1. It
skips words that are obviously typed in the wrong way. "distroy"
("destroy" would be right) is not found in 1.6.6.1. However, lyx 1.6.2
which I have as a parallel installation finds the error. "distroy" is
neither part of my personal English dictionary nor of the Aspell
dictionary. Lyx 1.6.6 also skips other words that 1.6.2 finds. What is
wrong here?


Can you send an example file? LyX 1.6.6.1 was supposed to fix such problems 
(that were introduced in LyX 1.6.6).


Jürgen



Hi,

Kind of related:

Today, I have noticed that when spell-checking is done on a file without 
spelling mistakes, the window with word count will pop-up twice, the 
second time with the double of words (e.g. if the text has 158 words, 
the first pop-up will say 158 words checked, the second 316). This does 
not happen the first time the spell checker is used though, but on any 
further calls. And it does not happen if there was a spelling mistake 
(corrected or ignored).


Not a big problem though.

Best regards,

Olivier.

PS: 1.6.6.1 Win XP (alternative version).



Re: Problems with lines in EPS Figure

2010-06-15 Thread Olivier Ripoll

Olivier Ripoll wrote:

Tim Wescott wrote:
This drawing looks fine when I look at it using Eye of Gnome document 
viewer.  But when I incorporate it into my LyX document as a figure, 
the line weights look off.  When I make a pdf from that document, some 
of the lines are so light they're almost invisible, and some are 
normal weight.  It's definitely not up to snuff for sending to a 
customer!


Am I screwed?  Do I just need to export the thing as a bitmap?  or is 
there some setting I can try to make it render better?


If you cannot fix it from your drawing software, here is a quick and 
dirty fix:


There are height occurrences of the keyword "lw" in your file. Half are 
of the type "0 lw", the others are of type "1 lw". "lw" is defined in 
this eps dictionary as a shortcut for "setlinewidth" postscript command. 
If you change them one at a time "100 lw", you can see the following:


- line 60 is the 3 top boxes + 2 circles,
- line 272 if for the Hall event arrow,
- line 274 is the middle box + the disk index interrupter,
- line 435 is the disk index event arrow,
- line 437 is the "executive" box,
- line 487 is most arrows,
- line 505 are the bottom lines,
- line 507 is the right lines.

If you change those 8 occurrences to something like "20 lw", the result 
looks probably better in the final pdf.


Best regards,

Olivier


Hi,

The lines in your document are really hair line: they are almost 
invisible when opened in gsview. I've had a similar problem years ago 
with my thesis, with all drawing done with one software. The line weight 
was "hairline" and this was interpreted depending on the media: when 
printed on the local printer, they were nice, but when the printed 
version arrived, they were too thin, because professional printing uses 
a better resolution. EOG is a bitmap software, so it probably uses a dpi 
resolution based on the screen (~90dpi). You should check the eps with a 
proper software (inkscape, any ghostcript viewer such as gv/ghostview/ggv).


Solution is to choose a real thickness for the line.

Best regards,

Olivier






Re: Problems with lines in EPS Figure

2010-06-15 Thread Olivier Ripoll

Tim Wescott wrote:
This drawing looks fine when I look at it using Eye of Gnome document 
viewer.  But when I incorporate it into my LyX document as a figure, the 
line weights look off.  When I make a pdf from that document, some of 
the lines are so light they're almost invisible, and some are normal 
weight.  It's definitely not up to snuff for sending to a customer!


Am I screwed?  Do I just need to export the thing as a bitmap?  or is 
there some setting I can try to make it render better?


Hi,

The lines in your document are really hair line: they are almost 
invisible when opened in gsview. I've had a similar problem years ago 
with my thesis, with all drawing done with one software. The line weight 
was "hairline" and this was interpreted depending on the media: when 
printed on the local printer, they were nice, but when the printed 
version arrived, they were too thin, because professional printing uses 
a better resolution. EOG is a bitmap software, so it probably uses a dpi 
resolution based on the screen (~90dpi). You should check the eps with a 
proper software (inkscape, any ghostcript viewer such as gv/ghostview/ggv).


Solution is to choose a real thickness for the line.

Best regards,

Olivier



Re: Wrapping text around an image

2010-05-21 Thread Olivier Ripoll

Vladimir Giszpenc wrote:

Uwe,

Thank you for the quick response.

The wrapping I have been able to achieve is more like column splitting.  I 
would like to have a warning sign or note icon and actually wrap around the 
image meaning it goes under the image too.  To clarify, the image in question 
is neither a figure nor a table and should not be indexed as either.


  This is the look
|   | I want with text 
- that wraps around

the image with no figure
or table label.


Hi,

If you follow the procedure given in the documentation pointed by Uwe, 
you should get what you want (see attached screenshot of a pdf in Adobe 
reader). This is a result with 1.6.6 on WinXP.


If you still cannot, start from a new file (no special preamble) to see 
if the failure comes from some incompatibilities.


Note that you may have to set both the float and the picture sizes.

Best regards,

Olivier




I was able to achieve

  This is NOT the look
|   | I want with text 
- that wraps around
  the image with no 
  figure or table label.


And 

  
|   | 
- 
This is 
NOT the 
look I 
want 
with 
text 
that 
wraps 
around 
the 
image 
with no 
figure 
or 
table 
label.


What I really want is my note or warning in a box, but I think I can manage 
that part.

-
|   This is the look|
| |   | I want with text|
| - that wraps around   |
| the image with no figure  |
| or table label.   |
-

The best documentation I found so far was

http://www.mackichan.com/index.html?techtalk/414.htm~mainFrame

but I can't seem to get it to work quite right.


My image is 62px x 62px.  I would like to have some padding around it and just 
wrap around that.  Any chance you can send me an example doing something like 
this?


Thank you,

Vlad


When I used the floating figure, the image was centered which was not
the style I was looking for.
When I used the \begin{wrapfigure} LaTex directive all the text was
placed under the image (sized to the image) instead of wrapping around.

Has anyone figured out how to do this?

Have a look at sec. 3.2.2 "Wrap Floats" of the EmbeddedObjects manual
that you find in LyX's help menu. It is also described in the LyX
Userguide, sec. 4.6.1.4 Wrap Floats.

regards Uwe


<>

Re: Any possible way to have clickable table of contents when exporting to PDF?

2010-05-20 Thread Olivier Ripoll

Francois Berenger wrote:

Hello,

I played with this option without any effect.
Whatever PDF reader I use, TOC is not clickable.

Is there a trick when exporting the document?
Like only some way to generate the PDF will manage/preserve links?


There are 3 pdf export methods. At least, with pdflatex and ps2pdf, the 
TOC is made with clickable links here (LyX 1.6.5, WinXP) (you need to 
check the "use hyperref support" box).


However, I would advise you to use pdf bookmarks instead of a clickable 
TOC. They are always available, while the TOC needs you to come back to 
its page. Of course you may use both, but to impress your colleagues, 
the pdf bookmarks on the sides are much better. That in the same 
settings place, on the "Bookmarks" tab.


Best regards,

Olivier



My LyX version is 1.6.5 for RHEL 5, if it matters.
---
lyx-common-1.6.5-5.el5
lyx-fonts-1.6.5-5.el5
lyx-1.6.5-5.el5
---

Regards,
F.

Wolfgang Engelmann wrote:

Am Thursday 20 May 2010 07:08:07 schrieb Francois Berenger:

Hello,

When I export my document to PDF, the TOC is not composed
of links to corresponding parts (although URLs are clickable
inside my document).

What can I do to make TOC clickable?


Document>preferences>PDF properties>hyperref support
 
..>hyperlinks
 
..>backreference>page


Wolfgang

It would be a killer feature in order to show
my colleagues we can get rid of MS Word and produce
documents in format that is easy to version control
(and so to work on at several people at the same time,
like source code). :-)

Thanks a lot for any help,
Francois.

PS:
This question was asked long time ago on this ML,
but I cannot find answers to it.
cf.
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg66853.html











Re: things that I miss in lyx

2010-03-22 Thread Olivier Ripoll

Jose Quesada wrote:

Hi all,

In no special order, things that I miss in lyx...


Hi,

There are 2 points in your list for which our tastes diverge (and 
according to the thread, I'm not the only one).



2. sentence autocapitalization


I hate that. One of the first things I switch off in MS word. I have 
nothing against seeing it appear in LyX, but I would definitely hate not 
to be able to switch it off.



7. the rest of the world operates on rich text/html. LyX doesn't (clipboard
integration is poor, copy-pasting from/to web loses formatting)


That is the most annoying "feature" I've seen appearing in 10 years. 
When using software offering this "feature", I now must paste to a text 
editor, then copy it from here and finally paste to the target document 
(I'm not talking about LyX here).

Also, this would not be WYSIWYM, the main strength of LyX.

Best regards,

Olivier



Re: Did I ever mention how much I like LyX?

2010-03-12 Thread Olivier Ripoll

john wrote:

Steve Litt wrote:

Hi all,

Did I ever mention how much I like LyX? It's wonderful. I'm writing my new 
book right now, and LyX is so easy and transparent that I'm pounding out an 
average of 3,000 words per day. LyX just stays out of your way and let's you 
whomp out content. It's great.


Thanks to the developers for making this great bookmaking software, and the 
community for making it better and providing information.
  

Amen to that!
It's my favourite piece of software and has been for more than a decade!


Totally agree with that. Along with Irfan Viewer. Software that just 
work and don't get in your way.


Olivier




John O'Gorman


SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



  







Re: excluding a character style from spellchecking

2010-02-24 Thread Olivier Ripoll

Jürgen Spitzmüller wrote:

Guenter Milde wrote:
Just curious: 


Is it possible to set the language in a character style?


No.


Is it possible to choose a language that is not checked?


Well, you can use ForceLTR which forces the latex_language (which is not 
spellchecked).


But I'm not sure about what other effects this has.


Hi,

Well, it works for me: those words are ignored in spellchecking and the 
pdf export does not seem affected. So that's exactly what I was looking 
for. Thanks!


Hopefully, it will not show undesired effects.

Best regards,

Olivier


Jürgen





excluding a character style from spellchecking

2010-02-24 Thread Olivier Ripoll

Hi all,

I have 2 character styles, defined in a layout module, which I use for 
code(*) and file names, respectively. I'd like to tell LyX never to 
spell check words in these two styles, as code variables are most often 
not valid English words. Is this possible (at the layout module level, 
preferably) ?


Thanks, and best regards,

Olivier

(*) "LyX code" being a paragraph style, it cannot be used for a single 
word of code within a standard sentence.




Re: How I can add a new button to the tool bar?

2010-02-03 Thread Olivier Ripoll

Uwe Stöhr wrote:

Olivier Ripoll schrieb:

Fuzzy icons when they should be sharp, black lines that are not lines 
nor black any more. Don't tell me you don't see the problem with the 
table float image, it's obvious.


I must admit that I never noticed this. As I now know where to look, I 
see that the lines in this icon are a bit blurred.


Icon designers spend days to get pixel-perfect icons. Bitmap icons 
cannot be scaled.


The question is what size we should design for because right-clicking on 
a toolbar offers you 3 different icon sizes.


I remember that one of the Tango designer, Jimmac, bloggeed about how 
the scalable (svg) icons were not good, but they could still be a solution.
Most desktops follow the freedesktop icon standards. It seems they 
create one folder per size. Could be also a solution.


But anyway, as you identified problematic icons, can you provide a 
better one for e.g. the table float icon? LyX will benefit from this.


I have tried, but this list has restrictions that makes it hard posting 
the result. See the thread
"Why this list refuses small zip / 7z archives ?" I started a few weeks 
ago, it should contain an image of the Tango icons I use (and a link on 
rapidshare to download it).


At present, my issue in distributing it is about mixed licenses (LyX 
icons are GPL, Tango are public domain, I use part of a gimp icon, 
several icons come from the Tango openoffice.org theme, whose license I 
haven't found yet, but comes with Mandriva "free" edition).


Best regards

Olivier



regards Uwe





Re: How I can add a new button to the tool bar?

2010-02-02 Thread Olivier Ripoll

Uwe Stöhr wrote:

Olivier Ripoll schrieb:

When you have a look at the icons in the "images" folder, you see 
that there are icons with the size 24x24, 22x22 and 20x20; and all 
look OK for me in the toolbar.


They don't for me: See attached picture, esp. the "table float" and 
the "save" icons. But since I'm not using those icons anyway... :-)


I cannot see a problem. What do you find ugly?


Fuzzy icons when they should be sharp, black lines that are not lines 
nor black any more. Don't tell me you don't see the problem with the 
table float image, it's obvious.


Icon designers spend days to get pixel-perfect icons. Bitmap icons 
cannot be scaled.




regards Uwe



Regards,

Olivier



Re: How I can add a new button to the tool bar?

2010-02-01 Thread Olivier Ripoll

Uwe Stöhr wrote:

Olivier Ripoll schrieb:

I think LyX images need to be 20x20, at least on Windows with your 
version, or the result is ugly.


When you have a look at the icons in the "images" folder, you see that 
there are icons with the size 24x24, 22x22 and 20x20; and all look OK 
for me in the toolbar.


They don't for me: See attached picture, esp. the "table float" and the 
"save" icons. But since I'm not using those icons anyway... :-)


I'd love it if LyX used same size as original Tango icons (22x22), I 
wouldn't have had to spend so many hours shrinking these icons 
pixel-per-pixel from 22 to 20.


I think in the case of the "bold" function, there is already (at least 
in your installer) an icon for it : "font-bold.png"


Yes, I therefore chose this as example.

regards Uwe


Best regards,

Olivier
<>

Re: How I can add a new button to the tool bar?

2010-02-01 Thread Olivier Ripoll

Uwe Stöhr wrote:

Am 31.01.2010 23:15, schrieb Marcelo Acuña:

I need to make many changes in the size of the letters, and also to 
put bold or normal, in texts in which I must emphasize certain parts.
  It would help me much to have buttons such as those of emphasized 
and noum.

  How I can add them to the tool bar?


Toggling bold can be done withe the shortcut "Ctrl+B". The toolbar 
button named "Font" (with the small arrow below) can be used to apply 
changes multiple times. It takes the last settings of the text style 
dialog. So when you e.g. have to make 50 words bold, italic, green, 
highlight one word and use the text style dialog to apply the changes.l 
For all further words, highlight them and press the "Font" button.


In case this method is not what you need, you can add toolbar buttons by 
creating PNG-images (size 24x24 Pixels or smaller).


Hi Uwe,

I think LyX images need to be 20x20, at least on Windows with your 
version, or the result is ugly. I'd love it if LyX used same size as 
original Tango icons (22x22), I wouldn't have had to spend so many hours 
shrinking these icons pixel-per-pixel from 22 to 20.


I think in the case of the "bold" function, there is already (at least 
in your installer) an icon for it : "font-bold.png"


Name the image by 
the LyX-function it stands for (e.g. "font-bold.png"). In the text file 
"stdtoolbars.inc" add the toolbar button where you like it.

Finally reconfigure LyX.


In other words, Marcelo should add the following line
Item "Toggle bold" "font-bold"

in the file "stdtoolbars.inc", precisely in the part where the following 
lines are:

Separator
Item "Toggle emphasis" "font-emph"
Item "Toggle noun" "font-noun"
Item "Apply last" "textstyle-apply"

The best would be to copy the original "stdtoolbars.inc" from the system 
folder (1) to the user LyX "ui" folder (2) and work on the copy.

More details being given in:
http://wiki.lyx.org/LyX/UserInterface

Best regards,

Olivier

(1) http://wiki.lyx.org/LyX/SystemDir
(2) http://wiki.lyx.org/LyX/UserDir




regards Uwe





Re: Why this list refuses small zip / 7z archives ?

2010-01-20 Thread Olivier Ripoll

John Coppens wrote:

On Wed, 20 Jan 2010 09:14:18 +0100
Olivier Ripoll  wrote:

I'm not planning to attach the images individually, there are more than 
100 files (including variants and some xcf)! How can I send them to the 
list. Should I change the extension to pretend it's something else ?


Hi Olivier,

A rather simple solution is using one of the file share sites such as
rapidshare.com, hotfile.com, megaupload.com, upload.to, or one of
many others. For small files, the service is free, and they'll delete the
files after some time automatically.


Good idea,

Rapidshare is limited to 10 downloads, and it did not work when I tried 
to download the file (server error). It is at:

http://rapidshare.com/files/338339324/tangolyx.zip.html

Best regards,

Olivier



John





Re: Why this list refuses small zip / 7z archives ?

2010-01-20 Thread Olivier Ripoll

Manveru wrote:

2010/1/20 Olivier Ripoll :

Dear all,

I've been trying to post some Tango-ified LyX icons on this list, once as
zip, once as 7z archive, but although the archive is not big (110 KB for the
zip version, 80 KB for the 7z one), I always get a failure notice with the
following part:

---
lyx-users@lists.lyx.org
SMTP error from remote mailer after end of data:
host wierdlmpc.msci.memphis.edu [141.225.11.87]:
554 This message contains prohibited content
---

I'm not planning to attach the images individually, there are more than 100
files (including variants and some xcf)! How can I send them to the list.
Should I change the extension to pretend it's something else ?

Best regards,

Olivier.

PS: I'm going through the gmane newsgroup interface.

PPS: zipped content should be seen as valid content. After all, attaching a
svgz or a compressed LyX file should be accepted, shouldn't it ?


I think that such attachment should be posted on wiki, and then url posted here.


Sounds very complex to me (I've always found wikis very complex to work 
with, perhaps I'm too old). Especially since the wiki is password protected.


If people want to try Tango-derived icons for LyX, just let me know, I 
attach a screenshot to this email. The screenshot is reduced to 256 
colours, because I could not fit any screen shot in the 60KB requested 
by the mailing list (So I've had my third failure in writing to the list 
in less than 24 hours, all failures due to arbitrary limitations).


Best regards,

Olivier

<>

Why this list refuses small zip / 7z archives ?

2010-01-20 Thread Olivier Ripoll

Dear all,

I've been trying to post some Tango-ified LyX icons on this list, once 
as zip, once as 7z archive, but although the archive is not big (110 KB 
for the zip version, 80 KB for the 7z one), I always get a failure 
notice with the following part:


---
lyx-users@lists.lyx.org
 SMTP error from remote mailer after end of data:
 host wierdlmpc.msci.memphis.edu [141.225.11.87]:
 554 This message contains prohibited content
---

I'm not planning to attach the images individually, there are more than 
100 files (including variants and some xcf)! How can I send them to the 
list. Should I change the extension to pretend it's something else ?


Best regards,

Olivier.

PS: I'm going through the gmane newsgroup interface.

PPS: zipped content should be seen as valid content. After all, 
attaching a svgz or a compressed LyX file should be accepted, shouldn't it ?




Re: Irfanview and LyX

2009-12-16 Thread Olivier Ripoll

Manveru wrote:

2009/12/15 Jose Carlos Rodríguez Rodríguez :

Ups!  My specifical question is What is the procedure to launch Irfanview
like external image editor/viewer with LyX?

For instance, I change the tools->preferences->File handling->File
Format->PNG Editor & Viewer to i_irfanview32. With that Irfanview is
launched but the input image is not loaded. I try the $$i (The input file)
variable  ("Customizing LyX: Features for the Advanced User") but
unsuccessfully.

Sorry for my terrible English!


There is no documentation for irfanview on their web page, but I am
not sure it accepts simple parameters provided by command line.
Command line is not mentioned in their FAQ, but forum mentions a lot
of /something options, so there is probably a help file with command
line option reference guide.



Hi,

Commands for the 4.10 are available online at
http://www.downloadatoz.com/manual/ir/irfanview/hlp_command_line.htm

The list of command is available in the documentation on Irfan Viewer.

As for the original question, the following works for me, without 
needing to set LyX's path:


"C:\Program Files\IrfanView\i_view32.exe" $$i

The only problem is that Irfan starts minimized for some reason.

Best regards,

Olivier



Re: Lyx 1.6.5 Installer

2009-12-14 Thread Olivier Ripoll

Vincent van Ravesteijn wrote:

Uwe Stöhr schreef:

Am 13.12.2009 14:10, schrieb Vincent van Ravesteijn:


LyX is programmed in a way that a console is always started. My and
also the standard installer hides it immediately.


The standard installer doesn't open this console window.


Ok, I see some extra movement in the task bar when opening LyX, .. 
that's all.


I believe that with your installer, one can really see a window popping 
up (or two).


Well, it's three in fact: first two windows open and close quickly, then 
one opens and stays for quite a while. That's probably the one most 
people complain about. this one opens also if you use lyxLauncher.exe or 
lyx.exe.


If you change the lyx.bat start command with "/MIN" and/or "/B", the 2 
first windows will actually stay longer (IOW don't do that ;-) ).


Note that it's unclear to me why such a minor cosmetic problem who lead 
to prefer one installer over the other. Uwe's installer has the 
advantage of being out sometimes up to 1 week before the other one. 
That's quite a significant bonus if you are waiting for the new version 
because you have a nasty problem (crash, etc.).


Best regards,

Olivier

PS: I also remember that there is a message about installing "PyWin" or 
something with a similar name to avoid the console. Could that be a 
difference between installers ?




Vincent






Re: Symbols panel with my symbols

2009-12-10 Thread Olivier Ripoll

Sergio Celani wrote:

Hi


Is it possible to create a new symbols panel or toolbar with the buttons 
for frequently used symbols ?


Where can I find instructions on this topic ?


http://wiki.lyx.org/LyX/UserInterface

You can try safely quite easily in LyX: the default files are in the 
system folder(*) and your custom files (interface definition, 
preferences, ...) are in your home folder(**). So if you mess up 
something with your trials, delete them and you get the defaults back.


What you want is to look at the files in the system "ui" folder 
("default.ui", "stdtoolbars.inc") for inspiration. Also have a look at 
the file at

http://lyx-toolbar.atspace.org/
It's for 1.5, but it works for 1.6 (may need a few changes to be 100% 
correct).


You put your modified ui in inc files in your ui folder and if they have 
the same name, that should be enough.


Best regards,

Olivier

(*) http://wiki.lyx.org/LyX/SystemDir
(**) http://wiki.lyx.org/LyX/UserDir



Thanks in advance,

Sergio








Re: launching Lyx 1.6.5

2009-12-09 Thread Olivier Ripoll

E. Kaplan wrote:
I installed Lyx 1.6.5 on a Windows XP laptop, using the altinstaller 
(the only one I could find for Windows that had 1.6.5).  Before I 
installed it, I uninstalled the  previous version, 1.6.4.  When I try to 
launch Lyx, a DOS window flashes once or twice, and disappears.  Lyx 
never appears.

It shouldn't be THAT  tricky, should it?


No, of course. I am using it on a Windows XP laptop from the 1.6.5 after 
uninstalling the 1.6.4.


Try the following, in a command prompt/console (if you do not have a 
shorcut for it somewhere in the start menu, type "cmd" in the run box)


1- cd to the lyx bin folder, something like
C:\Program Files\LyX 1.6.5

2- type "lyx.bat" and press return. See what happens.

3- type "lyx.exe" and press return. See what happens.

At that point, you may see error messages telling what's going wrong.

Are you using an antivirus? if yes, try to see if it reported something 
recently. I had cases of Kaspersky putting some important soft in 
quarantine as false positives (Matlab, and python in LyX 1.6.0/1.6.1 alt 
installer IIRC).


You may also want to rename your preference directory,
C:\Documents and Settings\userbname\Application Data\lyx16
to something else (e.g. "lyx16bak") and try again to run lyx.

Best regards,

Olivier


Help, please!
EK








Re: Question integrating elyxer into LyX

2009-12-08 Thread Olivier Ripoll

Uwe Stöhr wrote:

Olivier Ripoll schrieb:


You need LyX 1.6.5 for this feature.


I've just installed it and images are absent also with 1.6.5.


You installed LyX 1.6.5 using my Windows installer?
yes. I unsinstalled my 1.6.4 (including prefs) and installed 1.6.5. Then 
I re-customised it in my user profile (layout modules, icons, Maxima in 
math context menu, default template).



If so what exactly doesn't work?
When exporting to HTML, the HTML is produced in the subfolder of the 
folder where the lyx file and related data stands. Up to elyxer 0.36 (I 
test every elyxer version, and sometimes even pre-versions), the images 
needed by the HTMl were also copied in that folder. Not any more.


You don't see images in the HTML when exporting or also 
when only viewing as HTML? What image types are affected?


I only use PNG (screenshots) and pdf (vectorial). Both are affected (of 
course, pdf used to be converted to PNG for HTML).

Same for exporting and viewing.


Have you installed Python or not?


No. With LyX 1.6.x, x<5, I had to copy elyxer to LyX resources script 
folder, and I used a custom call for elyxer (you can see the command up 
in the thread). With 1.6.5, that step is not needed (thanks to you and 
Alex for that by the way). So I do not have any standalone elyxer 
version nor python.


If yes, what version? (The LyX installer comes 
with a stripped-down Python version so you don't need to have Python 
installed when you don't like to.) Do you have a small example LyX file?


I attach one of the simple test cases I used in the past when discussing 
with Alex.



In oder to get it work, can you try to
1. uninstall LyX
2. uninstall eLyXer
3. reinstall LyX 1.6.5

I hope it then works.


As I never installed eLyXer, that's how I installed 1.6.5: uninstalled 
1.6.4, installed 1.6.5


There is nothing in the release notes of elyxer that says it needs 
1.6.5 by the way.


There were bugs in the LyX script that copies the images to the correct 
place when exporting a file to HTML. A fixed version of this script is 
included in LyX 1.6.5 and also in the alternative Windows installer 
version 4.21 that installed LyX 1.6.4.


As I said, I used elyxer from Alex directly in 1.6.4 and it copied the 
images fine up to 2 versions ago.



regards Uwe


Regards,

Olivier



subfloat html example.lyx
Description: application/lyx
<>

Re: Question integrating elyxer into LyX

2009-12-08 Thread Olivier Ripoll

Ken wrote:
The problem you have is that your system action for python files is to 
open them in notepad++. I have the same, esp. since I do not have python 
installed on my machine.


What happens if you add python to the path (the system one, not the lyx 
one) ?


To go around this issue (which hopefully is fixed in 1.6.5 just 
released), I set my LyX->HTML converter command to:

python -tt $$s/scripts/elyxer.py --directory $$r $$i $$o


My solution was to do the "Elegant" installation and to use:
python -m elyxer --debug --directory $$r $$i $$o

This calls elyxer correctly.  The problem I am now experiencing appears to be a
bug in the processing of my bibtex file.  I have started a bug report at:
http://savannah.nongnu.org/bugs/?28220


I would strongly advise you to install 1.6.5 if you can. It should have 
a working elyxer integration for machines without python installations. 
And bug-fixes, etc.



Perhaps someone with a better/functioning installation should start a bug report
for the issue where images do not copy correctly.


I have been communicating with email with Alex successfully in the past 
months (image size has not been a bed of roses since 0.34) and it has 
always productive. I'm not really willing to open yet-another bugzilla 
account, if the "good-old" email works.


Best regards,

Olivier



-Ken






Re: Question integrating elyxer into LyX

2009-12-08 Thread Olivier Ripoll

Uwe Stöhr wrote:

Olivier Ripoll schrieb:

0.38 seems to have the same bug as 0.37 on my machine: it does not 
copy the images to the html folder anymore.


You need LyX 1.6.5 for this feature.


I've just installed it and images are absent also with 1.6.5. There is 
nothing in the release notes of elyxer that says it needs 1.6.5 by the 
way. Copying the images worked perfectly well with 1.6.4 up to elyxer 0.36.


Regards,

Olivier



regards Uwe





Re: Question integrating elyxer into LyX

2009-12-07 Thread Olivier Ripoll

Uwe Stöhr wrote:

Ken schrieb:


Some notes about my system:
Windows XP SP3 (logged in as a limited user)
LyX 1.6.4


Wait for tomorrow when the alternative LyX 1.6.5 for Windows installer 
comes out. This one comes with eLyXer 0.38.

[...]

regards Uwe


0.38 seems to have the same bug as 0.37 on my machine: it does not copy 
the images to the html folder anymore. Perhaps you should wait for 0.39 ?


Best regards.

Olivier.

PS: I reported the issue to Alex last Friday, the day after 0.38 was 
released.




Re: Question integrating elyxer into LyX

2009-12-07 Thread Olivier Ripoll

Ken wrote:

Hi. I am following the instructions on
http://www.nongnu.org/elyxer/userguide.html#toc-Subsection-1.6

I have added the latest elyxer to the LyX-1.6.4/bin directory, and
reconfigured and restarted.

When I run "File > Export > HTML" I can see in the status bar that the
command
elyxer.py --directory ...
is being run.  However, notepad++ pops up with the contents of the elyxer.py
and LyX freezes until I close this window.  The lyx document is not
converted to html.


The problem you have is that your system action for python files is to 
open them in notepad++. I have the same, esp. since I do not have python 
installed on my machine.


What happens if you add python to the path (the system one, not the lyx 
one) ?


To go around this issue (which hopefully is fixed in 1.6.5 just 
released), I set my LyX->HTML converter command to:

python -tt $$s/scripts/elyxer.py --directory $$r $$i $$o

This way, the python included with LyX is used. The only drawback is 
that you have to manually copy elyxer.py into LyX script directory (the 
one in program files), not the user one.


This also implies removing some lines from the lyx python setup file, as 
it insists on redoing the wrong thing every time I reconfigure. But as 
you have python installed, you should not have to do all of this.


Best regards,

Olivier


I think that there is something incorrect in the "Tools > Preferences > File
Handling > Converters" line but I do not know what it is.
I have the following:
elyxer.py --directory $$r $$i $$o

Some notes about my system:
Windows XP SP3 (logged in as a limited user)
LyX 1.6.4
C:\Python25 installed but is not in my windows path
Instead, it is in the PATH prefix of LyX.

My guess is the latter has something to do with the problem but I do not
know the remedy.  Any suggestions on how to fix this command would be
greatly appreciated.

Thanks,
Ken





Re: Lyx is messing with my PNG images.

2009-12-04 Thread Olivier Ripoll

william.croc...@analog.com wrote:

Hello:

I Insert/Graphics... a PNG file into my lyx document.
I then export the doc to HTML.
Apparently, as part of the exporting process,
lyx processes the PNG file and produces a new PNG file
which is referenced in the html.


Which exporter are you using ? If you are using elyxer, which version ?


The problem is that, while my original PNG
file (cut.png, attached) looks good (and the
preview in lyx looks just as good), the
processed PNG image (img2.png, attached)
does not look good. The processed image
appears to have been scaled up a little, but
I did not specify any scaling as part of the
graphics insert.


For png/jpeg, you can simply replace the distorted files with the new 
ones. They should have same names, so you needn't edit the HTML.


If you are using elyxer:
There has been many changes in the way elyxer handles figures in the 
last month. Try the latest version (should be 0.37) and try 0.34 (this 
one is not messing with images for sure). The most simple way is to 
download the archive from

https://savannah.nongnu.org/files/?group=elyxer
and simply copy the "elyxer.py" file in it to the LyX script folder.
(on Windows, it's something like:
C:\Program Files\LyX 1.6.4\Resources\scripts  ).

Then reconfigure, quit LyX, reopen LyX, try to export.
Perhaps you'll find one that will suit you.


Why does lyx mess with my PNG?

I'm using version 1.6.4


Best regards,

Olivier



cosmetic question: LyX icon size (medium) and scaling

2009-12-01 Thread Olivier Ripoll

Hi,

I was trying to change the LyX icons to use similar Tango ones (not that 
I like Tango, but it is quite complete, esp. with OpenOffice.org math 
stuff).


I copied in my user lyxfolder (~\Application Data\lyx16\images) png 
files with same names as the ones in the LyX resources folder 
(C:\Program Files\LyX 1.6.4\Resources\images).


However, the result looks bad (fuzzy, esp. for lines). I noticed that 
the original LyX images have heterogeneous sizes (most often 20x20, 
22x22 and 24x24 pixels), and tried to make all my png images 22x22, but 
they still look bad.


Is there a way to specify the icon size somewhere or should I use 20x20  ?
If I have to use a height of 20, is the width free or must it be a 
square icon ?


Thanks for the info/pointers.

Best regards,

Olivier



Re: ow to change the reference style from [1,2,3] to [1-3]

2009-12-01 Thread Olivier Ripoll

leemon albert wrote:

Hi all,

I use the  vancouver style in references. Is there any way to change the
citation style from [1,2,3] to [1-3] in Lyx 1.6.4?


Hi,
Does adding the following line in the document preamble work ?

\usepackage{cite}

Best regards,

Olivier



Regards,
Meng





Re: Lyx portable

2009-11-29 Thread Olivier Ripoll

Matthias Schmidt wrote:

Hello,

I want to use Lyx from an usb-stick.

MiKTeX I found as a portable version on
http://www.miktex.org/portable/ .
ImageMagick ist availlable as a zip-file on
http://image_magick.veidrodis.com/image_magick/.

Now Lyx: Is there anywhere a current portable version of Lyx? There
has been an older one on http://portableapps.com/node/9880, but the
linked website is no more accessible.
Or is it possibe, just to copy the lyx-folder from my lyx-installation
on my c-drive to the stick? Did someone try, if it works?


Hi,

There is such a project on google code, lytex:
http://code.google.com/p/lytex/
It has a 1.6.3 version of LyX.

Also, a new one seems to be developed on sourceforge:
http://sourceforge.net/projects/lyxportable/
but it does not look like ready (not in executable format yet).

And to answer you last set of questions, have a look at those 
instructions on LyX Wiki:

http://wiki.lyx.org/Windows/PortableInstallation

best regards,

Olivier



Re: CAS exposure in LyX (was Re: Importing Lyx files in SWP)

2009-11-24 Thread Olivier Ripoll

Ken wrote:


That's a fantastic new discovery of a further LyX feature.  As for
making it more useful, perhaps LyX needs some buttons in the math
toolbar for Octave or Maxima or a way of customizing some new buttons
to run the Edit->Math->CAS options.


That's actually easy: here is how to get the Maxima action in the 
context menu:


0- close lyx if opened

1- Copy the "stdcontext.inc" file found in the common "ui" folder of LyX.
On windows, it is
"C:\Program Files\LyX 1.6.4\Resources\ui", on linux, I'd expect it to be 
somewhere in "/usr/share"


2- Paste this file in your own "ui" folder.
On windows, it is in
"C:\Documents and Settings\username\Application Data\lyx16\ui"

3- with a decent text editor (accepting unix LF), find the
'Menu "context-math"' section, and at the end (after line 75, before the 
'End'), add the following 2 lines (the second is taken from the 
"edit_math_extern" section of file 'stdmenus.inc', if you wonder how to 
add Octave, Maple, etc.)

Separator
Item "Maxima|M" "math-extern maxima"

4- save, restart lyx

Best regards,

Olivier




Re: CAS exposure in LyX (was Re: Importing Lyx files in SWP)

2009-11-24 Thread Olivier Ripoll

Ken wrote:

I had a further play around with it.  I added:
;C:\Program Files\Maxima-5.16.3\bin;C:\Octave\3.2.3_gcc-4.4.0\bin
to the PATH prefix in the Preferences, and then restarted LyX.

Now when I type
4+5
in a math field and then use Edit->Math->CAS->Octave or ->Maxima it
calculates the answer and sets the field to 4+5=9.

And if I enter
$\int_{0}^{1}x^{2}dx$
maxima will return the answer 1/3.

That's a fantastic new discovery of a further LyX feature.  As for
making it more useful, perhaps LyX needs some buttons in the math
toolbar for Octave or Maxima or a way of customizing some new buttons
to run the Edit->Math->CAS options.


I share your amazement. I didn't know that trick and it works here too 
(Maxima 5.19.2).

That's another thing to showcase to the word-using colleagues ;-)

Thanks a lot for the tip!

Olivier

PS: should the re-configure script update those paths by itself?



Re: lyx and pdf fonts

2009-11-12 Thread Olivier Ripoll

Pavel Sanda wrote:

Olivier Ripoll wrote:

try this one:
http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg142386.html 

Damned, it's been trashed also (by gmane?)
let's split the address in several parts
http://www.mail-archive.com/lyx-devel
then add the "at" character (@) then the following:
lists.lyx.org/msg142386.html

and you'll avoid the error 404.


my firefox runs it just fine
pavel


Which one? the one with "lyx-devel-UqbJ+GOpo4+hPH1hqNUYSQ" at 
"public.gmane.org" ?


I'll make a guess: the people using the gmane newsgroup interface to the 
mailing list can't access the link because gmane replaces it with its 
own crap (above). You do not see the problem because you don't use gmane 
interface to the list.


When I sent my message with "try this one", the URL I typed was 
"lyx-devel" at "lists.lyx.org", but when I then read this message, the 
url was  changed to "lyx-devel-UqbJ+GOpo4+hPH1hqNUYSQ" at 
"public.gmane.org", the same as in your original message, which leads to 
error 404.


Best regards,

Olivier



Re: lyx and pdf fonts

2009-11-12 Thread Olivier Ripoll

Olivier Ripoll wrote:

Guenter Milde wrote:

On 2009-11-11, Pavel Sanda wrote:

Guenter Milde wrote:

[...]

Unfortunatly, the link
http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg142386.html 



shows only:  Not Found The document you were looking for was not found.
Günter


try this one:
http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg142386.html 


Damned, it's been trashed also (by gmane?)
let's split the address in several parts
http://www.mail-archive.com/lyx-devel
then add the "at" character (@) then the following:
lists.lyx.org/msg142386.html

and you'll avoid the error 404.

Best regards,

Olivier, crossing fingers



Re: lyx and pdf fonts

2009-11-12 Thread Olivier Ripoll

Guenter Milde wrote:

On 2009-11-11, Pavel Sanda wrote:

Guenter Milde wrote:

[...]
Unfortunatly, the link 


http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg142386.html


shows only:  Not Found The document you were looking for was not found. 


Günter


try this one:
http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg142386.html

Best regards,

Olivier



Re: Creation of A5 documents

2009-11-02 Thread Olivier Ripoll

Luca Carlon wrote:

Hi! I wrote my thesis using the A4 format. Unfortunately now, I see that my
university requires me to produce a copy in A5 format. I tried switching from A4
to A5, but I get that equations and algorithms don't fit anymore in the page. I
don't know how to handle this. Is it possible to simply reduce everything
proportionally to the page size? I will have very small symbols in formulas, but
I don't think there is anything else I can do...
Thanks for any advice.

Luca



Hi,

In case you have not already tried, for A5, try using a base font size 
of 10 (Document settings-> Fonts).


Best regards,

Olivier





Re: [bug report] Lyx 1.6.4 crashes while editing formula

2009-10-27 Thread Olivier Ripoll

Vincent van Ravesteijn - TNW wrote:
 


Falk Sticken wrote:

Hi
I have found a bug in LyX 1.6.4 on Linux (openSUSE 11.1) which is not


reported in the bug tracker. When I start editing an inline math 
formula (ALT+M M) and type "\mathc"

SPACE
BACKSPACE
"al" 
SPACE

LyX crashes.
A backtrace follows below.
bye,
Falk

But both look to me like incarnations of this bug,
fixed 8 hours ago:
http://www.lyx.org/trac/ticket/6193



It seems more like bug http://www.lyx.org/trac/ticket/6110 to me.



You're right. The half-good news being both are "fixed in trunk".

Best regards,

Olivier


Vincent





Re: [bug report] Lyx 1.6.4 crashes while editing formula

2009-10-27 Thread Olivier Ripoll

Falk Sticken wrote:

Hi
I have found a bug in LyX 1.6.4 on Linux (openSUSE 11.1) which is not
reported in the bug tracker. When I start editing an inline math formula
(ALT+M M) and type 
"\mathc" 
SPACE 
BACKSPACE 
"al" 
SPACE 
LyX crashes.

A backtrace follows below.
bye,
Falk


Hi,

I can reproduce on windows (alt installer) if I replace the BACKSPACE by 
a left arrow (backspace will select the full \mathc and "al" will 
replace it)


There is coincidently a crash report on lyx-french on Mac/Windows when 
correcting an index/exponent in an equation.


But both look to me like incarnations of this bug, fixed 8 hours ago:
http://www.lyx.org/trac/ticket/6193

Best regards,

Olivier



Re: Lyx under WindowsXP

2009-10-22 Thread Olivier Ripoll

XBOT wrote:
 

Can you post a little screenshot ?

Vincent



Hi Vincent,

sure...look here:

http://www.bilderhosting.info/images/image170113.jpg

Tomorrow I try to reinstall...


Before you do that, what happens if you change the system-wise font 
settings for the menus (e.g. try another font)?
Do you use 120 dpi or 96 dpi under windows (Display 
properties->Settings->Advanced)? Both and they look fine on my machine.


Best regards,

Olivier



Greetz from Germany

XBOT





Re: Lyx under WindowsXP

2009-10-22 Thread Olivier Ripoll

rgheck wrote:

On 10/21/2009 12:10 PM, Olivier Ripoll wrote:

XBOT wrote:
The GUI of Lyx looks terrible! All fonts at the programs window are 
too bold and
the fonts at the menues are too thin. You can use the program, but it 
isnt comfortable and most of the orders at the

menues you cant read!
There must be a problem with the fonts the program is using.


You can change the font sizes, the screen dpi and the zoom  in 
Preferences->Look & Feel->Screen fonts


I think the zoom is where you want to start.

This changes the fonts used for the document but not for the menus, etc. 
Under Linux, those can be controlled via qtconfig. There is presumably 
some similar option for Windows. Anyone? (Try under Control Panel.)


rh


Hi,

I thought he meant the document area by "programs window". But it's true 
that he could have meant the window title bar.


Best regards,

Olivier



Re: Lyx under WindowsXP

2009-10-21 Thread Olivier Ripoll

XBOT wrote:
Hi @ all, 


I just have installed Lyx (1.6.4-1) on my System (WinXP SP2).


I am using the alternative installer, and do not have any problem. 
Perhaps if the solution given below fails, you could try to use that 
version.



Now my problem:

The GUI of Lyx looks terrible! All fonts at the programs window are too bold and
the fonts at the menues are too thin. 
You can use the program, but it isnt comfortable and most of the orders at the

menues you cant read!
There must be a problem with the fonts the program is using.


You can change the font sizes, the screen dpi and the zoom  in 
Preferences->Look & Feel->Screen fonts


I think the zoom is where you want to start.

Best regards,

Olivier



Re: French translation of the web site

2009-10-12 Thread Olivier Ripoll

Jean-Pierre Chrétien wrote:


Hello,

The translation is quite complete and up to date, thanks to Siegfried
and Alain:
http://www.lyx.org/SiteTranslation#toc5
http://www.lyx.org/WebFr.Home

Happy reading!



Hi,

First, congratulations for the work to the translation team.
A few comments / corrections (mostly minor)

Home page:
A typo
"une éditeur d'équation" -> "un éditeur d'équation" or "un éditeur 
d'équations"


Also, I think some sentences could sound better
"disponible pour plusieurs langages." -> "disponible en plusieurs langues"
"prêts à l'usage" -> "prêts à l'emploi"

Download page:
"LyX pour Mac OS X ext disponible" -> "LyX pour Mac OS X est disponible"

Features page:
"plusieurs document" -> "plusieurs documents"
"transaparents" -> "transparents"
"permettantt" -> "permettant"
"gloss linguistiques" -> "gloses linguistiques"
"la mise en pages de images" -> "la mise en pages des images"
"tableaux WYSIWYG interactifs" -> "Tableaux WYSIWYG interactifs"
"de nombreuses langues dans le monde" could be rephrased better 
("mondiales?")

"commes l'hébreu et l'arabe" -> "comme l'hébreu et l'arabe"

I'll try to check some more pages.

Best regards,

Olivier



Re: Document title in the footer.

2009-10-09 Thread Olivier Ripoll

bart wrote:

Hello All
I want an alternative for MS Word for the creation of the documents 
within our company. The only restriction is that it should be able to do 
same as Word but better. So I have been trying in LyX to get the same 
page layout as in Word. It seems that I have everything except that i 
can't get the title to appear in the footer. I have put this in the 
preamble:


\footskip2cm

\fancyhf{}

\lfoot{\begin{minipage}{4cm} \scriptsize \...@title \end{minipage}}

\rfoot{\begin{minipage}{5cm}\small \copyright This piece of text i want in
the right footer.\end{minipage}}

This doesn't work the way I would like. I don't get an error and I don't 
get a title in the footer. If I replace \...@title by the actual text this 
text does appear in the footer. the Rightfooter is fine though. Could 
someone tell me if I am doing something wrong and if so what. Thanks in 
advance.


regards
Bart


Hi,

It took me a while since I don't really know LaTeX, and hit the 
limitation of most search engines (they skip \ and @ characters, so you 
cannot do any search on e.g. "\...@title"), but I could get to a solution...


replace the line
\lfoot{\begin{minipage}{4cm} \scriptsize \...@title \end{minipage}}

by this ugly thing

\let\Oldtitle\title
\renewcommand{\title}[1]{\lfoot{\begin{minipage}{4cm} \scriptsize 
{#1}\end{minipage}}\Oldtitle{#1}}


There is probably a better way to do it, but I git it working, so I'll 
let other people show the proper way ;-)


Best regards,

Olivier






Re: hyperlinks in LyX

2009-10-09 Thread Olivier Ripoll

0 wrote:

I've got "Section 1" and "Section 2" in a LyX document. In Section 1, I want to 
have a click-able link to Section 2. How do I make it?


Hi,

First insert a label on section 2 (Insert->Label...). You will be 
proposed a label name, you may change it if you want. That's the target 
of the link.


Then, at the place you want to insert the link, insert a cross reference 
(Insert->Cross-Reference...) you select the label created before for 
section 2 and press "OK".


You can use it in LyX to jump to section 2 by right-click and choosing 
"Go to Label" in the context menu or by left-clicking and pressing the 
"Go to Label" button in the window that opens.


When generating a pdf (pdfLaTeX), you'll see the coloured section number 
and it will be a link to section 2. So you'd better insert the cross 
reference in a sentence like "See section [Ref: sec:label]." where the 
bracket part is the cross reference inset. This inset is replaced by the 
number 2 in the pdf. You can choose more options in the  cross-reference 
window with the "Format" drop-down menu.


Have a look at section 6.1 of the user manual for a better explanation.

Best regards,

Olivier



Re: How to change color of shaded background of minipage

2009-10-07 Thread Olivier Ripoll

Phil wrote:

Lyx 1.6.4
Windows XP

Is there an easy way to change the color of the background of a shaded box?


Hi,

Funnily, the background in LyX and in the final document have the same 
colour (at least on my machine). You can set it as a LyX preference (not 
a document setting):
Tools->PreferencesthenLook & Feel -> Colors  and finally 
scroll down the list to find the "shaded text" item. Change to the 
desired colour, then "save" (it you want the change to be persistent) or 
"apply" (for the session only).


Best regards,

Olivier



Mine is coming up bright red and I'd like to change it to a more subdued color shade. 


Any suggestions?

Phil



  





Re: page n of m in header

2009-10-05 Thread Olivier Ripoll

bart wrote:

Hi
I would like to have in the header the pagenumber and the total number 
of pages in the header in the format" page n of m". In the fancyheader 
manual I have found that I have to use the package "lastpage" so I've 
put in the preamble:


\usepackage{lastpage}

\fancyhf{}

\fancyhead[LE,RO]{\thepage\ of \pageref{lastpage}}


The result I get is: 2 of ?? (on page 2 for instance).

I don't get any error messages but it seems that it is unknown how many 
pages the document has. How can I solve this?


Hi,

I'm not an expert, but looking at the fancy header manual (e.g. section 
16 on page 15, you should use

\pageref{LastPage}
instead of
\pageref{lastpage}

For me, this small change is sufficient to have a correct last page number.

Also, you do have warnings that could have pointed you to this:
In Documents->LaTeX Log you can access the log, in which you can see 
several warnings (in blue) from latex saying:
"LaTeX Warning: Reference `lastpage' on page 1 undefined on input line 
37." (the page number and line number can be different for you)


Best regards,

Olivier



Regards
Bart






Re: LyX & ".doc"

2009-09-22 Thread Olivier Ripoll

Steve Litt wrote:

On Saturday 19 September 2009 11:07:54 Stefano Franchi wrote:

[...]
Given the original poster wanted to import, write and edit, I think he just 
wanted an easier front end to the MSWord native format. That's definitely not 
LyX.


MSWord's an excellent program, so why not just use that? I wouldn't want to 
write a book or a 30 page report in MSWord, but for shorter stuff  Word is just 
fine.


Hi,

I'm going off-topic, but the last sentence made me jump so high that I 
hit the ceiling ;-)


2 years ago, I was writing a report for a customer, which ended being 23 
pages("Word is just fine" according to the above sentence). I had been 
working for 2-3 days on it when Word (office 2003) crashed (that's 
usual). This time, the result of the crash was: "back to day 1" (the 
template, empty). Everything lost. No proposed recovery point. I 
fortunately had a version saved on another disc a few hours before, so I 
could recover most of my work, but not all. I let you imagine the level 
of anger I developed that day (I've had similar experiences with Excel, 
but that's another topic).


I would NEVER EVER advise the use of Word for more than 5 pages, if 
images/graphs are embedded in the document. I have to use it for those 
reports because that's the company procedure and the report needs to go 
through other people (change-tracking) who only have Word. But for 
internal documents, I immediately switched to LyX.
In addition to not losing my precious hours of work anymore, I benefited 
from:
 - nice pdf with hyperlinks/bookmarks (we use pdfcreator with office, 
the links are no preserved with it),
 - 2 to 3 times increase in speed when typing equations (MS equation 
editor ... ouch!),

 - nice looking documents,
 - easy figure placement (frames in Word are not good, floats are better)

But to come back in-topic, I used plain text to transfer the content 
from Word to LyX. I had to redo all pictures/figures, all styling, but 
for a one-time process, it is acceptable.


Cheers,

Olivier



SteveT
 
Steve Litt

Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt







Re: What symbol for Fourier transform?

2009-09-16 Thread Olivier Ripoll

Uwe Stöhr wrote:

Olivier Ripoll schrieb:

What you want to get the really nice Fourier symbol is "\mathscr{F}", 
the "script" F. It is visible as number 2131 in this unicode chart

http://www.unicode.org/charts/PDF/U2100.pdf


Thanks for the info, I wasn't aware of that character. The character is 
nevertheless unfortunately not available in Windows' standard fonts like 
Arial or Times New Roman. Even none of the fonts I have installed 
support this character. This might be the reason why is character is 
rarely used.


It works for me through:
insert->special characters->symbols...->Letterlike Symbols
I'm using the "Times New Roman", "Arial" and "Courier New" fonts for the 
LyX interface. It looks however better with Déjà Vu fonts than with MS 
fonts in LyX.


So who that allow to have the Fourier transform character displayed in 
LyX with my module instead of \FT latex code ?


Best regards,

Olivier


regards Uwe





Re: What symbol for Fourier transform?

2009-09-16 Thread Olivier Ripoll

Neal Becker wrote:
What do you usually use for Fourier transform?  Calligraphic F, or maybe 
something else?


Hi,

Calligraphic F is not the right symbol, although it seems more and more 
used now :-( (probably because people don't find the correct one, at 
least that was my case in the past).


What you want to get the really nice Fourier symbol is "\mathscr{F}", 
the "script" F. It is visible as number 2131 in this unicode chart

http://www.unicode.org/charts/PDF/U2100.pdf

You'll need some additional packages:
amsmath and (IIRC) mathrsfs.

I attach to this mail my layout module to add some common math functions 
to LyX. Drop it to you layout folder(*), reconfigure, and add it to the 
file via the document settings. Then all you need is to type \FT for it 
and \iFT for the inverse Fourier transform.


You can also just pick the interesting code and drop it to the preamble

Best regards,

Olivier

(*)On Windows, it would be something like
C:\Documents and Settings\yourusername\Application Data\lyx16\layouts
on Linux, something like
/home/username/.lyx/layouts
#\DeclareLyXModule{More Maths Functions}
#DescriptionBegin
#Additional functions: erf, erfc, sinc, sgn , missing hyperbolic & inverse 
hyperbolic functions,
#Fourier transform & inverse, logarithms in base 10 and 2, floor/ceil (letters 
and mathematical
#notation).
#DescriptionEnd

# Author : Olivier Ripoll

Format 11

Requiresamsmath,mathrsfs

AddToPreamble
\DeclareMathOperator{\sinc}{sinc}
\DeclareMathOperator{\sgn}{sgn}
\DeclareMathOperator{\erf}{erf}
\DeclareMathOperator{\erfc}{erfc}
\DeclareMathOperator{\FT}{\mathscr{F}}
\DeclareMathOperator{\iFT}{\mathscr{F}^{-1}}
\DeclareMathOperator{\logten}{log_{10}}
\DeclareMathOperator{\logtwo}{log_2}
\DeclareMathOperator{\sech}{sech}
\DeclareMathOperator{\csch}{csch}
\DeclareMathOperator{\arsinh}{arsinh}
\DeclareMathOperator{\arcosh}{arcosh}
\DeclareMathOperator{\artanh}{artanh}
\DeclareMathOperator{\arcoth}{arcoth}
\DeclareMathOperator{\arsech}{arsech}
\DeclareMathOperator{\arcsch}{arcsch}
\newcommand{\Floor}[1]
 {\left\lfloor {#1} \right\rfloor}
\DeclareMathOperator{\floor}{floor}
\newcommand{\Ceil}[1]
 {\left\lceil #1 \right\rceil}
\DeclareMathOperator{\ceil}{ceil}
EndPreamble



Re: Lyx 1.6.4 Spellchecker on Windows XP

2009-08-27 Thread Olivier Ripoll

Nurul Miah wrote:

Hi,

I have installed the complete package of LYX 1.6.4 with Aspell for
Windows XP. (http://wiki.lyx.org/Windows/LyXWinInstaller)


I am having problems with spellchecking my documents I have created.
I keep getting the error message "The spellechker could not be started.
No word lists can be found for the language "en_GB" "

Any suggestions on how to get this working?

Kind Regards,

Hi,

I've had several aspell issues in the past (last was 1.6.0alpha2), but I 
think they are fixed now. Last time, I seem to remember (well, I 
cheated, I googled for the archives of that list) that I could solve the 
issue by using the following installer:

http://wiki.lyx.org/uploads/Windows/Aspell6/aspelldata-0.60.4-root.exe
and the desired language files, all found at
ftp://ftp.lyx.org/pub/lyx/contrib/aspell6-windows/

First try to install the desired language, then if it still fails try 
the "root" one above.


But first wait to let time for others to reply first. Someone may have a 
better solution.


Best regards,

Olivier



Re: [announce] LyXWinInstaller for LyX 1.6.4

2009-08-25 Thread Olivier Ripoll

Murray Eisenberg wrote:

How does one tell which installer was used for 1.6.3?

My installation does have a file LyXWinUninstall.exe, with creation date 
3/15/2009, 4:44 p.m., in the installation directory. Does that help to 
determine which installer?


Hi,

Well, LyX 1.6.3 was released on June 4th, while 1.6.2 was released on 
March 15, so it seems like this file dates from 1.6.2.
Usually, Uwe's Alternative installer is released few hours after the 
announcement, while the other installer is released several days after, 
so it looks like that file is from the alternative installer of 1.6.2.


I think the other installer installs the program somewhere in your 
personal folder (in C:\documents and settings) when you choose to 
install for the user only. I do not remember the alternative installer 
doing that, so if your lyx executable is in your personal folder 
(probably in one on the hidden directories "Local Settings\Application 
Data", "Application Data" or "Local Settings\Apps"), it is likely the 
other installer. But that's from memory, so I may be wrong.


Also, and that's again from memory [so I might very well be confused], 
LyX's shortcut in the alternative installer points to a bat file, 
contains the version number in its name, and is located in a sub-folder 
of the start menu, together with the uninstaller. The other installer is 
different, but I do not remember on which point (I think it does point 
to the executable and does not have the version in the shortcut name).


Best regards,

Olivier



Uwe Stöhr wrote:

Hello LyXers,

the alternative Windows installer for LyX 1.6.4 is now available.

This installer comes again with an update installer to update existing 
LyX 1.6.3 installation to LyX
1.6.4. NOTE: To be able to use this installer version, LyX 1.6.3 must 
have been installed with the

alternative Windows installer.

-

The installer for this version can be downloaded from:
http://developer.berlios.de/project/showfiles.php?group_id=5117&release_id=16634 


and
http://ftp.lyx.org/pub/lyx/bin/1.6.4/

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

Installer Changelog:
-
Version 4.20
- LyX 1.6.4
- updated to ImageMagick 6.5.5-0
- updated to JabRef 2.5
- updated to Ghostscript 8.70
-

happy LyXing
Uwe







Re: [announce] LyXWinInstaller for LyX 1.6.4

2009-08-25 Thread Olivier Ripoll

Uwe Stöhr wrote:
 > I noticed there is a change for elyxer and embedded images. For 
people who do not have python
 > installed on their machine, the hack to have elyxer to work has 
changed (the "--directory $$r" has
 > to be added to the LyX->HTML converter, as it has been added in the 
default installation).


My installer will set up eLyXer automatically in the next version.
For this version this is not possible due to bugs in eLyXer. The main 
one is that eLyXer cannot handle paths with spaces but Windows default 
installation directory contains spaces. We are working on this problem 
and as soon at this is fixed I'll release a new installer version with 
full eLyXer support.


regards Uwe


Hi Uwe,

Great news!

Best regards,

Olivier

PS: I noticed that the second variant of the hack creates some 
complaints from LyX at start-up (about missing ' in the converter line 
IIRC), but works anyway.




Re: [announce] LyXWinInstaller for LyX 1.6.4

2009-08-25 Thread Olivier Ripoll

Olivier Ripoll wrote:

Uwe Stöhr wrote:

Hello LyXers,

the alternative Windows installer for LyX 1.6.4 is now available.


Hi Uwe,

Thanks for being so fast as compiling (and thanks all the team for the 
new version).


I noticed there is a change for elyxer and embedded images. For people 
who do not have python installed on their machine, the hack to have 
elyxer to work has changed (the "--directory $$r" has to be added to the 
LyX->HTML converter, as it has been added in the default installation).


As a reference, the process is the following:


[...]

Here is a variant for people who do not want to (or cannot) copy the 
elyxer.py file into their lyx folder.

Assuming you have elyxer installed in
C:\Program Files\elyxer
The line to use in step 2 becomes

python "C:/Program Files/elyxer/elyxer.py" --directory $$r $$i $$o

Note that you can also use backslashes:
python "C:\Program Files\elyxer\elyxer.py" --directory $$r $$i $$o

You must take care to enclose the path with "" if you have spaces (like 
between 'Program' and 'Files').


This variant has the advantage that you do not need to do step 1 at 
every time you install / uninstall LyX and that you can do it as a user 
if you are not administrator (i.e. if you cannot write in the Program 
Files directory, you can have elyxer somewhere in your account).


Best regards,

Olivier

PS: For people who wonder how one can run python while it is not 
installed on the machine, the answer is that LyX (and inkscape, ...) 
comes bundled with their own minimal python on Windows.


1- copy the elyxer.py (at least version 0.27) into LyX scripts folder, 
which should be on most machines:

C:\Program Files\LyX 1.6.4\Resources\scripts

2- in LyX, got to Tools->Preferences, then go to File 
Handling->Converters section. Select the "LyX -> HTML" converter 
definition, and replace the Converter line

elyxer --directory $$r $$i $$o
by
python $$s/scripts/elyxer.py --directory $$r $$i $$o
[If you have used this trick before with 1.6.3 and kept the old 
preferences when installing 1.6.4, the old line to replace should be

python $$s/scripts/elyxer.py $$i $$o
and you should replace it by the same line with the added --directory $$r]

3- Press "Modify" then "Save". You should now be able to export and view 
with elyxer and have the images.


Without this trick, on my machine, the default code results in elyxer 
being opened in my text editor (the default action for .py files when 
you do not have python installed is probably to open them in a editor, 
or to do nothing).


I hope this can be useful for other people.

Best regards,

Olivier




Re: [announce] LyXWinInstaller for LyX 1.6.4

2009-08-25 Thread Olivier Ripoll

Uwe Stöhr wrote:

Hello LyXers,

the alternative Windows installer for LyX 1.6.4 is now available.


Hi Uwe,

Thanks for being so fast as compiling (and thanks all the team for the 
new version).


I noticed there is a change for elyxer and embedded images. For people 
who do not have python installed on their machine, the hack to have 
elyxer to work has changed (the "--directory $$r" has to be added to the 
LyX->HTML converter, as it has been added in the default installation).


As a reference, the process is the following:

1- copy the elyxer.py (at least version 0.27) into LyX scripts folder, 
which should be on most machines:

C:\Program Files\LyX 1.6.4\Resources\scripts

2- in LyX, got to Tools->Preferences, then go to File 
Handling->Converters section. Select the "LyX -> HTML" converter 
definition, and replace the Converter line

elyxer --directory $$r $$i $$o
by
python $$s/scripts/elyxer.py --directory $$r $$i $$o
[If you have used this trick before with 1.6.3 and kept the old 
preferences when installing 1.6.4, the old line to replace should be

python $$s/scripts/elyxer.py $$i $$o
and you should replace it by the same line with the added --directory $$r]

3- Press "Modify" then "Save". You should now be able to export and view 
with elyxer and have the images.


Without this trick, on my machine, the default code results in elyxer 
being opened in my text editor (the default action for .py files when 
you do not have python installed is probably to open them in a editor, 
or to do nothing).


I hope this can be useful for other people.

Best regards,

Olivier

This installer comes again with an update installer to update existing 
LyX 1.6.3 installation to LyX
1.6.4. NOTE: To be able to use this installer version, LyX 1.6.3 must 
have been installed with the

alternative Windows installer.

-

The installer for this version can be downloaded from:
http://developer.berlios.de/project/showfiles.php?group_id=5117&release_id=16634 


and
http://ftp.lyx.org/pub/lyx/bin/1.6.4/

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

Installer Changelog:
-
Version 4.20
- LyX 1.6.4
- updated to ImageMagick 6.5.5-0
- updated to JabRef 2.5
- updated to Ghostscript 8.70
-

happy LyXing
Uwe







Re: help - some questions

2009-08-23 Thread Olivier Ripoll

rgheck wrote:

On 08/21/2009 06:08 AM, Sam Liddicott wrote:

* Olivier Ripoll wrote, On 21/08/09 10:29:
  

Sam Liddicott wrote:


(I wish Lyx supported adding per-document layouts and elements in the
same way that it supports adding Latex commands in the preamble)
   

Isn't that what layout modules are for ?
 

Sure, but as you can't embed a layout module in the lyx document, ERT
can sometimes be easier and more portable, and for small chunks of text
is already clearly delineated in the Lyx document by the red box.

   
Actually, LyX does support embedded layout. But it's an Advanced Feature 
because it is somewhat dangerous, so it is not widely advertised. There 
is also, at the moment, no GUI for it.


Have a look at the file Customization.lyx in your favorite text editor. 
Some way down you will find these lines:


\begin_local_layout
Format 7
InsetLayout CharStyle:MenuItem
LyxType   charstyle
LabelString   menu
LatexType command
LatexName menuitem
Font
Family  Sans
EndFont
Preamble
\newcommand*{\menuitem}[1]{{\sffamily #1}}
EndPreamble
End
\end_local_layout

If you want to include local layout in your document, you can open it in 
a text editor and add similar lines. Make sure they are well tested 
first, and be real careful about the first and last line. Unpredictable 
things might happen otherwise.


I hope to add a GUI for this in the next LyX release (now looking like 
1.7). I'd be really, really happy if someone else wanted to jump in and 
do it. It should actually be quite easy. (More or less just copy the GUI 
for the preamble.)


Richard



Hi,

Wouldn't it make sense to have some option somewhere to include external 
modules to the .lyx file this way? I mean, the ones that are included at 
present from the GUI.


Best regards,

Olivier





  1   2   3   >