From: Tan Kian-ting Date: Wed, 22 Nov 2023 15:51:28 +0000 (+0800) Subject: initial added X-Git-Url: https://git.kianting.info/?a=commitdiff_plain;h=c432024c6eabf7a9aa1d03e35cf12691ccc5e916;p=typst-dictionary-template initial added --- c432024c6eabf7a9aa1d03e35cf12691ccc5e916 diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..771cd4e --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,8 @@ +Copyright 2023 Tan, Kian-ting + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/dictionary.pdf b/dictionary.pdf new file mode 100644 index 0000000..36ee898 Binary files /dev/null and b/dictionary.pdf differ diff --git a/dictionary.typ b/dictionary.typ new file mode 100644 index 0000000..b5cab01 --- /dev/null +++ b/dictionary.typ @@ -0,0 +1,117 @@ + + +#let item(word) = { + [#strong(word) #label("item") #box(width:0.2em)] +} + + +#let pos(word) = {text(style: "italic")[#word]} + +#set par(justify: true) + +#set page( + paper : "a5", + margin: (top: 32pt, bottom: 20pt), + numbering: "1", + number-align: center+top, + header: locate(loc => { + + + let elems = query(,loc).filter(x=>{x.location().position().page == loc.position().page}).last().body; + let first = query(,loc).filter(x=>{x.location().position().page == loc.position().page}).at(0).body; + let last = query(,loc).filter(x=>{x.location().position().page == loc.position().page}).last().body; + +grid( + columns: (0.333333fr, 0.333333fr, 0.333333fr), + +text(style: "italic")[#first #h(1fr)], +[ #h(1fr) #loc.position().page #h(1fr)], +text(style: "italic")[ #h(1fr) #last], +) + +}), +) + + +#columns(2, gutter: 1.5em)[ + + + + +#item[á] #pos[part.] 1.(suffix; diminitive of noun) _gín-á_ kids 2. (midfix; in certain compounds) _bóo-á-kiánn_ wife and children 3. (midfix; indicating $x$ has $y$) _kiô-á-thâu_ end of a bridge + +#item[ah] #pos[n.] duck. _ah-á thiann lûi_ _(idiom)_ someone's saying is not understandable like a duck hearing a storm. + +#item[-/* block */-ah] #pos[part.] (indicating the action has been done) _kàu-/* block */-ah_ (one) arrived + +#item[A-tsiu] #pos[n.] Asia. + +#item[Bí-kok] #pos[prop. n.] America. + +#item[cheⁿ] #pos[v.] to argue. + +#item[chheⁿ-sîn] #pos[n.] stars. + +#item[ê] #pos[class.] (classifier for general nouns) _tsi̍t ê lâng_ one person. + +#item[ê] #pos[part.] (changes the preceding noun or pronoun into genitive); ’s. _góa ê bāng_ my dream Notes: while preceding by a noun, the particle should be in zero tone. eg. _Tâi-oân-/**/-ê soaⁿ_ mountains of Taiwan. + +#item[ê] #pos[n.] shoe + +#item[gû] #pos[n.] cow; ox + +#item[hó] #pos[a.] good + +#item[i] #pos[pron.] third-single pronoun; s/he; it + +#item[ji̍h] #pos[v.] to press + +#item[Ji̍t-pún] #pos[prop. n.] Japan + +#item[Ko-hiông] #pos[prop. n.] Kaohsiung + +#item[khì] #pos[v.] to go out (to a place as a object) _lí ū khì Ji̍t-pún_ you have gone to Japan. Note: if the object is omitted, one should use "lâi-khì" instead. + +#item[lí] #pos[pron.] you (singular) + +#item[lí-á] #pos[n.] plum + +#item[mn̂g] #pos[n.] door + +#item[mn̄g] #pos[v.] to ask + +#item[ô] #pos[n.] oyster + +#item[ôo] #pos[n.] lake + +#item[pak] #pos[v.] to strip + +#item[phak] #pos[v.] to lie with face downwards + +#item[tī-leh] #pos[part.] (in the process of, be ...ing) _i tī-leh chia̍h pháng_ s/he's eating bread. #pos[v.] to exist. _A-bêng tī-leh._ A-bêng is here. + +#item[Tâi-tang] #pos[prop. n.] Taitung + +#item[Tâi-tiong] #pos[prop. n.] Taichung + +#item[Tâi-lâm] #pos[prop. n.] Tainan + + +#item[Tâi-oân] #pos[prop. n.] Taiwan + +#item[Tâi-pak] #pos[prop. n.] Taipei + +#item[tàn] #pos[v.] to throw. + +#item[thit-thô] #pos[v.] to play. _thit-thô mi̍h-á_ toy. + +#item[Thô-hn̂g] #pos[prop. n.] Taoyuan + +#item[Tiong-kok] #pos[prop. n.] China. + +#item[tsháu] #pos[n.] grass. + +#item[tshit] #pos[num.] seven; 7. + + +]