Re: [darktable-devel] lua script to print contact sheets

2015-05-31 Thread Pascal Obry
Le samedi 30 mai 2015 à 09:07 +0200, jeremy rosen a écrit : > Ok, pascal, I have pushed to git an updated version of your script > because github/pull requests is an easier way to work, but this is far > from done Thanks Jeremy. Sure, I'll try to improve it. -- Pascal Obry / Magny Les Hameau

Re: [darktable-devel] lua script to print contact sheets

2015-05-30 Thread jeremy rosen
Ok, pascal, I have pushed to git an updated version of your script because github/pull requests is an easier way to work, but this is far from done * latex can't use all image formats that DT can provide, we need to add a selection callback * this is still based on the original perl script, Mathia

Re: [darktable-devel] lua script to print contact sheets

2015-05-29 Thread Matthias Bodenbinder
Am 29.05.2015 um 17:15 schrieb Pascal Obry: > > Great working on my side! > > I have attached a new version of the script, changes: > > - handle file name with multiple dots > - create the PDF > - open the PDF with a tool (default evince), can be configured with a > preference. > - fix title lay

Re: [darktable-devel] lua script to print contact sheets

2015-05-29 Thread Pascal Obry
Great working on my side! I have attached a new version of the script, changes: - handle file name with multiple dots - create the PDF - open the PDF with a tool (default evince), can be configured with a preference. - fix title layout - purge exported images at the end Maybe time to push it in

Re: [darktable-devel] lua script to print contact sheets

2015-05-29 Thread jeremy rosen
Ok, I fixed the crash in master, you should be able to go back on that part if you're interested. On Thu, May 28, 2015 at 7:04 PM, David Vincent-Jones wrote: > On Thursday, May 28, 2015 18:53 Matthias Bodenbinder wrote: > > Am 28.05.2015 um 10:10 schrieb David Vincent-Jones: > > > Hi Matthias;

Re: [darktable-devel] lua script to print contact sheets

2015-05-28 Thread David Vincent-Jones
On Thursday, May 28, 2015 18:53 Matthias Bodenbinder wrote: > Am 28.05.2015 um 10:10 schrieb David Vincent-Jones: > > Hi Matthias; > > > > The installation of the luatex material appears to be very 'extensive' > > Do I need to install the entire package that appears to be about 1 gb. in > > size?

Re: [darktable-devel] lua script to print contact sheets

2015-05-28 Thread Matthias Bodenbinder
Am 28.05.2015 um 10:10 schrieb David Vincent-Jones: > Hi Matthias; > > The installation of the luatex material appears to be very 'extensive' > Do I need to install the entire package that appears to be about 1 gb. in > size? > > > David > >

Re: [darktable-devel] lua script to print contact sheets

2015-05-28 Thread David Vincent-Jones
Hi Matthias; The installation of the luatex material appears to be very 'extensive' Do I need to install the entire package that appears to be about 1 gb. in size? David -- _

Re: [darktable-devel] lua script to print contact sheets

2015-05-28 Thread jeremy rosen
yes, that's definitely not the right fix since it leaves a memleak behind... however this is probably the best workaround until I find a correct fix. you might also want to comment the line just above, to be safe... properly fixing that one is very tricky. i'm looking into it, stay tuned... as fo

Re: [darktable-devel] lua script to print contact sheets

2015-05-27 Thread Pascal Obry
Le jeudi 28 mai 2015 à 07:17 +0200, Matthias Bodenbinder a écrit : > Hello Jeremy, > > I tested your script with newest git master. Here is what I found: > > 1) Version check line #31 is not working > LUA ERROR : /home/matthias/.config/darktable-1.7//luarc:31: bad argument #1 > to 'check_versio

Re: [darktable-devel] lua script to print contact sheets

2015-05-27 Thread Matthias Bodenbinder
Hello Jeremy, I tested your script with newest git master. Here is what I found: 1) Version check line #31 is not working LUA ERROR : /home/matthias/.config/darktable-1.7//luarc:31: bad argument #1 to 'check_version' (string expected, got nil) stack traceback: [C]: in function 'check_ver

Re: [darktable-devel] lua script to print contact sheets

2015-05-26 Thread jeremy rosen
Hey everybody attached is my version of the lua script to generate thumbnails. I post it mainly to show how the DT integration works it's definitely not finished and can be greately improved. To install, add the file in /lua then create a file /luarc with a single line in it 'require "selection_

Re: [darktable-devel] lua script to print contact sheets

2015-05-24 Thread Matthias Bodenbinder
Hi, I reworked the whole script. It is more sophisticated and robust now. Main change is an optional resizing of the pictures to reduce the pdf file size. It works evry well for me Usage: do_contactsheet-test.lua [OPTION] Options: -t|--title Title of the document (default: "Con

Re: [darktable-devel] lua script to print contact sheets

2015-05-23 Thread Dave
That could be really useful. It would work like a thumbnail index for higher res images. Nice! On Sat, 23 May 2015 08:53 Matthias Bodenbinder wrote: > Hi, > > I made another interesting change to the script. With the hyperref package > it is possible to include links into PDF files. I changed th

Re: [darktable-devel] lua script to print contact sheets

2015-05-22 Thread Matthias Bodenbinder
Hi, I made another interesting change to the script. With the hyperref package it is possible to include links into PDF files. I changed the latex preamble and the thumbnail function to include links to the original JPG/PNG on the filesystem. This is just a study which may or may not be useful.

Re: [darktable-devel] lua script to print contact sheets

2015-05-22 Thread Matthias Bodenbinder
Am 23.05.2015 um 04:11 schrieb Mark Heieis: > Just curious, why not inclusion of other formats? I would see this especially > useful for raw (since that's all I seem to use). Where is the limitation - > latex? > > Thanks. > Yes, the limitation is latex. But is that really a problem? I dont see

Re: [darktable-devel] lua script to print contact sheets

2015-05-22 Thread Mark Heieis
Just curious, why not inclusion of other formats? I would see this especially useful for raw (since that's all I seem to use). Where is the limitation - latex? Thanks. On 2015-05-22 11:09, jeremy rosen wrote: as I've said earlier,

Re: [darktable-devel] lua script to print contact sheets

2015-05-22 Thread jeremy rosen
as I've said earlier, I have a wip version, but I won't be able to provide it to you before tuesday stay tuned. in the mean time, you can have a look at the lua API and documentation in the user-manual * even better, if you compile DT yourself, go in the build/ subdirectory and run "make dar

[darktable-devel] lua script to print contact sheets

2015-05-22 Thread Matthias Bodenbinder
Hi, triggered by a question on the user list I created a lua script which creates a contact sheet (Kontaktabzug) for a set of JPGs. The output is a PDF document. The script uses lualatex to do the job. How do I incorporate that script into darktable? The script works pretty well on the command