39 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
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
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
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
707adb039c Plugin texnote adapted to new ui system. 2013-07-07 00:14:29 +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
3f1f9623cf texnote plugin integrate all current event 2013-07-05 18:09:02 +02:00
jgrizou
76d1ef3931 Texnote usable.
Added a edit_file function in files.
2013-07-04 16:19:46 +02:00
jgrizou
1f91712b31 Changed init of texnote to pass tests. 2013-07-04 12:23:10 +02:00
jgrizou
ebff1bb4e4 Updated texnote, not working yet
Add a check_directory in files.py
2013-07-04 12:10:23 +02:00
Jonathan Grizou
e9b0373456 Some test on texnote 2013-07-04 00:09:17 +02:00
Jonathan Grizou
4a91c4953c Change back plugin.py to plugins.py + adapt PapersPlugin class protoype to command with args 2013-07-03 23:12:32 +02:00
Jonathan Grizou
31cf4de9d3 Change call for command from "cmds[cmd].command(**vars(args))" to "cmds[cmd].command(args)".
Applied  the corresponding changes to command files.
AMakes it possible to declare and use additional parser inside subparsers.
May be useful for tag command. Will be implemented in texnote plugin.
2013-07-03 23:01:47 +02:00
Fabien Benureau
f528aa8a67 updated core. almost all tests are passing 2013-07-02 14:05:32 +01:00
Fabien Benureau
500667baae more usecase test, hack-fixed plugins. 2013-06-30 18:40:34 +01:00
Jonathan Grizou
112d6269d7 Verification problème decoration event dans classe 2013-06-28 10:43:32 +02:00
Jonathan Grizou
9134ac62da Error when renaming plugins.py in plugin.py, in texnote the import name was not changed. 2013-06-28 00:29:55 +02:00
Olivier Mangin
6d303b2c4c Simplifies event mechanism.
- moves RemoveEvent to events
- makes listen a classmethod of the event
2013-06-27 18:35:57 +02:00
jgrizou
415b1b37c5 args in event mechanism 2013-06-26 20:00:44 +02:00
Jonathan Grizou
ed44a2c262 Event mechanism working perfectly and very simple and clean 2013-06-26 12:19:24 +02:00
jgrizou
ff195c0859 Plugins class created and handle for the parse. Next step is to code the event messages. Next one is to code the setup extension. 2013-06-25 19:45:00 +02:00