Galaxy-Dawn

Galaxy-Dawn / pubtab

Public

Bidirectional Excel↔LaTeX table converter with style-preserving roundtrip, multi-sheet support, and PNG/PDF preview.

36
0
100% credibility
Found Mar 07, 2026 at 36 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

A Python package that converts Excel spreadsheets to publication-ready LaTeX tables and vice versa, preserving formatting for round-trip workflows with preview capabilities.

How It Works

1
📚 Discover pubtab

You hear about a handy tool that turns everyday spreadsheets into beautiful tables perfect for research papers and reports.

2
🛠️ Set it up quickly

With one simple action, you prepare the tool on your computer so it's ready to use right away.

3
📁 Choose your spreadsheet

You select the spreadsheet file with your data table that needs to look professional.

4
Transform to paper-ready table

The tool instantly converts your table into polished code ready for documents, keeping all colors, merges, and styles just right.

5
👁️ Preview the result

You generate a picture or document preview to see exactly how your table will appear in print.

6
🔄 Edit back and forth

Switch between spreadsheet and table code anytime to tweak numbers or layout without losing anything.

🎉 Perfect tables for your paper

Your tables now look publication-quality, saving hours and making your work stand out beautifully.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 36 to 36 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is pubtab?

Pubtab is a Python CLI tool and library for bidirectional Excel-LaTeX table conversion, preserving styles like merged cells, colors, rich text, rotation, and diagbox in roundtrip workflows. It handles XLSX/XLS multi-sheet files by default, exporting all sheets as numbered TeX files, and generates PNG/PDF previews directly from TeX for quick pub table checks. Perfect for editing data in spreadsheets then polishing for papers, with Overleaf-ready package hints.

Why is it gaining traction?

Unlike basic converters that lose formatting, pubtab maintains fidelity across complex tables—think pubtables-1m benchmarks with multirow spans and colors—while supporting batch directories and custom YAML configs. The preview command compiles TeX to high-DPI images without full LaTeX setup (auto-installs TinyTeX), and Python API enables pipelines like tex2xlsx then xlsx2tex for validation. It's a niche win for style-preserving roundtrips over pandoc or manual hacks.

Who should use this?

Academic researchers and data scientists building pub tables for papers, especially ML folks with multi-sheet experiment results akin to pubtabnet or pubtables-1m datasets. Journal authors iterating Excel prototypes into LaTeX. Teams needing quick PNG/PDF previews before Overleaf submission.

Verdict

Grab it if Excel-LaTeX roundtrips are your bottleneck—solid CLI, gallery examples, and 1.0% credibility score reflect early alpha (36 stars) but functional docs and MIT license. Test on your tables; maturity will grow with use.

(187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.