Show changes by date

Kornel Benko kornel at lyx.org
Wed Apr 29 19:47:16 UTC 2020


Am Wed, 29 Apr 2020 20:56:29 +0200
schrieb racoon <xracoonx at gmx.de>:

> On 2020-04-29 20:43, Joel Kulesza wrote:
> > On Wed, Apr 29, 2020 at 12:33 PM Daniel <xracoonx at gmx.de
> > <mailto:xracoonx at gmx.de>> wrote:
> >
> >     Hi,
> >
> >     I am hunting down some encoding error possibly to do with my
> >     bibliography which is created via Zotero and Better BibTeX. If I remove
> >     the bibliography from my document it works fine. I am unable to
> >     create a
> >     minimal example because I don't know which entry is causing the
> >     problem.
> >     Is there a way to show the tracked changes I made by date so I can go
> >     through all the changes I made today in order to find the
> >     problematic entry?
> >
> >
> > Do you track the problematic file in version control (e.g., git)?  Is it
> > stored on an online service like Dropbox?  If not, I don't have a
> > suggestion, but either of those facilities should give some historical
> > perspective.
> >
> > - Joel  
> 
> Thanks!
> 
> Yes, it might be worth trying to check whether a previous version of the
> bib file fixes the problem. Sometimes Better BibTeX introduces problem.
> 
> As for the documents. Unfortunately there are quite a view documents
> involved. Would you recommend downloading the previous version, accept
> all changes in the document, and do a diff?
> 
> I am actually also using git. But I too rarely create commits. So, that
> would be searching for the needle in the haystack, I guess. I need to
> get a better commit routine, like once a day.
> 
> /Daniel

Yes, it is possible, but you have to write a script.
The change is recorded as a number (seconds from JAN 1 1970)
On unix it is easy to determine the value , say 1 day old:
	$ date +%s --date=20200429
Here it gives 1588197600
Every number bigger than that in the lyx file markes the newer change.

	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20200429/47665942/attachment-0001.asc>


More information about the lyx-users mailing list