Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style_bootstrap refactor #360

Merged
merged 102 commits into from
Nov 4, 2024
Merged
Changes from 1 commit
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
5f270f5
style_bootstrap refactor
vincentarelbundock Oct 11, 2024
1ccf6d7
bootstrap refactor: lines seem to work
vincentarelbundock Oct 12, 2024
7dffcbf
align
vincentarelbundock Oct 12, 2024
753561f
bootstrap_class
vincentarelbundock Oct 12, 2024
b1b9e5f
minor
vincentarelbundock Oct 12, 2024
49562d1
align
vincentarelbundock Oct 12, 2024
f25c401
minor
vincentarelbundock Oct 12, 2024
e22fb88
html line styling
vincentarelbundock Oct 14, 2024
1735e86
bugs
vincentarelbundock Oct 14, 2024
5d04641
consolidate style_tt pre-processing
vincentarelbundock Oct 14, 2024
c88b557
style_bootstrap
vincentarelbundock Oct 14, 2024
ab5ccc2
bootstrap: theme default
vincentarelbundock Oct 14, 2024
a58bf76
themes bootstrap
vincentarelbundock Oct 15, 2024
e4bc366
bootstrap_css_rule
vincentarelbundock Oct 15, 2024
0513bee
bootstrap_css
vincentarelbundock Oct 15, 2024
bef0a10
group indent still broken
vincentarelbundock Oct 15, 2024
8f3c6f3
indent -
vincentarelbundock Oct 16, 2024
db9b0ec
more refactor
vincentarelbundock Oct 16, 2024
3581ae2
minor
vincentarelbundock Oct 16, 2024
1515322
probably breaking everything
vincentarelbundock Oct 22, 2024
2a3bb9a
group_tt
vincentarelbundock Oct 22, 2024
796bb0e
group_tt: only style_tt if indent
vincentarelbundock Oct 22, 2024
d7c5eab
bug
vincentarelbundock Oct 22, 2024
fd9006e
indexing
vincentarelbundock Oct 22, 2024
d7d5f82
indexing lazy vs eager
vincentarelbundock Oct 22, 2024
f556a06
safer
vincentarelbundock Oct 22, 2024
1450bb8
indexing lazy
vincentarelbundock Oct 22, 2024
7366f08
minor
vincentarelbundock Oct 22, 2024
b8a9b0b
sanity bug
vincentarelbundock Oct 23, 2024
a75503b
vignette
vincentarelbundock Oct 23, 2024
86af8a5
sanity bug
vincentarelbundock Oct 23, 2024
c6070d8
minor
vincentarelbundock Oct 23, 2024
2e3050d
html indexing
vincentarelbundock Oct 24, 2024
4f46ba8
simpler style_bootstrap
vincentarelbundock Oct 24, 2024
d3a6d02
comment
vincentarelbundock Oct 24, 2024
67f1fd2
align split
vincentarelbundock Oct 24, 2024
4224834
bootstrap lines
vincentarelbundock Oct 24, 2024
1afea0e
group indentation
vincentarelbundock Oct 24, 2024
4a61254
group_tt + format math + style
vincentarelbundock Oct 24, 2024
7682f41
bootstrap style line fix
vincentarelbundock Oct 24, 2024
21a0ec5
bootstrap spanning cells change order
vincentarelbundock Oct 24, 2024
66832be
format and snapshot
vincentarelbundock Oct 24, 2024
9457d4d
typst refactor
vincentarelbundock Oct 25, 2024
89cc193
typst: bad index ordering
vincentarelbundock Oct 25, 2024
962680a
typst: align + background template
vincentarelbundock Oct 25, 2024
e2601a2
style_typst: unique fields
vincentarelbundock Oct 25, 2024
1e04272
typst: style fixes for non-bool
vincentarelbundock Oct 25, 2024
ddecc51
template align still broken
vincentarelbundock Oct 25, 2024
d89aede
typst align still broken
vincentarelbundock Oct 25, 2024
086ad10
typst: template align improvements. no go
vincentarelbundock Oct 25, 2024
b5aa39f
style_typst lines broken
vincentarelbundock Oct 26, 2024
ce44396
typst lines close
vincentarelbundock Oct 26, 2024
d03e029
typst lines work
vincentarelbundock Oct 26, 2024
239b0e4
typst: style line modularization
vincentarelbundock Oct 26, 2024
442a0ba
typst duplicate cells fix. Still very borkened
vincentarelbundock Oct 26, 2024
600a76a
minor
vincentarelbundock Oct 26, 2024
85783db
typst indexing
vincentarelbundock Oct 26, 2024
19046f5
docs
vincentarelbundock Oct 26, 2024
19dbe72
style_typst: style combinations across calls
vincentarelbundock Oct 26, 2024
6d4ad15
snapshots
vincentarelbundock Oct 26, 2024
381c12e
format_numeric trimws
vincentarelbundock Oct 26, 2024
116469f
snapshot
vincentarelbundock Oct 26, 2024
2c6322f
sanitize_i fix
vincentarelbundock Oct 27, 2024
da706d6
html snapshots, but format_tt indexing still broken
vincentarelbundock Oct 27, 2024
96d01cf
style_apply_tabularray
vincentarelbundock Oct 28, 2024
594f071
style_tabularray progress
vincentarelbundock Oct 28, 2024
9ab3f0a
tabularray spans
vincentarelbundock Oct 29, 2024
7368507
tabularray: halign no d support
vincentarelbundock Oct 30, 2024
ee620e7
style_tabularray d columns
vincentarelbundock Oct 30, 2024
f11da57
blah blah
vincentarelbundock Oct 30, 2024
45fc191
simplify tabularray
vincentarelbundock Nov 2, 2024
1a35137
tabularray lines
vincentarelbundock Nov 2, 2024
d3be54f
minor
vincentarelbundock Nov 2, 2024
295316d
dcolumn bug
vincentarelbundock Nov 2, 2024
da25cd3
style_eval is not called all the time
vincentarelbundock Nov 2, 2024
785de85
break theme but fix some tabularray styles
vincentarelbundock Nov 3, 2024
d5b0ef1
tabularray: vectorized colors
vincentarelbundock Nov 3, 2024
e096d62
tabularray: full columns and rows
vincentarelbundock Nov 3, 2024
82748f6
efficient tabularray
vincentarelbundock Nov 3, 2024
cb6e20c
tabularray style still very broken
vincentarelbundock Nov 3, 2024
3a343bb
style_tabularray: efficient + lines
vincentarelbundock Nov 3, 2024
7a23c88
cleanup
vincentarelbundock Nov 3, 2024
d14c3a8
tabularray: no complete rows if complete columns
vincentarelbundock Nov 3, 2024
94901f0
theme_placement
vincentarelbundock Nov 3, 2024
a1b2cbd
theme: breakup into separate files
vincentarelbundock Nov 3, 2024
08ccea3
theme_placement indent
vincentarelbundock Nov 3, 2024
6d02af8
themes
vincentarelbundock Nov 3, 2024
2debc10
theme_placement nearly everywhere
vincentarelbundock Nov 4, 2024
8c8714e
theme vignette
vincentarelbundock Nov 4, 2024
876bcb5
duplicate indent in groups
vincentarelbundock Nov 4, 2024
f908531
individual cells
vincentarelbundock Nov 4, 2024
97706e5
theme bootstrap_class
vincentarelbundock Nov 4, 2024
a1d54b9
theme_bootstrap
vincentarelbundock Nov 4, 2024
7425bc4
vignette
vincentarelbundock Nov 4, 2024
61101e1
typst fixup theme_placement
vincentarelbundock Nov 4, 2024
fdb7789
grid styles
vincentarelbundock Nov 4, 2024
8c89f6c
docs
vincentarelbundock Nov 4, 2024
3d7fc7e
theme_multipage_latex
vincentarelbundock Nov 4, 2024
2703f0f
latex snapshots + vignette
vincentarelbundock Nov 4, 2024
ea56a1c
vignette
vincentarelbundock Nov 4, 2024
ed890ad
grid: groups and style
vincentarelbundock Nov 4, 2024
bd45a46
bump
vincentarelbundock Nov 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
typst: bad index ordering
  • Loading branch information
vincentarelbundock committed Oct 25, 2024
commit 89cc1936a749b687b61ede7684f95d128e384da5
3 changes: 1 addition & 2 deletions R/style_typst.R
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,8 @@ style_apply_typst <- function(x) {

# Unique style arrays
uni <- split(rec, rec$css)
browser()

pairs <- sapply(uni, function(x) paste(sprintf("(%s, %s),", x$i, x$j), collapse = " "))
pairs <- sapply(uni, function(x) paste(sprintf("(%s, %s),", x$j, x$i), collapse = " "))
styles <- sapply(uni, function(x) x$css[1])
styles <- sprintf("(pairs: (%s), %s),", pairs, styles)

Expand Down
Loading