1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00

Fixes to KaTeX v0.5.1 upgrade

I hadn’t noticed that the fonts had changed…
This commit is contained in:
Jermolene 2015-09-09 13:56:52 +01:00
parent 424b2fea32
commit 470238acbf
2 changed files with 86 additions and 88 deletions

View File

@ -6,6 +6,30 @@
"type": "application/font-woff",
"title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_AMS-Regular.woff"
}
},{
"file": "fonts/KaTeX_Caligraphic-Bold.woff",
"fields": {
"type": "application/font-woff",
"title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Caligraphic-Bold.woff"
}
},{
"file": "fonts/KaTeX_Caligraphic-Regular.woff",
"fields": {
"type": "application/font-woff",
"title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Caligraphic-Regular.woff"
}
},{
"file": "fonts/KaTeX_Fraktur-Bold.woff",
"fields": {
"type": "application/font-woff",
"title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Fraktur-Bold.woff"
}
},{
"file": "fonts/KaTeX_Fraktur-Regular.woff",
"fields": {
"type": "application/font-woff",
"title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Fraktur-Regular.woff"
}
},{
"file": "fonts/KaTeX_Main-Bold.woff",
"fields": {
@ -42,6 +66,30 @@
"type": "application/font-woff",
"title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Math-Regular.woff"
}
},{
"file": "fonts/KaTeX_SansSerif-Bold.woff",
"fields": {
"type": "application/font-woff",
"title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_SansSerif-Bold.woff"
}
},{
"file": "fonts/KaTeX_SansSerif-Italic.woff",
"fields": {
"type": "application/font-woff",
"title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_SansSerif-Italic.woff"
}
},{
"file": "fonts/KaTeX_SansSerif-Regular.woff",
"fields": {
"type": "application/font-woff",
"title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_SansSerif-Regular.woff"
}
},{
"file": "fonts/KaTeX_Script-Regular.woff",
"fields": {
"type": "application/font-woff",
"title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Script-Regular.woff"
}
},{
"file": "fonts/KaTeX_Size1-Regular.woff",
"fields": {
@ -66,6 +114,12 @@
"type": "application/font-woff",
"title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size4-Regular.woff"
}
},{
"file": "fonts/KaTeX_Typewriter-Regular.woff",
"fields": {
"type": "application/font-woff",
"title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Typewriter-Regular.woff"
}
},{
"file": "katex.without-font-face.min.css",
"fields": {

View File

@ -10,169 +10,113 @@ tags: [[$:/tags/Stylesheet]]
/* Override font URLs */
@font-face {
font-family: 'KaTeX_AMS';
font-family: KaTeX_AMS;
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_AMS-Regular.woff'>>) format('woff');
font-weight: normal;
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'KaTeX_Caligraphic';
font-family: KaTeX_Caligraphic;
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Caligraphic-Bold.woff'>>) format('woff');
font-weight: bold;
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'KaTeX_Caligraphic';
font-family: KaTeX_Caligraphic;
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Caligraphic-Regular.woff'>>) format('woff');
font-weight: normal;
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'KaTeX_Fraktur';
font-family: KaTeX_Fraktur;
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Fraktur-Bold.woff'>>) format('woff');
font-weight: bold;
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'KaTeX_Fraktur';
font-family: KaTeX_Fraktur;
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Fraktur-Regular.woff'>>) format('woff');
font-weight: normal;
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'KaTeX_Greek';
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Greek-Bold.woff'>>) format('woff');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'KaTeX_Greek';
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Greek-BoldItalic.woff'>>) format('woff');
font-weight: bold;
font-style: italic;
}
@font-face {
font-family: 'KaTeX_Greek';
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Greek-Italic.woff'>>) format('woff');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'KaTeX_Greek';
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Greek-Regular.woff'>>) format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'KaTeX_Main';
font-family: KaTeX_Main;
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-Bold.woff'>>) format('woff');
font-weight: bold;
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'KaTeX_Main';
font-family: KaTeX_Main;
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-Italic.woff'>>) format('woff');
font-weight: normal;
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: 'KaTeX_Main';
font-family: KaTeX_Main;
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-Regular.woff'>>) format('woff');
font-weight: normal;
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'KaTeX_Math';
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Math-BoldItalic.woff'>>) format('woff');
font-weight: bold;
font-style: italic;
}
@font-face {
font-family: 'KaTeX_Math';
font-family: KaTeX_Math;
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Math-Italic.woff'>>) format('woff');
font-weight: normal;
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: 'KaTeX_Math';
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Math-Regular.woff'>>) format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'KaTeX_SansSerif';
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_SansSerif-Bold.woff'>>) format('woff');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'KaTeX_SansSerif';
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_SansSerif-Italic.woff'>>) format('woff');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'KaTeX_SansSerif';
font-family: KaTeX_SansSerif;
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_SansSerif-Regular.woff'>>) format('woff');
font-weight: normal;
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'KaTeX_Script';
font-family: KaTeX_Script;
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Script-Regular.woff'>>) format('woff');
font-weight: normal;
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'KaTeX_Size1';
font-family: KaTeX_Size1;
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size1-Regular.woff'>>) format('woff');
font-weight: normal;
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'KaTeX_Size2';
font-family: KaTeX_Size2;
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size2-Regular.woff'>>) format('woff');
font-weight: normal;
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'KaTeX_Size3';
font-family: KaTeX_Size3;
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size3-Regular.woff'>>) format('woff');
font-weight: normal;
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'KaTeX_Size4';
font-family: KaTeX_Size4;
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size4-Regular.woff'>>) format('woff');
font-weight: normal;
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'KaTeX_Typewriter';
font-family: KaTeX_Typewriter;
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Typewriter-Regular.woff'>>) format('woff');
font-weight: normal;
font-weight: 400;
font-style: normal;
}