Commit Graph

536 Commits

Author SHA1 Message Date
Sina Atalay c7fd1b05f3 classic: refactor OneLineEntry template 2024-03-10 19:07:35 +01:00
Sina Atalay 5ca9b3e1de add BulletEntry templates 2024-03-10 19:07:16 +01:00
Sina Atalay b1907acaa4 renderer: refactor 2024-03-10 19:07:00 +01:00
Sina Atalay 5e69373419 data_models: add a new entry type, BulletEntry 2024-03-10 19:06:35 +01:00
Sina Atalay 9b37e2b6e2 moderncv: remove bullets from TextEntry 2024-03-10 18:38:36 +01:00
Sina Atalay d0a48812d6 moderncv: make highlights of moderncv bullet points 2024-03-10 18:38:07 +01:00
Sina Atalay 9ccec151d6 data_models: rename "name" to "label" for OneLineEntry 2024-03-10 18:13:04 +01:00
Sina Atalay ecca51b2c8 data_models: enhance data models so that new entry types can be added easily 2024-03-10 18:12:39 +01:00
Sina Atalay d7cffa430d update version number to 1.3 2024-03-09 19:31:32 +01:00
Sina Atalay 57d34c3d31 update PublicationEntry templates for optional DOI 2024-03-09 18:53:29 +01:00
Sina Atalay 0354b77fab data_models: make DOI optional for PublicationEntry (#33) 2024-03-09 18:53:14 +01:00
Sina Atalay f7b6e1e164 make authors of PublicationEntry more flexible (#27) 2024-03-09 17:58:51 +01:00
Sina Atalay 3e4bae6cf0 sb2nov: fix PublicationEntry journal templating (#36) 2024-03-08 18:10:46 +01:00
Sina Atalay 170c4f912e data_models: allow future dates (#25) 2024-02-28 21:34:28 +01:00
Sina Atalay 39729f9907 data_models: fix a validation error description 2024-02-28 21:17:45 +01:00
Sina Atalay fc0f254051 cli: update welcome message 2024-02-28 21:17:10 +01:00
Sina Atalay 2151830d43 themes: add theme field to ThemeOptions for better key ordering 2024-02-27 19:59:50 +01:00
Sina Atalay 145549ee99 update version number to 1.2 2024-02-27 18:44:07 +01:00
Sina Atalay bb813ddbe2 fix Markdown TextEntry 2024-02-27 18:37:32 +01:00
Sina Atalay 2656014112 fix markdown PublicationEntry template's "journal" bug 2024-02-26 20:10:53 +01:00
Sina Atalay 052e287e39 fix markdown OneLineEntry 2024-02-26 20:10:05 +01:00
Sina Atalay 3390df0ad6 fix emails with special LaTeX character 2024-02-26 20:07:11 +01:00
Sina Atalay b678226fdc fix unicode decode bug (#19) in sample data model 2024-02-26 19:42:34 +01:00
Sina Atalay 25ded71f02 classic: fix a publication entry bug 2024-02-25 23:47:18 +01:00
Sina Atalay a4c9715675 bump version number from 1.0 to 1.1.
1.0 is published without TinyTeX.
2024-02-25 15:43:42 +01:00
Sina Atalay 07f0dcf52d docs: update __init__.py docstring 2024-02-25 14:53:13 +01:00
Sina Atalay 4142002d33 allow specifying theme name for sample input file 2024-02-24 22:23:35 +01:00
Sina Atalay b816971592 fix markdown file generation 2024-02-24 20:56:03 +01:00
Sina Atalay 97da623650 fix cli 2024-02-24 20:27:53 +01:00
Sina Atalay e47db5214d update tinytex-release submodule 2024-02-24 20:10:00 +01:00
Sina Atalay 01011741f0 include amsmath in all themes 2024-02-24 20:09:39 +01:00
Sina Atalay 49f955e238 make journal optional in PublicationEntry of classic 2024-02-24 20:09:24 +01:00
Sina Atalay 1622a791b2 fix a bug in escape_latex_characters 2024-02-24 20:08:30 +01:00
Sina Atalay b28f26995c update sample data model 2024-02-24 20:07:47 +01:00
Sina Atalay 066a6a4e9b add exception handling for UnicodeDecodeError in handle_exceptions function 2024-02-24 20:07:35 +01:00
Sina Atalay 3976aa15ee update docs 2024-02-24 16:38:58 +01:00
Sina Atalay 998da75ed9 update cli_command_render docstring 2024-02-24 16:23:03 +01:00
Sina Atalay dfa23b9fbb update docstrings 2024-02-24 16:20:13 +01:00
Sina Atalay cdbbc46b5c refactor 2024-02-24 16:17:36 +01:00
Sina Atalay 68ae9c06ea update sb2nov theme 2024-02-23 19:07:27 +01:00
Sina Atalay e308ef43c5 fix None name problem 2024-02-20 20:29:18 +01:00
Sina Atalay 4c0d1ef46b update tinytex-release submodule 2024-02-20 20:17:05 +01:00
Sina Atalay 0821ab9a94 allow to use local latex installation 2024-02-20 20:12:48 +01:00
Sina Atalay cce9e2db82 update __init__.py docstring 2024-02-20 20:12:12 +01:00
Sina Atalay 19a2dbb6a5 allow data models without name 2024-02-20 20:11:03 +01:00
Sina Atalay ddaad438af allow data models without name 2024-02-20 20:10:48 +01:00
Sina Atalay c7fb8ff287 update tinytex-release submodule 2024-02-19 21:20:45 +01:00
Sina Atalay 83ec0b7358 update tinytex-release submodule 2024-02-19 21:17:08 +01:00
Sina Atalay bccfa9e077 update tinytex-release submodule 2024-02-19 21:08:48 +01:00
Sina Atalay 6965c0ffe2 update tinytex-release submodule 2024-02-19 20:52:54 +01:00
Sina Atalay 7c13a30392 update tinytex-release submodule 2024-02-19 20:45:27 +01:00
Sina Atalay 077300a0e5 update tinytex-release submodule 2024-02-19 20:40:44 +01:00
Sina Atalay 557496b054 update TinyTeX submodule 2024-02-19 19:33:02 +01:00
Sina Atalay e740735312 update transform_markdown_sections_to_latex_sections 2024-02-19 19:30:53 +01:00
Sina Atalay 4178c3e5e9 refactor 2024-02-18 19:13:29 +01:00
Sina Atalay abf9721b17 don't use typing_extensions 2024-02-18 17:45:25 +01:00
Sina Atalay 0251a93e03 add Orcid support to sb2nov 2024-02-18 17:20:22 +01:00
Sina Atalay 049f19ec2f change TextEntry of moderncv 2024-02-18 17:20:10 +01:00
Sina Atalay fc841b0d1f remove unused import statement 2024-02-18 17:12:46 +01:00
Sina Atalay 4306e87e1b improve renderer 2024-02-18 17:12:35 +01:00
Sina Atalay e935764c40 fix design validator bug 2024-02-18 15:12:24 +01:00
Sina Atalay 10f9190e58 refactor 2024-02-18 14:56:01 +01:00
Sina Atalay c68b6bbaa4 fix header connections bug in classic theme 2024-02-17 19:49:20 +01:00
Sina Atalay 7b33723380 document theme options 2024-02-17 19:45:10 +01:00
Sina Atalay 68cdfbfa8b fix a template bug in classic theme 2024-02-17 19:40:45 +01:00
Sina Atalay 8a4530e61a fix template bugs 2024-02-17 19:24:45 +01:00
Sina Atalay 250471b62d add text_alignment option to sb2nov 2024-02-17 19:09:37 +01:00
Sina Atalay 70ebe03511 improve JSON Schema 2024-02-17 18:46:58 +01:00
Sina Atalay e9c38e7752 add `replace_placeholders_with_actual_values` as a Jinja filter 2024-02-17 18:46:41 +01:00
Sina Atalay 3c661af49c improve templates 2024-02-17 18:46:19 +01:00
Sina Atalay 079cb1cf5b move common theme options to rendercv.themes 2024-02-17 18:46:07 +01:00
Sina Atalay a6859fb06c enhance external links in classic theme 2024-02-17 18:08:49 +01:00
Sina Atalay 8a1ec8b3bd improve sb2nov templates 2024-02-17 18:08:19 +01:00
Sina Atalay 873f66c661 finalize classic theme 2024-02-16 18:02:59 +01:00
Sina Atalay 4a9db5272a remove unused import statement 2024-02-15 19:48:57 +01:00
Sina Atalay 26abc00202 update sb2nov 2024-02-15 19:46:27 +01:00
Sina Atalay 2bdb4fb063 update theme options 2024-02-15 19:46:18 +01:00
Sina Atalay 54a39e59a3 add common theme options to themes/__init__.py 2024-02-15 19:46:10 +01:00
Sina Atalay 8eca448630 add sb2nov theme to data_models.py 2024-02-15 19:30:57 +01:00
Sina Atalay 9cfe6ed159 enhance classic theme 2024-02-15 19:30:38 +01:00
Sina Atalay 945a33a176 finalize sb2nov theme 2024-02-15 19:30:21 +01:00
Sina Atalay 0a4583dce0 add sb2nov theme 2024-02-15 18:13:04 +01:00
Sina Atalay 60ef29e59c improve moderncv theme 2024-02-15 18:11:06 +01:00
Sina Atalay d15afa567b remove mcdowell theme 2024-02-15 18:10:54 +01:00
Sina Atalay 41f3c10930 fix show_timespan_in option of classic theme 2024-02-15 18:10:21 +01:00
Sina Atalay 4f7bde20c5 enhance cli 2024-02-15 18:09:56 +01:00
Sina Atalay 0b2264792d fix theme validation 2024-02-15 18:09:48 +01:00
Sina Atalay 238278764a update Preamble of the classic theme 2024-02-14 20:46:47 +01:00
Sina Atalay d700c87a50 update classic theme settings 2024-02-14 20:46:32 +01:00
Sina Atalay f5c4e84952 correct typos 2024-02-14 20:46:22 +01:00
Sina Atalay e0bd41d272 fix markdown templating bug 2024-02-14 20:27:03 +01:00
Sina Atalay 34c4fc6ac6 add PASTETOGRAMMARLY to html filename 2024-02-14 20:22:42 +01:00
Sina Atalay ea7148eaa5 improve reference documentation of renderer.py 2024-02-14 20:12:20 +01:00
Sina Atalay 73156fe587 improve reference documentation of data_models.py 2024-02-14 20:08:39 +01:00
Sina Atalay 76dccd29dc improve reference documentation of cli.py 2024-02-14 20:06:43 +01:00
Sina Atalay 821d700f56 improve renderer.py 2024-02-14 19:49:50 +01:00
Sina Atalay 67bab3b3b3 improve section validation 2024-02-14 19:49:37 +01:00
Sina Atalay 0ca6b8428d improve cli.py 2024-02-14 19:49:18 +01:00
Sina Atalay 910e024005 refactor cli.py and data_models.py 2024-02-14 18:03:13 +01:00
Sina Atalay b00a3779a6 fix a bug in transform_markdown_data_model_to_latex_data_model 2024-02-14 18:03:01 +01:00
Sina Atalay 4722a8b6b3 make mcdowell theme usable with pdflatex 2024-02-14 18:02:37 +01:00
Sina Atalay 7a9432bc69 update schema.json 2024-02-14 17:39:28 +01:00
Sina Atalay 24c29c7cbd finalize cli 2024-02-13 20:00:55 +01:00
Sina Atalay ef741249d3 handle markdown to LaTeX differently 2024-02-13 20:00:16 +01:00
Sina Atalay 4ab6c49f63 add markdown rendering capability 2024-02-13 18:52:17 +01:00
Sina Atalay 56e1c76c2e prepare for markdown generation 2024-02-13 18:51:39 +01:00
Sina Atalay baf1027265 improve validation error handling 2024-02-13 18:51:19 +01:00
Sina Atalay a3ba415eb5 create markdown templates 2024-02-13 18:50:24 +01:00
Sina Atalay c881cd6b13 use sourcesanspro package instead of font files in classic theme 2024-02-13 18:50:10 +01:00
Sina Atalay 0dd4ecf000 fix a mcdowell tempate bug 2024-02-11 23:08:57 +01:00
Sina Atalay b5d227cc6b clean the auxiliary files after latex run 2024-02-11 23:08:45 +01:00
Sina Atalay f6ed75ce84 improve error messages 2024-02-11 22:43:38 +01:00
Sina Atalay ba683e861a improve get_entry_and_section_type 2024-02-11 22:43:27 +01:00
Sina Atalay a7a4a943f2 don't allow extra inputs in theme settings 2024-02-11 22:42:10 +01:00
Sina Atalay 41ad5c54a1 fix a mcdowell template bug 2024-02-11 19:36:38 +01:00
Sina Atalay 7d91cea70e improve cli 2024-02-11 19:36:24 +01:00
Sina Atalay cd8555a977 update LaTeXFile 2024-02-11 19:36:14 +01:00
Sina Atalay d10bf9509f fix a custom theme load bug 2024-02-11 19:35:55 +01:00
Sina Atalay 0d583c8877 update __init__ and __main__ 2024-02-11 19:34:56 +01:00
Sina Atalay a43923857b fix EntryBase location field bug 2024-02-11 16:15:09 +01:00
Sina Atalay 6d0c4b9816 move user_communicator to cli 2024-02-11 14:37:10 +01:00
Sina Atalay 715a6b4e5b update renderer for the new templating design 2024-02-10 22:57:53 +01:00
Sina Atalay 5c874bd9ea update data models 2024-02-10 22:57:40 +01:00
Sina Atalay 6d76ab8a8a update templating design 2024-02-10 22:57:29 +01:00
Sina Atalay 2e3acc8f23 add mcdowell theme 2024-02-10 22:57:10 +01:00
Sina Atalay f3a81b2ad1 start working on mcdowell theme 2024-02-10 22:15:53 +01:00
Sina Atalay 4b7d6ee8c1 disallow line breaks for links 2024-02-10 21:31:01 +01:00
Sina Atalay 8d0c5f4120 enhance user_communicator.py 2024-02-10 21:30:39 +01:00
Sina Atalay 2f300144ec implement custom theme feature 2024-02-10 21:30:29 +01:00
Sina Atalay a742e03c30 add moderncv theme 2024-02-10 20:32:40 +01:00
Sina Atalay 5825abf908 don't use console instance anymore 2024-02-10 20:32:16 +01:00
Sina Atalay 017cba42fc improve data_models.py 2024-02-10 20:31:54 +01:00
Sina Atalay 861849c63b rename study_type to degree 2024-02-10 20:30:30 +01:00
Sina Atalay 016d4ae88a remove unused code in LiveProgressReporter 2024-02-09 20:33:09 +01:00
Sina Atalay 0f071da01f update __init__.py 2024-02-09 20:15:08 +01:00
Sina Atalay 2268c7c0e5 refactor renderer.py 2024-02-09 20:15:01 +01:00
Sina Atalay 875c63d5e5 update data_models.py 2024-02-09 20:14:17 +01:00
Sina Atalay 1aeebcaa04 improve user_communicator 2024-02-08 20:12:32 +01:00
Sina Atalay c33875240c enhance data_models.py 2024-02-08 20:12:17 +01:00
Sina Atalay e83107fa6e validate sections before 2024-02-07 20:24:17 +01:00
Sina Atalay 303da319ec start working on handling the validation errors 2024-02-07 20:24:05 +01:00
Sina Atalay 48d48f4bf2 update __main__.py 2024-02-07 19:23:40 +01:00
Sina Atalay c431c7c8b5 add Orcid support 2024-02-07 19:19:25 +01:00
Sina Atalay 8b1b290b35 remove time_the_event_below 2024-02-07 19:19:13 +01:00
Sina Atalay 43c5cd0cbf enhance renderer.py 2024-02-07 19:17:10 +01:00
Sina Atalay ed93a781f5 improve data models 2024-02-07 19:16:55 +01:00
Sina Atalay da9159d8ec avoid using open function 2024-02-07 19:16:43 +01:00
Sina Atalay b6c7e89041 fix a template bug in Header 2024-02-06 21:18:27 +01:00
Sina Atalay b71eb431c0 fix small bugs in renderer.py 2024-02-06 21:17:51 +01:00
Sina Atalay eb10184852 use write_text instead of open 2024-02-06 19:19:14 +01:00
Sina Atalay 27e46e0c4f update __init__.py 2024-02-06 19:18:54 +01:00
Sina Atalay 2a7db08e1b update JSON schema generator 2024-02-06 19:18:46 +01:00
Sina Atalay a334bda3d7 disable warnings for the dates 2024-02-06 17:36:44 +01:00
Sina Atalay 63080fe67d move the contents of __main__.py to cli.py 2024-02-06 17:36:27 +01:00
Sina Atalay 6eac49f38e finalize user_communicator 2024-02-06 17:36:12 +01:00
Sina Atalay 0b09a5095b create LiveProgressReporter 2024-02-05 19:41:43 +01:00
Sina Atalay 382914eee9 disable timing for now 2024-02-04 21:50:44 +01:00
Sina Atalay 0c70cd25b0 rename terminal_reporter to user_communicator 2024-02-04 21:49:55 +01:00
Sina Atalay d79426b14f add get_a_sample_data_model function to data_models.py 2024-02-04 21:49:40 +01:00
Sina Atalay 0b77882196 start working on __main__.py 2024-02-04 21:49:01 +01:00
Sina Atalay 7d4260f8e7 remove old __init__.py code 2024-02-04 21:48:50 +01:00
Sina Atalay 0cf9f0f6db enhance renderer.py 2024-02-03 16:33:36 +01:00
Sina Atalay 56a0c8dfd7 add fonts for classic theme 2024-02-03 16:33:18 +01:00
Sina Atalay d77387674a don't return None type url_text 2024-02-03 15:39:55 +01:00
Sina Atalay 6b9723fda1 finalize renderer.py 2024-02-03 15:39:39 +01:00
Sina Atalay b33d9716a5 refactor data_models.py 2024-02-03 13:58:20 +01:00
Sina Atalay 07088e530d remove utilities.py 2024-02-03 12:58:14 +01:00
Sina Atalay 175a79af61 refactor terminal_reporter.py 2024-02-03 12:55:23 +01:00
Sina Atalay 93132cafdd start working on renderer 2024-02-02 19:37:09 +01:00
Sina Atalay 7e92df3dd6 refactor data_models.py 2024-02-02 19:35:50 +01:00
Sina Atalay 89413249f9 add functions to terminal_reporter 2024-02-02 19:35:27 +01:00
Sina Atalay cbac4b9432 finalize data_models.py 2024-02-02 19:31:07 +01:00
Sina Atalay df630645eb enhance data models 2024-02-02 18:02:03 +01:00
Sina Atalay 43da08205d fix bugs in classic theme's templates 2024-02-02 18:01:30 +01:00
Sina Atalay cd898274b7 create LaTeXFile class 2024-01-31 20:00:34 +01:00
Sina Atalay 49a769ea80 use markdown_to_latex before validation 2024-01-31 20:00:22 +01:00
Sina Atalay b2229a4afc improve templates 2024-01-31 19:59:55 +01:00
Sina Atalay e00ab3e05e enhance data models 2024-01-31 18:26:10 +01:00
Sina Atalay 07be2e78fd slowly move away from utilities.py 2024-01-30 19:49:57 +01:00
Sina Atalay bb2e5c05cd improve renderer 2024-01-30 19:49:43 +01:00
Sina Atalay c4aefccf17 add classic theme options 2024-01-30 19:49:29 +01:00
Sina Atalay b9a874ac3b improve data_models 2024-01-30 19:49:05 +01:00
Sina Atalay b9c7523fac upgrade templates of the classic theme 2024-01-30 19:48:10 +01:00
Sina Atalay d5f37e9cdc add read_input_file to utilities.py 2024-01-29 17:31:39 +01:00
Sina Atalay 216967a3ed refactor data_models.py 2024-01-29 17:31:24 +01:00
Sina Atalay 15d4ae1725 add missing templates to classic 2024-01-29 17:31:03 +01:00
Sina Atalay 874999da1c start working on renderer.py 2024-01-29 17:30:45 +01:00
Sina Atalay c6a747a38c remove input_reader.py 2024-01-29 17:30:33 +01:00
Sina Atalay 7baf269362 add TinyTeX as a submodule 2024-01-29 16:20:21 +01:00
Sina Atalay a43bce33ea remove TinyTeX README.md 2024-01-29 16:18:49 +01:00
Sina Atalay 3d8e2e80c8 refactor data_models.py 2024-01-29 16:13:09 +01:00
Sina Atalay e5552e3fe4 rename templates to themes 2024-01-29 16:12:43 +01:00
Sina Atalay 63bebebe4e add mastodon support 2024-01-28 21:37:00 +01:00
Sina Atalay 93d9a50c1a add theme field to ClassicThemeOptions 2024-01-28 21:14:11 +01:00
Sina Atalay 01824392ed remove compute_time_span_string from utilities 2024-01-28 21:13:53 +01:00
Sina Atalay 3f45dc57a0 fix date bugs in the data model 2024-01-28 21:13:23 +01:00
Sina Atalay 6e36962333 rename ActivityEntry to NormalEntry 2024-01-28 19:25:54 +01:00
Sina Atalay 6e0465aa30 delete options.py from the Classic theme 2024-01-28 19:16:51 +01:00
Sina Atalay 2e4a3f3f27 create __init__.py files for templates 2024-01-28 19:16:15 +01:00
Sina Atalay b642cb4b19 document and enhance data_models.py 2024-01-28 19:15:26 +01:00