Skip to main content

PubMarQ

Scientific articles and theses from markdown, set as each journal or school wants them: PDF through PDFMarQ, DOCX through DocMarQ. Source says what the article is, its journal profile how it looks, so one markdown file goes to every journal pubmarq knows.

Install

pip install pubmarq         # articles and theses
pip install pubmarq[pages]  # + PDF pages a dissertation sets in

Use

py -m pubmarq build paper.md ijet          # paper.ijet.pdf and .docx
py -m pubmarq build paper.md ijet --blind  # + copies for blind review
py -m pubmarq check paper.md ijet          # preflight only
py -m pubmarq journals                     # known journals

-j answers in one JSON document. Exit code: 0 with nothing to fix, 1 after errors, 2 for wrong arguments.

from pubmarq import build
result = build("paper.md", "ijet", out_dir="out")
result.files, result.pages, result.issues

Journals

Key Journal Layout
ijet International Journal of Electronics and Telecommunications IEEE, two columns, Times New Roman 10pt
pe Przegląd Elektrotechniczny Polish or English, two abstracts, Times New Roman 10.5pt, DOCX in Arial 9pt
mdpi MDPI journals one column, Palatino, general rules
umg Gdynia Maritime University: diploma thesis title page form, statement, both sides, Source Serif 4 and Sora
umg-dr Gdynia Maritime University: doctoral dissertation as umg, Rector's title page, articles set in

Profiles are Journal dataclasses, so variants are one replace away:

from dataclasses import replace
from pubmarq import JOURNALS, build
build("paper.md", replace(JOURNALS["ijet"], key="ijet-short", pages=(4, 6)))

Article

---
title: A Shared Register Specification as the Source of Complete Modbus RTU Device Support
short_title: Shared register specification  # running head
lang: en                                    # else the journal's
title_pl: Wspólna specyfikacja rejestrów    # second title PE prints
author:
  - Emilian Świtalski, 0000-0002-5437-381X, e.switalski@we.umg.edu.pl
entity: Gdynia Maritime University
address: Morska 81/87, 81-225 Gdynia, Poland
published: IJET 2027, 73(1), 245-250        # once accepted
doi: 10.24425/ijet.2027.123456
---

### Abstract

One paragraph.

**Keywords:** first, second, third

## Introduction

Text citing a work[^1], as Table 1 and Fig. 1 show.
  • ### Abstract or ### Streszczenie opens abstracts, **Keywords:** their keywords.
  • ## and ### are sections and subsections, numbered as each journal numbers them.
  • Footnotes are references, set in each journal's style.
  • > **Table 1.** title over tables and > **Figure 1.** caption under pictures, each pair in <!-- group -->, make captions; <!-- group wide --> spans both columns.
  • \label{x} in $$ formulas and \eqref{x} in text refer to them by number.
  • Articles in two languages may keep each in its own file, paper.PL.md and paper.EN.md, each taking from the other what it lacks.
  • Blind copies leave out authors, their places, funding and acknowledgment.

Theses

---
title: System monitorowania zużycia energii w instalacji okrętowej
title_en: Energy consumption monitoring in a ship installation
author: Jan Kowalski
album: 45678
degree: engineering                        # or master
faculty: Wydział Elektryczny
department: Katedra Elektroenergetyki Okrętowej
specialization: Elektroautomatyka okrętowa
supervisor: dr inż. Anna Nowak, prof. UMG
reviewer: dr hab. inż. Piotr Wiśniewski
date: 2027-01-15                           # of the statement
oecd: Nauki inżynieryjne i techniczne, Elektrotechnika, elektronika, inżynieria informatyczna
---
  • umg sets the title page form with university emblem, statement, contents, each chapter on its own page and abstracts at the back.
  • ## Wykaz rysunków and ## Wykaz tabel list captions with their pages.
  • umg-dr sets dissertations: Rector's title page, abstracts before contents, parts as ## Część I. ..., and ![](article.pdf) setting articles in as published.
  • DOCX files carry their faces, and Word fills their contents on opening.

Preflight

Every build checks its article against the journal first, and check does only that: title, authors, abstracts and keywords, references and their DOIs, figures, tables and formulas never mentioned, raster figures under 300dpi, PDF page count, and what school forms need.

ERR No title in en, which PE prints too
TIP Add it: title_en: in the frontmatter, or keep the article in en beside it, as paper.EN.md
WRN 8 keywords in pl, PE takes 4–6
ERR 1 error, 1 warning

Fonts

Both formats set faces each journal names: Times New Roman and others from the system, else metric twins from a --fonts folder. pubmarq carries open faces it needs, under SIL Open Font License: Open Sans, Tinos, Cascadia Code, Source Serif 4, Sora and IBM Plex Mono. Palatino of MDPI has no open twin.

Limits

  • Word lays DOCX out on opening, so PDF page count is the guide.
  • In DOCX, figures missing a column's rest leave gaps, and tables split between columns.
  • MDPI profile follows general rules: check it against the journal's own.
  • Dissertation DOCX names PDFs its PDF sets in, for pages to be added by hand.

Metadata

Release files for pubmarq 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pubmarq 0.1.0
File Size Uploaded Provenance Actions
pubmarq-0.1.0.tar.gz 3.9 MB With provenance Details for pubmarq-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pubmarq 0.1.0
File Interpreter ABI Platform Actions
pubmarq-0.1.0-py3-none-any.whl Python 3 none any Details for pubmarq-0.1.0-py3-none-any.whl

Total release size: 7.8 MB

Release files / pubmarq-0.1.0.tar.gz

Download URL pubmarq-0.1.0.tar.gz
Size 3.9 MB
Tags Source
SHA-256 checksum
How to use checksums
7d14dc67fe429ff060f00e594c6b0328d68965c1b520af60d081c0a2c36a73b9
BLAKE2b-256 checksum
How to use checksums
2d99c8f842d3a010b71b688388ac38a1ec691900968c4d1107104976f12700cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Release files / pubmarq-0.1.0-py3-none-any.whl

Download URL pubmarq-0.1.0-py3-none-any.whl
Size 3.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
aaf3a3d5736ed1aceeba70942cf9ffea542b608a7204ae56b823146649793ae5
BLAKE2b-256 checksum
How to use checksums
9145c2664ba1635fddd0c63f9cde241c6b8d6b1918fa2a8eb36d1682552ad591
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Security for pubmarq 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pubmarq-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page