245 Commits

Author SHA1 Message Date
jgrizou
9d4ed4d5df Fixed bug introduced by prog argument in parser 2013-07-17 09:42:30 +02:00
Olivier Mangin
08811b842f Adds citekey argument to selectively import entries.
Also removes unused fatal argument from many_from_path and moves
printing of warning to the command.
2013-07-16 12:46:02 +02:00
Olivier Mangin
68e2a23a3c Adds alias plugin. 2013-07-12 17:04:44 +02:00
Olivier Mangin
6e68bd5251 Simplifies loading of plugins parsers.
- Plugins now only present a get_commands method taking the parser to
  populate as argument and returning an iterable with which the cmds
  dictionary is updated (i.e. the plugins returns the command callbacks).
- The name attribute in plugins is now a class attribute.
2013-07-12 15:36:17 +02:00
jgrizou
6b738a3f6c Add autofill keyword in texnote 2013-07-12 11:17:05 +02:00
Jonathan Grizou
8524b9d5b8 Allow for glossary in texnote. Implies ruuning makeglosaries in latex_tools and changes in template files. 2013-07-09 19:56:04 +02:00
jgrizou
62e3c8e9e4 Fixed bug in generate_bib in texnote 2013-07-09 09:18:08 +02:00
jgrizou
67dc6d1983 Removed AddEvent on texnote 2013-07-09 08:55:19 +02:00
jgrizou
22324bcd8d Do not ask confirmation on RemoveEvent for texnote 2013-07-09 08:53:09 +02:00
Olivier Mangin
54a7ed53a5 FIX Bug in beetsui not using new configuration interface. 2013-07-08 19:57:41 +02:00
Jonathan Grizou
9f1b5e9813 Extract note feature. Ready to compile several note together. 2013-07-08 00:27:18 +02:00
Jonathan Grizou
e76dfbca8f Deported latex command. 2013-07-07 23:12:56 +02:00
Jonathan Grizou
fb55d903fe Ad generate_pdf command. 2013-07-07 21:12:30 +02:00
Jonathan Grizou
9626ec5330 Delete remaining print. 2013-07-07 21:12:10 +02:00
Jonathan Grizou
2a2eb5ed96 More advance autofill. 2013-07-07 19:48:45 +02:00
Jonathan Grizou
330532fd82 Remove ask confirmation + force mode. 2013-07-07 19:48:17 +02:00
Jonathan Grizou
44f61fb810 Implemented deep clean which erase every file that is not a '.tex' and every '.tex' file that has no associated paper. 2013-07-07 15:58:22 +02:00
Jonathan Grizou
22cc96cd62 Clean command -> removes all file that are not texfile 2013-07-07 15:42:00 +02:00
Jonathan Grizou
22ed4c8a5a Cleaner/smarter autofill. We also autofill the location of the style and bibfile.
We also allow for the user to choose the bibstyle in the config file.
2013-07-07 15:07:20 +02:00
Jonathan Grizou
15870ecffe Autofill more proper. Use the \autofill{FIELD}{} in body.tex to enable autofill. See the \autofill command in style.sty. 2013-07-07 14:09:51 +02:00
Jonathan Grizou
b233c1a0b2 Added bib file generation. 2013-07-07 01:43:18 +02:00
Jonathan Grizou
8ac1ee557e Merge branch 'develop' into plug/texnote
* develop:
  Dummy mistake in headers.py.
2013-07-07 00:27:36 +02:00
Jonathan Grizou
e1c0e7c8e7 Dummy mistake in headers.py. 2013-07-07 00:26:58 +02:00
Jonathan Grizou
fb3bedfeb1 Delete remaining or header argument. 2013-07-07 00:25:32 +02:00
Jonathan Grizou
473d4ffb36 Adapt to changes in helpers.py 2013-07-07 00:23:45 +02:00
Jonathan Grizou
c44881d3b3 Merge branch 'develop' into plug/texnote
* develop:
  Adapt function in helpers.py to changes in ui.
2013-07-07 00:21:39 +02:00
Jonathan Grizou
0d0cf95269 Adapt function in helpers.py to changes in ui. 2013-07-07 00:20:43 +02:00
Jonathan Grizou
707adb039c Plugin texnote adapted to new ui system. 2013-07-07 00:14:29 +02:00
Jonathan Grizou
da6d2d21d5 ui is no more passed in the command args.
Corresponding changes have been applied in commands files.
2013-07-07 00:05:57 +02:00
Jonathan Grizou
4e17a2201b Simplest possible modification of ui. Working.
Will now propagate changes in every files.
2013-07-06 23:48:30 +02:00
Jonathan Grizou
62bdf7dfad Changed event system to allow more advance listener.
See associated test for example.
2013-07-06 22:02:03 +02:00
jgrizou
4f4a58d81c Texnote robust. Should implement test now. 2013-07-05 21:49:21 +02:00
jgrizou
248055ded9 Fixed error in RenameEvent from previosu chages in repo 2013-07-05 20:17:47 +02:00
jgrizou
5510b6d3b9 Applied flake8 in config. 2013-07-05 19:47:26 +02:00
jgrizou
690f8ce792 Simplifies add and save in repo. 2013-07-05 19:14:47 +02:00
jgrizou
0801b3882d Merge branch 'develop' into plug/texnote 2013-07-05 18:10:40 +02:00
jgrizou
3f1f9623cf texnote plugin integrate all current event 2013-07-05 18:09:02 +02:00
jgrizou
9cc893d8a7 Added AddEvent 2013-07-05 17:41:48 +02:00
jgrizou
ac8ab54aae Changed the event, deleted the ui and add the Rename event. 2013-07-05 17:36:57 +02:00
jgrizou
516f8231ab Update the edit_cmd with respect to changes in repo 2013-07-05 17:36:11 +02:00
jgrizou
7b555abf92 Change repo and removed the update function and the rename function. Now only the save_paper function must be used 2013-07-05 17:35:32 +02:00
Olivier Mangin
ea26eb69e7 Merge branch 'develop' of gforge:/gitroot/mimosa/papers into develop 2013-07-05 14:42:23 +02:00
Olivier Mangin
d5247a6618 Refactors usecase.
Integrate helpers into TestCase sub-classes to make use of setUp
mechanism.
2013-07-05 14:42:07 +02:00
jgrizou
843d81a0e8 Merge branch 'develop' of scm.gforge.inria.fr:/gitroot/mimosa/papers into develop 2013-07-05 10:03:55 +02:00
Fabien Benureau
ab52785667 update test in test_usecases 2013-07-04 21:39:51 +01:00
Fabien Benureau
e43fbe4744 Merge branch 'develop' of gmimosa:/gitroot/mimosa/papers into develop 2013-07-04 21:36:16 +01:00
Fabien Benureau
9247c0d3f3 update check at startup 2013-07-04 21:31:53 +01:00
Fabien Benureau
edbe1af3fa Merge branch 'develop' into feat/better_test
Better tests, with every command except websearch and update in unit tests.
Support for fake user and editor inputs in tests.
2013-07-04 21:17:33 +01:00
Fabien Benureau
f62b31542d cosmetics in edit_cmd 2013-07-04 21:17:19 +01:00
Fabien Benureau
9c47951532 don't remove files at end of test.sh 2013-07-04 21:16:57 +01:00