Olivier Mangin
e017ffef20
Fix bugs with saving tags in yaml.
...
- now saves tag set as list (maybe the save_meta function should be
moved to paper.py)
- updates test to actually test storing of metadata
2013-06-27 19:21:28 +02:00
Fabien Benureau
467e9f4713
add_cmd automatically recognize the format when using the editor
2013-06-27 16:02:12 +02:00
Fabien Benureau
8b0baede88
FIX bug in color handling
2013-06-25 13:07:18 +02:00
Olivier Mangin
70eec18c1d
FIX missing import in files.
2013-06-24 19:58:11 +02:00
Fabien Benureau
db14fb94f3
Merge branch 'feature/fastercolor' into develop. Read on for details.
...
The interface of color has changed.
color.colored(s, 'red') becomes color.dye(s, color.red)
The code behind it is simpler and shorter.
The decision to use color or not is made when the UI class is instanciated,
and the configuration is read. There is no need to handle it on a per-file
basis. The default before repository instanciation is with color, but that
might (should) change.
2013-06-13 12:40:37 +02:00
Fabien Benureau
c8501aa211
updating the code to new color module
2013-06-13 12:30:45 +02:00
Olivier Mangin
16c43f84e3
Adds 'bibtex' to valid format names (was used as default for export).
2013-06-11 12:13:11 +02:00
Olivier Mangin
245ab0ea4d
Integrates devadd as add.
2013-06-10 15:04:04 +02:00
Jonathan Grizou
511b8e5680
Some comments in files, no modif in api
2013-06-08 21:56:42 +02:00
Olivier Mangin
04eeedf8a4
Switch to config based papers directory.
...
TODO add papers dir to config on papers init command.
2013-06-05 19:52:11 +02:00
Olivier Mangin
3e6a1403b9
Adds basic export capabilities.
2013-03-14 15:49:04 +01:00
Olivier Mangin
2d700073a8
Improves document handling.
...
- configuration is now referenced in repo object,
- introduces new class PaperInRepo,
- simplifies storage of documents in metadata,
- changes a few names.
2013-02-21 16:48:32 +01:00
Olivier Mangin
49821eab51
Improves parser selection.
2013-02-21 10:01:20 +01:00
Olivier Mangin
748717ff97
Adds edit command.
2013-01-04 15:27:29 +01:00
Olivier Mangin
f734e2f172
Simplified color usage.
2012-12-26 22:21:25 +01:00
Olivier Mangin
3af7590827
Adds basic import command with document file copy.
...
Still lot to be improve on ui and features.
2012-12-20 17:56:34 +01:00
Olivier Mangin
1fad286517
Improves repo.py, adds tests. Still things to clean and decide...
2012-12-17 16:56:32 +01:00
Olivier Mangin
2d758ea16e
Cleanup Paper class and adds test.
2012-12-17 09:14:35 +01:00
Olivier Mangin
f2e9625aac
Work in progress: improves UTF-8 support, cleans paper creation.
2012-12-14 21:10:36 +01:00
Fabien Benureau
09b737b210
removed configparser in favor of yaml
2012-10-11 19:57:56 +02:00
Fabien Benureau
cdd2796638
finished implementing the classes
...
a lowercase bug remain that force to move to another format than configparser. Which is just as well.
2012-10-11 09:26:46 +02:00
Fabien Benureau
b413be687d
imcomplete implementation of Repository, Paper classes
2012-10-10 16:33:17 +02:00
Fabien Benureau
15782375a5
citekey generation and support
2012-10-07 22:13:41 +02:00
Fabien Benureau
acab1b8044
major restructuring of code. many oliver remarks implemented. no new features.
...
divided code into multiple files
paperpile style argparse
setup.py with script option
2012-10-07 19:27:20 +02:00