Hi Luca,

Good idea! I have a few comments about this particular patch, however:

- It would probably be better if we had one patch which converted
  Xournal to use some sort of configuration parsing library (simpler
  is probably better), and then adding -e as a proper option.  As
  it stands now, 'xournal -e filename.pdf filename.xoj' does not
  work, which is a variant I would normally expect to work.

- If you're doing it in batch mode, it would be far better for
  the error output to also be to the client. Ideally, you'd want
  to avoid initializing GTK; but at least avoid reporting bad files
  as a GTK error box.

Edward

Excerpts from Knulp79's message of 2014-01-26 16:03:00 -0800:
> Hello,
> first of all, thank you for developing and maintaining xournal.
> 
> Sometimes
>  I need to batch export a few xoj files to pdf and I would like to save 
> some time by doing so from a bash script without having to open xournal 
> and use the menus.
> 
> I attach a small patch file that allows exporting using the following  syntax:
> xournal filname.xoj -e filename.pdf
> 
> If others find it useful, it might be worth including it into the next 
> version of xournal.
> 
> Best,
> Luca

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Xournal-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xournal-devel

Reply via email to