diff --git a/README.md b/README.md index 100133d..5339959 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ ScribusGenerator Mail-Merge-like extension to Scribus, to generate Scribus and pdf documents automatically from external data (spreadsheet, database and more). -[Scribus Generator. Generate beautiful documents from data. Scribus Generator: Create beautiful documents with data](https://github.com/berteh/ScribusGenerator/). Open source high-quality pdf template and mail-merge alternative. Your imagination is the limit for creating beautiful yearbooks, personalised weedings invitations, game cards decks, clubs rosters and [many more](https://github.com/berteh/ScribusGenerator/wiki#gallery-of-examples--some-templates). +[Scribus Generator. Generate beautiful documents from data. Scribus Generator: Create beautiful documents with data](https://github.com/berteh/ScribusGenerator/). Open source high-quality pdf template and mail-merge alternative. Your imagination is the limit for creating beautiful yearbooks, personalised weedings invitations, game cards decks, clubs rosters, art or work portfolio and [many more](https://github.com/berteh/ScribusGenerator/wiki#gallery-of-examples--some-templates). What is Scribus Generator? ------- @@ -329,7 +329,7 @@ This is only important for variable *names* in the scribus file and *column name ### Database source -To use data from a database instead a (manual) spreadsheet you can simply export the related query result to a csv file. Some examples below for common database engines: +To use data from a database instead a (manual) spreadsheet you can simply export the related query result to a CSV file. Some examples below for common database engines. Find out more about using external data sources in our [wiki](https://github.com/berteh/ScribusGenerator/wiki) . #### Mysql: @@ -376,7 +376,7 @@ Licence The MIT License
Copyright
(c) 2011, Ekkehard Will (www.ekkehardwill.de)
-(c) 2014-2017, Berteh (https://github.com/berteh/) +(c) 2014-2021, Berteh (https://github.com/berteh/) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/ScribusGenerator.py b/ScribusGenerator.py index 2e1a2dd..de93e53 100644 --- a/ScribusGenerator.py +++ b/ScribusGenerator.py @@ -1,20 +1,17 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Mail-Merge for Scribus. +# Mail-Merge for Scribus. This file provides the GUI (Windows and Linux). +# Tkinter is required and difficult to install in MacOS > use CLI version for Mac is recommended # # For further information (manual, description, etc.) please visit: # https://github.com/berteh/ScribusGenerator/ # -# v2.2 (2016-08-10): various bug fix (logging location in windows, dynamic colors in Scribus 1.5.2 and some more) -# v2.0 (2015-12-02): added features (merge, range, clean, save/load) -# v1.9 (2015-08-03): initial command-line support (SLA only, use GUI version to generate PDF) -# v1.1 (2014-10-01): Add support for overwriting attributes from data (eg text/area color) -# v1.0 (2012-01-07): Fixed problems when using an ampersand as values within CSV-data. +# v2.9.1 (2021-01-22): update port to Python3 for Scribut 1.5.6+, various DOC update # """ The MIT License -Copyright (c) 2010-2014 Ekkehard Will (www.ekkehardwill.de), 2014 Berteh (https://github.com/berteh/) +Copyright (c) 2010-2014 Ekkehard Will (www.ekkehardwill.de), 2014-2021 Berteh (https://github.com/berteh/) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ diff --git a/ScribusGeneratorBackend.py b/ScribusGeneratorBackend.py index 5a34f2f..17d4a28 100644 --- a/ScribusGeneratorBackend.py +++ b/ScribusGeneratorBackend.py @@ -1,27 +1,16 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Mail-Merge for Scribus. +# Mail-Merge for Scribus. This file provides the backend. # # For further information (manual, description, etc.) please visit: # https://github.com/berteh/ScribusGenerator/ # -# v2.8 (2019-01-29): code style > PEP8 approximate, renamed %VAR_NEXT-RECORD% into %SG_NEXT-RECORD% -# v2.7 (2018-04-22): change SGAttribute to work in Scribus 1.5.3 GUI. -# v2.6 (2018-04-07): bug fix (dynamic output file directory, linked frames limit, Python 3.6 syntax) -# v2.5 (2017-03-27): support for multiple records on same page (Next-Record mechanism), bug fix (multiple SGAttributes) -# v2.3 (2016-08-10): various bug fix (logging location in windows, dynamic colors in Scribus 1.5.2 and some more) -# v2.0 (2015-12-02): added features (merge, range, clean, save/load) -# v1.9 (2015-08-03): initial command-line support (SLA only, use GUI version to generate PDF) -# v1.1 (2014-10-01): Add support for overwriting attributes from data (eg text/area color) -# v1.0 (2012-01-07): Fixed problems when using an ampersand as values within CSV-data. -# v2011-01-18: Changed run() so that scribus- and pdf file creation and deletion works without problems. -# v2011-01-17: Fixed the ampersand ('&') problem. It now can be used within variables. -# v2011-01-01: Initial Release. +# v2.9.1 (2021-01-22): update port to Python3 for Scribut 1.5.6+, various DOC update # """ The MIT License -Copyright (c) 2010-2014 Ekkehard Will (www.ekkehardwill.de), 2014-2015 Berteh (https://github.com/berteh/) +Copyright (c) 2010-2014 Ekkehard Will (www.ekkehardwill.de), 2014-2021 Berteh (https://github.com/berteh/) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ diff --git a/ScribusGeneratorCLI.py b/ScribusGeneratorCLI.py index f85e0d9..d15d3e0 100755 --- a/ScribusGeneratorCLI.py +++ b/ScribusGeneratorCLI.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Mail-Merge for Scribus. +# Mail-Merge for Scribus. This file provides the Command Line Interface (all OS) # # For further information (manual, description, etc.) please visit: # https://github.com/berteh/ScribusGenerator/