paperpush 0.5.2__tar.gz → 0.5.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {paperpush-0.5.2 → paperpush-0.5.4}/PKG-INFO +3 -2
- {paperpush-0.5.2 → paperpush-0.5.4}/README.md +2 -1
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/__init__.py +1 -1
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/_docs/agents.md +9 -6
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/_skills/paperpush-add-venue-validate/SKILL.md +8 -5
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/_skills/paperpush-fix/SKILL.md +33 -3
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/_skills/paperpush-transfer/SKILL.md +75 -10
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/ai_policy.py +4 -2
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/anonymity.py +7 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/bibliography_check.py +2 -2
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/citation_check.py +10 -9
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/cli.py +95 -1
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/colorblind.py +15 -10
- paperpush-0.5.4/paperpush/convert/__init__.py +287 -0
- paperpush-0.5.4/paperpush/convert/bib.py +257 -0
- paperpush-0.5.4/paperpush/convert/images.py +146 -0
- paperpush-0.5.4/paperpush/convert/mathconv.py +864 -0
- paperpush-0.5.4/paperpush/convert/model.py +478 -0
- paperpush-0.5.4/paperpush/convert/read_docx.py +1691 -0
- paperpush-0.5.4/paperpush/convert/read_md.py +688 -0
- paperpush-0.5.4/paperpush/convert/read_tex.py +1505 -0
- paperpush-0.5.4/paperpush/convert/write_docx.py +638 -0
- paperpush-0.5.4/paperpush/convert/write_tex.py +464 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/cover_letter_check.py +21 -7
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/feature_check.py +3 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/figure_check.py +7 -4
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/layout_check.py +4 -2
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/manuscript.py +148 -28
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/manuscript_requirements.json +306 -150
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/mcp_server.py +62 -1
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/references.py +31 -1
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/reproducibility_check.py +5 -5
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/requirements.py +7 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/requirements_check.py +107 -5
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/rigor_check.py +14 -10
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/sensitive.py +9 -2
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/european_radiology.sub.txt +4 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/validate.py +5 -3
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/validation_check_ids.json +2 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush.egg-info/PKG-INFO +3 -2
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush.egg-info/SOURCES.txt +12 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/pyproject.toml +1 -1
- paperpush-0.5.4/tests/test_convert.py +596 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_requirements.py +87 -2
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_validate.py +1 -1
- paperpush-0.5.4/tests/test_validate_major_fixes.py +451 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/LICENSE +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/__main__.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/_logging.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/_skills/paperpush-add-venue/SKILL.md +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/_skills/paperpush-autofill/SKILL.md +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/_skills/paperpush-portal-debug/SKILL.md +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/_skills/paperpush-prepare-submission/SKILL.md +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/_skills/paperpush-respond-to-reviewers/SKILL.md +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/_skills/paperpush-submit/SKILL.md +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/_skills/paperpush-validate/SKILL.md +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/ai_validate.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/autofill.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/check_ids.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/codegen/__init__.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/codegen/model.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/codegen/recorder.js +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/codegen/session.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/common_fields.json +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/consistency.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/credentials.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/database.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/document.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/docx_format.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/figure_design_check.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/file_inputs.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/filematch.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/formatter.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/front_matter_check.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/hidden_text.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/latex_cleaner.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/manuscript_requirements.schema.json +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/openalex.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/openreview_profiles.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/orcid.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/pdf_layout.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/pdf_report.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/placeholders.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/prose_check.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/publisher_lookup.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/reference_review.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/reference_search.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/report.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/reviewer_finder.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/revision.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/schema_models.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/skills.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/style_check.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/acl_arr.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/ajhg.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/arxiv.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/bioinformatics.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/biorxiv.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/bmc_bioinformatics.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/bmc_biology.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/bmc_genomics.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/bmc_medicine.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/bmj.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/cell.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/cell_genomics.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/cell_reports.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/cell_reports_methods.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/cell_stem_cell.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/cell_systems.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/combinatorica.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/communications_biology.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/cvpr_2027.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/discrete_mathematics.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/elife.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/frontiers_bioinformatics.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/frontiers_genetics.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/frontiers_immunology.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/genome_biology.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/genome_medicine.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/genome_research.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/ieee_tmi.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/ieee_tnnls.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/ieee_tpami.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/iscience.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/jama.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/jiim.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/jmlr.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/jnm.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/lancet.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/lancet_digital_health.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/medical_image_analysis.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/medrxiv.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/molecular_cell.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/nar_cancer.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/nar_genomics_bioinformatics.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/nature.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/nature_biomedical_engineering.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/nature_biotech.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/nature_cell_biology.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/nature_communications.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/nature_computational_science.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/nature_genetics.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/nature_machine_intelligence.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/nature_medicine.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/nature_methods.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/nature_neuroscience.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/nature_structural_molecular_biology.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/nejm.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/neuron.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/npj_digital_medicine.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/nucleic_acids_research.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/patterns.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/plos_biology.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/plos_compbio.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/plos_genetics.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/plos_medicine.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/plos_one.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/pnas.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/radiology.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/radiology_ai.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/science.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/science_advances.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/science_immunology.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/science_robotics.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/science_signaling.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/science_translational_medicine.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/scientific_reports.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/subfile_templates/tmlr.sub.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/submission_forms.json +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/submission_forms.schema.json +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/template_check.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/templates.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/tex_format.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venue_data.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venue_select.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venuefile.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/__init__.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/_assets/aaai_2027_countries.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/_assets/aaai_2027_topics.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/_assets/arxiv_categories.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/_assets/bioinformatics_keywords.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/_assets/genome_biology_institution_countries.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/_assets/iclr_2027_primary_areas.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/_assets/nature_biotech_categories.json +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/_assets/nature_categories.json +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/_assets/nature_methods_categories.json +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/_assets/plos_compbio_classifications.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/_assets/plos_compbio_funding_countries.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/_assets/science_advances_subjects.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/_assets/science_immunology_subjects.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/_assets/science_robotics_subjects.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/_assets/science_signaling_subjects.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/_assets/science_subjects.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/_assets/science_translational_medicine_subjects.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/arxiv/__init__.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/arxiv/arxiv.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/base.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/common.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/discrete_mathematics/__init__.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/discrete_mathematics/discrete_mathematics.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/editflow/__init__.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/editflow/combinatorica.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/editflow/main.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/editorialmanager/__init__.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/editorialmanager/cell.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/editorialmanager/cell_genomics.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/editorialmanager/cell_systems.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/editorialmanager/main.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/editorialmanager/plos_compbio.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/login.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/nature/__init__.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/nature/main.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/nature/nature.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/nature/nature_biomedical_engineering.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/nature/nature_biotech.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/nature/nature_machine_intelligence.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/nature/nature_methods.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/openreview/__init__.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/openreview/aaai_2027.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/openreview/iclr_2027.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/openreview/main.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/openrxiv/__init__.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/openrxiv/biorxiv.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/openrxiv/main.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/openrxiv/medrxiv.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/recovery.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/recovery_ai.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/recovery_channel.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/recovery_report.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/scholarone/__init__.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/scholarone/bioinformatics.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/scholarone/main.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/scholarone/nucleic_acids_research.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/science/__init__.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/science/science.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/snapp/__init__.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/snapp/bmc_bioinformatics.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/snapp/genome_biology.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/snapp/main.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/template/__init__.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues/template/template.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues.json +1 -1
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/venues.schema.json +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/web/__init__.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/web/app.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/web/shared.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/web/static/add-venue.html +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/web/static/add-venue.js +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/web/static/app.js +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/web/static/checks.js +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/web/static/fonts/OFL-STIXTwoText.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/web/static/fonts/OFL-SourceSans3.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/web/static/fonts/source-sans-3-latin-ext.woff2 +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/web/static/fonts/source-sans-3-latin.woff2 +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/web/static/fonts/stix-two-text-italic-latin-ext.woff2 +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/web/static/fonts/stix-two-text-italic-latin.woff2 +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/web/static/fonts/stix-two-text-latin-ext.woff2 +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/web/static/fonts/stix-two-text-latin.woff2 +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/web/static/index.html +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/web/static/shared.js +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/web/static/style.css +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/web/static/subfile.js +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush/web/static/viewer.js +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush.egg-info/dependency_links.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush.egg-info/entry_points.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush.egg-info/requires.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/paperpush.egg-info/top_level.txt +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/setup.cfg +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_ai_policy.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_anonymity.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_autofill.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_bibliography_check.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_caption_check.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_check_guidelines.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_check_submit_walkthrough.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_cli_web.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_codegen.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_colorblind.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_cover_letter_and_counts.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_editorialmanager_login.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_feature_check.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_figure_design_check.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_filematch.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_find_reviewers.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_format.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_front_matter_check.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_hidden_text.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_internals.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_latex_cleaner.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_logging.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_login.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_markdown.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_mcp_server.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_nature_biomedical_engineering.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_nature_machine_intelligence.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_openalex.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_openreview_profiles.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_pick_venue.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_placeholders.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_prose_check.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_publisher_rules.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_recovery.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_recovery_ai.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_recovery_channel.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_recovery_coverage.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_recovery_report.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_reference_review.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_reference_search.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_references.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_reproducibility_check.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_revision.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_rigor_check.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_sensitive.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_skills.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_style_check.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_subfile.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_submit.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_template_check.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_unattended_sign_in.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_update_guidelines.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_validate_disable.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_validate_files.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_validate_fixes_guidelines.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_validate_fixes_integrity.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_validate_fixes_layout.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_validate_fixes_orchestration.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_validate_fixes_prose.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_validate_fixes_references.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_validate_json.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_validate_only_venue.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_validate_report.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_validation_check_count.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_venue_consistency.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_venue_data.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_venue_interface.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_venuefile.py +0 -0
- {paperpush-0.5.2 → paperpush-0.5.4}/tests/test_web.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: paperpush
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.4
|
|
4
4
|
Summary: A Python library for automating the submission of manuscripts to academic venues.
|
|
5
5
|
Author-email: Joseph Rich <josephrich98@gmail.com>
|
|
6
6
|
Maintainer-email: Joseph Rich <josephrich98@gmail.com>
|
|
@@ -61,7 +61,7 @@ Prepare manuscripts for submission to preprint servers, journals, and conference
|
|
|
61
61
|
PaperPush provides the following services:
|
|
62
62
|
- A standardized system to share all metadata submitted to a venue (the .sub file)
|
|
63
63
|
<!-- BEGIN VALIDATION CHECK COUNT -->
|
|
64
|
-
- Extensive venue-specific manuscript guideline checking including section lengths, reference hallucination, figure resolution, link validation, and anonymization —
|
|
64
|
+
- Extensive venue-specific manuscript guideline checking including section lengths, reference hallucination, figure resolution, link validation, and anonymization — 155 distinct validation check types. The checks in a report depend on the venue and files. [See the full list](https://paperpush.readthedocs.io/en/latest/validation-checks.html).
|
|
65
65
|
<!-- END VALIDATION CHECK COUNT -->
|
|
66
66
|
- A central database of journal/conference manuscript requirements and submission data
|
|
67
67
|
- Automated and fast submission portal filling with deterministic scripts
|
|
@@ -188,6 +188,7 @@ Helper commands:
|
|
|
188
188
|
- `paperpush requirements VENUE`: print VENUE's author guidelines, if available. Rules marked `*` come from its publisher's house rules.
|
|
189
189
|
- `paperpush pick-venue`: List journals that are a good thematic fit for your manuscript. Give keywords, the manuscript, or its `--title` and `--abstract`. By default it searches any journal, through the works most similar to yours in [OpenAlex](https://openalex.org), and marks the ones PaperPush supports; `--paperpush-supported-only` ranks only the venues supported in PaperPush (offline). It only checks for thematic fit, not impact or likelihood of acceptance.
|
|
190
190
|
- `paperpush format VENUE.sub.txt`: reformat the manuscript (.docx or LaTeX) for VENUE. It first looks for the venue's own Word or LaTeX template (the recorded template link, then the venue's author-guideline pages) and applies it; without one it applies the venue's layout rules (page size, margins, font, spacing, line and page numbers). The original is never changed; the result and a CHANGES.md go to a new directory. `--list-templates` only shows the templates found.
|
|
191
|
+
- `paperpush convert --manuscript FILE --to docx|tex`: convert a manuscript from Markdown to Word or LaTeX, or between Word and LaTeX. Equations become editable Word equations, citations and cross-references stay live, and a .docx made from LaTeX converts back with every unedited block restored exactly. `--no-source` leaves the LaTeX out of a .docx bound for a journal. The result and a CONVERSION.md, which compares source and output, go to a new directory.
|
|
191
192
|
- `paperpush find-reviewers VENUE.sub.txt`: Suggest peer reviewers who recently published similar work (from OpenAlex), leaving out the manuscript's authors, their recent co-authors, colleagues at their institutions, and anyone you `--exclude`. `--write` adds the suggestions to the .sub's reviewer field; fill in their e-mail addresses, which OpenAlex does not have.
|
|
192
193
|
- `paperpush options VENUE.FIELD`: print the allowed values for FIELD in VENUE's submission form.
|
|
193
194
|
- `paperpush web VENUE.sub.txt`: open a sub file in a local deployment of the web application
|
|
@@ -7,7 +7,7 @@ Prepare manuscripts for submission to preprint servers, journals, and conference
|
|
|
7
7
|
PaperPush provides the following services:
|
|
8
8
|
- A standardized system to share all metadata submitted to a venue (the .sub file)
|
|
9
9
|
<!-- BEGIN VALIDATION CHECK COUNT -->
|
|
10
|
-
- Extensive venue-specific manuscript guideline checking including section lengths, reference hallucination, figure resolution, link validation, and anonymization —
|
|
10
|
+
- Extensive venue-specific manuscript guideline checking including section lengths, reference hallucination, figure resolution, link validation, and anonymization — 155 distinct validation check types. The checks in a report depend on the venue and files. [See the full list](https://paperpush.readthedocs.io/en/latest/validation-checks.html).
|
|
11
11
|
<!-- END VALIDATION CHECK COUNT -->
|
|
12
12
|
- A central database of journal/conference manuscript requirements and submission data
|
|
13
13
|
- Automated and fast submission portal filling with deterministic scripts
|
|
@@ -134,6 +134,7 @@ Helper commands:
|
|
|
134
134
|
- `paperpush requirements VENUE`: print VENUE's author guidelines, if available. Rules marked `*` come from its publisher's house rules.
|
|
135
135
|
- `paperpush pick-venue`: List journals that are a good thematic fit for your manuscript. Give keywords, the manuscript, or its `--title` and `--abstract`. By default it searches any journal, through the works most similar to yours in [OpenAlex](https://openalex.org), and marks the ones PaperPush supports; `--paperpush-supported-only` ranks only the venues supported in PaperPush (offline). It only checks for thematic fit, not impact or likelihood of acceptance.
|
|
136
136
|
- `paperpush format VENUE.sub.txt`: reformat the manuscript (.docx or LaTeX) for VENUE. It first looks for the venue's own Word or LaTeX template (the recorded template link, then the venue's author-guideline pages) and applies it; without one it applies the venue's layout rules (page size, margins, font, spacing, line and page numbers). The original is never changed; the result and a CHANGES.md go to a new directory. `--list-templates` only shows the templates found.
|
|
137
|
+
- `paperpush convert --manuscript FILE --to docx|tex`: convert a manuscript from Markdown to Word or LaTeX, or between Word and LaTeX. Equations become editable Word equations, citations and cross-references stay live, and a .docx made from LaTeX converts back with every unedited block restored exactly. `--no-source` leaves the LaTeX out of a .docx bound for a journal. The result and a CONVERSION.md, which compares source and output, go to a new directory.
|
|
137
138
|
- `paperpush find-reviewers VENUE.sub.txt`: Suggest peer reviewers who recently published similar work (from OpenAlex), leaving out the manuscript's authors, their recent co-authors, colleagues at their institutions, and anyone you `--exclude`. `--write` adds the suggestions to the .sub's reviewer field; fill in their e-mail addresses, which OpenAlex does not have.
|
|
138
139
|
- `paperpush options VENUE.FIELD`: print the allowed values for FIELD in VENUE's submission form.
|
|
139
140
|
- `paperpush web VENUE.sub.txt`: open a sub file in a local deployment of the web application
|
|
@@ -19,6 +19,7 @@ submission portal. Match the user's request to one of these entry points:
|
|
|
19
19
|
| prepare a manuscript for a venue paperpush **does not support** yet (collect metadata, check it against that venue's guidelines; no portal filling) | `paperpush-prepare-submission` (validation builds a temporary venue entry through `paperpush-add-venue-validate`) |
|
|
20
20
|
| check a manuscript with no particular venue in mind | `paperpush-validate` (CLI: `paperpush validate --manuscript FILE ...`) |
|
|
21
21
|
| move a manuscript from one venue to another | `paperpush-transfer` |
|
|
22
|
+
| convert a manuscript between Markdown, Word, and LaTeX | `paperpush convert --manuscript FILE --to docx\|tex` (MCP: `convert_manuscript`) |
|
|
22
23
|
| respond to reviewers | `paperpush-respond-to-reviewers` |
|
|
23
24
|
|
|
24
25
|
The same flow through the CLI, step by step:
|
|
@@ -60,8 +61,8 @@ open the `SKILL.md` and follow it as written.
|
|
|
60
61
|
| `paperpush-prepare-submission` | The whole flow: checks the login, finds or creates the `.sub`, runs autofill, runs validate (stopping on errors or more than 5 warnings and offering `paperpush-fix`), then hands off to `paperpush-submit`. | asks to prepare, get ready, or submit a manuscript to a venue, and has not named a single step. **Start here when in doubt.** |
|
|
61
62
|
| `paperpush-autofill` | Reads the manuscript directory, writes `values.json`, and applies it with `paperpush autofill --engine manual`. Leaves `never` fields for the author. | wants a `.sub` filled from their files, and nothing else yet. |
|
|
62
63
|
| `paperpush-validate` | Runs `paperpush validate`, then does the checks that need a reader (lettering in raster figures, panel labels, figure and panel content vs. legends and text, free-text guideline rules, `.sub` vs manuscript) through `--ai-tasks` / `--ai-results`. Optionally saves the report. For a venue paperpush does not support yet, builds a temporary entry with `paperpush-add-venue-validate` (temporary mode) and validates against it. | asks whether a manuscript or `.sub` is ready, meets a venue's guidelines, or passes validation, or wants the AI checks or a saved report. |
|
|
63
|
-
| `paperpush-fix` | Backs up the files, runs `paperpush validate --json`, finds the editable source behind each file (the `.tex`/`.docx` behind a PDF), fixes the mechanical issues and trims text over a limit by at most 100 words and 50% of the limit, rebuilds the PDF, and validates again, for up to three rounds. For page-layout issues it offers `paperpush format` first (the venue's template, applied to a new copy)
|
|
64
|
-
| `paperpush-transfer` | Moves a manuscript prepared for one venue to another: copies the files into `<source-dir>/<venue>/` (never touching the originals), creates the new `.sub`, runs `autofill` reusing the values in earlier `.sub` files,
|
|
64
|
+
| `paperpush-fix` | Backs up the files, runs `paperpush validate --json`, finds the editable source behind each file (the `.tex`/`.docx` behind a PDF), fixes the mechanical issues and trims text over a limit by at most 100 words and 50% of the limit, rebuilds the PDF, and validates again, for up to three rounds. For page-layout issues it offers `paperpush format` first (the venue's template, applied to a new copy), and for a file type the venue does not accept it offers `paperpush convert`. Reports what it fixed, what needs the author's decision, and what it can't fix. Never ticks a confirmation or invents content. | asks to fix what validate found, to make a `.sub` pass validation, or to clean up the errors and warnings. |
|
|
65
|
+
| `paperpush-transfer` | Moves a manuscript prepared for one venue to another: copies the files into `<source-dir>/<venue>/` (never touching the originals), creates the new `.sub`, runs `autofill` reusing the values in earlier `.sub` files, converts the manuscript copy with `paperpush convert` when the new venue does not accept its file type, reformats it for the new venue with `paperpush format` (its template when one is found, else its layout rules), runs `validate` (offering `fix`), and writes `transfer.txt` listing every change. For a venue paperpush does not support yet, builds a draft entry with `paperpush-add-venue-validate` (temporary mode), kept in the transfer's `venue_draft/`, and never submits. | wants to transfer, resubmit, or move a manuscript from one venue to another, e.g. after a rejection. |
|
|
65
66
|
| `paperpush-respond-to-reviewers` | Two phases. Phase 1: makes `<manuscript-dir>/revisionN/` (N = one more than the existing revisions), copies the manuscript files and the reviews into it, drafts the response document (comments verbatim in italics, responses in plain text), and proposes a plan per comment, then stops for the author. Phase 2, once approved: revises the copy, writes the responses, builds the marked manuscript (`revision.marked_manuscript` from the venue's guidelines unless the user overrides it; default red text; or highlight, Word Track Changes, or none), and runs `validate`. Never touches the originals or submits. | has received reviews or a decision letter and wants a revision, a response to reviewers, or a rebuttal letter. |
|
|
66
67
|
| `paperpush-submit` | Takes a filled `.sub` to the portal: re-checks the login (`paperpush login <venue> --check`), confirms with the user, runs `submit` (or `submit(skip_validate=true)` when asked to skip validation), and follows the run, handing a failed step to `paperpush-portal-debug`. Stops before the final submit. | has a `.sub` ready and wants the portal filled in, e.g. "fill out the submission portal to nature", optionally "skip validation". |
|
|
67
68
|
| `paperpush-portal-debug` | Gets a stalled `paperpush submit` run past the failing step on the live page (`submit_page` / `submit_act` / `submit_resume`), logs every runner change it needs, and puts those changes into the runner with a test when working in a source checkout. Never sends the submission. | reports that `submit` is stuck, failed at a step, or hit a portal that changed. Also use it yourself whenever `submit_status` shows `recovery.paused`. |
|
|
@@ -70,7 +71,7 @@ open the `SKILL.md` and follow it as written.
|
|
|
70
71
|
|
|
71
72
|
The skills call each other where the steps overlap: `prepare-submission` runs
|
|
72
73
|
`autofill`, `validate`, and `submit`, and offers `fix` when validate stops it;
|
|
73
|
-
`transfer` runs `autofill` and `validate`, and offers `fix`; `respond-to-reviewers` runs `validate` (and `autofill` for a new `.sub`), and offers `fix`; `validate`
|
|
74
|
+
`transfer` runs `autofill` and `validate`, and offers `fix`; `respond-to-reviewers` runs `validate` (and `autofill` for a new `.sub`), and offers `fix`; `validate`, `prepare-submission`, and `transfer` run `add-venue-validate` in temporary mode for a venue paperpush does not support; `fix` uses `validate`'s AI-check steps
|
|
74
75
|
in its first and last rounds; `submit` uses `portal-debug` for a
|
|
75
76
|
step that fails; `add-venue` runs `add-venue-validate`, and uses
|
|
76
77
|
`portal-debug` for a live step that stalls. Don't run the same step twice.
|
|
@@ -169,7 +170,9 @@ the author adds those), `describe_venue` for the schema, `field_options`,
|
|
|
169
170
|
passed as the `values` argument), `validate_subfile`, `format_manuscript`
|
|
170
171
|
(reformat a .docx or LaTeX manuscript for the venue: its own template when one
|
|
171
172
|
is found on its guideline pages, else its layout rules; the original is never
|
|
172
|
-
changed, and `left_to_author` lists what the author still has to do),
|
|
173
|
+
changed, and `left_to_author` lists what the author still has to do),
|
|
174
|
+
`convert_manuscript` (move a manuscript between Markdown, Word, and LaTeX; pass
|
|
175
|
+
`embed_source=false` for a .docx that goes to a journal), `submit`, `submit_status`,
|
|
173
176
|
`submit_page`, `submit_act`, `submit_resume`, and `submit_close`. Pass **absolute paths**: the server has its own working
|
|
174
177
|
directory, so a relative path means something different to it than it does to
|
|
175
178
|
you.
|
|
@@ -329,8 +332,8 @@ the first `.sub` file, and may be repeated.)
|
|
|
329
332
|
against the venue's author guidelines -- word/page limits for the selected
|
|
330
333
|
article type, required sections and statements, title-page items, figure
|
|
331
334
|
resolution and dimensions, reference count, file formats and sizes. A LaTeX
|
|
332
|
-
manuscript is compiled with `latexmk`/`pdflatex`
|
|
333
|
-
|
|
335
|
+
manuscript is compiled with `latexmk`/`pdflatex` when a toolchain is installed,
|
|
336
|
+
both for its page count and to report whether it compiles (`details.latex_compiles`). To see the rules before you fill anything, run
|
|
334
337
|
`paperpush requirements <venue>` (or read `manuscript_requirements` in the
|
|
335
338
|
MCP `describe_venue` result), and pick the article type in `values.json`
|
|
336
339
|
accordingly, since it selects which limits apply. Where the venue's own
|
|
@@ -25,12 +25,15 @@ its root. This skill edits the venue databases, runner code, and tests, and
|
|
|
25
25
|
uses the repo's `scripts/` and `tests/`. Working from a pip install? Ask the
|
|
26
26
|
user to clone the repo first, or use temporary mode.
|
|
27
27
|
|
|
28
|
-
**Temporary mode** (no clone needed): when `paperpush-validate
|
|
29
|
-
|
|
30
|
-
venue
|
|
31
|
-
|
|
28
|
+
**Temporary mode** (no clone needed): when `paperpush-validate`,
|
|
29
|
+
`paperpush-prepare-submission`, or `paperpush-transfer` calls this skill for a
|
|
30
|
+
venue paperpush does not support, or the user wants to try a venue's rules
|
|
31
|
+
without adding it to paperpush, write the entry into a draft directory instead
|
|
32
|
+
of paperpush's databases. Everything goes under
|
|
32
33
|
`<scratch>/venue_drafts/<slug>/` (the agent's scratch directory, or
|
|
33
|
-
`$TMPDIR/paperpush_venue_drafts/<slug>/` if there is none)
|
|
34
|
+
`$TMPDIR/paperpush_venue_drafts/<slug>/` if there is none). If the calling
|
|
35
|
+
skill names a draft directory, use that in place of
|
|
36
|
+
`<scratch>/venue_drafts/<slug>/` throughout:
|
|
34
37
|
|
|
35
38
|
- the venue file is `<scratch>/venue_drafts/<slug>/<slug>.txt` (step 1's `-o`);
|
|
36
39
|
- step 4 is only:
|
|
@@ -218,8 +218,10 @@ these:
|
|
|
218
218
|
- `integrity.sensitive`, `integrity.hidden_text`, `integrity.anonymity`:
|
|
219
219
|
report them with the location. (LaTeX comments and junk files in a bundle
|
|
220
220
|
are the exception: step 5b removes them.)
|
|
221
|
-
- `files.uploads` (a missing file)
|
|
222
|
-
|
|
221
|
+
- `files.uploads` (a missing file): name the file to supply.
|
|
222
|
+
- `guidelines.formats` (wrong file type): when the file is a `.docx`, `.tex`,
|
|
223
|
+
or `.md` and the venue accepts one of `docx` or `tex`, offer
|
|
224
|
+
`paperpush convert` (step 3c). Otherwise name the export to make.
|
|
223
225
|
- `unchecked` and `not_implemented` checks: say what could not be checked
|
|
224
226
|
and why, as `paperpush-validate` does.
|
|
225
227
|
- A sentence whose meaning is unclear, where a fix would mean guessing what
|
|
@@ -259,6 +261,33 @@ Keep the JSON's `template`, `changes`, and `left_to_author` for the report;
|
|
|
259
261
|
under "Needs your decision". If `format` fails, report why and go on with
|
|
260
262
|
the original file.
|
|
261
263
|
|
|
264
|
+
## Step 3c: convert first, if the venue needs another file type
|
|
265
|
+
|
|
266
|
+
When round 1 has `guidelines.formats` because the venue wants Word and the
|
|
267
|
+
source is LaTeX or Markdown, or wants LaTeX and the source is Word or
|
|
268
|
+
Markdown, ask once, alongside the step 3b question, whether to convert it. Say
|
|
269
|
+
that it writes a new copy and leaves the current file as it is. If they say
|
|
270
|
+
no, the issue stays in tier 3.
|
|
271
|
+
|
|
272
|
+
If they say yes, convert before step 3b, so `format` works on the new file and
|
|
273
|
+
the other fixes go into it:
|
|
274
|
+
|
|
275
|
+
```
|
|
276
|
+
paperpush convert <abs .sub> --to docx|tex --no-source --update-sub --json [--manuscript <abs source>]
|
|
277
|
+
```
|
|
278
|
+
|
|
279
|
+
(MCP: `convert_manuscript(subfile=..., to=..., embed_source=false, update_subfile=true)`.)
|
|
280
|
+
`--no-source` keeps the original LaTeX out of a `.docx` the venue will receive:
|
|
281
|
+
it can hold text a reader cannot see, such as `\todo` notes or, on a double-blind
|
|
282
|
+
submission, author names. Pass `--bib` if the `.bib` is not next to the source.
|
|
283
|
+
Then validate again.
|
|
284
|
+
|
|
285
|
+
Read the JSON. `clean: false` means something did not come through: `counts`
|
|
286
|
+
shows each item in the source and in the output, and `warnings` says what to
|
|
287
|
+
check. Each warning goes under "Needs your decision". Never report a
|
|
288
|
+
conversion as done without relaying them. If `convert` fails, report why and
|
|
289
|
+
leave the issue in tier 3.
|
|
290
|
+
|
|
262
291
|
## Step 4: apply the fixes
|
|
263
292
|
|
|
264
293
|
- **One issue, one edit.** Change only what the issue needs. Work sentence
|
|
@@ -393,7 +422,8 @@ In this order:
|
|
|
393
422
|
|
|
394
423
|
1. **Result**: passes or doesn't, the error/warning counts before and after,
|
|
395
424
|
and how many rounds ran.
|
|
396
|
-
2. **Fixed**: if step
|
|
425
|
+
2. **Fixed**: if step 3c ran, first the converted file and its `counts`
|
|
426
|
+
and `warnings`. If step 3b ran, then the formatted file, the template used
|
|
397
427
|
(or "the venue's layout rules"), and its changes. Then, grouped by file,
|
|
398
428
|
each fix with its check id and a short before → after. For tier 2 trims, show the full diff of the changed
|
|
399
429
|
sentences and the new count against the limit. If step 5b ran, say how
|
|
@@ -7,8 +7,10 @@ description: >-
|
|
|
7
7
|
(reusing the values in any .sub files from earlier submissions), reformat
|
|
8
8
|
the manuscript for the new venue (its Word/LaTeX template when one is found,
|
|
9
9
|
else its layout rules), validate it, and write transfer.txt describing what
|
|
10
|
-
changed.
|
|
11
|
-
|
|
10
|
+
changed. For a venue paperpush does not support yet, first builds a draft
|
|
11
|
+
entry from the venue's guidelines and transfers against that. Converts the
|
|
12
|
+
manuscript first (Word, LaTeX, Markdown) when the new venue needs another
|
|
13
|
+
file type. The original files are never modified. Triggers: "transfer my manuscript to <venue>", "resubmit
|
|
12
14
|
this paper to <venue>", "my paper was rejected from <venue>, move it to
|
|
13
15
|
<venue>", "reuse my nature sub for cell", "paperpush-transfer".
|
|
14
16
|
---
|
|
@@ -33,9 +35,11 @@ delete anything in the source directory**; every change happens in the copy.
|
|
|
33
35
|
Required. If the user did not give it, ask in plain text. Never guess it,
|
|
34
36
|
scan the repository for candidate folders, or fall back to test fixtures.
|
|
35
37
|
2. **The target venue slug** (e.g. `cell`). Ask or infer it from their
|
|
36
|
-
message, and confirm it with `paperpush venues
|
|
37
|
-
|
|
38
|
-
|
|
38
|
+
message, and confirm it with `paperpush venues` (try its name, abbreviation,
|
|
39
|
+
and publisher's title). If it is not listed, see
|
|
40
|
+
[Target venue paperpush does not support](#target-venue-paperpush-does-not-support).
|
|
41
|
+
If it is the same venue as the earlier `.sub`, this is not a transfer: say
|
|
42
|
+
so, and point them to `paperpush-prepare-submission` or `paperpush-fix`.
|
|
39
43
|
3. **Earlier `.sub` files** (optional). Use every `.sub` / `.sub.txt` the user
|
|
40
44
|
names, plus any in the source directory itself and in its transfer
|
|
41
45
|
subdirectories (`<slug>/<slug>.sub.txt` from an earlier run of this skill).
|
|
@@ -61,8 +65,8 @@ delete anything in the source directory**; every change happens in the copy.
|
|
|
61
65
|
(`figures/fig1.png` stays `figures/fig1.png`), so LaTeX `\input` and
|
|
62
66
|
`\includegraphics` paths still work:
|
|
63
67
|
- For a directory, copy its whole tree except: other transfer
|
|
64
|
-
subdirectories, `.sub`/`.sub.txt` files, `transfer.txt`,
|
|
65
|
-
paperpush-fix backups, and LaTeX build output (`.aux`, `.log`, `.out`,
|
|
68
|
+
subdirectories, `.sub`/`.sub.txt` files, `transfer.txt`, `venue_draft/`,
|
|
69
|
+
`.git/`, paperpush-fix backups, and LaTeX build output (`.aux`, `.log`, `.out`,
|
|
66
70
|
`.synctex.gz`, `.fls`, `.fdb_latexmk`, `.bbl`, `.blg`). If the tree is
|
|
67
71
|
over about 200 MB, list the largest items and ask before copying.
|
|
68
72
|
- For a set of files, copy just those, plus any file an earlier `.sub`
|
|
@@ -123,6 +127,24 @@ delete anything in the source directory**; every change happens in the copy.
|
|
|
123
127
|
only when the user asked to keep the original formatting (record that in
|
|
124
128
|
`transfer.txt`). It runs before validation so validation measures the
|
|
125
129
|
reformatted file.
|
|
130
|
+
- **Convert first when the new venue needs another file type.** Compare the
|
|
131
|
+
manuscript's type with `manuscript.formats` in `paperpush requirements
|
|
132
|
+
<venue> --json`. When the new venue does not accept it but accepts `docx`
|
|
133
|
+
or `tex`, or the manuscript is Markdown, convert the copy before
|
|
134
|
+
reformatting:
|
|
135
|
+
|
|
136
|
+
```
|
|
137
|
+
paperpush convert <new-dir>/<venue>.sub.txt --to docx|tex -o <new-dir>/converted --no-source --update-sub --json
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
(MCP: `convert_manuscript(subfile=..., to=..., output_dir=..., embed_source=false, update_subfile=true)`;
|
|
141
|
+
add `--manuscript <abs source>` for the PDF case below, and `--bib
|
|
142
|
+
<abs .bib>` if the `.bib` is not next to the source.) `--no-source` keeps
|
|
143
|
+
the original LaTeX out of a `.docx` the venue will receive. Keep the JSON
|
|
144
|
+
for `transfer.txt`. Every entry in its `warnings`, and any `counts` that
|
|
145
|
+
differ, goes into the To-do list: `clean: false` means something did not
|
|
146
|
+
come through. If `convert` fails, report the error, keep the copy as it
|
|
147
|
+
is, and go on.
|
|
126
148
|
- Only a Word (`.docx`) or LaTeX (`.tex`, or a `.zip` of LaTeX sources)
|
|
127
149
|
manuscript can be reformatted. If the new `.sub`'s manuscript is a PDF,
|
|
128
150
|
look in the new directory for its source (a `.docx` or `.tex` with the
|
|
@@ -170,6 +192,9 @@ delete anything in the source directory**; every change happens in the copy.
|
|
|
170
192
|
New directory: <abs new dir>
|
|
171
193
|
New .sub: <abs path>
|
|
172
194
|
Earlier .sub files used: <abs path> (<venue>, modified <date>), ...
|
|
195
|
+
Draft venue entry: <abs new dir>/venue_draft (only for a venue paperpush
|
|
196
|
+
does not support; run paperpush on this .sub with
|
|
197
|
+
PAPERPUSH_VENUE_DATA=<abs new dir>/venue_draft/data)
|
|
173
198
|
|
|
174
199
|
1. Files
|
|
175
200
|
Copied: <n> files (<list, relative paths>)
|
|
@@ -191,6 +216,8 @@ delete anything in the source directory**; every change happens in the copy.
|
|
|
191
216
|
reference style, title page, file formats, anything else that differs)
|
|
192
217
|
|
|
193
218
|
4. Formatting
|
|
219
|
+
Converted: <source type> -> <target type>, <abs path> (only if converted)
|
|
220
|
+
Did not come through: <each count that differs, each warning>
|
|
194
221
|
Formatted manuscript: <abs path> (unformatted copy: <abs path>)
|
|
195
222
|
Template: <URL or path> or No template (<template_note>); the
|
|
196
223
|
venue's layout rules were applied
|
|
@@ -209,10 +236,14 @@ delete anything in the source directory**; every change happens in the copy.
|
|
|
209
236
|
6. To do
|
|
210
237
|
<the author's remaining tasks, most important first>
|
|
211
238
|
paperpush submit <abs new .sub> (after: paperpush login <new venue>)
|
|
239
|
+
(or, when paperpush cannot submit to the new venue: upload the files
|
|
240
|
+
through <new venue>'s own portal, using the .sub as your checklist)
|
|
212
241
|
```
|
|
213
242
|
|
|
214
243
|
Build section 3 from `paperpush requirements <slug> --json` for both
|
|
215
|
-
venues, listing only the rules that differ.
|
|
244
|
+
venues, listing only the rules that differ. If the earlier venue was itself
|
|
245
|
+
a draft entry, read its rules with `PAPERPUSH_VENUE_DATA` set to that
|
|
246
|
+
transfer's `venue_draft/data`. Skip the section, with a line saying why,
|
|
216
247
|
when no earlier venue is known or it has no requirements entry. Shorten
|
|
217
248
|
long values (abstracts, statements) to their first 80 characters, with
|
|
218
249
|
`...`, instead of pasting them whole.
|
|
@@ -223,7 +254,38 @@ delete anything in the source directory**; every change happens in the copy.
|
|
|
223
254
|
limit, a different reference style); whether the manuscript was reformatted
|
|
224
255
|
and with which template (or the layout rules); the validation counts; and
|
|
225
256
|
what is left for them. For the portal, point them to `paperpush-submit` (or
|
|
226
|
-
`paperpush login <venue>` then `paperpush submit <abs .sub>`).
|
|
257
|
+
`paperpush login <venue>` then `paperpush submit <abs .sub>`). If
|
|
258
|
+
`paperpush venues` shows the new venue is validate-only, or it is a draft
|
|
259
|
+
entry, paperpush cannot submit to it: tell them to upload the files through
|
|
260
|
+
the venue's own portal, using the `.sub` as their checklist.
|
|
261
|
+
|
|
262
|
+
## Target venue paperpush does not support
|
|
263
|
+
|
|
264
|
+
A venue `paperpush venues` does not list can still be transferred to, but not
|
|
265
|
+
submitted to. Tell the user so up front, then:
|
|
266
|
+
|
|
267
|
+
- **After step 2 and before step 3**, run the `paperpush-add-venue-validate`
|
|
268
|
+
skill (Skill tool) for the venue in its **temporary mode**, and tell it to use
|
|
269
|
+
`<new-dir>/venue_draft/` as the draft directory, so the entry stays with the
|
|
270
|
+
transfer. On a re-run, if `<new-dir>/venue_draft/data` already exists, reuse
|
|
271
|
+
it unless the user asks to read the guidelines again.
|
|
272
|
+
- If the venue's guideline pages cannot be read, ask the user to save them as
|
|
273
|
+
files for that skill to read. If they have none, say that `paperpush format`
|
|
274
|
+
and the guideline checks will have little or nothing to work from, and ask
|
|
275
|
+
whether to go on.
|
|
276
|
+
- Set `PAPERPUSH_VENUE_DATA=<new-dir>/venue_draft/data` on every `paperpush`
|
|
277
|
+
command from step 3 on, and give that path to `paperpush-autofill`,
|
|
278
|
+
`paperpush-validate`, and `paperpush-fix` when you invoke them. Without the
|
|
279
|
+
variable, paperpush does not know the venue. Tell `paperpush-autofill` that
|
|
280
|
+
`venue_draft/` is not part of the manuscript, and tell `paperpush-validate`
|
|
281
|
+
the draft entry already exists so it does not build a second one.
|
|
282
|
+
- **Never run `paperpush login`, `paperpush submit`, or `paperpush-submit` for
|
|
283
|
+
it.** paperpush has no runner for this venue's portal.
|
|
284
|
+
- In the summary, say the rules came from a draft entry read from the
|
|
285
|
+
guidelines just now, so they are only as good as that reading. Pass on
|
|
286
|
+
`paperpush-validate`'s pointers for hot-fixing the draft (with the paths
|
|
287
|
+
under `<new-dir>/venue_draft/`) and the suggestion to send the entry upstream
|
|
288
|
+
as a pull request.
|
|
227
289
|
|
|
228
290
|
## Rules
|
|
229
291
|
|
|
@@ -234,8 +296,11 @@ delete anything in the source directory**; every change happens in the copy.
|
|
|
234
296
|
- An earlier `.sub` is a source, not the truth: the manuscript wins when they
|
|
235
297
|
disagree, and the change goes in `transfer.txt`.
|
|
236
298
|
- Never write a `never` field, even from an earlier `.sub`.
|
|
299
|
+
- A draft venue entry stays in `<new-dir>/venue_draft/`. It never goes into
|
|
300
|
+
paperpush's own databases or the repo.
|
|
237
301
|
- Never invent values: if neither the earlier `.sub` nor the files give it,
|
|
238
302
|
leave it for the author.
|
|
239
|
-
- Delegate filling to `paperpush-autofill`,
|
|
303
|
+
- Delegate filling to `paperpush-autofill`, converting to `paperpush convert`,
|
|
304
|
+
reformatting to `paperpush format`,
|
|
240
305
|
checking to `paperpush-validate`, and fixing to `paperpush-fix` (with the
|
|
241
306
|
user's go-ahead); do not duplicate their logic here, and do not submit.
|
|
@@ -35,8 +35,10 @@ from .validate import ERROR, WARNING, Issue, NotApplicable, Outcome
|
|
|
35
35
|
# ordinary words or people's names (Claude, Gemini, Mistral, Copilot) only count
|
|
36
36
|
# with a capital letter, and only beside a use (see _DISCLOSURE).
|
|
37
37
|
_TOOL = (
|
|
38
|
-
r"(?:\b(?i:chat\s?gpt|gpt-?(?:3(?:\.5)?|4(?:o|\.\d)?|4o-mini|5)|openai|
|
|
39
|
-
r"|\b(?:Claude|Gemini|Bard|Copilot|LLaMA|Llama(?:\s?\d)?|Mistral|Qwen|Grok)\b"
|
|
38
|
+
r"(?:\b(?i:chat\s?gpt|gpt-?(?:3(?:\.5)?|4(?:o|\.\d)?|4o-mini|5)|openai|deepseek|perplexity\.ai|grammarly|quillbot|deepl|writefull|paperpal|trinka|midjourney|dall[-·]?e(?:\s?\d)?|stable\s+diffusion|scispace)\b"
|
|
39
|
+
r"|\b(?:Claude|Gemini|Bard|Copilot|LLaMA|Llama(?:\s?\d)?|Mistral|Qwen|Grok|Elicit|Perplexity\s+AI)\b"
|
|
40
|
+
# "Anthropic" alone, not an adjective ("Anthropic disturbance").
|
|
41
|
+
r"|\bAnthropic\b(?!\s+[a-z])"
|
|
40
42
|
r"|\bLLMs?\b"
|
|
41
43
|
r"|\b(?i:large\s+language\s+models?|generative\s+(?:ai|artificial\s+intelligence)|gen-?ai|(?:ai|artificial\s+intelligence)[- ](?:assisted|based|powered|driven)\s+(?:tools?|technolog(?:y|ies)|writing|language|editing|software|assistan(?:ts?|ce))|(?:ai|artificial\s+intelligence)\s+(?:tools?|chat\s?bots?|assistants?|writing\s+(?:tools?|assistants?)|language\s+models?)|chat\s?bots?)\b)"
|
|
42
44
|
)
|
|
@@ -257,6 +257,10 @@ _REFERENCE_END = re.compile(
|
|
|
257
257
|
r"^\s*(?:[A-Z]\.?\s+)?(?:appendix|appendices|supplementary\s+material)\b[^\n]{0,60}$" r"|^\s*(?:\d+\.?\s+)?(?:author\s+contributions?|contributions|acknowledge?ments?|funding|competing\s+interests?|conflicts?\s+of\s+interest|data\s+availability|code\s+availability|declarations?|ethics(?:\s+statement)?|supplementary\s+information)\s*:?\s*$" r"|\\end\s*\{\s*thebibliography\s*\}|\\appendix\b|\\(?:sub)*section\*?\s*(?:\[[^\]]*\])?\s*\{",
|
|
258
258
|
re.IGNORECASE | re.MULTILINE,
|
|
259
259
|
)
|
|
260
|
+
# A lettered appendix heading ("A Implementation details"). The text may be case-folded, so
|
|
261
|
+
# a wrapped reference title fits this too; a reference has a year close by (_YEAR_NEARBY).
|
|
262
|
+
_LETTERED_APPENDIX = re.compile(r"^[ \t]*a\.?[ \t]+[a-z]+(?:[ \t]+[a-z][a-z-]+){0,7}[ \t]*$", re.IGNORECASE | re.MULTILINE)
|
|
263
|
+
_YEAR_NEARBY = re.compile(r"\b(?:19|20)\d{2}\b")
|
|
260
264
|
# "Copyright (c) 2026 Holder" -- the line Anonymous GitHub most often leaves
|
|
261
265
|
# un-redacted, in a LICENSE file.
|
|
262
266
|
_COPYRIGHT = re.compile(r"(?im)^\s*copyright\s+(?:\(c\)\s*|©\s*)?(?:\d{4}(?:\s*[-–,]\s*\d{4})*\s+)?(?P<holder>[^\n]{2,80})$")
|
|
@@ -289,6 +293,9 @@ def _reference_spans(text: str) -> list[tuple[int, int]]:
|
|
|
289
293
|
return spans
|
|
290
294
|
end = _REFERENCE_END.search(text, start.end())
|
|
291
295
|
stop = end.start() if end else len(text)
|
|
296
|
+
appendix = next((m for m in _LETTERED_APPENDIX.finditer(text, start.end(), stop) if not _YEAR_NEARBY.search(text, m.end(), m.end() + 160)), None)
|
|
297
|
+
if appendix is not None:
|
|
298
|
+
end, stop = appendix, appendix.start()
|
|
292
299
|
spans.append((start.start(), stop))
|
|
293
300
|
if end is None:
|
|
294
301
|
return spans
|
|
@@ -243,7 +243,7 @@ def _first_surname(entry: str) -> str:
|
|
|
243
243
|
|
|
244
244
|
|
|
245
245
|
def _text_bibliography(doc: document.Document, path: Path) -> Bibliography | None:
|
|
246
|
-
from .manuscript import
|
|
246
|
+
from .manuscript import author_year_starts
|
|
247
247
|
|
|
248
248
|
text = doc.text
|
|
249
249
|
if text is None:
|
|
@@ -272,7 +272,7 @@ def _text_bibliography(doc: document.Document, path: Path) -> Bibliography | Non
|
|
|
272
272
|
cited = {k.strip() for g in groups for k in re.split(r"[,;]", g) if k.strip() in known}
|
|
273
273
|
return Bibliography("labels", refs, cited)
|
|
274
274
|
|
|
275
|
-
starts =
|
|
275
|
+
starts = author_year_starts(tail)
|
|
276
276
|
if not starts:
|
|
277
277
|
return None
|
|
278
278
|
entries: list[str] = []
|
|
@@ -173,13 +173,12 @@ def mentions(text: str) -> list[Mention]:
|
|
|
173
173
|
|
|
174
174
|
def _reference_span(text: str, found: list[Mention]) -> tuple[int, int] | None:
|
|
175
175
|
"""Where the reference list runs: from its heading to the first caption after it."""
|
|
176
|
-
from .manuscript import
|
|
176
|
+
from .manuscript import reference_list_span
|
|
177
177
|
|
|
178
|
-
|
|
179
|
-
if not
|
|
178
|
+
span = reference_list_span(text)
|
|
179
|
+
if not span:
|
|
180
180
|
return None
|
|
181
|
-
|
|
182
|
-
return refs.start(), end
|
|
181
|
+
return span[0], next((x.pos for x in found if x.caption and span[0] < x.pos < span[1]), span[1])
|
|
183
182
|
|
|
184
183
|
|
|
185
184
|
# --- panels ---------------------------------------------------------------------------
|
|
@@ -194,7 +193,8 @@ _DASH = r"\s*[\u2013\u2014-]\s*"
|
|
|
194
193
|
_PANEL_ITEM = re.compile(rf"(S?)(\d{{1,3}})(?:([a-zA-Z])(?:{_DASH}(?:\1\2)?([a-zA-Z]))?)?(?![\w])")
|
|
195
194
|
# A bare letter (or range) continuing the previous item: the ", b" of "Fig. 2a, b".
|
|
196
195
|
_PANEL_LETTER = re.compile(rf"([a-zA-Z])(?:{_DASH}([a-zA-Z]))?(?![\w])")
|
|
197
|
-
_PANEL_SEP = re.compile(r"\s*(
|
|
196
|
+
_PANEL_SEP = re.compile(r"\s*(,\s*(?:and\b|&)|,|;|and\b|&)\s*")
|
|
197
|
+
_CELL_WORD = re.compile(r"\s+(?:cells?|lymphocytes?)\b", re.IGNORECASE)
|
|
198
198
|
# Whose figure: "Fig. 3b of ref. 12", "Fig. 2a in Smith et al.", "(ref. 4, Fig. 1c)".
|
|
199
199
|
_OTHER_AFTER = re.compile(r"\s*(?:of|in|from)\s+(?:refs?\b|\[|\(\d|\d|[A-Z][\w'-]+(?:\s+and\s+[A-Z][\w'-]+)?\s+(?:et\s+al|\(\d{4}|\d{4})|the\s+(?:original|cited|previous)|their\b|ours?\s+previous)")
|
|
200
200
|
_OTHER_BEFORE = re.compile(r"(?:\brefs?\.?\s*\d+[\w\s,\u2013-]*|et\s+al\.?(?:\s*\(?\d{4}\)?)?|\[\d+[\d,\s\u2013-]*\])\s*[,;:]?\s*(?:see\s+)?$", re.IGNORECASE)
|
|
@@ -244,9 +244,10 @@ def panel_mentions(text: str, series: str | None = None) -> list[PanelCite]:
|
|
|
244
244
|
found += [PanelCite(kind, current[1], c, item.start()) for c in _letters(item.group(3), item.group(4))]
|
|
245
245
|
pos = item.end()
|
|
246
246
|
elif current is not None and current[0] and lettered and (letter := _PANEL_LETTER.match(text, pos)):
|
|
247
|
-
# After "and", a bare letter must close the list ("Fig. 2a and b)")
|
|
248
|
-
# "Fig. 2a and a control" is not read as
|
|
249
|
-
|
|
247
|
+
# After "and", a bare letter must close the list ("Fig. 2a and b)") or be the
|
|
248
|
+
# next panel ("Fig. 2a and b show"), so "Fig. 2a and a control" is not read as one.
|
|
249
|
+
next_panel = found and ord(letter.group(1).lower()) == ord(found[-1].letter.lower()) + 1 and not _CELL_WORD.match(text, letter.end())
|
|
250
|
+
if sep.group(1).endswith(("and", "&")) and not next_panel and not re.match(r"\s*(?:[),;.\]]|$)", text[letter.end() :]):
|
|
250
251
|
break
|
|
251
252
|
# Panels run forward in one case: the "a" of "Fig. 2c, a rise" and the "B" of "Fig. 1b, B cells" are words.
|
|
252
253
|
if found and (letter.group(1).isupper() != found[-1].letter.isupper() or letter.group(1).lower() <= found[-1].letter.lower()):
|
|
@@ -1332,7 +1332,8 @@ checks that run without AI:
|
|
|
1332
1332
|
|
|
1333
1333
|
Figures
|
|
1334
1334
|
Resolution (dpi, with a line-art threshold), lettering size and typeface
|
|
1335
|
-
in vector figures, panel labels, color mode, maximum dimensions, placement
|
|
1335
|
+
in vector figures, panel labels, color mode, maximum dimensions, placement
|
|
1336
|
+
(of tables too),
|
|
1336
1337
|
legend length and location, and legibility with red-green color blindness.
|
|
1337
1338
|
Reads the attached figure files, or the figures embedded in the manuscript
|
|
1338
1339
|
when none are attached.
|
|
@@ -2564,6 +2565,78 @@ def _cmd_format(args: argparse.Namespace) -> int:
|
|
|
2564
2565
|
return 0
|
|
2565
2566
|
|
|
2566
2567
|
|
|
2568
|
+
@_validate
|
|
2569
|
+
def _cmd_convert(args: argparse.Namespace) -> int:
|
|
2570
|
+
"""Convert a manuscript between Markdown, Word, and LaTeX."""
|
|
2571
|
+
from . import convert
|
|
2572
|
+
from .requirements_check import _fields_for, manuscript_files
|
|
2573
|
+
from .subfile import find_subfile, load, replace_scalar
|
|
2574
|
+
|
|
2575
|
+
sub_path = None
|
|
2576
|
+
manuscript_field = None
|
|
2577
|
+
manuscript = Path(args.manuscript) if args.manuscript else None
|
|
2578
|
+
if args.subfile:
|
|
2579
|
+
try:
|
|
2580
|
+
sub_path = find_subfile(args.subfile)
|
|
2581
|
+
sub = load(sub_path)
|
|
2582
|
+
venue = get_venue(sub.venue)
|
|
2583
|
+
except (OSError, ValueError) as exc:
|
|
2584
|
+
print(f"error: {exc}", file=sys.stderr)
|
|
2585
|
+
return 1
|
|
2586
|
+
except KeyError:
|
|
2587
|
+
print(f"error: unknown venue '{sub.venue}'", file=sys.stderr)
|
|
2588
|
+
return 2
|
|
2589
|
+
if manuscript is not None:
|
|
2590
|
+
manuscript_field = next(iter(_fields_for(venue, "manuscript")), None)
|
|
2591
|
+
else:
|
|
2592
|
+
files = manuscript_files(venue, dict(sub.values))
|
|
2593
|
+
if not files:
|
|
2594
|
+
print("error: give the manuscript (--manuscript FILE), or a .sub whose manuscript file exists", file=sys.stderr)
|
|
2595
|
+
return 1
|
|
2596
|
+
manuscript_field, manuscript = files[0]
|
|
2597
|
+
if manuscript is None:
|
|
2598
|
+
print("error: give the manuscript (--manuscript FILE), or a .sub file", file=sys.stderr)
|
|
2599
|
+
return 1
|
|
2600
|
+
try:
|
|
2601
|
+
result = convert.convert_manuscript(
|
|
2602
|
+
manuscript,
|
|
2603
|
+
args.to,
|
|
2604
|
+
out_dir=Path(args.output) if args.output else None,
|
|
2605
|
+
bib=Path(args.bib) if args.bib else None,
|
|
2606
|
+
assets=Path(args.assets) if args.assets else None,
|
|
2607
|
+
tracked=args.tracked_changes,
|
|
2608
|
+
compile_pdf=not args.no_compile,
|
|
2609
|
+
citation_style=args.citation_style,
|
|
2610
|
+
embed_source=not args.no_source,
|
|
2611
|
+
)
|
|
2612
|
+
except (convert.ConvertError, OSError) as exc:
|
|
2613
|
+
print(f"error: {exc}", file=sys.stderr)
|
|
2614
|
+
return 1
|
|
2615
|
+
if args.update_sub and sub_path is not None and manuscript_field is not None:
|
|
2616
|
+
text = sub_path.read_text(encoding="utf-8")
|
|
2617
|
+
sub_path.write_text(replace_scalar(text, manuscript_field.id, str(result.upload)), encoding="utf-8")
|
|
2618
|
+
failed = args.strict and not result.clean
|
|
2619
|
+
if args.json:
|
|
2620
|
+
print(json.dumps(result.to_dict(), indent=2))
|
|
2621
|
+
return 1 if failed else 0
|
|
2622
|
+
print(f"Converted {result.manuscript.name} to {result.target_format}: {result.output}")
|
|
2623
|
+
if result.pdf:
|
|
2624
|
+
print(f" PDF: {result.pdf}")
|
|
2625
|
+
if result.restored_blocks or result.generated_blocks:
|
|
2626
|
+
print(f" {result.restored_blocks} block(s) restored as their original LaTeX, {result.generated_blocks} generated")
|
|
2627
|
+
for name, (before, after) in result.counts.items():
|
|
2628
|
+
if name != "words" and before != after:
|
|
2629
|
+
print(f" ! {name}: {before} in the source, {after} in the output")
|
|
2630
|
+
for change in result.changes:
|
|
2631
|
+
print(f" + {change}")
|
|
2632
|
+
for warning in result.warnings:
|
|
2633
|
+
print(f" ! {warning}")
|
|
2634
|
+
print(f" {'Clean: everything came through.' if result.clean else 'Needs review.'} Details: {result.report}")
|
|
2635
|
+
if args.update_sub and manuscript_field is not None:
|
|
2636
|
+
print(f" Updated {manuscript_field.id} in {sub_path.name}")
|
|
2637
|
+
return 1 if failed else 0
|
|
2638
|
+
|
|
2639
|
+
|
|
2567
2640
|
def _cmd_requirements(args: argparse.Namespace) -> int:
|
|
2568
2641
|
"""Print what a venue's author guidelines require of the manuscript.
|
|
2569
2642
|
|
|
@@ -2974,6 +3047,27 @@ def build_parser() -> argparse.ArgumentParser:
|
|
|
2974
3047
|
p_format.add_argument("--json", action="store_true", help="print the result as JSON")
|
|
2975
3048
|
p_format.set_defaults(func=_cmd_format)
|
|
2976
3049
|
|
|
3050
|
+
p_convert = sub.add_parser(
|
|
3051
|
+
"convert",
|
|
3052
|
+
parents=[verbosity],
|
|
3053
|
+
help="convert a manuscript between Markdown, Word, and LaTeX: md to docx, md to tex, docx to tex, tex to docx",
|
|
3054
|
+
description="Convert a manuscript: Markdown to Word or LaTeX, or Word to LaTeX and back. Equations become editable Word equations, citations and cross-references stay live, and figures that Word cannot embed are rendered. A .docx made from LaTeX carries the original source, so converting it back restores every block nobody edited, exactly as written. The original is never modified: the result goes to a new directory with CONVERSION.md, which compares the source and the output and lists anything that needs checking.",
|
|
3055
|
+
)
|
|
3056
|
+
p_convert.add_argument("subfile", nargs="?", help="a .sub file: its manuscript file is used")
|
|
3057
|
+
p_convert.add_argument("--to", required=True, choices=["docx", "tex"], help="the format to convert to")
|
|
3058
|
+
p_convert.add_argument("--manuscript", metavar="FILE", help="the manuscript to convert (.md, .docx, .tex, or a .zip of LaTeX sources), instead of the .sub's")
|
|
3059
|
+
p_convert.add_argument("-o", "--output", metavar="DIR", help="directory for the result (default: converted_<format> next to the manuscript)")
|
|
3060
|
+
p_convert.add_argument("--bib", metavar="FILE", help="the .bib file, when the manuscript does not name one that can be found")
|
|
3061
|
+
p_convert.add_argument("--assets", metavar="DIR", help="Word to LaTeX: the directory holding the original figures and the venue's .cls/.sty/.bst files (default: next to the .docx)")
|
|
3062
|
+
p_convert.add_argument("--tracked-changes", choices=["accept", "reject"], default="accept", help="Word: what to do with tracked changes (default: accept, and report how many)")
|
|
3063
|
+
p_convert.add_argument("--citation-style", choices=["numeric", "author-year"], help="how citations read in the output (default: what the source uses)")
|
|
3064
|
+
p_convert.add_argument("--no-source", action="store_true", help="to Word: leave the original LaTeX out of the .docx. Use this for a file that goes to a journal rather than back to the authors")
|
|
3065
|
+
p_convert.add_argument("--no-compile", action="store_true", help="to LaTeX: do not compile the result")
|
|
3066
|
+
p_convert.add_argument("--strict", action="store_true", help="exit 1 when the result needs review")
|
|
3067
|
+
p_convert.add_argument("--update-sub", action="store_true", help="point the .sub's manuscript field at the converted file")
|
|
3068
|
+
p_convert.add_argument("--json", action="store_true", help="print the result as JSON")
|
|
3069
|
+
p_convert.set_defaults(func=_cmd_convert)
|
|
3070
|
+
|
|
2977
3071
|
p_publishers = sub.add_parser("publishers", parents=[verbosity], help="list the publishers whose house rules back their venues' own", description="List the publishers paperpush knows, whether it holds their house rules, and the listed venues that name each. A venue's own guidelines win; where they are silent, its publisher's house rules apply, and validate reports what those catch as warnings. A journal paperpush does not list can be checked against its publisher's rules with 'paperpush validate --publisher' (or --issn).")
|
|
2978
3072
|
p_publishers.add_argument("--json", action="store_true", help="print JSON")
|
|
2979
3073
|
p_publishers.set_defaults(func=_cmd_publishers)
|
|
@@ -542,6 +542,10 @@ class Drawing:
|
|
|
542
542
|
return confusions(self.colours or [], raster=self.raster)
|
|
543
543
|
|
|
544
544
|
|
|
545
|
+
# How many pages of a figure PDF are read for colours.
|
|
546
|
+
_MAX_FIGURE_PAGES = 30
|
|
547
|
+
|
|
548
|
+
|
|
545
549
|
def pdf_figure_drawings(path: Path, name: str) -> list[Drawing]:
|
|
546
550
|
"""The colours of a figure file in PDF: its vector drawing, and each raster in it."""
|
|
547
551
|
from pypdf import PdfReader
|
|
@@ -549,17 +553,18 @@ def pdf_figure_drawings(path: Path, name: str) -> list[Drawing]:
|
|
|
549
553
|
reader = PdfReader(str(path))
|
|
550
554
|
if not reader.pages:
|
|
551
555
|
return []
|
|
552
|
-
page = reader.pages[0]
|
|
553
556
|
counts: dict[RGB, float] = {}
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
557
|
+
rasters: list[Drawing] = []
|
|
558
|
+
# Every page: a figure PDF can hold several figures.
|
|
559
|
+
for page in reader.pages[:_MAX_FIGURE_PAGES]:
|
|
560
|
+
contents = page.get_contents()
|
|
561
|
+
if contents is not None:
|
|
562
|
+
_stream_colours(contents, reader, counts)
|
|
563
|
+
for form in _forms(page):
|
|
564
|
+
_stream_colours(form, reader, counts)
|
|
565
|
+
for img in _page_images(page, 100):
|
|
566
|
+
rasters.append(Drawing(f"{name} (image {len(rasters) + 1})", image_colours(img), raster=True))
|
|
567
|
+
return ([Drawing(name, list(counts.items()))] if counts else []) + rasters
|
|
563
568
|
|
|
564
569
|
|
|
565
570
|
# A drawing narrower than this (points) on a manuscript page is a logo or an icon.
|