Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
l3regex: TeX で実装された正規表現エンジン / l3regex
Search
Watson
October 18, 2019
Programming
1
810
l3regex: TeX で実装された正規表現エンジン / l3regex
Watson
October 18, 2019
Tweet
Share
More Decks by Watson
See All by Watson
Building Dataset for Grounding of Formulae — Annotating Coreference Relations Among Math Identifiers / lrec2022
wtsnjp
0
150
MioGatto による数式グラウンディング データセットの構築 / nlp2022
wtsnjp
0
530
MioGatto: A Math Identifier-oriented Grounding Annotation Tool / mathui2021
wtsnjp
0
340
日本語化プロジェクト 〜TeX Live と learnlatex.org〜 / localize
wtsnjp
0
1.3k
Dataset Creation for Grounding of Formulae / SCIDOCA2020
wtsnjp
0
340
A TeX-oriented Research Topic: Synthetic Analysis on Mathematical Expressions and Natural Language / tug2019
wtsnjp
0
190
Understanding Scientific Documents with Synthetic Analysis on Mathematical Expressions and Natural Language / cicm2019
wtsnjp
0
390
A Quantitative Evaluation of Natural Language Question Interpretation for Questions Answering Systems / jist2018
wtsnjp
0
330
llmk: 新時代の LaTeX 文書ビルドツール / llmk
wtsnjp
1
2.3k
Other Decks in Programming
See All in Programming
受け取る人から提供する人になるということ
little_rubyist
0
250
CSC509 Lecture 11
javiergs
PRO
0
180
flutterkaigi_2024.pdf
kyoheig3
0
150
3rd party scriptでもReactを使いたい! Preact + Reactのハイブリッド開発
righttouch
PRO
1
610
CSC509 Lecture 12
javiergs
PRO
0
160
役立つログに取り組もう
irof
28
9.6k
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
1
100
CSC509 Lecture 09
javiergs
PRO
0
140
Figma Dev Modeで変わる!Flutterの開発体験
watanave
0
140
OSSで起業してもうすぐ10年 / Open Source Conference 2024 Shimane
furukawayasuto
0
110
Creating a Free Video Ad Network on the Edge
mizoguchicoji
0
120
.NET のための通信フレームワーク MagicOnion 入門 / Introduction to MagicOnion
mayuki
1
1.7k
Featured
See All Featured
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
42
9.2k
Making the Leap to Tech Lead
cromwellryan
133
8.9k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Site-Speed That Sticks
csswizardry
0
28
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
130
How GitHub (no longer) Works
holman
310
140k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
The World Runs on Bad Software
bkeepers
PRO
65
11k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
KATA
mclloyd
29
14k
Fireside Chat
paigeccino
34
3k
Transcript
l3regex: TEX Ͱ࣮͞Εͨਖ਼نදݱΤϯδϯ l3regex: TEXͰ࣮͞Εͨ ਖ਼نදݱΤϯδϯ ேਓ (wtsnjp) Regex Festa
2019-10-18 1 / 7
l3regex: TEX Ͱ࣮͞Εͨਖ਼نදݱΤϯδϯ ؆୯ͳࣗݾհ ேਓ(wtsnjp) ▶ ϋϯυϧωʔϜɿϫτιϯ ▶ ൛γεςϜ TEX
͕େ͖ ˠ TEX Live νʔϜ ϝϯόʔ ▶ म࢜ 2 ʢ૯ݚେ / NII / ౦େʣ ▶ ݱࡏͷઐ߈ɿࣗવݴޠॲཧ (NLP) ......ͱশͭͭ͠ɼ࣮ͷݚڀରࣜ ʮͯ͢ͷಓ TEX ʹ௨ͣʯ 2 / 7
l3regex: TEX Ͱ࣮͞Εͨਖ਼نදݱΤϯδϯ l3regexͷίί͕εΰΠʂ l3regex: TEX Ͱ࣮͞Εͨਖ਼نදݱΤϯδϯ ϙΠϯτᶃ কདྷੑ͕εΰΠ ∵)
L A TEX3 ϓϩδΣΫτͷҰ෦ ϙΠϯτᶄ ࣮͕εΰΠ ∵) ଠݹͷݴޠ TEX Ͱ࣮͞Ε͍ͯΔ ϙΠϯτᶅ ࣮༻ੑ͕εΰΠ ∵) ໌͔ΒۀͰ͑Δ 3 / 7
l3regex: TEX Ͱ࣮͞Εͨਖ਼نදݱΤϯδϯ ϙΠϯτᶃ কདྷੑ͕εΰΠ L A TEX3 ϓϩδΣΫτ ▶
L A TEX2 ͷޙܧ ▶ 3 ϨΠϠߏʢܭըʣ ▶ 1990 தࠒ͔Β ˠ TEX քͷαάϥμ ϑΝϛϦΞ expl3 ϓϩάϥϛϯάݴޠ ʢ໊শະఆʣ ϨΠΞτઃܭݴޠ L A TEX3 ϚʔΫΞοϓݴޠ expl3 ݴޠ ▶ TEX ্ʹ࣮͞Εͨϓϩάϥϛϯάݴޠ ▶ L A TEX2 ։ൃऀάϧʔϓ͕อकɾ։ൃ ࢀߟɿϥϯάɾϥάʔʰTeX ݴޠऀͷͨΊͷ expl3 ೖʱ 4 / 7
l3regex: TEX Ͱ࣮͞Εͨਖ਼نදݱΤϯδϯ ϙΠϯτᶄ ࣮͕εΰΠ TEX ݴޠͷίί͕ΞϨ ▶ ໊લۭؒͷܽɼల։੍ޚɼ෭࡞༻ɼetc. ▶
ࣈ۟ղੳʹνϡʔϦϯάϚγϯ͕ඞཁʂ l3regex TEX ݴޠͰ࣮͞Ε͍ͯΔ ▶ l3regex ͷ࣮ɿTEX ݴޠͷ NFA Τϯδϯ ▶ TEX ύοέʔδ TEX ݴޠͰ࣮ͦ͜ਖ਼ٛ ∵) ͋ΒΏΔ TEX ڥɾॲཧܥͰಈ࡞ ʮTEX ʹ͍Δͱ͖ TEX ܳਓͷ͢ΔΑ͏ʹͤΑʯ 5 / 7
l3regex: TEX Ͱ࣮͞Εͨਖ਼نදݱΤϯδϯ ϙΠϯτᶅ ࣮༻ੑ͕εΰΠ l3regex ҙ֎ͱʢʁʣී௨ͷϥΠϒϥϦ RGB ࢦఆΛղੳ͢Δྫ 1
\regex_extract_once:nnN 2 { \A rgb([0-9x])([0-9x])([0-9x]) \Z } 3 { #1 } \l_coloring_temp_seq Ͳ͜Ͱ͑Δͷʁ ▶ TEX Live, MiKTEX ಋೖࡁ ⇔ Overleaf Ͱ OK ▶ TEX ॲཧܥɿpdfTEX, (u)pTEX, X E TEX, LuaTEX ˠ͓͓Αͦͷ TEX ڥͰ࠷ॳ͔Βར༻Մೳʂ ʮTEX 1 ʹͯ͠ͳΒͣʯ 6 / 7
l3regex: TEX Ͱ࣮͞Εͨਖ਼نදݱΤϯδϯ ·ͱΊ l3regex: TEX Ͱ࣮͞Εͨਖ਼نදݱΤϯδϯ ϙΠϯτᶃ L A
TEX3 ͷҰ෦Ͱকདྷੑ͋Γ ϙΠϯτᶄ TEX ݴޠͰ࣮͞Ε͍ͯΔ ϙΠϯτᶅ ໌͔Β͑Δਖ਼نදݱϥΠϒϥϦ ৄࡉެࣜϦϑΝϨϯεΛࢀরɿ $ texdoc interface3 Thank you & Happy TEXing! 7 / 7