Metadata-Version: 2.4
Name: zensical-academic
Version: 0.1.0
Summary: Reusable academic page templates, theme, and LaTeX CV generator for Zensical
Author-email: Alan Guedes <a.guedes@reading.ac.uk>
License-Expression: MIT
Project-URL: Homepage, https://github.com/alanlivio/zensical-academic
Project-URL: Repository, https://github.com/alanlivio/zensical-academic
Project-URL: Issues, https://github.com/alanlivio/zensical-academic/issues
Project-URL: Changelog, https://github.com/alanlivio/zensical-academic/blob/main/CHANGELOG.md
Keywords: zensical,academic,cv,theme,latex,researcher,lab
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Education
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Documentation
Classifier: Topic :: Internet :: WWW/HTTP :: Site Management
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: zensical>=0.1.0
Requires-Dist: pylatex
Requires-Dist: pyyaml
Requires-Dist: jinja2
Provides-Extra: dev
Requires-Dist: black; extra == "dev"
Requires-Dist: build; extra == "dev"
Requires-Dist: pytest; extra == "dev"
Requires-Dist: twine; extra == "dev"
Provides-Extra: test
Requires-Dist: jinja2; extra == "test"
Requires-Dist: pytest; extra == "test"
Dynamic: license-file

# zensical-academic

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![PyPI version](https://img.shields.io/pypi/v/zensical-academic.svg)](https://pypi.org/project/zensical-academic/)

Reusable academic page templates, theme components, and LaTeX CV generator for individual researcher and research lab websites built with [Zensical](https://zensical.org/).

## Features

- **About Page** (`about.html`): Researcher profile hero with biographical summary, photo, social links, research interests, applications, and dynamic blog-linked news via `news:` frontmatter.
- **Curriculum Vitae** (`cv.html` + `cv.tex`): Structured web CV for appointments, education, honors, categorized certificates, and automatic LaTeX `moderncv` PDF generation from `zensical.toml`.
- **Projects Showcase** (`projects.html`): Categorized card grid for PhD, MSc, and undergraduate projects with automatic section TOC navigation.
- **Open Source Repositories** (`opensource.html`): Repository grid with live GitHub star and fork counters.
- **Team Page** (`team.html`): Responsive circular avatar grid with names, roles, optional short bios, and social links, supporting grouped sections or flat member lists.
- **Blog-Powered News**: Works seamlessly with Zensical's built-in `[project.plugins.blog]` plugin and automatically embeds recent posts on the About page.

## Installation

```bash
pip install zensical-academic
```

To compile PDF CVs with `zensical-academic cv.pdf`, install TeX Live (`latexmk` and `lualatex` with `moderncv`).

## Usage

### Theme Configuration

In your `zensical.toml`:

```toml
[project.theme]
name = "academic"
```

Zensical automatically loads the packaged `zensical-academic` templates, stylesheets, scripts, and Markdown extension (`glightbox`, `footnotes`, `zensical_academic`).

### Generating the LaTeX CV PDF

Generate `docs/assets/pdfs/cv.pdf` directly from `[project.extra.academic]` in `zensical.toml`:

```bash
zensical-academic cv.pdf
```

Or generate only the LaTeX macros file:

```bash
zensical-academic latex zensical.toml cv/generated_academic.tex
```

### About Page with Blog-Linked News

Enable `[project.plugins.blog]` in `zensical.toml`:

```toml
[project.plugins.blog]
blog_dir = "news"
```

Then in `docs/index.md`:

```markdown
---
title: About
template: about.html
news:
  limit: 10
---

## News
```

### Team Page

Create `docs/team.md` using `template: team.html`:

```markdown
---
title: Team
template: team.html
sections:
  - title: Faculty
    members:
      - name: Dr. Jane Doe
        role: Principal Investigator
        photo: assets/team/jane.jpg
        url: https://janedoe.example.edu
        bio: Computer Vision & Multimedia
        social:
          - title: e-mail
            link: mailto:jane@example.edu
          - title: github
            link: https://github.com/janedoe
          - title: scholar
            link: https://scholar.google.com/citations?user=EXAMPLE
  - title: PhD Students
    members:
      - name: Alex Smith
        role: PhD Candidate
        social:
          - title: github
            link: https://github.com/alexsmith
---

Meet the researchers and students of our lab.
```

Common social titles (`email`, `github`, `scholar`, `linkedin`, `orcid`, `twitter`, `x`, `bluesky`, `website`) automatically map to bundled FontAwesome SVG icons.

## Contributing

See [CONTRIBUTING.md](./CONTRIBUTING.md) and [BUILD.md](./BUILD.md) for developer setup, testing, and contribution guidelines.
