From 6e28402e92a91aae9a4c83d11f74b833b99ea733 Mon Sep 17 00:00:00 2001 From: Christian Boulanger <boulanger@lhlt.mpg.de> Date: Mon, 30 Sep 2024 11:49:48 +0200 Subject: [PATCH] Improve output for GS generation --- .../tei-to-biblstruct-gs.ipynb | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/convert-anystyle-data/tei-to-biblstruct-gs.ipynb b/convert-anystyle-data/tei-to-biblstruct-gs.ipynb index 5493fb3..1c4eabf 100644 --- a/convert-anystyle-data/tei-to-biblstruct-gs.ipynb +++ b/convert-anystyle-data/tei-to-biblstruct-gs.ipynb @@ -95,12 +95,12 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 9, "outputs": [ { "data": { "text/plain": "<IPython.core.display.Markdown object>", - "text/markdown": "### Processing 10.1111_1467-6478.00057\n[TEI/bibl]([tei-bibl-corrected\\10.1111_1467-6478.00057.xml)\n[TEI/biblStruct]([tei-biblStruct/10.1111_1467-6478.00057.biblstruct.xml)" + "text/markdown": "### Processing 10.1111_1467-6478.00057\n - [TEI/bibl](tei-bibl-corrected\\10.1111_1467-6478.00057.xml)\n - [TEI/biblStruct](tei-biblStruct/10.1111_1467-6478.00057.biblstruct.xml)" }, "metadata": {}, "output_type": "display_data" @@ -116,7 +116,7 @@ { "data": { "text/plain": "<IPython.core.display.Markdown object>", - "text/markdown": "### Processing 10.1111_1467-6478.00080\n[TEI/bibl]([tei-bibl-corrected\\10.1111_1467-6478.00080.xml)\n[TEI/biblStruct]([tei-biblStruct/10.1111_1467-6478.00080.biblstruct.xml)" + "text/markdown": "### Processing 10.1111_1467-6478.00080\n - [TEI/bibl](tei-bibl-corrected\\10.1111_1467-6478.00080.xml)\n - [TEI/biblStruct](tei-biblStruct/10.1111_1467-6478.00080.biblstruct.xml)" }, "metadata": {}, "output_type": "display_data" @@ -132,7 +132,7 @@ { "data": { "text/plain": "<IPython.core.display.Markdown object>", - "text/markdown": "### Processing 10.1515_zfrs-1980-0103\n[TEI/bibl]([tei-bibl-corrected\\10.1515_zfrs-1980-0103.xml)\n[TEI/biblStruct]([tei-biblStruct/10.1515_zfrs-1980-0103.biblstruct.xml)" + "text/markdown": "### Processing 10.1515_zfrs-1980-0103\n - [TEI/bibl](tei-bibl-corrected\\10.1515_zfrs-1980-0103.xml)\n - [TEI/biblStruct](tei-biblStruct/10.1515_zfrs-1980-0103.biblstruct.xml)" }, "metadata": {}, "output_type": "display_data" @@ -148,7 +148,7 @@ { "data": { "text/plain": "<IPython.core.display.Markdown object>", - "text/markdown": "### Processing 10.1515_zfrs-1980-0104\n[TEI/bibl]([tei-bibl-corrected\\10.1515_zfrs-1980-0104.xml)\n[TEI/biblStruct]([tei-biblStruct/10.1515_zfrs-1980-0104.biblstruct.xml)" + "text/markdown": "### Processing 10.1515_zfrs-1980-0104\n - [TEI/bibl](tei-bibl-corrected\\10.1515_zfrs-1980-0104.xml)\n - [TEI/biblStruct](tei-biblStruct/10.1515_zfrs-1980-0104.biblstruct.xml)" }, "metadata": {}, "output_type": "display_data" @@ -261,8 +261,8 @@ "\n", " # log\n", " md_lines = [f'### Processing {file_id}']\n", - " md_lines.append(f'[TEI/bibl]([{bibl_path})')\n", - " md_lines.append(f'[TEI/biblStruct]([{biblstruct_path})')\n", + " md_lines.append(f' - [TEI/bibl]({bibl_path})')\n", + " md_lines.append(f' - [TEI/biblStruct]({biblstruct_path})')\n", " display(Markdown(\"\\n\".join(md_lines)))\n", "\n", " with (open(bibl_path, 'r', encoding='utf-8') as bibl_file, \n", @@ -281,8 +281,8 @@ "metadata": { "collapsed": false, "ExecuteTime": { - "end_time": "2024-09-30T09:47:18.298310Z", - "start_time": "2024-09-30T09:47:17.681530200Z" + "end_time": "2024-09-30T09:49:31.520651200Z", + "start_time": "2024-09-30T09:49:30.856013600Z" } }, "id": "b658a0ceebfc73d9" -- GitLab