Re: textgreek and textcyr and polyglossia

2011-09-08 Thread Jürgen Spitzmüller
Bernd Kappenberg wrote:
 What do I have to type to get the LyX natural polyglossia support?

As of version 2.0, LyX automatically uses polyglossia instead of babel if

1. You use XeTeX (with or without non-TeX fonts)
2. You have selected language package Automatic (which is the default)
3. All languages used in the document are covered by polyglossia

As with babel, everything should be set up by LyX. You just need to set the 
languages in Document  Settings  Language (for the main language) and Edit  
Text Style  Custom (for text parts).

HTH,
Jürgen


Sweave in french with Latex

2011-09-08 Thread guillaume avenin
I am running LyX 2 on m'y Mac and cannot manage ro sweave in french.
Does anyone manage to do so?


Guillaume Avenin


Re: Sweave in french with Latex

2011-09-08 Thread Murat Yildizoglu
Hi Guillaume,
I have not recently used Sweave, but this is one of the first things that I
check when I test a new version of Lyx and it was working with LyX 2.0 on my
Mac OSX 10.6.

2011/9/8 guillaume avenin guillaume.ave...@gmail.com

 I am running LyX 2 on m'y Mac and cannot manage ro sweave in french.
 Does anyone manage to do so?


 Guillaume Avenin




-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

yi...@u-bordeaux4.fr
http://yildizoglu.co.cc
http://www.twitter.com/yildizoglu


Re: Sweave in french with Latex

2011-09-08 Thread Xu Wang
Can you run Sweave in English?

Are you using the Sweave module?

Were you able to run Sweave in French before version 2?

Are you using 2.0.1?

On Thu, Sep 8, 2011 at 8:00 AM, Murat Yildizoglu myi...@gmail.com wrote:

 Hi Guillaume,
 I have not recently used Sweave, but this is one of the first things that I
 check when I test a new version of Lyx and it was working with LyX 2.0 on my
 Mac OSX 10.6.


 2011/9/8 guillaume avenin guillaume.ave...@gmail.com

 I am running LyX 2 on m'y Mac and cannot manage ro sweave in french.
 Does anyone manage to do so?


 Guillaume Avenin




 --
 Prof. Murat Yildizoglu

 Université Montesquieu Bordeaux IV
 GREThA (UMR CNRS 5113)
 Avenue Léon Duguit
 33608 Pessac cedex
 France

 yi...@u-bordeaux4.fr
 http://yildizoglu.co.cc
 http://www.twitter.com/yildizoglu




Re: Sweave in french with Latex

2011-09-08 Thread Liviu Andronic
On Thu, Sep 8, 2011 at 1:05 PM, guillaume avenin
guillaume.ave...@gmail.com wrote:
 I am running LyX 2 on m'y Mac and cannot manage ro sweave in french.
 Does anyone manage to do so?

Seems to work as expected here, with 2.0.1 on Xubuntu 10.04.
Liviu


Re: Sweave in french with Latex

2011-09-08 Thread Murat Yildizoglu
I have just compiled a Sweave document with Lyx 2.01, it workkd like a
charm.

Have you included the sweave module in the settings of your document? Do you
have all necessary packages on your Mac?

2011/9/8 guillaume avenin guillaume.ave...@gmail.com

 I am running LyX 2 on m'y Mac and cannot manage ro sweave in french.
 Does anyone manage to do so?


 Guillaume Avenin




-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

yi...@u-bordeaux4.fr
http://yildizoglu.co.cc
http://www.twitter.com/yildizoglu


Re: indicate page number of floats

2011-09-08 Thread Csikos Bela
Julien Rioux jri...@physics.utoronto.ca írta:
On 06/09/2011 8:50 PM, Csikos Bela wrote:
 As I see the varioref package is used for this purpose.
 I looked at its documentation and found that the package has starred
 versions of vref and vpageref commands (vref*, vpageref*) which prevent
 insertion of a space before the reference. It seems that currently the 
 starred
 commands can not be inserted through lyx, TeX code has to be used
 (which is not a problem). But it could be a feature improvement if they
 could be inserted through lyx as well in a future release.


So you get extra spaces? Do you have a minimal example file which shows 
your problem?


Thank Julien.
Here is an example. See the page reference in the parenthesis.

#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\use_mhchem 1
\use_mathdots 1
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
Figure 
\begin_inset CommandInset ref
LatexCommand ref
reference fig1

\end_inset

 (
\begin_inset CommandInset ref
LatexCommand vpageref
reference fig1

\end_inset

) shows ...
\end_layout

\begin_layout Standard
\begin_inset Float figure
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
name fig1

\end_inset

This is a figure caption
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\end_body
\end_document


You can always put the reference right next to the preceding word:
as seen[pageref]
will produce
as seen on this page
in output.

I don't remember if I ever needed to do that and why.

 Another issue is that one of my references says 'on this page'  (in the last 
 line
 of the page) but the table float is placed on the next page.
 How can I correct this one?


I never had this. Is your label within the float?


Yes, it is. I will try to make an example for this too, but it takes time.

 One more question:
 The varioref document says that the \reftextbefore etc. commands can be
 redefined, but if babel is used it has to be done using babel mechanism.
 It gives an example:

 \addto\extrasngerman{%
  \renewcommand\reftextfaceafter {auf der n\achsten Seite}%
   ...
}

 What would be the command for magyar (Hungarian) language?
 How can I find it out?

I would try replacing ngerman with magyar.


Unfortunately this does not work.
Try to figure it out myself.

Thanks again,

bcsikos



PDF won't generate

2011-09-08 Thread Gabriel Hurley
With a fresh install of LyX, I create a new document and attempt to
convert it to PDF. It never converts (after 30 minutes of waiting).
The debug messages say the following:

21:15:56.373: Previewing ...
21:15:56.379: (buffer-view: Ctrl+R)
21:15:56.402: pdflatex  newfile1.tex
21:15:56.472: This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8)
21:15:56.482: entering extended mode
21:15:56.483: ! I can't find file `newfile1.tex'.
21:15:56.485: * newfile1.tex
21:15:56.486:

How do I fix this?

Yours Sincerely,
Gabriel Hurley


Re: Sweave in french with Latex

2011-09-08 Thread Yihui Xie
LyX 2.0 (or the latest 2.0.1) should do reasonably well in handling
different languages. As the first step to diagnose your problem, could
you please post the debug messages? (You can find them under the menu
View--View messages)

Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Thu, Sep 8, 2011 at 6:05 AM, guillaume avenin
guillaume.ave...@gmail.com wrote:
 I am running LyX 2 on m'y Mac and cannot manage ro sweave in french.
 Does anyone manage to do so?


 Guillaume Avenin



Re: PDF won't generate

2011-09-08 Thread Xu Wang
What operating system do you use? Are you using 2.0.1? I assume that this
happens for any lyx file, even the simplest ones?

On Thu, Sep 8, 2011 at 10:17 PM, Gabriel Hurley gabriel.hur...@gmail.comwrote:

 With a fresh install of LyX, I create a new document and attempt to
 convert it to PDF. It never converts (after 30 minutes of waiting).
 The debug messages say the following:

 21:15:56.373: Previewing ...
 21:15:56.379: (buffer-view: Ctrl+R)
 21:15:56.402: pdflatex  newfile1.tex
 21:15:56.472: This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8)
 21:15:56.482: entering extended mode
 21:15:56.483: ! I can't find file `newfile1.tex'.
 21:15:56.485: * newfile1.tex
 21:15:56.486:

 How do I fix this?

 Yours Sincerely,
 Gabriel Hurley



Re: textgreek and textcyr and polyglossia

2011-09-08 Thread Jürgen Spitzmüller
Bernd Kappenberg wrote:
 What do I have to type to get the LyX natural polyglossia support?

As of version 2.0, LyX automatically uses polyglossia instead of babel if

1. You use XeTeX (with or without non-TeX fonts)
2. You have selected language package Automatic (which is the default)
3. All languages used in the document are covered by polyglossia

As with babel, everything should be set up by LyX. You just need to set the 
languages in Document  Settings  Language (for the main language) and Edit  
Text Style  Custom (for text parts).

HTH,
Jürgen


Sweave in french with Latex

2011-09-08 Thread guillaume avenin
I am running LyX 2 on m'y Mac and cannot manage ro sweave in french.
Does anyone manage to do so?


Guillaume Avenin


Re: Sweave in french with Latex

2011-09-08 Thread Murat Yildizoglu
Hi Guillaume,
I have not recently used Sweave, but this is one of the first things that I
check when I test a new version of Lyx and it was working with LyX 2.0 on my
Mac OSX 10.6.

2011/9/8 guillaume avenin guillaume.ave...@gmail.com

 I am running LyX 2 on m'y Mac and cannot manage ro sweave in french.
 Does anyone manage to do so?


 Guillaume Avenin




-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

yi...@u-bordeaux4.fr
http://yildizoglu.co.cc
http://www.twitter.com/yildizoglu


Re: Sweave in french with Latex

2011-09-08 Thread Xu Wang
Can you run Sweave in English?

Are you using the Sweave module?

Were you able to run Sweave in French before version 2?

Are you using 2.0.1?

On Thu, Sep 8, 2011 at 8:00 AM, Murat Yildizoglu myi...@gmail.com wrote:

 Hi Guillaume,
 I have not recently used Sweave, but this is one of the first things that I
 check when I test a new version of Lyx and it was working with LyX 2.0 on my
 Mac OSX 10.6.


 2011/9/8 guillaume avenin guillaume.ave...@gmail.com

 I am running LyX 2 on m'y Mac and cannot manage ro sweave in french.
 Does anyone manage to do so?


 Guillaume Avenin




 --
 Prof. Murat Yildizoglu

 Université Montesquieu Bordeaux IV
 GREThA (UMR CNRS 5113)
 Avenue Léon Duguit
 33608 Pessac cedex
 France

 yi...@u-bordeaux4.fr
 http://yildizoglu.co.cc
 http://www.twitter.com/yildizoglu




Re: Sweave in french with Latex

2011-09-08 Thread Liviu Andronic
On Thu, Sep 8, 2011 at 1:05 PM, guillaume avenin
guillaume.ave...@gmail.com wrote:
 I am running LyX 2 on m'y Mac and cannot manage ro sweave in french.
 Does anyone manage to do so?

Seems to work as expected here, with 2.0.1 on Xubuntu 10.04.
Liviu


Re: Sweave in french with Latex

2011-09-08 Thread Murat Yildizoglu
I have just compiled a Sweave document with Lyx 2.01, it workkd like a
charm.

Have you included the sweave module in the settings of your document? Do you
have all necessary packages on your Mac?

2011/9/8 guillaume avenin guillaume.ave...@gmail.com

 I am running LyX 2 on m'y Mac and cannot manage ro sweave in french.
 Does anyone manage to do so?


 Guillaume Avenin




-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

yi...@u-bordeaux4.fr
http://yildizoglu.co.cc
http://www.twitter.com/yildizoglu


Re: indicate page number of floats

2011-09-08 Thread Csikos Bela
Julien Rioux jri...@physics.utoronto.ca írta:
On 06/09/2011 8:50 PM, Csikos Bela wrote:
 As I see the varioref package is used for this purpose.
 I looked at its documentation and found that the package has starred
 versions of vref and vpageref commands (vref*, vpageref*) which prevent
 insertion of a space before the reference. It seems that currently the 
 starred
 commands can not be inserted through lyx, TeX code has to be used
 (which is not a problem). But it could be a feature improvement if they
 could be inserted through lyx as well in a future release.


So you get extra spaces? Do you have a minimal example file which shows 
your problem?


Thank Julien.
Here is an example. See the page reference in the parenthesis.

#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\use_mhchem 1
\use_mathdots 1
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
Figure 
\begin_inset CommandInset ref
LatexCommand ref
reference fig1

\end_inset

 (
\begin_inset CommandInset ref
LatexCommand vpageref
reference fig1

\end_inset

) shows ...
\end_layout

\begin_layout Standard
\begin_inset Float figure
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
name fig1

\end_inset

This is a figure caption
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\end_body
\end_document


You can always put the reference right next to the preceding word:
as seen[pageref]
will produce
as seen on this page
in output.

I don't remember if I ever needed to do that and why.

 Another issue is that one of my references says 'on this page'  (in the last 
 line
 of the page) but the table float is placed on the next page.
 How can I correct this one?


I never had this. Is your label within the float?


Yes, it is. I will try to make an example for this too, but it takes time.

 One more question:
 The varioref document says that the \reftextbefore etc. commands can be
 redefined, but if babel is used it has to be done using babel mechanism.
 It gives an example:

 \addto\extrasngerman{%
  \renewcommand\reftextfaceafter {auf der n\achsten Seite}%
   ...
}

 What would be the command for magyar (Hungarian) language?
 How can I find it out?

I would try replacing ngerman with magyar.


Unfortunately this does not work.
Try to figure it out myself.

Thanks again,

bcsikos



PDF won't generate

2011-09-08 Thread Gabriel Hurley
With a fresh install of LyX, I create a new document and attempt to
convert it to PDF. It never converts (after 30 minutes of waiting).
The debug messages say the following:

21:15:56.373: Previewing ...
21:15:56.379: (buffer-view: Ctrl+R)
21:15:56.402: pdflatex  newfile1.tex
21:15:56.472: This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8)
21:15:56.482: entering extended mode
21:15:56.483: ! I can't find file `newfile1.tex'.
21:15:56.485: * newfile1.tex
21:15:56.486:

How do I fix this?

Yours Sincerely,
Gabriel Hurley


Re: Sweave in french with Latex

2011-09-08 Thread Yihui Xie
LyX 2.0 (or the latest 2.0.1) should do reasonably well in handling
different languages. As the first step to diagnose your problem, could
you please post the debug messages? (You can find them under the menu
View--View messages)

Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Thu, Sep 8, 2011 at 6:05 AM, guillaume avenin
guillaume.ave...@gmail.com wrote:
 I am running LyX 2 on m'y Mac and cannot manage ro sweave in french.
 Does anyone manage to do so?


 Guillaume Avenin



Re: PDF won't generate

2011-09-08 Thread Xu Wang
What operating system do you use? Are you using 2.0.1? I assume that this
happens for any lyx file, even the simplest ones?

On Thu, Sep 8, 2011 at 10:17 PM, Gabriel Hurley gabriel.hur...@gmail.comwrote:

 With a fresh install of LyX, I create a new document and attempt to
 convert it to PDF. It never converts (after 30 minutes of waiting).
 The debug messages say the following:

 21:15:56.373: Previewing ...
 21:15:56.379: (buffer-view: Ctrl+R)
 21:15:56.402: pdflatex  newfile1.tex
 21:15:56.472: This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8)
 21:15:56.482: entering extended mode
 21:15:56.483: ! I can't find file `newfile1.tex'.
 21:15:56.485: * newfile1.tex
 21:15:56.486:

 How do I fix this?

 Yours Sincerely,
 Gabriel Hurley



Re: textgreek and textcyr and polyglossia

2011-09-08 Thread Jürgen Spitzmüller
Bernd Kappenberg wrote:
> What do I have to type to get the LyX natural polyglossia support?

As of version 2.0, LyX automatically uses polyglossia instead of babel if

1. You use XeTeX (with or without non-TeX fonts)
2. You have selected language package "Automatic" (which is the default)
3. All languages used in the document are covered by polyglossia

As with babel, everything should be set up by LyX. You just need to set the 
languages in Document > Settings > Language (for the main language) and Edit > 
Text Style > Custom (for text parts).

HTH,
Jürgen


Sweave in french with Latex

2011-09-08 Thread guillaume avenin
I am running LyX 2 on m'y Mac and cannot manage ro sweave in french.
Does anyone manage to do so?


Guillaume Avenin


Re: Sweave in french with Latex

2011-09-08 Thread Murat Yildizoglu
Hi Guillaume,
I have not recently used Sweave, but this is one of the first things that I
check when I test a new version of Lyx and it was working with LyX 2.0 on my
Mac OSX 10.6.

2011/9/8 guillaume avenin 

> I am running LyX 2 on m'y Mac and cannot manage ro sweave in french.
> Does anyone manage to do so?
>
>
> Guillaume Avenin
>



-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

yi...@u-bordeaux4.fr
http://yildizoglu.co.cc
http://www.twitter.com/yildizoglu


Re: Sweave in french with Latex

2011-09-08 Thread Xu Wang
Can you run Sweave in English?

Are you using the Sweave module?

Were you able to run Sweave in French before version 2?

Are you using 2.0.1?

On Thu, Sep 8, 2011 at 8:00 AM, Murat Yildizoglu  wrote:

> Hi Guillaume,
> I have not recently used Sweave, but this is one of the first things that I
> check when I test a new version of Lyx and it was working with LyX 2.0 on my
> Mac OSX 10.6.
>
>
> 2011/9/8 guillaume avenin 
>
>> I am running LyX 2 on m'y Mac and cannot manage ro sweave in french.
>> Does anyone manage to do so?
>>
>>
>> Guillaume Avenin
>>
>
>
>
> --
> Prof. Murat Yildizoglu
>
> Université Montesquieu Bordeaux IV
> GREThA (UMR CNRS 5113)
> Avenue Léon Duguit
> 33608 Pessac cedex
> France
>
> yi...@u-bordeaux4.fr
> http://yildizoglu.co.cc
> http://www.twitter.com/yildizoglu
>
>


Re: Sweave in french with Latex

2011-09-08 Thread Liviu Andronic
On Thu, Sep 8, 2011 at 1:05 PM, guillaume avenin
 wrote:
> I am running LyX 2 on m'y Mac and cannot manage ro sweave in french.
> Does anyone manage to do so?
>
Seems to work as expected here, with 2.0.1 on Xubuntu 10.04.
Liviu


Re: Sweave in french with Latex

2011-09-08 Thread Murat Yildizoglu
I have just compiled a Sweave document with Lyx 2.01, it workkd like a
charm.

Have you included the sweave module in the settings of your document? Do you
have all necessary packages on your Mac?

2011/9/8 guillaume avenin 

> I am running LyX 2 on m'y Mac and cannot manage ro sweave in french.
> Does anyone manage to do so?
>
>
> Guillaume Avenin
>



-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

yi...@u-bordeaux4.fr
http://yildizoglu.co.cc
http://www.twitter.com/yildizoglu


Re: indicate page number of floats

2011-09-08 Thread Csikos Bela
Julien Rioux  írta:
>On 06/09/2011 8:50 PM, Csikos Bela wrote:>
> As I see the varioref package is used for this purpose.>
> I looked at its documentation and found that the package has starred>
> versions of vref and vpageref commands (vref*, vpageref*) which prevent>
> insertion of a space before the reference. It seems that currently the 
> starred>
> commands can not be inserted through lyx, TeX code has to be used>
> (which is not a problem). But it could be a feature improvement if they>
> could be inserted through lyx as well in a future release.>
>>
>
>So you get extra spaces? Do you have a minimal example file which shows >
>your problem?>
>

Thank Julien.
Here is an example. See the page reference in the parenthesis.

#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\use_mhchem 1
\use_mathdots 1
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
Figure 
\begin_inset CommandInset ref
LatexCommand ref
reference "fig1"

\end_inset

 (
\begin_inset CommandInset ref
LatexCommand vpageref
reference "fig1"

\end_inset

) shows ...
\end_layout

\begin_layout Standard
\begin_inset Float figure
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
name "fig1"

\end_inset

This is a figure caption
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\end_body
\end_document


>You can always put the reference right next to the preceding word:
>"as seen[pageref]"
>will produce
>"as seen on this page"
>in output.
>
>I don't remember if I ever needed to do that and why.
>
> Another issue is that one of my references says 'on this page'  (in the last 
> line>
> of the page) but the table float is placed on the next page.>
> How can I correct this one?>
>>
>
I never had this. Is your label within the float?>
>

Yes, it is. I will try to make an example for this too, but it takes time.

> One more question:>
> The varioref document says that the \reftextbefore etc. commands can be>
> redefined, but if babel is used it has to be done using babel mechanism.>
> It gives an example:>
>>
> \addto\extrasngerman{%>
>  \renewcommand\reftextfaceafter {auf der n\"achsten Seite}%>
>   ...>
>}>
>>
> What would be the command for magyar (Hungarian) language?>
> How can I find it out?>
>
I would try replacing ngerman with magyar.>
>

Unfortunately this does not work.
Try to figure it out myself.

Thanks again,

bcsikos



PDF won't generate

2011-09-08 Thread Gabriel Hurley
With a fresh install of LyX, I create a new document and attempt to
convert it to PDF. It never converts (after 30 minutes of waiting).
The debug messages say the following:

21:15:56.373: Previewing ...
21:15:56.379: (buffer-view: Ctrl+R)
21:15:56.402: pdflatex  "newfile1.tex"
21:15:56.472: This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8)
21:15:56.482: entering extended mode
21:15:56.483: ! I can't find file `newfile1.tex'.
21:15:56.485: <*> newfile1.tex
21:15:56.486:

How do I fix this?

Yours Sincerely,
Gabriel Hurley


Re: Sweave in french with Latex

2011-09-08 Thread Yihui Xie
LyX 2.0 (or the latest 2.0.1) should do reasonably well in handling
different languages. As the first step to diagnose your problem, could
you please post the debug messages? (You can find them under the menu
View-->View messages)

Regards,
Yihui
--
Yihui Xie 
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Thu, Sep 8, 2011 at 6:05 AM, guillaume avenin
 wrote:
> I am running LyX 2 on m'y Mac and cannot manage ro sweave in french.
> Does anyone manage to do so?
>
>
> Guillaume Avenin
>


Re: PDF won't generate

2011-09-08 Thread Xu Wang
What operating system do you use? Are you using 2.0.1? I assume that this
happens for any lyx file, even the simplest ones?

On Thu, Sep 8, 2011 at 10:17 PM, Gabriel Hurley wrote:

> With a fresh install of LyX, I create a new document and attempt to
> convert it to PDF. It never converts (after 30 minutes of waiting).
> The debug messages say the following:
>
> 21:15:56.373: Previewing ...
> 21:15:56.379: (buffer-view: Ctrl+R)
> 21:15:56.402: pdflatex  "newfile1.tex"
> 21:15:56.472: This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8)
> 21:15:56.482: entering extended mode
> 21:15:56.483: ! I can't find file `newfile1.tex'.
> 21:15:56.485: <*> newfile1.tex
> 21:15:56.486:
>
> How do I fix this?
>
> Yours Sincerely,
> Gabriel Hurley
>