[texworks] recovering source

Paul A Norman paul.a.norman at gmail.com
Tue Jan 4 06:50:41 CET 2011


I keep remembering a package that offers to embed the source(s) (or
any files for that matter) in the output.

I tried it a long time ago and it really did not add too much to the
final file size even on a complex document.

If I remember correctly you can make  I think link(s) inside the
document to enable the contained file(s) to be saved out to disk.

Is it thought worth including this in some/all of the default
templates in Tw? I could search it out if so.

I know of cases where even the best archiving and backup routines have
left people high and dry, or left a lot of work un-recovered.

Plus it is very useful for portability.


On 4 January 2011 05:33, Stefan Löffler <st.loeffler at gmail.com> wrote:
> On 2010-12-30 04:38, Jon Wild wrote:
>> Somehow I've managed to lose the text file for a LaTeX document I'd
>> been working on for a while, during a period when my network backup
>> was down. I must have done something stupid when clearing up my
>> desktop, and emptied the recycle bin since then. I have an .aux, a
>> .log, a .pdf and a .synctex.gz, but no associated .tex anywhere to be
>> found. I'm on OS X, 10.5, and my TeXworks is 0.2.3.
>> Copying and pasting the plain text from the .pdf, then redoing all the
>> mark-up by hand, is going to be tedious... there isn't any information
>> encoded in the pdf output that I could get at and that could help me,
>> is there?
> I'm afraid you won't have much luck with that. In principle, all
> formatting information is in the pdf, of course (otherwise you couldn't
> view it), but not in a suitable way for LaTeX. So unless someone knows a
> pdf -> latex converter, I think redoing the mark-up is your only chance
> (or searching any backups you might have).
> In any case, this list is specific to the Tw editor (which doesn't have
> such a feature), so this question would probably be better suited for a
> general latex and/or pdf list.
> Stefan

More information about the texworks mailing list