From 1113b2da9fb4396f6cc5e41f696ffa9473ae566a Mon Sep 17 00:00:00 2001 From: Cyrille L Date: Fri, 14 Apr 2023 17:15:15 +0200 Subject: [PATCH] [0.9.1] --- CHANGELOG.md | 6 ++++++ src/usr/bin/tyto | 2 +- src/var/lib/tyto/program/tyto.py | 4 ++-- src/var/lib/tyto/program/wip.py | 5 +++-- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 54e5f86..d07dd24 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,5 +6,11 @@ Tyto - Littérateur - Changelog: https://git.a-lec.org/echolib/tyto-litterateur/-/blob/master/CHANGELOG.md - License: https://git.a-lec.org/echolib/tyto-litterateur/-/blob/master/LICENSE +## [0.9.1] +- wip: tabulation when using `
` +- wip: inline quote markers `@_myquote_@` +- wip: inline italic marker `:_maybe_:` +- wip: fix data retreive in complete quote + ## [0.9.0] - Last testings before final diff --git a/src/usr/bin/tyto b/src/usr/bin/tyto index 1824ec3..39b0751 100755 --- a/src/usr/bin/tyto +++ b/src/usr/bin/tyto @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Version: 0.9.0 +# Version: 0.9.1 # Tyto - Littérateur # # Copyright (C) 2023 Cyrille Louarn diff --git a/src/var/lib/tyto/program/tyto.py b/src/var/lib/tyto/program/tyto.py index fc5d422..f9f35b4 100644 --- a/src/var/lib/tyto/program/tyto.py +++ b/src/var/lib/tyto/program/tyto.py @@ -109,10 +109,10 @@ words_tags = [ ('*_', '_*', '', '', 'strongs', 'w'), ('+_', '_+', '', '', 'bolds', 'w'), ('/_', '_/', '', '', 'emphasis', 'w'), -('[_', '_]', '', '', 'italics', 'w'), +(':_', '_:', '', '', 'italics', 'w'), ('~_', '_~', '', '', 'dels', 'w'), ('._', '_.', '', '', 'underlines', 'w'), -(':_', '_:', '', '', 'cites', 'w'), +('@_', '_@', '', '', 'cites', 'w'), ('%_', '_%', '', '', 'customs', 'w'), ('{_', '_}', '', '', 'codes', 'w'), ('((', '))', '

', '

', 'paragraphs', 't'), diff --git a/src/var/lib/tyto/program/wip.py b/src/var/lib/tyto/program/wip.py index a9c0759..d4cf7b7 100644 --- a/src/var/lib/tyto/program/wip.py +++ b/src/var/lib/tyto/program/wip.py @@ -467,7 +467,7 @@ def wip_images(): def quote_params(qline): for tag in tyto.quote_tags: if qline.startswith(tag[0]): - globals()[tag[1]] = qline.rsplit(' ',1)[1].lstrip() + globals()[tag[1]] = qline.rsplit('%s '%tag[0])[1].lstrip() return(True) #==========================# @@ -953,7 +953,8 @@ def wip_tabs(): elif line.startswith('