-----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: 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 Studies            Ph:   +1 (979) 845-2125 Texas A&M 
> 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-----

Reply via email to