File size: 1,653 Bytes
554248d
 
5580f98
554248d
 
5580f98
554248d
 
5580f98
554248d
5580f98
554248d
 
 
 
 
 
 
 
5580f98
554248d
5580f98
 
ad5fa41
554248d
 
5580f98
554248d
5580f98
 
554248d
5580f98
 
 
 
 
554248d
5580f98
 
 
554248d
5580f98
554248d
5580f98
554248d
 
 
 
 
 
 
 
 
 
5580f98
554248d
5580f98
 
 
 
554248d
5580f98
554248d
 
5580f98
 
554248d
 
5580f98
554248d
 
 
 
5580f98
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
import Note from '../../../components/Note.astro';

## Import from LaTeX

<Note variant="warning">
⚠️ **Experimental** β€” May not work with all LaTeX documents.
</Note>

Transform LaTeX papers into interactive web articles.

### Quick Start

```bash
cd app/scripts/latex-importer/
cp your-paper.tex input/main.tex
cp your-paper.bib input/main.bib
node index.mjs
```

### What Gets Converted

- `\label{eq:name}` β†’ Interactive equations
- `\ref{eq:name}` β†’ Clickable links
- `\includegraphics{}` β†’ `<Image>` components
- Bibliography integration

### Prerequisites

- **Pandoc** (`brew install pandoc`)
- LaTeX source files and figures

### Docker Deployment

Set `ENABLE_LATEX_CONVERSION=true` in your Hugging Face Space to enable automatic conversion during build.

## Import from Notion

<Note variant="warning">
⚠️ **Experimental** β€” May not work with all Notion pages.
</Note>

Convert Notion pages into interactive web articles.

### Quick Start

```bash
cd app/scripts/notion-importer/
npm install
cp env.example .env
# Edit .env with your Notion token
# Edit input/pages.json with your page IDs
node index.mjs
```

### What Gets Converted

- Images
- Callouts β†’ `<Sidenote>` components
- Enhanced tables and code blocks
- Smart link conversion

### Prerequisites

- **Node.js** with ESM support
- **Notion Integration** with token
- **Shared Pages** with your integration

<Note variant="info">
πŸ’‘ **Hugging Face Spaces** β€” Add your `NOTION_TOKEN` to Space secrets for secure access.
</Note>

### Docker Deployment

Set `ENABLE_NOTION_CONVERSION=true` in your Hugging Face Space to enable automatic conversion during build.