Initial commit
This commit is contained in:
commit
6072b2ba29
844 changed files with 220532 additions and 0 deletions
35
app/src/main/assets/MathML-template.html
Normal file
35
app/src/main/assets/MathML-template.html
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<script>
|
||||
console.log("MATH_DIAGNOSTIC: MathML-template.html script block started.");
|
||||
window.MathJax = {
|
||||
svg: {
|
||||
fontCache: 'none', // Disable font cache for better performance in this context
|
||||
displayAlign: 'left',
|
||||
displayIndent: '0',
|
||||
scale: 1.0,
|
||||
},
|
||||
startup: {
|
||||
ready: () => {
|
||||
console.log("MATH_DIAGNOSTIC: MathJax startup.ready callback fired.");
|
||||
MathJax.startup.defaultReady();
|
||||
if (window.AndroidBridge) {
|
||||
console.log("MATH_DIAGNOSTIC: Calling AndroidBridge.onMathJaxReady()");
|
||||
window.AndroidBridge.onMathJaxReady();
|
||||
} else {
|
||||
console.error("MATH_DIAGNOSTIC: AndroidBridge not found!");
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<script type="text/javascript" id="MathJax-script" async
|
||||
src="file:///android_asset/mathjax/tex-mml-svg.js">
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="math-container"></div>
|
||||
</body>
|
||||
</html>
|
||||
70
app/src/main/assets/demo_art.svg
Normal file
70
app/src/main/assets/demo_art.svg
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
<svg viewBox="0 0 800 300" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<linearGradient id="underlineGradient" x1="0%" y1="0%" x2="100%" y2="0%">
|
||||
<stop offset="0%" style="stop-color:#F59E0B;stop-opacity:1" />
|
||||
<stop offset="50%" style="stop-color:#EC4899;stop-opacity:1" />
|
||||
<stop offset="100%" style="stop-color:#8B5CF6;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
|
||||
<!-- Background -->
|
||||
<rect width="800" height="300" fill="#f0fdf4"/>
|
||||
|
||||
<!-- Decorative dots -->
|
||||
<circle cx="120" cy="90" r="5" fill="#F59E0B" opacity="0.7" />
|
||||
<circle cx="680" cy="210" r="6" fill="#EC4899" opacity="0.7" />
|
||||
<circle cx="700" cy="110" r="4" fill="#8B5CF6" opacity="0.7" />
|
||||
<circle cx="150" cy="230" r="5" fill="#10B981" opacity="0.6" />
|
||||
<circle cx="650" cy="80" r="4" fill="#F59E0B" opacity="0.6" />
|
||||
<circle cx="90" cy="180" r="3" fill="#EC4899" opacity="0.5" />
|
||||
<circle cx="720" cy="170" r="5" fill="#8B5CF6" opacity="0.6" />
|
||||
|
||||
<!-- Single-stroke handwritten "Try Episteme!" -->
|
||||
<g stroke="#10B981" stroke-width="3.5" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||||
<!-- T -->
|
||||
<path d="M 80 115 L 140 115 M 110 115 L 110 175 Q 110 185 115 185" />
|
||||
|
||||
<!-- r -->
|
||||
<path d="M 150 145 L 150 180 M 150 155 Q 155 145 165 145 Q 172 145 175 150" />
|
||||
|
||||
<!-- y -->
|
||||
<path d="M 185 145 L 190 180 L 200 145 L 198 185 Q 197 200 188 210 Q 182 215 176 210" />
|
||||
|
||||
<!-- Space, then E -->
|
||||
<path d="M 240 110 L 240 180 M 240 110 L 285 110 M 240 145 L 275 145 M 240 180 L 285 180" />
|
||||
|
||||
<!-- p -->
|
||||
<path d="M 305 145 L 305 215 M 305 158 Q 305 145 320 145 Q 340 145 345 160 Q 348 170 345 180 Q 340 195 320 195 Q 305 195 305 182" />
|
||||
|
||||
<!-- i -->
|
||||
<path d="M 365 145 L 365 180 M 365 130 L 365 132" />
|
||||
|
||||
<!-- s -->
|
||||
<path d="M 428 148 Q 418 143 408 145 Q 398 147 395 155 Q 393 162 400 165 Q 410 170 420 168 Q 428 166 430 172 Q 432 180 422 183 Q 412 186 402 182" />
|
||||
|
||||
<!-- t -->
|
||||
<path d="M 445 125 L 445 175 Q 445 185 455 185 Q 465 185 470 180 M 435 145 L 460 145" />
|
||||
|
||||
<!-- e -->
|
||||
<path d="M 530 158 L 490 160 Q 488 165 490 172 Q 493 182 505 185 Q 520 187 528 178 Q 533 170 528 160 Q 520 148 505 148 Q 495 148 490 153" />
|
||||
|
||||
<!-- m -->
|
||||
<path d="M 545 145 L 545 180 M 545 155 Q 545 145 555 145 Q 565 145 565 155 L 565 180 M 565 155 Q 565 145 575 145 Q 585 145 585 155 L 585 180" />
|
||||
|
||||
<!-- e (second) -->
|
||||
<path d="M 635 158 L 600 160 Q 598 165 600 172 Q 603 182 615 185 Q 628 187 635 178 Q 640 170 635 160 Q 628 148 613 148 Q 603 148 598 153" />
|
||||
|
||||
<!-- ! -->
|
||||
<path d="M 660 125 L 660 165 M 660 178 L 660 182" />
|
||||
</g>
|
||||
|
||||
<!-- Decorative underline -->
|
||||
<path
|
||||
d="M 180 200 Q 400 220 620 200"
|
||||
stroke="#EC4899"
|
||||
stroke-width="3"
|
||||
fill="none"
|
||||
opacity="0.6"
|
||||
stroke-linecap="round"
|
||||
/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.8 KiB |
1775
app/src/main/assets/epub_reader.js
Normal file
1775
app/src/main/assets/epub_reader.js
Normal file
File diff suppressed because it is too large
Load diff
BIN
app/src/main/assets/fonts/lato.ttf
Normal file
BIN
app/src/main/assets/fonts/lato.ttf
Normal file
Binary file not shown.
BIN
app/src/main/assets/fonts/lexend.ttf
Normal file
BIN
app/src/main/assets/fonts/lexend.ttf
Normal file
Binary file not shown.
BIN
app/src/main/assets/fonts/lora.ttf
Normal file
BIN
app/src/main/assets/fonts/lora.ttf
Normal file
Binary file not shown.
BIN
app/src/main/assets/fonts/merriweather.ttf
Normal file
BIN
app/src/main/assets/fonts/merriweather.ttf
Normal file
Binary file not shown.
BIN
app/src/main/assets/fonts/roboto_mono.ttf
Normal file
BIN
app/src/main/assets/fonts/roboto_mono.ttf
Normal file
Binary file not shown.
1
app/src/main/assets/mathjax/tex-mml-chtml.js
Normal file
1
app/src/main/assets/mathjax/tex-mml-chtml.js
Normal file
File diff suppressed because one or more lines are too long
1
app/src/main/assets/mathjax/tex-mml-svg.js
Normal file
1
app/src/main/assets/mathjax/tex-mml-svg.js
Normal file
File diff suppressed because one or more lines are too long
BIN
app/src/main/assets/sample.pdf
Normal file
BIN
app/src/main/assets/sample.pdf
Normal file
Binary file not shown.
13
app/src/main/assets/test_chapter_1.html
Normal file
13
app/src/main/assets/test_chapter_1.html
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<!-- assets\test_chapter_1.html -->
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Test Chapter 1</title>
|
||||
</head>
|
||||
<body>
|
||||
<p id='first_para'>Hello World</p>
|
||||
<p>This is a test chapter for UI testing.</p>
|
||||
<p id='search_target'>You can search for the word Espresso.</p>
|
||||
<p>Another paragraph with the word espresso but lowercase.</p>
|
||||
</body>
|
||||
</html>
|
||||
10
app/src/main/assets/test_chapter_2.html
Normal file
10
app/src/main/assets/test_chapter_2.html
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<!-- assets\test_chapter_2.html -->
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Test Chapter 2</title>
|
||||
</head>
|
||||
<body>
|
||||
<p id='second_chapter_para'>This is the second chapter.</p>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue