Google Docs to LaTeX

2008-04-20 Thread nodje

I'm using LyX 1.5.4 on Leopard 10.5.2.

I have to work with Google Docs to keep a document reviewable by anyone at
anytime.
Also it keeps the document in a standard format while being developed. It
can then be transformed to PDF, RTF or more for publishing. But no LaTeX
support yet.

The best project I've found so far in that respect is:
http://www.sci.usq.edu.au/research/googledocs.php

But it's not a public project.
I'm now trying to reproduce a workflow as straight forward as possible to go
from this original Google Docs document to a Lyx edited and published one.
I'm now playing with converters: GoogleDocs can do RTF or HTML.

I'd like to experiment the LyX RTF - LaTeX converter, but I'm getting an
error even with a very straight forward RTF doc: 'An error occured whilst
running rtf2latex2e 'Untitled.rtf''.

I'm trying to use other converters by defining them through Preferences, but
it wouldn't let me add one.
How come? It sounds that I could have an HTML - LaTeX converter.

What's your experience? What works best in terms of converting?

-nodje

-- 
View this message in context: 
http://www.nabble.com/Google-Docs-to-LaTeX-tp16790653p16790653.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Google Docs to LaTeX

2008-05-02 Thread nodje

Hi everyone,

sorry for the late reply, I wasn't receiving alerts for the thread.

Actually Charles' first reply was the only one I saw before today but was
useful enough.
I would give me a fairly straight forward GoogleDoc - LaTeX process. I
started working my way from that point on.

I'm right now not fully understanding the detailed content of all the
replies, but as I have to write my doc in French, I understand the filtering
need :)

And finally, Luis' advice is the just great. I'll go for this. That really
seems to be the way to go.

But all in all, the weird thing is that I learn a lot about LaTeX in trying
to find out a good publishing solution for my GoogleDocs, and I don't feel I
really need LyX anymore.

It seems better to me to master html2latex and LaTeX itself. I use GoogleDoc
as a visual tool anyway :-/

-nodje

Luis Rivera-3 wrote:
 
 Michael Thompson [EMAIL PROTECTED] writes:
 
 
 Dear Charles, 
 It is very cool grasping how to use sed in however a primitive way.  But
 on
 further investigation it seems one needs it for a LyX friendly use of
 ``writer2latex'' only if the document has tables, math, images ... or
 French. 
 With a fairly wide but unscientifically chosen variety of English
 documents, I
 found that the desiderata of: 
 (a) retaining crucial formatting that an English language Word or
 OpenOffice or
 docs.google user would likely employ 
 and: 
 (b) avoiding a demoralizing film of ERT 
 by messing with the preferences in writer2latex.xml.  
 
 
 Indeed, the script is not necessary if you edit the writer2latex.xml file
 in
 your system, as you've done already. All you need to do is to select the
 appropriate encoding (latin9 is the most popular, after utf8 for latin
 writing
 systems, as you've found out).
 
 Personally, I prefer to avoid loading a full Office Suite to make the
 conversion, so I bypass them by not saving my googledocs papers into word,
 rtf,
 or odf. Try saving your GoogleDocs documents as HTML, and then convert
 them with
 html2tex. Check
 
 http://www.iwriteiam.nl/html2tex.html
 
 All you need is a friendly gcc compiler (or a friend to give it to you),
 and it
 makes the whole work for you with a simple call to the converter.
 
 Perhaps you may have to call html-tidy to cleanup the HTML source a bit,
 but a
 simple bash script (or in windows, a bat file) will work.
 
 Small is beautiful,
 
 Luis.
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Google-Docs-to-LaTeX-tp16790653p17009494.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Google Docs to LaTeX

2008-04-20 Thread nodje

I'm using LyX 1.5.4 on Leopard 10.5.2.

I have to work with Google Docs to keep a document reviewable by anyone at
anytime.
Also it keeps the document in a standard format while being developed. It
can then be transformed to PDF, RTF or more for publishing. But no LaTeX
support yet.

The best project I've found so far in that respect is:
http://www.sci.usq.edu.au/research/googledocs.php

But it's not a public project.
I'm now trying to reproduce a workflow as straight forward as possible to go
from this original Google Docs document to a Lyx edited and published one.
I'm now playing with converters: GoogleDocs can do RTF or HTML.

I'd like to experiment the LyX RTF - LaTeX converter, but I'm getting an
error even with a very straight forward RTF doc: 'An error occured whilst
running rtf2latex2e 'Untitled.rtf''.

I'm trying to use other converters by defining them through Preferences, but
it wouldn't let me add one.
How come? It sounds that I could have an HTML - LaTeX converter.

What's your experience? What works best in terms of converting?

-nodje

-- 
View this message in context: 
http://www.nabble.com/Google-Docs-to-LaTeX-tp16790653p16790653.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Google Docs to LaTeX

2008-05-02 Thread nodje

Hi everyone,

sorry for the late reply, I wasn't receiving alerts for the thread.

Actually Charles' first reply was the only one I saw before today but was
useful enough.
I would give me a fairly straight forward GoogleDoc - LaTeX process. I
started working my way from that point on.

I'm right now not fully understanding the detailed content of all the
replies, but as I have to write my doc in French, I understand the filtering
need :)

And finally, Luis' advice is the just great. I'll go for this. That really
seems to be the way to go.

But all in all, the weird thing is that I learn a lot about LaTeX in trying
to find out a good publishing solution for my GoogleDocs, and I don't feel I
really need LyX anymore.

It seems better to me to master html2latex and LaTeX itself. I use GoogleDoc
as a visual tool anyway :-/

-nodje

Luis Rivera-3 wrote:
 
 Michael Thompson [EMAIL PROTECTED] writes:
 
 
 Dear Charles, 
 It is very cool grasping how to use sed in however a primitive way.  But
 on
 further investigation it seems one needs it for a LyX friendly use of
 ``writer2latex'' only if the document has tables, math, images ... or
 French. 
 With a fairly wide but unscientifically chosen variety of English
 documents, I
 found that the desiderata of: 
 (a) retaining crucial formatting that an English language Word or
 OpenOffice or
 docs.google user would likely employ 
 and: 
 (b) avoiding a demoralizing film of ERT 
 by messing with the preferences in writer2latex.xml.  
 
 
 Indeed, the script is not necessary if you edit the writer2latex.xml file
 in
 your system, as you've done already. All you need to do is to select the
 appropriate encoding (latin9 is the most popular, after utf8 for latin
 writing
 systems, as you've found out).
 
 Personally, I prefer to avoid loading a full Office Suite to make the
 conversion, so I bypass them by not saving my googledocs papers into word,
 rtf,
 or odf. Try saving your GoogleDocs documents as HTML, and then convert
 them with
 html2tex. Check
 
 http://www.iwriteiam.nl/html2tex.html
 
 All you need is a friendly gcc compiler (or a friend to give it to you),
 and it
 makes the whole work for you with a simple call to the converter.
 
 Perhaps you may have to call html-tidy to cleanup the HTML source a bit,
 but a
 simple bash script (or in windows, a bat file) will work.
 
 Small is beautiful,
 
 Luis.
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Google-Docs-to-LaTeX-tp16790653p17009494.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Google Docs to LaTeX

2008-04-20 Thread nodje

I'm using LyX 1.5.4 on Leopard 10.5.2.

I have to work with Google Docs to keep a document reviewable by anyone at
anytime.
Also it keeps the document in a standard format while being developed. It
can then be transformed to PDF, RTF or more for publishing. But no LaTeX
support yet.

The best project I've found so far in that respect is:
http://www.sci.usq.edu.au/research/googledocs.php

But it's not a public project.
I'm now trying to reproduce a workflow as straight forward as possible to go
from this original Google Docs document to a Lyx edited and published one.
I'm now playing with converters: GoogleDocs can do RTF or HTML.

I'd like to experiment the LyX RTF -> LaTeX converter, but I'm getting an
error even with a very straight forward RTF doc: 'An error occured whilst
running rtf2latex2e 'Untitled.rtf''.

I'm trying to use other converters by defining them through Preferences, but
it wouldn't let me add one.
How come? It sounds that I could have an HTML -> LaTeX converter.

What's your experience? What works best in terms of converting?

-nodje

-- 
View this message in context: 
http://www.nabble.com/Google-Docs-to-LaTeX-tp16790653p16790653.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Google Docs to LaTeX

2008-05-02 Thread nodje

Hi everyone,

sorry for the late reply, I wasn't receiving alerts for the thread.

Actually Charles' first reply was the only one I saw before today but was
useful enough.
I would give me a fairly straight forward GoogleDoc -> LaTeX process. I
started working my way from that point on.

I'm right now not fully understanding the detailed content of all the
replies, but as I have to write my doc in French, I understand the filtering
need :)

And finally, Luis' advice is the just great. I'll go for this. That really
seems to be the way to go.

But all in all, the weird thing is that I learn a lot about LaTeX in trying
to find out a good publishing solution for my GoogleDocs, and I don't feel I
really need LyX anymore.

It seems better to me to master html2latex and LaTeX itself. I use GoogleDoc
as a visual tool anyway :-/

-nodje

Luis Rivera-3 wrote:
> 
> Michael Thompson <[EMAIL PROTECTED]> writes:
> 
>> 
>> Dear Charles, 
>> It is very cool grasping how to use sed in however a primitive way.  But
>> on
>> further investigation it seems one needs it for a LyX friendly use of
>> ``writer2latex'' only if the document has tables, math, images ... or
>> French. 
>> With a fairly wide but unscientifically chosen variety of English
>> documents, I
>> found that the desiderata of: 
>> (a) retaining crucial formatting that an English language Word or
>> OpenOffice or
>> docs.google user would likely employ 
>> and: 
>> (b) avoiding a demoralizing film of ERT 
>> by messing with the preferences in writer2latex.xml.  
>> 
> 
> Indeed, the script is not necessary if you edit the writer2latex.xml file
> in
> your system, as you've done already. All you need to do is to select the
> appropriate encoding (latin9 is the most popular, after utf8 for latin
> writing
> systems, as you've found out).
> 
> Personally, I prefer to avoid loading a full Office Suite to make the
> conversion, so I bypass them by not saving my googledocs papers into word,
> rtf,
> or odf. Try saving your GoogleDocs documents as HTML, and then convert
> them with
> html2tex. Check
> 
> http://www.iwriteiam.nl/html2tex.html
> 
> All you need is a friendly gcc compiler (or a friend to give it to you),
> and it
> makes the whole work for you with a simple call to the converter.
> 
> Perhaps you may have to call html-tidy to cleanup the HTML source a bit,
> but a
> simple bash script (or in windows, a bat file) will work.
> 
> Small is beautiful,
> 
> Luis.
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Google-Docs-to-LaTeX-tp16790653p17009494.html
Sent from the LyX - Users mailing list archive at Nabble.com.