Skip to content

Commit

Permalink
skip a visual example on p. 53 (closes #94)
Browse files Browse the repository at this point in the history
  • Loading branch information
nschneid committed Feb 25, 2024
1 parent 17db0fb commit 8f75818
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
12 changes: 0 additions & 12 deletions all-examples/cge01-02Ex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -461,18 +461,6 @@ ex00033:
- <em>I asked Ed to help <u>but he won't</u>.</em>
ex00034:
page: '53'
'[2]':
a:
- ex00034_p53_[2]_a
- <em>This</em>
- seems</em>
- <em>a good idea / fair.</em>
b:
- ex00034_p53_[2]_b
- <em>I</em>
- consider</em>
- this</em>
- <em>a good idea </em>/ <em>fair.</em>
ex00035:
page: '53'
'[3]':
Expand Down
3 changes: 3 additions & 0 deletions all-examples/pagified-html_to_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ def main(pagified_path, yamlified):


def insert_sent(examples_dict, key, num_ex, roman_num, letter, special, page, sent):
if page=='53' and num_ex=='[2]':
return # ignore this one as it is a visual layout example

sent = sent.replace('`', '\'')
assert '<p>' not in sent
assert '</p>' not in sent,sent
Expand Down

0 comments on commit 8f75818

Please sign in to comment.