diff options
author | Alejandro Gallo <aamsgallo@gmail.com> | 2017-12-06 18:36:55 +0100 |
---|---|---|
committer | Alejandro Gallo <aamsgallo@gmail.com> | 2017-12-06 18:36:55 +0100 |
commit | fd87b737bf8453c635fe49812d31b9d3f42a1136 (patch) | |
tree | ce033592e78a086afdb4f16a19451f1bb3f1b0c5 | |
parent | 1bb8ab6a589c4957f6cc624c5a30cbfa116d8690 (diff) |
Increase versionv0.4.9
-rw-r--r-- | doc/build/man/papis-config.1 | 16 | ||||
-rw-r--r-- | doc/build/man/papis.1 | 121 | ||||
-rw-r--r-- | papis/__init__.py | 2 |
3 files changed, 136 insertions, 3 deletions
diff --git a/doc/build/man/papis-config.1 b/doc/build/man/papis-config.1 index c8e3bad4..5325faf9 100644 --- a/doc/build/man/papis-config.1 +++ b/doc/build/man/papis-config.1 @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH "PAPIS-CONFIG" "1" "Nov 28, 2017" "0.4.8" "papis" +.TH "PAPIS-CONFIG" "1" "Dec 06, 2017" "0.4.9" "papis" .SH NAME papis-config \- Papis Configuration . @@ -667,6 +667,20 @@ If you are using \fBzathura\fP, do \fBmark\-opener\-format = zathura \-P .UNINDENT .UNINDENT .UNINDENT +.INDENT 0.0 +.TP +\fBinfo\-allow\-unicode\fP (\fI\%config\-settings\-info\-allow\-unicode\fP) +.INDENT 7.0 +.IP \(bu 2 +\fBDefault\fP: \fBTrue\fP +.UNINDENT +.UNINDENT +.sp +This flag is to be set if you want to allow unicode characters +in your info file or not. If it is set to false then a representation +for the unicode characters will be written in its place. +Since we should be living in an unicode world, it is set to \fBTrue\fP +by default. .SS Vim gui .INDENT 0.0 .TP diff --git a/doc/build/man/papis.1 b/doc/build/man/papis.1 index 6f31fd9f..32793299 100644 --- a/doc/build/man/papis.1 +++ b/doc/build/man/papis.1 @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH "PAPIS" "1" "Nov 28, 2017" "0.4.8" "papis" +.TH "PAPIS" "1" "Dec 06, 2017" "0.4.9" "papis" .SH NAME papis \- Papis Documentation . @@ -1025,6 +1025,20 @@ If you are using \fBzathura\fP, do \fBmark\-opener\-format = zathura \-P .UNINDENT .UNINDENT .UNINDENT +.INDENT 0.0 +.TP +\fBinfo\-allow\-unicode\fP (\fI\%config\-settings\-info\-allow\-unicode\fP) +.INDENT 7.0 +.IP \(bu 2 +\fBDefault\fP: \fBTrue\fP +.UNINDENT +.UNINDENT +.sp +This flag is to be set if you want to allow unicode characters +in your info file or not. If it is set to false then a representation +for the unicode characters will be written in its place. +Since we should be living in an unicode world, it is set to \fBTrue\fP +by default. .SS Vim gui .INDENT 0.0 .TP @@ -1985,6 +1999,111 @@ Open notes document .sp Default: False .UNINDENT +.SS Update +.sp +This command is to update the information of the documents. +Some examples of the usage are given below +.SS Examples +.INDENT 0.0 +.IP \(bu 2 +Update a document automatically and interactively +.UNINDENT +.sp +(searching by \fBdoi\fP number in \fIcrossref\fP, or in other sources…) +.INDENT 0.0 +.INDENT 3.5 +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +papis update \-\-auto \-i "author = dyson" +.ft P +.fi +.UNINDENT +.UNINDENT +.UNINDENT +.UNINDENT +.INDENT 0.0 +.IP \(bu 2 +Update your library from a bib(la)tex file where many entries are listed. +papis will try to look for documents in your library that match these +entries and will ask you entry per entry to update it (of course this is +done if you use the \fB\-i\fP flag for interactively doing it). In the example +\fBlibraryfile.bib\fP is a file containing many entries. +.INDENT 2.0 +.INDENT 3.5 +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +papis update \-\-from\-bibtex libraryfile.bib \-i +.ft P +.fi +.UNINDENT +.UNINDENT +.UNINDENT +.UNINDENT +.UNINDENT +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +usage: papis update [\-h] [\-i] [\-f] [\-d DOCUMENT] + [\-\-from\-isbnplus FROM_ISBNPLUS] [\-\-from\-yaml FROM_YAML] + [\-\-from\-bibtex FROM_BIBTEX] [\-\-from\-url FROM_URL] + [\-\-from\-doi FROM_DOI] [\-\-auto] + [search] +.ft P +.fi +.UNINDENT +.UNINDENT +.SS Positional Arguments +.INDENT 0.0 +.TP +.Bsearch +Search query string +.sp +Default: “.” +.UNINDENT +.SS Named Arguments +.INDENT 0.0 +.TP +.B\-i, \-\-interactive +Interactively update +.sp +Default: False +.TP +.B\-f, \-\-force +Force update, overwrite conflicting information +.sp +Default: False +.TP +.B\-d, \-\-document +Overwrite an existing document +.TP +.B\-\-from\-isbnplus +Update info from isbnplus.org +.TP +.B\-\-from\-yaml +Update info from yaml file +.TP +.B\-\-from\-bibtex +Update info from bibtex file +.TP +.B\-\-from\-url +Get document or information from url +.TP +.B\-\-from\-doi +Doi to try to get information from +.TP +.B\-\-auto +Try to parse information from different sources +.sp +Default: False +.UNINDENT .SS Export .sp The export command is useful to work with other programs such as bibtex. diff --git a/papis/__init__.py b/papis/__init__.py index 6218847b..f9df2087 100644 --- a/papis/__init__.py +++ b/papis/__init__.py @@ -1,7 +1,7 @@ # Information __license__ = 'GPLv3' -__version__ = '0.4.8' +__version__ = '0.4.9' __author__ = __maintainer__ = 'Alejandro Gallo' __email__ = 'aamsgallo@gmail.com' |