Discussion:
Interesting for LyX: ShareLaTeX and github
Rainer M Krug
2014-09-17 07:17:20 UTC
Permalink
Hi

in the past there were some discussions about using cloud based latex
instead of a local installation. I just receive an announcement from
ShareLaTeX that one can automatically compile tex files on github.

From their announcement:

,----
| Github + ShareLaTeX
|
| We have released our new Cloud Compiler which automatically compiles
| your LaTeX projects stored in Github after each push. It is free and
| very easy to get setup with. If you prefer a local editor and git for
| writing your LaTeX then you now no longer need to worry about having a
| working LaTeX environment.
`----

More info can be found at

https://www.sharelatex.com/github/

I am not entirely sure how robust and user friendly the git
implementation in LyX is, but it would be nice to use it for having a
version control as well as cloiund based compilation?

Cheers,

Rainer
--
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982
Dr Eberhard Lisse
2014-09-17 09:14:51 UTC
Permalink
Indeed, this sounds actually quite interesting, but I don't see how
that would work with LyX.

Doesn't LyX need a local LaTeX installation, even a small one?

And, version control works on LyX files, not on LaTeX, right?

On my Mac /usr/local/texlive from MacTex Basic has 514MB which even
for my Netbook is peanuts.
Post by Rainer M Krug
Hi
in the past there were some discussions about using cloud based latex
instead of a local installation. I just receive an announcement from
ShareLaTeX that one can automatically compile tex files on github.
,----
| Github + ShareLaTeX
|
| We have released our new Cloud Compiler which automatically compiles
| your LaTeX projects stored in Github after each push. It is free and
| very easy to get setup with. If you prefer a local editor and git for
| writing your LaTeX then you now no longer need to worry about having a
| working LaTeX environment.
`----
More info can be found at
https://www.sharelatex.com/github/
I am not entirely sure how robust and user friendly the git
implementation in LyX is, but it would be nice to use it for having a
version control as well as cloiund based compilation?
Cheers,
Rainer
Hugo Hinterberger
2014-09-17 09:35:15 UTC
Permalink
Hello,
Post by Dr Eberhard Lisse
Indeed, this sounds actually quite interesting, but I don't see how
that would work with LyX.
There could be a "sync(-push) LaTeX export" (to project sub-dir) feature
in LyX, where LyX automatically exports the whole LaTeX source it
generates for generating its output to a sub-directory of the LyX (master)
document's location (when a LyX document is saved). The push part could do
a git push when the sync-dir is updated.

This could lead to a LaTeX-free LyX installation where compilation is done
via Github and ShareLaTeX.

Regards,
Hugo
Rainer M Krug
2014-09-17 12:01:36 UTC
Permalink
Post by Hugo Hinterberger
Hello,
On Wed, 17 Sep 2014 11:14:51 +0200, Dr Eberhard Lisse
Post by Dr Eberhard Lisse
Indeed, this sounds actually quite interesting, but I don't see how
that would work with LyX.
You can install LyX without LaTeX, but I don't know if this is the case
with a Mac - actually, it should work via e.g. homebrew.
Post by Hugo Hinterberger
There could be a "sync(-push) LaTeX export" (to project sub-dir)
feature in LyX, where LyX automatically exports the whole LaTeX source
it generates for generating its output to a sub-directory of the LyX
(master) document's location (when a LyX document is saved). The push
part could do a git push when the sync-dir is updated.
This could lead to a LaTeX-free LyX installation where compilation is
done via Github and ShareLaTeX.
Yes - this would be great, and really open the possibility for using LyX
on other devices

DREAM MODE ON:
LyX on a tablet should be possible!
DREAM MODE OFF

and on computers with only limited hdd space.

But I think the first step would be to have a proper git implementation
in LyX (which in itself would be very useful!).

And even without ShareLaTeX, it should be relatively straight forward to
setup a computer which pulls the github repo, compiles the pdf.

Cheers,

Rainer
Post by Hugo Hinterberger
Regards,
Hugo
--
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982
Dr Eberhard Lisse
2014-09-18 09:32:54 UTC
Permalink
Importing from LaTeX very often requires manual work.

Yesterday, I had to figure out how to change the \MyLogo from
beamerfoils in the middle of the document, and using
\Mylogo{\includegraphics{whatever.jpg}} did not work.

So exported to LaTeX. Re-import was a mess :-)-O, which is the point here.

So I still think collaborative editing can either be done in LyX or in
LaTeX but not both at the same time. Though, normalizing this, ie only
having one system to maintain might be helpful.


And, if you have LyX you have enough disk space for a minimal LaTeX
installation, even in Africa :-)-O
[...]
Post by Rainer M Krug
Post by Hugo Hinterberger
There could be a "sync(-push) LaTeX export" (to project sub-dir)
feature in LyX, where LyX automatically exports the whole LaTeX source
it generates for generating its output to a sub-directory of the LyX
(master) document's location (when a LyX document is saved). The push
part could do a git push when the sync-dir is updated.
This could lead to a LaTeX-free LyX installation where compilation is
done via Github and ShareLaTeX.
[...]
Post by Rainer M Krug
and on computers with only limited hdd space.
[...]

For the record:

ERT \Mylogo{
actual image whatever.jpg displayed and scaled in size I want
ERT }
Rainer M Krug
2014-09-18 10:46:25 UTC
Permalink
Post by Dr Eberhard Lisse
Importing from LaTeX very often requires manual work.
Yesterday, I had to figure out how to change the \MyLogo from
beamerfoils in the middle of the document, and using
\Mylogo{\includegraphics{whatever.jpg}} did not work.
So exported to LaTeX. Re-import was a mess :-)-O, which is the point here.
So I still think collaborative editing can either be done in LyX or in
LaTeX but not both at the same time. Though, normalizing this, ie only
having one system to maintain might be helpful.
I completely agree - I was never actually thinking about using
ShareLaTeX for collaboration with LyX, only as a means of compiling the
document.
Post by Dr Eberhard Lisse
And, if you have LyX you have enough disk space for a minimal LaTeX
installation, even in Africa :-)-O
I agree completely here - but still it makes life easier when one does
not have to worry about the compilation of the document.

Re Africa (and elsewhere): the problem might actually be the other way
round, that the bandwidth is the problem and not the hdd space.

Cheers,

Rainer
Post by Dr Eberhard Lisse
[...]
Post by Rainer M Krug
Post by Hugo Hinterberger
There could be a "sync(-push) LaTeX export" (to project sub-dir)
feature in LyX, where LyX automatically exports the whole LaTeX source
it generates for generating its output to a sub-directory of the LyX
(master) document's location (when a LyX document is saved). The push
part could do a git push when the sync-dir is updated.
This could lead to a LaTeX-free LyX installation where compilation is
done via Github and ShareLaTeX.
[...]
Post by Rainer M Krug
and on computers with only limited hdd space.
[...]
ERT \Mylogo{
actual image whatever.jpg displayed and scaled in size I want
ERT }
--
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982
Guenter Milde
2014-09-21 18:41:39 UTC
Permalink
Post by Rainer M Krug
Post by Dr Eberhard Lisse
And, if you have LyX you have enough disk space for a minimal LaTeX
installation, even in Africa :-)-O
Yes, I do have LyX and LaTeX on my OLPC XO-Laptop. It fits also on the Nokia
N800 tablet - actually on any not too old SD-card.
Post by Rainer M Krug
I agree completely here - but still it makes life easier when one does
not have to worry about the compilation of the document.
As long as everything goes fine, you will not realize the LaTeX
compilation on your local computer either. And with "cloud" based
compiling, you actually have to worry more at the moment the first error
occures...

Also, I would not send my private mail etc. over the net more than necessary.

Günter

Loading...