Re: Customize Copier in LyX

2012-03-30 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 30/03/12 01:26, stefano franchi wrote:
 
 On Thu, Mar 29, 2012 at 5:08 PM, Xi Zhang zhangxi-...@163.com 
 mailto:zhangxi-...@163.com 
 wrote:
 
 Richard Heck rgheck at comcast.net http://comcast.net writes:
 
 
 On 03/29/2012 05:39 PM, Xi Zhang wrote:
 I am writing something using LyX in Windows.
 
 I just want a simple funtion that every time I run pdfletex, the pdf file
 can
 be copied to the same folder in which the lyx file is. As these files will
 be
 sycronized by Dropbox, I can reat it on iPhone or iPad.
 
 Why don't you just export the file? Then it is put in that folder.
 
 I know that this has been discribed in Customization.lyx as a simple
 example. However, I have no idea of how
 Python works and how to make photocopier.sh executable.
 
 That example is for Linux or OSX.
 
 Richard
 
 
 
 
 Every time I pdflatex, I want this to be done automatically, as Dropbox 
 uploads it 
 automatically as well.
 
 
 I guess Richard's suggestion was:
 
 do not do: viewpdflatex,
 
 ***instead**
 
 do: fileexport pdflatex
 
 That would seem to solve your problem.
 
 You may even open a pdf viewer with file watching capabilities on the 
 exported file before you 
 start working on it and you'd enjoy the same advantages as working on a file 
 residing temp 
 directory.
 
 In fact, now that I think of, why isn't this LyX's standard behavior (as it 
 is, e.g., in 
 Kile)?

Let me guess: the export creates a document which you want to keep, while the 
view creates a
preview document, which is kind of work in progress.

So it is kind of security - preview does not mess with your documents.

Cheers,

Rainer
 
 Cheers,
 
 Stefano
 
 --
 
 __ Stefano Franchi Associate 
 Research Professor
 Department of Hispanic StudiesPh:   +1 (979) 845-2125 Texas AM 
 University
 Fax:  +1 (979) 845-6421 College Station, Texas, USA
 
 stef...@tamu.edu mailto:stef...@tamu.edu http://stefano.cleinias.org


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

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

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

iEYEARECAAYFAk91X3oACgkQoYgNqgF2egomIQCfV24z4zSFSCIoqyNX0po3KI01
lkwAn13mzgjG1517iNOL6Meao9FWtgRM
=GYqP
-END PGP SIGNATURE-


Re: Customize Copier in LyX

2012-03-30 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 30/03/12 00:08, Xi Zhang wrote:
 Richard Heck rgheck at comcast.net writes:
 
 
 On 03/29/2012 05:39 PM, Xi Zhang wrote:
 I am writing something using LyX in Windows.
 
 I just want a simple funtion that every time I run pdfletex, the pdf file
 can
 be copied to the same folder in which the lyx file is. As these files will
 be
 sycronized by Dropbox, I can reat it on iPhone or iPad.
 
 Why don't you just export the file? Then it is put in that folder.
 
 I know that this has been discribed in Customization.lyx as a simple
 example. However, I have no idea of how
 Python works and how to make photocopier.sh executable.
 
 That example is for Linux or OSX.
 
 Richard
 
 
 
 
 Every time I pdflatex, I want this to be done automatically, as Dropbox 
 uploads it
 automatically as well.

Change the keybinding Shift-Control-r (refresh preview) to export the format 
you want, and I think
you can even disable the overwrtite confirmation dialog.

Cheers,

Rainer

 


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

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

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

iEYEARECAAYFAk91YAwACgkQoYgNqgF2egq7VACeJlBfCIjZdn4QGFu2kyTPNwtx
oVUAnR7Ph/GMqXiYv1wzY4D7y/lKSL4X
=/Y8G
-END PGP SIGNATURE-


Re: Customize Copier in LyX

2012-03-30 Thread Xi Zhang
Rainer M Krug r.m.krug at gmail.com writes:

 
 
 On 30/03/12 00:08, Xi Zhang wrote:
  Richard Heck rgheck at comcast.net writes:
  
  
  On 03/29/2012 05:39 PM, Xi Zhang wrote:
  I am writing something using LyX in Windows.
  
  I just want a simple funtion that every time I run pdfletex, the pdf file
  can
  be copied to the same folder in which the lyx file is. As these files 
will
  be
  sycronized by Dropbox, I can reat it on iPhone or iPad.
  
  Why don't you just export the file? Then it is put in that folder.
  
  I know that this has been discribed in Customization.lyx as a simple
  example. However, I have no idea of how
  Python works and how to make photocopier.sh executable.
  
  That example is for Linux or OSX.
  
  Richard
  
  
  
  
  Every time I pdflatex, I want this to be done automatically, as Dropbox 
uploads it
  automatically as well.
 
 Change the keybinding Shift-Control-r (refresh preview) to export the format 
you want, and I think
 you can even disable the overwrtite confirmation dialog.
 
 Cheers,
 
 Rainer
 
  
 

Thanks guys. 

I added a new shortcut as command-sequence buffer-view pdf2; buffer-export 
pdf2;.

I guess that there is no changes between these two commands, so the file won't 
be compiled twice. But I am not sure. 

It works sometimes, but the preview is updated immediately whilst the stored 
file is updated after a long time. 

The option in Preferences that overwritten on export has been changed 
to all files.

I don't why. Any idea?



Delurk, and lualatex.exe

2012-03-30 Thread Samuel Murray

G'day everyone

I'm trying out various LaTeX editors and I notice that when I run LyX, a 
program named lualatex.exe tries to access the internet.  Why?


I used the 200 MB installer file, which has everything bundled into it, 
and MiKTeX downloaded an additional 12 MB of updates during the 
installation procedure.  But the program lualatex.exe tries to access 
the internet when I run LyX, not during the installation.


Does anyone know what lualatex.exe is and why it needs to access the 
internet?


I'm using Windows 7 HP 64-bit SP1.

Thanks
Samuel


Re: Delurk, and lualatex.exe

2012-03-30 Thread Jean-Marc Lasgouttes

Le 30/03/2012 11:08, Samuel Murray a écrit :

G'day everyone

I'm trying out various LaTeX editors and I notice that when I run LyX, a
program named lualatex.exe tries to access the internet. Why?

I used the 200 MB installer file, which has everything bundled into it,
and MiKTeX downloaded an additional 12 MB of updates during the
installation procedure. But the program lualatex.exe tries to access the
internet when I run LyX, not during the installation.

Does anyone know what lualatex.exe is and why it needs to access the
internet?


Lualatex is one of the latex versions that you can use. It is to have it 
run when typesetting a document. Do you use special fonts?


I assume that miktex did not download everything it needs yet.

I really do not like this autoloading of packages business...

JMarc



Re: Customize Copier in LyX

2012-03-30 Thread Xi Zhang

For now, I just added to shortcuts, one for buffer-view and one for export. 
They works fine. 

Just wonder why cannot put them together. 




Re: Delurk, and lualatex.exe

2012-03-30 Thread Samuel Murray

On 2012/03/30 11:23 AM, Jean-Marc Lasgouttes wrote:


Le 30/03/2012 11:08, Samuel Murray a écrit :



 I'm trying out various LaTeX editors and I notice that when I run LyX, a
 program named lualatex.exe tries to access the internet. Why?



Lualatex is one of the latex versions that you can use. It is to have it
run when typesetting a document. Do you use special fonts?


Not as far as I'm aware.  Although, now that I think about it, the first 
time you run LyX it automatically opens a LaTeX file in itself, with an 
introductory message.


Now that I run LyX for the second time, lualatex.exe no longer attempts 
to connect to the internet, because no document is open in it.


Samuel


Re: Delurk, and lualatex.exe

2012-03-30 Thread Samuel Murray

On 2012/03/30 12:26 PM, Jean-Marc Lasgouttes wrote:


Le 30/03/2012 11:46, Samuel Murray a écrit :



 Not as far as I'm aware. Although, now that I think about it, the first
 time you run LyX it automatically opens a LaTeX file in itself, with an
 introductory message.

 Now that I run LyX for the second time, lualatex.exe no longer attempts
 to connect to the internet, because no document is open in it.



I am not sure about what happens, but as far as I know lualatex.exe is a
safe program.


Google Update and Adobe Update are also safe programs :-) that access 
the internet and do all kinds of stuff without the user's say-so.  My 
concern wasn't with whether it was a trojan or not, but with whether it 
would download additional updates.  I wanted to know (initially) how 
large the actual installer for LyX is (including all required updates).


Samuel


Re: How I can get thin space more narrow?

2012-03-30 Thread Marcelo Acuña
Marcelo Acuña wrote:

 How I can redefine thin space for get it more narrow?
 I want to get a 0.4 * thin space but I don't know how to redefine it.

These are the relevant definitions from the LaTeX kernel:

\DeclareRobustCommand{\,}{%
   \relax\ifmmode\mskip\thinmuskip\else\thinspace\fi
}

\def\thinspace{\kern .16667em }

Adjusting the value in the thinspace definition will do. However, \thinspace 
is used in other macros. If you only want to change the width of the thin 
space itself, I would go for something like

\DeclareRobustCommand{\,}{%
   \relax\ifmmode\mskip\thinmuskip\else\mythinspace\fi
}

\def\mythinspace{\kern .06668em }



This work well, thank Jürgen!
Marcelo

Refer to Subnumbered Equations

2012-03-30 Thread Jane Shevtsov
I have some subnumbered equations (1a, 1b,...) in my document. Is it
possible to insert a reference to Eq. 1 rather than Eq. 1a, or do I
have to do this manually?

Thanks,
Jane

-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

She has future plans and dreams at night.
They tell her life is hard; she says 'That's all right'.  --Faith Hill,
Wild One


Re: Refer to Subnumbered Equations

2012-03-30 Thread Richard Heck

On 03/30/2012 03:46 PM, Jane Shevtsov wrote:
I have some subnumbered equations (1a, 1b,...) in my document. Is it 
possible to insert a reference to Eq. 1 rather than Eq. 1a, or do 
I have to do this manually?



Check:
http://www.iam.ubc.ca/old_pages/newbury/tex/subeqn.html
See the first note.

rh



LyX 2.0.3

2012-03-30 Thread KooShee

From: Stephan Witt st.witt at gmx.net
Subject: Re: LyX 2.0.3
Newsgroups: gmane.editors.lyx.general
Date: 2012-03-30 03:25:01 GMT (16 hours and 13 minutes ago)
Am 29.03.2012 um 23:50 schrieb KooShee:


finally I took the risk to install 2.0.3 without uninstalling LyX 1.6.10
and both are working properly.
However, even after having installed Aspell-fr-0.50-3, LyX 2.0.3 claims
that no dictionnary are installed.
When you are looking in the preference, spell checker is freezed on
Hunspell !!!
Any clue to install and have the proper spell checker recognized ?



See
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg91430.html

What's your document language?
LyX is looking for a dictionary for this language and should have
many dictionaries ready for use bundled.

Stephan

Thanks for taking care
Following Hunspell in the LyX Wiki, I found the repository and dowloaded 
French aff and dic and copy them in
LyX 2.0.3\Resources\dicts then launched 2.0.3 and reconfigurate then restart 
and it is working now


Thanks again

Paul

PS: I did not find the way to access the corresponding message in the 
archive. 



Re: Refer to Subnumbered Equations

2012-03-30 Thread Jane Shevtsov
That works; thanks.

Jane

On Fri, Mar 30, 2012 at 1:03 PM, Richard Heck rgh...@comcast.net wrote:

 On 03/30/2012 03:46 PM, Jane Shevtsov wrote:

 I have some subnumbered equations (1a, 1b,...) in my document. Is it
 possible to insert a reference to Eq. 1 rather than Eq. 1a, or do I
 have to do this manually?

  Check:

 http://www.iam.ubc.ca/old_**pages/newbury/tex/subeqn.htmlhttp://www.iam.ubc.ca/old_pages/newbury/tex/subeqn.html
 See the first note.

 rh




-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

She has future plans and dreams at night.
They tell her life is hard; she says 'That's all right'.  --Faith Hill,
Wild One


Bibus Users Here?

2012-03-30 Thread Rich Shepard

  Is anyone here using bibus as their bibliographic database to provide
references for LyX documents? If so, please contact me off the list as I
have questions about entering numerous rows in the sqlite backend.

Thanks,

Rich



Re: Customize Copier in LyX

2012-03-30 Thread Xi Zhang
Finally, I realized part of function that I want, though not satisfactorily. 

I found that a pdf file in a temp folder is updated very time I pdflatex. Say, 
C:\Users\XXX\AppData\Local\Temp\lyx_tmpdir.Hp2836\lyx_tmpbuf2. Every time 
pdflatex open the viewer, it opens the this file.

Thus the viewer for pdflatex is defined as SumatraView.bat, which is

start  /D %~dp1 /B SumatraPDF.exe -reuse-instance -inverse-
search lyxeditor.exe %%f %%l %~nx1
copy %~1 D:\Dropbox\PDFs /Y

The first line are openning the pdfviewer and passing inverse search 
parameters.

The second copies the file from the temporary folder to the Dropbox folder.  

Everytime I pdflatex, the PDF is copied to the specified folder. 

However, there is one more thing I would like to do: instead of putting it in 
a specific folder, I have the PDF file be put in the same folder as the lyx 
file is. 

I have checked that when pdflated run the pdf viewer, only the path of the 
temporary file is passed to SumatraView.bat.

Anyone have any suggestions on how to get the path of the lyx file? 

Thanks in advance!

Best, Xi



Re: Customize Copier in LyX

2012-03-30 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 30/03/12 01:26, stefano franchi wrote:
 
 On Thu, Mar 29, 2012 at 5:08 PM, Xi Zhang zhangxi-...@163.com 
 mailto:zhangxi-...@163.com 
 wrote:
 
 Richard Heck rgheck at comcast.net http://comcast.net writes:
 
 
 On 03/29/2012 05:39 PM, Xi Zhang wrote:
 I am writing something using LyX in Windows.
 
 I just want a simple funtion that every time I run pdfletex, the pdf file
 can
 be copied to the same folder in which the lyx file is. As these files will
 be
 sycronized by Dropbox, I can reat it on iPhone or iPad.
 
 Why don't you just export the file? Then it is put in that folder.
 
 I know that this has been discribed in Customization.lyx as a simple
 example. However, I have no idea of how
 Python works and how to make photocopier.sh executable.
 
 That example is for Linux or OSX.
 
 Richard
 
 
 
 
 Every time I pdflatex, I want this to be done automatically, as Dropbox 
 uploads it 
 automatically as well.
 
 
 I guess Richard's suggestion was:
 
 do not do: viewpdflatex,
 
 ***instead**
 
 do: fileexport pdflatex
 
 That would seem to solve your problem.
 
 You may even open a pdf viewer with file watching capabilities on the 
 exported file before you 
 start working on it and you'd enjoy the same advantages as working on a file 
 residing temp 
 directory.
 
 In fact, now that I think of, why isn't this LyX's standard behavior (as it 
 is, e.g., in 
 Kile)?

Let me guess: the export creates a document which you want to keep, while the 
view creates a
preview document, which is kind of work in progress.

So it is kind of security - preview does not mess with your documents.

Cheers,

Rainer
 
 Cheers,
 
 Stefano
 
 --
 
 __ Stefano Franchi Associate 
 Research Professor
 Department of Hispanic StudiesPh:   +1 (979) 845-2125 Texas AM 
 University
 Fax:  +1 (979) 845-6421 College Station, Texas, USA
 
 stef...@tamu.edu mailto:stef...@tamu.edu http://stefano.cleinias.org


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

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

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

iEYEARECAAYFAk91X3oACgkQoYgNqgF2egomIQCfV24z4zSFSCIoqyNX0po3KI01
lkwAn13mzgjG1517iNOL6Meao9FWtgRM
=GYqP
-END PGP SIGNATURE-


Re: Customize Copier in LyX

2012-03-30 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 30/03/12 00:08, Xi Zhang wrote:
 Richard Heck rgheck at comcast.net writes:
 
 
 On 03/29/2012 05:39 PM, Xi Zhang wrote:
 I am writing something using LyX in Windows.
 
 I just want a simple funtion that every time I run pdfletex, the pdf file
 can
 be copied to the same folder in which the lyx file is. As these files will
 be
 sycronized by Dropbox, I can reat it on iPhone or iPad.
 
 Why don't you just export the file? Then it is put in that folder.
 
 I know that this has been discribed in Customization.lyx as a simple
 example. However, I have no idea of how
 Python works and how to make photocopier.sh executable.
 
 That example is for Linux or OSX.
 
 Richard
 
 
 
 
 Every time I pdflatex, I want this to be done automatically, as Dropbox 
 uploads it
 automatically as well.

Change the keybinding Shift-Control-r (refresh preview) to export the format 
you want, and I think
you can even disable the overwrtite confirmation dialog.

Cheers,

Rainer

 


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

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

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

iEYEARECAAYFAk91YAwACgkQoYgNqgF2egq7VACeJlBfCIjZdn4QGFu2kyTPNwtx
oVUAnR7Ph/GMqXiYv1wzY4D7y/lKSL4X
=/Y8G
-END PGP SIGNATURE-


Re: Customize Copier in LyX

2012-03-30 Thread Xi Zhang
Rainer M Krug r.m.krug at gmail.com writes:

 
 
 On 30/03/12 00:08, Xi Zhang wrote:
  Richard Heck rgheck at comcast.net writes:
  
  
  On 03/29/2012 05:39 PM, Xi Zhang wrote:
  I am writing something using LyX in Windows.
  
  I just want a simple funtion that every time I run pdfletex, the pdf file
  can
  be copied to the same folder in which the lyx file is. As these files 
will
  be
  sycronized by Dropbox, I can reat it on iPhone or iPad.
  
  Why don't you just export the file? Then it is put in that folder.
  
  I know that this has been discribed in Customization.lyx as a simple
  example. However, I have no idea of how
  Python works and how to make photocopier.sh executable.
  
  That example is for Linux or OSX.
  
  Richard
  
  
  
  
  Every time I pdflatex, I want this to be done automatically, as Dropbox 
uploads it
  automatically as well.
 
 Change the keybinding Shift-Control-r (refresh preview) to export the format 
you want, and I think
 you can even disable the overwrtite confirmation dialog.
 
 Cheers,
 
 Rainer
 
  
 

Thanks guys. 

I added a new shortcut as command-sequence buffer-view pdf2; buffer-export 
pdf2;.

I guess that there is no changes between these two commands, so the file won't 
be compiled twice. But I am not sure. 

It works sometimes, but the preview is updated immediately whilst the stored 
file is updated after a long time. 

The option in Preferences that overwritten on export has been changed 
to all files.

I don't why. Any idea?



Delurk, and lualatex.exe

2012-03-30 Thread Samuel Murray

G'day everyone

I'm trying out various LaTeX editors and I notice that when I run LyX, a 
program named lualatex.exe tries to access the internet.  Why?


I used the 200 MB installer file, which has everything bundled into it, 
and MiKTeX downloaded an additional 12 MB of updates during the 
installation procedure.  But the program lualatex.exe tries to access 
the internet when I run LyX, not during the installation.


Does anyone know what lualatex.exe is and why it needs to access the 
internet?


I'm using Windows 7 HP 64-bit SP1.

Thanks
Samuel


Re: Delurk, and lualatex.exe

2012-03-30 Thread Jean-Marc Lasgouttes

Le 30/03/2012 11:08, Samuel Murray a écrit :

G'day everyone

I'm trying out various LaTeX editors and I notice that when I run LyX, a
program named lualatex.exe tries to access the internet. Why?

I used the 200 MB installer file, which has everything bundled into it,
and MiKTeX downloaded an additional 12 MB of updates during the
installation procedure. But the program lualatex.exe tries to access the
internet when I run LyX, not during the installation.

Does anyone know what lualatex.exe is and why it needs to access the
internet?


Lualatex is one of the latex versions that you can use. It is to have it 
run when typesetting a document. Do you use special fonts?


I assume that miktex did not download everything it needs yet.

I really do not like this autoloading of packages business...

JMarc



Re: Customize Copier in LyX

2012-03-30 Thread Xi Zhang

For now, I just added to shortcuts, one for buffer-view and one for export. 
They works fine. 

Just wonder why cannot put them together. 




Re: Delurk, and lualatex.exe

2012-03-30 Thread Samuel Murray

On 2012/03/30 11:23 AM, Jean-Marc Lasgouttes wrote:


Le 30/03/2012 11:08, Samuel Murray a écrit :



 I'm trying out various LaTeX editors and I notice that when I run LyX, a
 program named lualatex.exe tries to access the internet. Why?



Lualatex is one of the latex versions that you can use. It is to have it
run when typesetting a document. Do you use special fonts?


Not as far as I'm aware.  Although, now that I think about it, the first 
time you run LyX it automatically opens a LaTeX file in itself, with an 
introductory message.


Now that I run LyX for the second time, lualatex.exe no longer attempts 
to connect to the internet, because no document is open in it.


Samuel


Re: Delurk, and lualatex.exe

2012-03-30 Thread Samuel Murray

On 2012/03/30 12:26 PM, Jean-Marc Lasgouttes wrote:


Le 30/03/2012 11:46, Samuel Murray a écrit :



 Not as far as I'm aware. Although, now that I think about it, the first
 time you run LyX it automatically opens a LaTeX file in itself, with an
 introductory message.

 Now that I run LyX for the second time, lualatex.exe no longer attempts
 to connect to the internet, because no document is open in it.



I am not sure about what happens, but as far as I know lualatex.exe is a
safe program.


Google Update and Adobe Update are also safe programs :-) that access 
the internet and do all kinds of stuff without the user's say-so.  My 
concern wasn't with whether it was a trojan or not, but with whether it 
would download additional updates.  I wanted to know (initially) how 
large the actual installer for LyX is (including all required updates).


Samuel


Re: How I can get thin space more narrow?

2012-03-30 Thread Marcelo Acuña
Marcelo Acuña wrote:

 How I can redefine thin space for get it more narrow?
 I want to get a 0.4 * thin space but I don't know how to redefine it.

These are the relevant definitions from the LaTeX kernel:

\DeclareRobustCommand{\,}{%
   \relax\ifmmode\mskip\thinmuskip\else\thinspace\fi
}

\def\thinspace{\kern .16667em }

Adjusting the value in the thinspace definition will do. However, \thinspace 
is used in other macros. If you only want to change the width of the thin 
space itself, I would go for something like

\DeclareRobustCommand{\,}{%
   \relax\ifmmode\mskip\thinmuskip\else\mythinspace\fi
}

\def\mythinspace{\kern .06668em }



This work well, thank Jürgen!
Marcelo

Refer to Subnumbered Equations

2012-03-30 Thread Jane Shevtsov
I have some subnumbered equations (1a, 1b,...) in my document. Is it
possible to insert a reference to Eq. 1 rather than Eq. 1a, or do I
have to do this manually?

Thanks,
Jane

-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

She has future plans and dreams at night.
They tell her life is hard; she says 'That's all right'.  --Faith Hill,
Wild One


Re: Refer to Subnumbered Equations

2012-03-30 Thread Richard Heck

On 03/30/2012 03:46 PM, Jane Shevtsov wrote:
I have some subnumbered equations (1a, 1b,...) in my document. Is it 
possible to insert a reference to Eq. 1 rather than Eq. 1a, or do 
I have to do this manually?



Check:
http://www.iam.ubc.ca/old_pages/newbury/tex/subeqn.html
See the first note.

rh



LyX 2.0.3

2012-03-30 Thread KooShee

From: Stephan Witt st.witt at gmx.net
Subject: Re: LyX 2.0.3
Newsgroups: gmane.editors.lyx.general
Date: 2012-03-30 03:25:01 GMT (16 hours and 13 minutes ago)
Am 29.03.2012 um 23:50 schrieb KooShee:


finally I took the risk to install 2.0.3 without uninstalling LyX 1.6.10
and both are working properly.
However, even after having installed Aspell-fr-0.50-3, LyX 2.0.3 claims
that no dictionnary are installed.
When you are looking in the preference, spell checker is freezed on
Hunspell !!!
Any clue to install and have the proper spell checker recognized ?



See
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg91430.html

What's your document language?
LyX is looking for a dictionary for this language and should have
many dictionaries ready for use bundled.

Stephan

Thanks for taking care
Following Hunspell in the LyX Wiki, I found the repository and dowloaded 
French aff and dic and copy them in
LyX 2.0.3\Resources\dicts then launched 2.0.3 and reconfigurate then restart 
and it is working now


Thanks again

Paul

PS: I did not find the way to access the corresponding message in the 
archive. 



Re: Refer to Subnumbered Equations

2012-03-30 Thread Jane Shevtsov
That works; thanks.

Jane

On Fri, Mar 30, 2012 at 1:03 PM, Richard Heck rgh...@comcast.net wrote:

 On 03/30/2012 03:46 PM, Jane Shevtsov wrote:

 I have some subnumbered equations (1a, 1b,...) in my document. Is it
 possible to insert a reference to Eq. 1 rather than Eq. 1a, or do I
 have to do this manually?

  Check:

 http://www.iam.ubc.ca/old_**pages/newbury/tex/subeqn.htmlhttp://www.iam.ubc.ca/old_pages/newbury/tex/subeqn.html
 See the first note.

 rh




-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

She has future plans and dreams at night.
They tell her life is hard; she says 'That's all right'.  --Faith Hill,
Wild One


Bibus Users Here?

2012-03-30 Thread Rich Shepard

  Is anyone here using bibus as their bibliographic database to provide
references for LyX documents? If so, please contact me off the list as I
have questions about entering numerous rows in the sqlite backend.

Thanks,

Rich



Re: Customize Copier in LyX

2012-03-30 Thread Xi Zhang
Finally, I realized part of function that I want, though not satisfactorily. 

I found that a pdf file in a temp folder is updated very time I pdflatex. Say, 
C:\Users\XXX\AppData\Local\Temp\lyx_tmpdir.Hp2836\lyx_tmpbuf2. Every time 
pdflatex open the viewer, it opens the this file.

Thus the viewer for pdflatex is defined as SumatraView.bat, which is

start  /D %~dp1 /B SumatraPDF.exe -reuse-instance -inverse-
search lyxeditor.exe %%f %%l %~nx1
copy %~1 D:\Dropbox\PDFs /Y

The first line are openning the pdfviewer and passing inverse search 
parameters.

The second copies the file from the temporary folder to the Dropbox folder.  

Everytime I pdflatex, the PDF is copied to the specified folder. 

However, there is one more thing I would like to do: instead of putting it in 
a specific folder, I have the PDF file be put in the same folder as the lyx 
file is. 

I have checked that when pdflated run the pdf viewer, only the path of the 
temporary file is passed to SumatraView.bat.

Anyone have any suggestions on how to get the path of the lyx file? 

Thanks in advance!

Best, Xi



Re: Customize Copier in LyX

2012-03-30 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 30/03/12 01:26, stefano franchi wrote:
> 
> On Thu, Mar 29, 2012 at 5:08 PM, Xi Zhang  > 
> wrote:
> 
> Richard Heck  comcast.net > writes:
> 
>> 
>> On 03/29/2012 05:39 PM, Xi Zhang wrote:
>>> I am writing something using LyX in Windows.
>>> 
>>> I just want a simple funtion that every time I run pdfletex, the pdf file
> can
>>> be copied to the same folder in which the lyx file is. As these files will
> be
>>> sycronized by Dropbox, I can reat it on iPhone or iPad.
>>> 
>> Why don't you just export the file? Then it is put in that folder.
>> 
>>> I know that this has been discribed in Customization.lyx as a simple
> example. However, I have no idea of how
>> Python works and how to make photocopier.sh executable.
>>> 
>> That example is for Linux or OSX.
>> 
>> Richard
>> 
>> 
> 
> 
> Every time I pdflatex, I want this to be done automatically, as Dropbox 
> uploads it 
> automatically as well.
> 
> 
> I guess Richard's suggestion was:
> 
> do not do: view>>pdflatex,
> 
> ***instead**
> 
> do: file>>export>> pdflatex
> 
> That would seem to solve your problem.
> 
> You may even open a pdf viewer with file watching capabilities on the 
> exported file before you 
> start working on it and you'd enjoy the same advantages as working on a file 
> residing temp 
> directory.
> 
> In fact, now that I think of, why isn't this LyX's standard behavior (as it 
> is, e.g., in 
> Kile)?

Let me guess: the export creates a document which you want to keep, while the 
view creates a
preview document, which is kind of work in progress.

So it is kind of security - preview does not mess with your documents.

Cheers,

Rainer
> 
> Cheers,
> 
> Stefano
> 
> --
> 
> __ Stefano Franchi Associate 
> Research Professor
> Department of Hispanic StudiesPh:   +1 (979) 845-2125 Texas A 
> University
> Fax:  +1 (979) 845-6421 College Station, Texas, USA
> 
> stef...@tamu.edu  http://stefano.cleinias.org


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

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

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

iEYEARECAAYFAk91X3oACgkQoYgNqgF2egomIQCfV24z4zSFSCIoqyNX0po3KI01
lkwAn13mzgjG1517iNOL6Meao9FWtgRM
=GYqP
-END PGP SIGNATURE-


Re: Customize Copier in LyX

2012-03-30 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 30/03/12 00:08, Xi Zhang wrote:
> Richard Heck  comcast.net> writes:
> 
>> 
>> On 03/29/2012 05:39 PM, Xi Zhang wrote:
>>> I am writing something using LyX in Windows.
>>> 
>>> I just want a simple funtion that every time I run pdfletex, the pdf file
> can
>>> be copied to the same folder in which the lyx file is. As these files will
> be
>>> sycronized by Dropbox, I can reat it on iPhone or iPad.
>>> 
>> Why don't you just export the file? Then it is put in that folder.
>> 
>>> I know that this has been discribed in Customization.lyx as a simple
> example. However, I have no idea of how
>> Python works and how to make photocopier.sh executable.
>>> 
>> That example is for Linux or OSX.
>> 
>> Richard
>> 
>> 
> 
> 
> Every time I pdflatex, I want this to be done automatically, as Dropbox 
> uploads it
> automatically as well.

Change the keybinding Shift-Control-r (refresh preview) to export the format 
you want, and I think
you can even disable the "overwrtite confirmation" dialog.

Cheers,

Rainer

> 


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

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

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

iEYEARECAAYFAk91YAwACgkQoYgNqgF2egq7VACeJlBfCIjZdn4QGFu2kyTPNwtx
oVUAnR7Ph/GMqXiYv1wzY4D7y/lKSL4X
=/Y8G
-END PGP SIGNATURE-


Re: Customize Copier in LyX

2012-03-30 Thread Xi Zhang
Rainer M Krug  gmail.com> writes:

> 
> 
> On 30/03/12 00:08, Xi Zhang wrote:
> > Richard Heck  comcast.net> writes:
> > 
> >> 
> >> On 03/29/2012 05:39 PM, Xi Zhang wrote:
> >>> I am writing something using LyX in Windows.
> >>> 
> >>> I just want a simple funtion that every time I run pdfletex, the pdf file
> > can
> >>> be copied to the same folder in which the lyx file is. As these files 
will
> > be
> >>> sycronized by Dropbox, I can reat it on iPhone or iPad.
> >>> 
> >> Why don't you just export the file? Then it is put in that folder.
> >> 
> >>> I know that this has been discribed in Customization.lyx as a simple
> > example. However, I have no idea of how
> >> Python works and how to make photocopier.sh executable.
> >>> 
> >> That example is for Linux or OSX.
> >> 
> >> Richard
> >> 
> >> 
> > 
> > 
> > Every time I pdflatex, I want this to be done automatically, as Dropbox 
uploads it
> > automatically as well.
> 
> Change the keybinding Shift-Control-r (refresh preview) to export the format 
you want, and I think
> you can even disable the "overwrtite confirmation" dialog.
> 
> Cheers,
> 
> Rainer
> 
> > 
> 

Thanks guys. 

I added a new shortcut as "command-sequence buffer-view pdf2; buffer-export 
pdf2;".

I guess that there is no changes between these two commands, so the file won't 
be compiled twice. But I am not sure. 

It works sometimes, but the preview is updated immediately whilst the stored 
file is updated after a long time. 

The option in Preferences that "overwritten on export" has been changed 
to "all files".

I don't why. Any idea?



Delurk, and lualatex.exe

2012-03-30 Thread Samuel Murray

G'day everyone

I'm trying out various LaTeX editors and I notice that when I run LyX, a 
program named lualatex.exe tries to access the internet.  Why?


I used the 200 MB installer file, which has everything bundled into it, 
and MiKTeX downloaded an additional 12 MB of updates during the 
installation procedure.  But the program lualatex.exe tries to access 
the internet when I run LyX, not during the installation.


Does anyone know what lualatex.exe is and why it needs to access the 
internet?


I'm using Windows 7 HP 64-bit SP1.

Thanks
Samuel


Re: Delurk, and lualatex.exe

2012-03-30 Thread Jean-Marc Lasgouttes

Le 30/03/2012 11:08, Samuel Murray a écrit :

G'day everyone

I'm trying out various LaTeX editors and I notice that when I run LyX, a
program named lualatex.exe tries to access the internet. Why?

I used the 200 MB installer file, which has everything bundled into it,
and MiKTeX downloaded an additional 12 MB of updates during the
installation procedure. But the program lualatex.exe tries to access the
internet when I run LyX, not during the installation.

Does anyone know what lualatex.exe is and why it needs to access the
internet?


Lualatex is one of the latex versions that you can use. It is to have it 
run when typesetting a document. Do you use special fonts?


I assume that miktex did not download everything it needs yet.

I really do not like this autoloading of packages business...

JMarc



Re: Customize Copier in LyX

2012-03-30 Thread Xi Zhang

For now, I just added to shortcuts, one for buffer-view and one for export. 
They works fine. 

Just wonder why cannot put them together. 




Re: Delurk, and lualatex.exe

2012-03-30 Thread Samuel Murray

On 2012/03/30 11:23 AM, Jean-Marc Lasgouttes wrote:


Le 30/03/2012 11:08, Samuel Murray a écrit :



 I'm trying out various LaTeX editors and I notice that when I run LyX, a
 program named lualatex.exe tries to access the internet. Why?



Lualatex is one of the latex versions that you can use. It is to have it
run when typesetting a document. Do you use special fonts?


Not as far as I'm aware.  Although, now that I think about it, the first 
time you run LyX it automatically opens a LaTeX file in itself, with an 
introductory message.


Now that I run LyX for the second time, lualatex.exe no longer attempts 
to connect to the internet, because no document is open in it.


Samuel


Re: Delurk, and lualatex.exe

2012-03-30 Thread Samuel Murray

On 2012/03/30 12:26 PM, Jean-Marc Lasgouttes wrote:


Le 30/03/2012 11:46, Samuel Murray a écrit :



 Not as far as I'm aware. Although, now that I think about it, the first
 time you run LyX it automatically opens a LaTeX file in itself, with an
 introductory message.

 Now that I run LyX for the second time, lualatex.exe no longer attempts
 to connect to the internet, because no document is open in it.



I am not sure about what happens, but as far as I know lualatex.exe is a
safe program.


Google Update and Adobe Update are also "safe" programs :-) that access 
the internet and do all kinds of stuff without the user's say-so.  My 
concern wasn't with whether it was a trojan or not, but with whether it 
would download additional updates.  I wanted to know (initially) how 
large the actual installer for LyX is (including all required updates).


Samuel


Re: How I can get thin space more narrow?

2012-03-30 Thread Marcelo Acuña
Marcelo Acuña wrote:

>> How I can redefine thin space for get it more narrow?
>> I want to get a 0.4 * thin space but I don't know how to redefine it.

>These are the relevant definitions from the LaTeX kernel:
>
>\DeclareRobustCommand{\,}{%
 >  \relax\ifmmode\mskip\thinmuskip\else\thinspace\fi
>}
>
>\def\thinspace{\kern .16667em }
>
>Adjusting the value in the thinspace definition will do. However, \thinspace 
>is used in other macros. If you only want to change the width of the thin 
>space itself, I would go for something like
>
>\DeclareRobustCommand{\,}{%
 >  \relax\ifmmode\mskip\thinmuskip\else\mythinspace\fi
>}
>
>\def\mythinspace{\kern .06668em }



This work well, thank Jürgen!
Marcelo

Refer to Subnumbered Equations

2012-03-30 Thread Jane Shevtsov
I have some subnumbered equations (1a, 1b,...) in my document. Is it
possible to insert a reference to "Eq. 1" rather than "Eq. 1a", or do I
have to do this manually?

Thanks,
Jane

-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

"She has future plans and dreams at night.
They tell her life is hard; she says 'That's all right'."  --Faith Hill,
"Wild One"


Re: Refer to Subnumbered Equations

2012-03-30 Thread Richard Heck

On 03/30/2012 03:46 PM, Jane Shevtsov wrote:
I have some subnumbered equations (1a, 1b,...) in my document. Is it 
possible to insert a reference to "Eq. 1" rather than "Eq. 1a", or do 
I have to do this manually?



Check:
http://www.iam.ubc.ca/old_pages/newbury/tex/subeqn.html
See the first note.

rh



LyX 2.0.3

2012-03-30 Thread KooShee

From: Stephan Witt  gmx.net>
Subject: Re: LyX 2.0.3
Newsgroups: gmane.editors.lyx.general
Date: 2012-03-30 03:25:01 GMT (16 hours and 13 minutes ago)
Am 29.03.2012 um 23:50 schrieb KooShee:


finally I took the risk to install 2.0.3 without uninstalling LyX 1.6.10
and both are working properly.
However, even after having installed Aspell-fr-0.50-3, LyX 2.0.3 claims
that no dictionnary are installed.
When you are looking in the preference, spell checker is freezed on
"Hunspell" !!!
Any clue to install and have the proper spell checker recognized ?



See
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg91430.html

What's your document language?
LyX is looking for a dictionary for this language and should have
many dictionaries ready for use bundled.

Stephan

Thanks for taking care
Following Hunspell in the LyX Wiki, I found the repository and dowloaded 
French aff and dic and copy them in
LyX 2.0.3\Resources\dicts then launched 2.0.3 and reconfigurate then restart 
and it is working now


Thanks again

Paul

PS: I did not find the way to access the corresponding message in the 
archive. 



Re: Refer to Subnumbered Equations

2012-03-30 Thread Jane Shevtsov
That works; thanks.

Jane

On Fri, Mar 30, 2012 at 1:03 PM, Richard Heck  wrote:

> On 03/30/2012 03:46 PM, Jane Shevtsov wrote:
>
>> I have some subnumbered equations (1a, 1b,...) in my document. Is it
>> possible to insert a reference to "Eq. 1" rather than "Eq. 1a", or do I
>> have to do this manually?
>>
>>  Check:
>
> http://www.iam.ubc.ca/old_**pages/newbury/tex/subeqn.html
> See the first note.
>
> rh
>
>


-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

"She has future plans and dreams at night.
They tell her life is hard; she says 'That's all right'."  --Faith Hill,
"Wild One"


Bibus Users Here?

2012-03-30 Thread Rich Shepard

  Is anyone here using bibus as their bibliographic database to provide
references for LyX documents? If so, please contact me off the list as I
have questions about entering numerous rows in the sqlite backend.

Thanks,

Rich



Re: Customize Copier in LyX

2012-03-30 Thread Xi Zhang
Finally, I realized part of function that I want, though not satisfactorily. 

I found that a pdf file in a temp folder is updated very time I pdflatex. Say, 
C:\Users\XXX\AppData\Local\Temp\lyx_tmpdir.Hp2836\lyx_tmpbuf2. Every time 
pdflatex open the viewer, it opens the this file.

Thus the viewer for pdflatex is defined as SumatraView.bat, which is

start "" /D "%~dp1" /B "SumatraPDF.exe" -reuse-instance -inverse-
search "lyxeditor.exe %%f %%l" %~nx1
copy %~1 D:\Dropbox\PDFs /Y

The first line are openning the pdfviewer and passing inverse search 
parameters.

The second copies the file from the temporary folder to the Dropbox folder.  

Everytime I pdflatex, the PDF is copied to the specified folder. 

However, there is one more thing I would like to do: instead of putting it in 
a specific folder, I have the PDF file be put in the same folder as the lyx 
file is. 

I have checked that when pdflated run the pdf viewer, only the path of the 
temporary file is passed to SumatraView.bat.

Anyone have any suggestions on how to get the path of the lyx file? 

Thanks in advance!

Best, Xi