diff --git a/config/page_map.yaml b/config/page_map.yaml index 82a741d..8f94c3b 100644 --- a/config/page_map.yaml +++ b/config/page_map.yaml @@ -1,289 +1,289 @@ chapters: 1: title: 'Chapter 1: Old Worlds and New' - real_page: null + real_page: 2 sections: - 'An Old World: North America': null - 'An Old World: West Africa': null - 'An Old World: Western Europe': null - Contact: null - The Spanish Empire: null - The French and Dutch Empires: null - Chapter Review: null + 'An Old World: North America': 4 + 'An Old World: West Africa': 9 + 'An Old World: Western Europe': 11 + Contact: 13 + The Spanish Empire: 18 + The French and Dutch Empires: 27 + Chapter Review: 33 2: title: 'Chapter 2: European Colonies and Native Nations, 1600⠍1660' - real_page: null + real_page: 40 sections: - England and the Americas: null - Early English Exploration and Colonization: null - The Chesapeake: null - Origins of American Slavery: null - The New England Way: null - New Englanders Divided: null - Religion, Politics, and Freedom: null - Chapter Review: null + England and the Americas: 42 + Early English Exploration and Colonization: 46 + The Chesapeake: 48 + Origins of American Slavery: 51 + The New England Way: 55 + New Englanders Divided: 62 + Religion, Politics, and Freedom: 68 + Chapter Review: 74 3: title: 'Chapter 3: Creating Anglo-America, 1660⠍1750' - real_page: null + real_page: 78 sections: - Global Competition and the Expansion of England⠒s Empire: null - Entrenchment of American Slavery: null - Colonies in Crisis: null - The Growth of Colonial America: null - Social Classes in the British Colonies: null - North America at Mid-Century: null - Chapter Review: null + Global Competition and the Expansion of England⠒s Empire: 79 + Entrenchment of American Slavery: 84 + Colonies in Crisis: 88 + The Growth of Colonial America: 93 + Social Classes in the British Colonies: 100 + North America at Mid-Century: 104 + Chapter Review: 106 4: title: 'Chapter 4: Slavery, Freedom, and the Struggle for Empire to 1763' - real_page: null + real_page: 110 sections: - Slavery and Empire: null - Slave Cultures and Slave Resistance: null - An Empire of Freedom: null - The Public Sphere: null - The Great Awakening: null - Imperial Rivalries: null - Battle for the Continent: null - Chapter Review: null + Slavery and Empire: 111 + Slave Cultures and Slave Resistance: 116 + An Empire of Freedom: 118 + The Public Sphere: 120 + The Great Awakening: 125 + Imperial Rivalries: 126 + Battle for the Continent: 130 + Chapter Review: 139 5: title: 'Chapter 5: The American Revolution, 1763⠍1783' - real_page: null + real_page: 146 sections: - The Crisis Begins: null - The Road to Revolution: null - The Coming of Independence: null - Securing Independence: null - Chapter Review: null + The Crisis Begins: 147 + The Road to Revolution: 150 + The Coming of Independence: 153 + Securing Independence: 162 + Chapter Review: 172 6: title: 'Chapter 6: The Revolution Within' - real_page: null + real_page: 176 sections: - Democratizing Freedom: null - Toward Religious Toleration: null - Defining Economic Freedom: null - The Limits of Liberty: null - Slavery and the Revolution: null - Daughters of Liberty: null - Chapter Review: null + Democratizing Freedom: 178 + Toward Religious Toleration: 181 + Defining Economic Freedom: 184 + The Limits of Liberty: 186 + Slavery and the Revolution: 189 + Daughters of Liberty: 196 + Chapter Review: 198 7: title: 'Chapter 7: Founding a Nation, 1783⠍1791' - real_page: null + real_page: 202 sections: - America Under the Confederation: null - A New Constitution: null - The Ratification Debate and the Origin of the Bill of Rights: null - "“We the Peopleâ€\x9D": null - Chapter Review: null + America Under the Confederation: 204 + A New Constitution: 208 + The Ratification Debate and the Origin of the Bill of Rights: 213 + "“We the Peopleâ€\x9D": 219 + Chapter Review: 225 8: title: 'Chapter 8: Securing the Republic, 1791⠍1815' - real_page: null + real_page: 230 sections: - Politics in an Age of Passion: null - The Adams Presidency: null - Jefferson in Power: null - "The “Second War of Independenceâ€\x9D": null - Chapter Review: null + Politics in an Age of Passion: 231 + The Adams Presidency: 237 + Jefferson in Power: 243 + "The “Second War of Independenceâ€\x9D": 249 + Chapter Review: 254 9: title: 'Chapter 9: The Market Revolution, 1800⠍1840' - real_page: null + real_page: 261 sections: - A New Economy: null - The Rise of the West: null - Market Society: null - The Free Individual: null - The Limits of Prosperity: null - Chapter Review: null + A New Economy: 262 + The Rise of the West: 265 + Market Society: 269 + The Free Individual: 279 + The Limits of Prosperity: 284 + Chapter Review: 288 10: title: 'Chapter 10: Democracy in America, 1815⠍1840' - real_page: null + real_page: 294 sections: - The Triumph of Democracy: null - Nationalism and Its Discontents: null - Nation, Section, and Party: null - The Age of Jackson: null - Indian Removal: null - The Bank War and After: null - Chapter Review: null + The Triumph of Democracy: 295 + Nationalism and Its Discontents: 300 + Nation, Section, and Party: 303 + The Age of Jackson: 308 + Indian Removal: 313 + The Bank War and After: 318 + Chapter Review: 322 11: title: 'Chapter 11: The Peculiar Institution' - real_page: null + real_page: 326 sections: - The Old South: null - Life Under Slavery: null - Slave Culture: null - Resistance to Slavery: null - Chapter Review: null + The Old South: 327 + Life Under Slavery: 334 + Slave Culture: 338 + Resistance to Slavery: 342 + Chapter Review: 349 12: title: 'Chapter 12: An Age of Reform, 1820⠍1840' - real_page: null + real_page: 356 sections: - The Reform Impulse: null - The Crusade Against Slavery: null - Black and White Abolitionism: null - The Origins of Feminism: null - Chapter Review: null + The Reform Impulse: 357 + The Crusade Against Slavery: 363 + Black and White Abolitionism: 369 + The Origins of Feminism: 372 + Chapter Review: 380 13: title: 'Chapter 13: A House Divided, 1840⠍1861' - real_page: null + real_page: 384 sections: - Fruits of Manifest Destiny: null - A Dose of Arsenic: null - The Rise of the Republican Party: null - The Emergence of Lincoln: null - The Impending Crisis: null - Chapter Review: null + Fruits of Manifest Destiny: 385 + A Dose of Arsenic: 395 + The Rise of the Republican Party: 400 + The Emergence of Lincoln: 404 + The Impending Crisis: 413 + Chapter Review: 416 14: title: 'Chapter 14: A New Birth of Freedom: The Civil War, 1861⠍1865' - real_page: null + real_page: 420 sections: - The First Modern War: null - The Coming of Emancipation: null - The Second American Revolution: null - The Confederate Nation: null - Turning Points: null - Rehearsals for Reconstruction and the End of the War: null - Chapter Review: null + The First Modern War: 421 + The Coming of Emancipation: 427 + The Second American Revolution: 433 + The Confederate Nation: 443 + Turning Points: 448 + Rehearsals for Reconstruction and the End of the War: 451 + Chapter Review: 457 15: title: "Chapter 15: “What Is Freedom?â€\x9D: Reconstruction" - real_page: null + real_page: 462 sections: - The Meaning of Freedom: null - The Making of Radical Reconstruction: null - Radical Reconstruction in the South: null - The Overthrow of Reconstruction: null - Chapter Review: null + The Meaning of Freedom: 463 + The Making of Radical Reconstruction: 473 + Radical Reconstruction in the South: 482 + The Overthrow of Reconstruction: 486 + Chapter Review: 492 16: title: 'Chapter 16: America⠒s Gilded Age, 1870⠍1890' - real_page: null + real_page: 500 sections: - The Second Industrial Revolution: null - Freedom in the Gilded Age: null - Labor and the Republic: null - The Transformation of the West: null - Politics in a Gilded Age: null - Chapter Review: null + The Second Industrial Revolution: 501 + Freedom in the Gilded Age: 508 + Labor and the Republic: 510 + The Transformation of the West: 515 + Politics in a Gilded Age: 528 + Chapter Review: 531 17: title: 'Chapter 17: Freedom⠒s Boundaries, at Home and Abroad, 1890⠍1900' - real_page: null + real_page: 538 sections: - The Populist Challenge: null - The Segregated South: null - Redrawing the Boundaries: null - Becoming a World Power: null - Chapter Review: null + The Populist Challenge: 539 + The Segregated South: 546 + Redrawing the Boundaries: 553 + Becoming a World Power: 558 + Chapter Review: 569 18: title: 'Chapter 18: The Progressive Era, 1900⠍1916' - real_page: null + real_page: 576 sections: - An Urban Age and a Consumer Society: null - Varieties of Progressivism: null - The Politics of Progressivism: null - The Progressive Presidents: null - Chapter Review: null + An Urban Age and a Consumer Society: 578 + Varieties of Progressivism: 583 + The Politics of Progressivism: 593 + The Progressive Presidents: 599 + Chapter Review: 605 19: title: 'Chapter 19: Safe for Democracy: The United States and World War I' - real_page: null + real_page: 610 sections: - An Era of Intervention: null - America and the Great War: null - The War at Home: null - Who Is an American?: null - '1919': null - Chapter Review: null + An Era of Intervention: 612 + America and the Great War: 615 + The War at Home: 619 + Who Is an American?: 625 + '1919': 635 + Chapter Review: 641 20: title: 'Chapter 20: From Business Culture to Great Depression: The Twenties, 1920⠍1932' - real_page: null + real_page: 646 sections: - The Business of America: null - Business and Government: null - The Birth of Civil Liberties: null - The Culture Wars: null - The Great Depression: null - Chapter Review: null + The Business of America: 648 + Business and Government: 652 + The Birth of Civil Liberties: 655 + The Culture Wars: 659 + The Great Depression: 668 + Chapter Review: 674 21: title: 'Chapter 21: The New Deal, 1932⠍1940' - real_page: null + real_page: 678 sections: - The First New Deal: null - The Grassroots Revolt: null - The Second New Deal: null - A Reckoning With Liberty: null - The Limits of Change: null - A New Conception of America: null - Chapter Review: null + The First New Deal: 680 + The Grassroots Revolt: 687 + The Second New Deal: 691 + A Reckoning With Liberty: 693 + The Limits of Change: 697 + A New Conception of America: 702 + Chapter Review: 708 22: title: 'Chapter 22: Fighting for the Four Freedoms: World War II, 1941⠍1945' - real_page: null + real_page: 712 sections: - Fighting World War II: null - The Home Front: null - Visions of Postwar Freedom: null - The American Dilemma: null - The End of the War: null - Chapter Review: null + Fighting World War II: 714 + The Home Front: 722 + Visions of Postwar Freedom: 727 + The American Dilemma: 729 + The End of the War: 741 + Chapter Review: 746 23: title: 'Chapter 23: The United States and the Cold War, 1945⠍1953' - real_page: null + real_page: 753 sections: - Origins of the Cold War: null - The Cold War and the Idea of Freedom: null - The Truman Presidency: null - The Anticommunist Crusade: null - Chapter Review: null + Origins of the Cold War: 755 + The Cold War and the Idea of Freedom: 763 + The Truman Presidency: 765 + The Anticommunist Crusade: 769 + Chapter Review: 778 24: title: 'Chapter 24: An Affluent Society, 1953⠍1960' - real_page: null + real_page: 782 sections: - The Golden Age: null - The Eisenhower Era: null - The Freedom Movement: null - The Election of 1960: null - Chapter Review: null + The Golden Age: 784 + The Eisenhower Era: 792 + The Freedom Movement: 799 + The Election of 1960: 808 + Chapter Review: 810 25: title: 'Chapter 25: The Sixties, 1960⠍1968' - real_page: null + real_page: 814 sections: - The Civil Rights Revolution: null - The Kennedy Years: null - Lyndon Johnson⠒s Presidency: null - The Changing Black Movement: null - Vietnam and the New Left: null - The New Movements and the Rights Revolution: null - '1968': null - Chapter Review: null + The Civil Rights Revolution: 816 + The Kennedy Years: 818 + Lyndon Johnson⠒s Presidency: 821 + The Changing Black Movement: 826 + Vietnam and the New Left: 830 + The New Movements and the Rights Revolution: 838 + '1968': 844 + Chapter Review: 848 26: title: 'Chapter 26: The Conservative Turn, 1969⠍1988' - real_page: null + real_page: 852 sections: - President Nixon: null - Grassroots Rights Movements: null - Foreign Policy and Watergate: null - The End of the Golden Age: null - The Rising Tide of Conservatism: null - The Reagan Revolution: null - Chapter Review: null + President Nixon: 853 + Grassroots Rights Movements: 857 + Foreign Policy and Watergate: 859 + The End of the Golden Age: 864 + The Rising Tide of Conservatism: 872 + The Reagan Revolution: 877 + Chapter Review: 885 27: title: 'Chapter 27: A New World Order, 1989⠍2004' - real_page: null + real_page: 892 sections: - The Post⠍Cold War World: null - Globalization and Its Discontents: null - Culture Wars: null - Impeachment and the Election of 2000: null - The Attacks of September 11: null - The War on Terrorism: null - An American Empire?: null - The Aftermath of September 11 at Home: null - Chapter Review: null + The Post⠍Cold War World: 893 + Globalization and Its Discontents: 898 + Culture Wars: 905 + Impeachment and the Election of 2000: 917 + The Attacks of September 11: 919 + The War on Terrorism: 920 + An American Empire?: 922 + The Aftermath of September 11 at Home: 924 + Chapter Review: 929 28: title: 'Chapter 28: A Divided Nation' - real_page: null + real_page: 934 sections: - The Winds of Change: null - The Great Recession: null - Obama in Office: null - The Obama Presidency: null - President Trump: null - '2020: Year of Crisis': null - Freedom in the Twenty-First Century: null - Chapter Review: null + The Winds of Change: 935 + The Great Recession: 939 + Obama in Office: 943 + The Obama Presidency: 946 + President Trump: 953 + '2020: Year of Crisis': 962 + Freedom in the Twenty-First Century: 967 + Chapter Review: 972 \ No newline at end of file diff --git a/notebooks/pdf_parse.ipynb b/notebooks/pdf_parse.ipynb index d5b36ad..7e41deb 100644 --- a/notebooks/pdf_parse.ipynb +++ b/notebooks/pdf_parse.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 59, + "execution_count": 1, "id": "e91fd8c7", "metadata": {}, "outputs": [ @@ -20,7 +20,7 @@ }, { "cell_type": "code", - "execution_count": 60, + "execution_count": 18, "id": "11896305", "metadata": {}, "outputs": [ @@ -262,7 +262,7 @@ }, { "cell_type": "code", - "execution_count": 61, + "execution_count": 19, "id": "991dbad2", "metadata": {}, "outputs": [ @@ -496,7 +496,7 @@ }, { "cell_type": "code", - "execution_count": 62, + "execution_count": 20, "id": "43e20197", "metadata": {}, "outputs": [ @@ -561,7 +561,7 @@ }, { "cell_type": "code", - "execution_count": 63, + "execution_count": 5, "id": "149bc714", "metadata": {}, "outputs": [ @@ -596,7 +596,7 @@ }, { "cell_type": "code", - "execution_count": 64, + "execution_count": 22, "id": "c2563864", "metadata": {}, "outputs": [ @@ -644,7 +644,7 @@ }, { "cell_type": "code", - "execution_count": 65, + "execution_count": 7, "id": "f1830bd0", "metadata": {}, "outputs": [ @@ -679,7 +679,7 @@ }, { "cell_type": "code", - "execution_count": 66, + "execution_count": 8, "id": "3065642e", "metadata": {}, "outputs": [ @@ -722,7 +722,7 @@ }, { "cell_type": "code", - "execution_count": 67, + "execution_count": 9, "id": "ada206a9", "metadata": {}, "outputs": [ @@ -761,7 +761,7 @@ }, { "cell_type": "code", - "execution_count": 68, + "execution_count": 10, "id": "b4b3ffea", "metadata": {}, "outputs": [ @@ -791,7 +791,7 @@ }, { "cell_type": "code", - "execution_count": 69, + "execution_count": 11, "id": "f7d6a626", "metadata": {}, "outputs": [ @@ -888,7 +888,7 @@ }, { "cell_type": "code", - "execution_count": 70, + "execution_count": 12, "id": "01a14318", "metadata": {}, "outputs": [ @@ -1060,7 +1060,7 @@ }, { "cell_type": "code", - "execution_count": 71, + "execution_count": 13, "id": "87f74abb", "metadata": {}, "outputs": [ @@ -1173,7 +1173,7 @@ }, { "cell_type": "code", - "execution_count": 72, + "execution_count": 14, "id": "f1bc3f74", "metadata": {}, "outputs": [ @@ -1217,7 +1217,7 @@ }, { "cell_type": "code", - "execution_count": 73, + "execution_count": 15, "id": "8355e686", "metadata": {}, "outputs": [ @@ -1276,7 +1276,7 @@ }, { "cell_type": "code", - "execution_count": 74, + "execution_count": 16, "id": "dad7c6d3", "metadata": {}, "outputs": [ @@ -1297,7 +1297,7 @@ }, { "cell_type": "code", - "execution_count": 76, + "execution_count": 17, "id": "0ef0c08a", "metadata": {}, "outputs": [