Upgrade to Pro — share decks privately, control downloads, hide ads and more …

日本語化プロジェクト 〜TeX Live と learnlatex​.org〜 / localize

Watson
November 21, 2020

日本語化プロジェクト 〜TeX Live と learnlatex​.org〜 / localize

Watson

November 21, 2020
Tweet

More Decks by Watson

Other Decks in Programming

Transcript

  1. ೔ຊޠԽϓϩδΣΫτ ʙTEX Live ͱ learnlatex.orgʙ ࣗݾ঺հ ே૔୎ਓ (wtsnjp) ▶ ౦ژେֶͰࣗવݴޠॲཧΛݚڀ

    (D1) ▶ ࣗવݴޠதͷ਺͕ࣜݚڀର৅ ▶ L A TEX ύοέʔδ੍࡞ ▶ TEX Live νʔϜʢTexdoc ͷอकʣ ▶ ࠷ۙͷ TEX ׆ಈ ▶ ύοέʔδ։ൃ͸ࡉʑʜʜ ྫ BXjaholiday, BXghost ▶ llmk ͷ։ൃɾอक ▶ ๭ֶձ༻ͷจॻΫϥε࡞੒ ▶ TEX Live ΍ TEX քͷυΩϡϝϯτ੔උ ▶ ޷͖ͳϘλϯͷ৭ɿ੨ 2 / 12
  2. ೔ຊޠԽϓϩδΣΫτ ʙTEX Live ͱ learnlatex.orgʙ υΩϡϝϯτ೔ຊޠԽͷϞνϕʔγϣϯ ɹ ɹ ΠΠΧήϯͳ৘ใͷ൙ཞ ɹ

    ɹ ɹ ɹ ݹ͍৘ใͷ൙ཞ ɹ ɹ ɹ ɹ ӳޠͳΜ͔ಡΈͨ͘ͳ͍ ɹ ɹ ɹ ɹ ೔ຊޠυΩϡϝϯτͷ֦ॆ ɹ ɹ 3 / 12
  3. ೔ຊޠԽϓϩδΣΫτ ʙTEX Live ͱ learnlatex.orgʙ TEX Live ͷ೔ຊޠԽ ೔ຊޠԽͨ͠΋ͷ ▶

    ެࣜυΩϡϝϯτ TEX Live Guide ▶ Πϯϑϥɾπʔϧ ( ‌ install-tl ‌ , ‌ tlshell ‌ ) ຋༁ʁ ೔ຊޠԽʁ ▶ ୯ʹʮӳޠΛ೔ຊޠʹ༁͢ʯ͚ͩͰ͸ෆे෼ ▶ GUI ͷ஍ҬԽͰ͸ޠॱͷҧ͍͔Βద੾ͳද͕ࣔ೉͍͜͠ͱ΋ cf. ࠃࡍԽ (i18n) ͱ஍ҬԽ (l10n) ྫ ▶ ೔ຊޠ૊൛ʹಛ༗ͷΤϯδϯࣄ৘΁ͷݴٴ ʢpTEX ܥྻͷଘࡏɼpdfTEX Ͱ೔ຊޠ૊൛͸Ͱ͖ͳ͍ʣ ▶ ϝοηʔδจࣈྻ΁ͷϓϨʔεϗϧμ௥Ճ 4 / 12
  4. ೔ຊޠԽϓϩδΣΫτ ʙTEX Live ͱ learnlatex.orgʙ TEX Live ΨΠυͷ೔ຊޠԽ The TEX

    Live Guide ▶ Karl Berry ࢯ͕ฤࢊ͢Δ TEX Live ͷެࣜυΩϡϝϯτʢӳޠʣ ▶ ೔ຊޠͷલʹ 8 ϲࠃޠͷ຋༁͕ଘࡏ ʢνΣίɾεϩόΩΞޠɼυΠπޠɼϑϥϯεޠɼΠλϦΞޠɼ ϙʔϥϯυޠɼϩγΞޠɼηϧϏΞޠɼ؆ମࣈதࠃޠʣ ಺༰ ▶ جૅ஌ࣝʢTEX Live ͱ͸Կ͔ɼTEXMF πϦʔɼแؚπʔϧʣ ▶ Πϯετʔϧํ๏ʢެࣜΠϯετʔϥ ‌ install-tl ‌ Λ࢖༻ʣ ▶ TEX Live Ϛωʔδϟ ( ‌ tlmgr ‌ ) ͱ Kpathsea ͷ؆୯ͳ঺հ ▶ มߋཤྺʢϦϦʔεϊʔτʣ 5 / 12
  5. ೔ຊޠԽϓϩδΣΫτ ʙTEX Live ͱ learnlatex.orgʙ ೔ຊޠ൛ TEX Live ΨΠυ ೔ຊޠ൛ͷ੍࡞

    ▶ 2019 ೥ 4 ݄ʹ຋༁։࢝ɽ2019 ೥ 7 ݄׬ྃ ▶ 2020 ೥൛͸ӳޠ 45 ϖʔδˠ೔ຊޠ 67 ϖʔδ ಠࣗͷ಺༰ ʮ೔ຊޠ TEX Ϣʔβ޲͚ͷϊʔτʯίϥϜͱͯ͠໌ࣔɿ ▶ αϙʔτ৘ใͷࡏΓॲ ʢTEX WikiɼTEX ϑΥʔϥϜɼελοΫɾΦʔόʔϑϩʔʣ ▶ ೔ຊޠ૊൛޲͚ͷ TEX ॲཧܥ΁ͷݴٴ ▶ ࿨จϑΥϯτઃఆ΁ͷݴٴ cf. ‌ kanji-config-updmap ‌ https://github.com/wtsnjp/texlive-ja 6 / 12
  6. ೔ຊޠԽϓϩδΣΫτ ʙTEX Live ͱ learnlatex.orgʙ ؔ࿈࿩୊ᶃ Texdoc ͱ೔ຊޠυΩϡϝϯτ υΩϡϝϯτݕࡧπʔϧ Texdoc

    ▶ TEX Live ಺ͷυΩϡϝϯτΛݕࡧ͢ΔίϚϯυϥΠϯπʔϧ ▶ ϩʔΧϧʹ TEX Liveʢdoc πϦʔʣ͕ͳ͍৔߹ˠ texdoc.net $ texdoc ⟨Ωʔϫʔυ⟩ TEX Live ಺ͷ೔ຊޠυΩϡϝϯτ ▶ ೔ຊޠؔ࿈ϓϩμΫτͷϚχϡΞϧྨʢҰ෦։ൃऀ޲͚ʣ ྫ pTEX, LuaTEX-ja, JBIBTEX, kanji-config-updmap ▶ ӳޠυΩϡϝϯτྨͷ೔ຊޠ൛ ྫ pL A TEX2 νʔτγʔτɼL A TEX2 ΁ͷಓ (jlshort) ▶ cf. TEX Live υΩϡϝϯτҊ಺ https://qiita.com/wtsnjp/items/f8d853cccb9fd95b012c 7 / 12
  7. ೔ຊޠԽϓϩδΣΫτ ʙTEX Live ͱ learnlatex.orgʙ ؔ࿈࿩୊ᶄ ͦͷଞͷ೔ຊޠυΩϡϝϯτ ೔ຊޠ TEX ։ൃίϛϡχςΟެࣜυΩϡϝϯτू

    ▶ TEX σΟετϦϏϡʔγϣϯͷΠϯετʔϧɾઃఆํ๏ ▶ ೔ຊޠ TEX ։ൃίϛϡχςΟ (texjporg) ͷ׆ಈ಺༰ https://texjporg.github.io/ L A TEX ϓϩδΣΫτͷίΞɾυΩϡϝϯτʢ౻ଜࢯͷ຋༁ʣ ▶ ஶऀͷͨΊͷ L A TEX2 ▶ amsmath ύοέʔδϢʔβΨΠυ ▶ ͸΍Θ͔Γ L A TEX Ͱ਺ࣜ૊൛ https://www.latex-project.org/help/documentation/ 8 / 12
  8. ೔ຊޠԽϓϩδΣΫτ ʙTEX Live ͱ learnlatex.orgʙ TEX Live Πϯϑϥͷ೔ຊޠԽ Πϯετʔϥ (

    ‌ install-tl ‌ ) GUI ൛ tlmgr ( ‌ tlshell ‌ ) ▶ GNU gettext ʹΑΔଟݴޠԽʢ೔ຊޠͷ৔߹ ‌ ja.po ‌ Λฤूʣ ▶ 2015 ೥·Ͱԣాࢯ͕຋༁ɾอक ˠ 2019 ೥͔ΒҾ͖ܧ͗ ▶ ༁ޠͷશମతͳݟ௚͠ɾ࠷৽όʔδϣϯ΁ͷରԠ https://github.com/wtsnjp/tl-translation-ja 9 / 12
  9. ೔ຊޠԽϓϩδΣΫτ ʙTEX Live ͱ learnlatex.orgʙ learnlatex.org ຊՈ learnlatex.orgʢӳޠ൛ʣʹ͍ͭͯ ▶ L

    A TEX νʔϜ͕த৺ͱͳͬͯࣥචɾฤू ▶ ެ͔ࣜͭྑ࣭ͷೖ໳ऀ޲͚ίϯςϯπͷ੔උ͕໨ඪ ▶ OverleafɾLaTeX Online ͱ࿈ܞ͠ɼϘλϯ 1 ͭͰʮྫʯΛͦͷ ··ฤू͠ɼ࣮ࡍʹ L A TEX Ͱॲཧͯ͠ΈΔ͜ͱ͕Մೳ Ϩοεϯ໨࣍ ͦΕͧΕʹʮϝΠϯϨοεϯʯͱʮ௥ՃϨοεϯʯ͋Γ 1. L ATEX ͱ͸Կ͔ʁ L ATEX ͸Ͳ͏ಈ͔͘ʁ 2. L ATEX Λ࢖༻͢Δ 3. ͸͡Ίͯͷ L ATEX จॻ 4. จॻͷ࿦ཧߏ଄ 5. จॻΫϥεΛར༻ͨ͠σβΠϯͷมߋ 6. ύοέʔδͱίϚϯυఆٛ 7. άϥϑΟοΫεͷૠೖͱʮϑϩʔτʯ 8. ද૊Έ 9. ૬ޓࢀর 10. ਺ࣜ 11. ϑΥʔϚοτͷมߋɿϑΥϯτͱεϖʔγϯά 12. ࢀߟจݙͷҾ༻ 13. ΑΓେ͖ͳจॻΛ࡞Δ 14. ϑΥϯτͷબ୒ͱ Unicode Τϯδϯͷར༻ 15. Τϥʔ΁ͷରॲ 16. υΩϡϝϯτ΁ͷΞΫηεํ๏ͱϔϧϓͷٻΊํ 10 / 12
  10. ೔ຊޠԽϓϩδΣΫτ ʙTEX Live ͱ learnlatex.orgʙ ೔ຊޠ൛ learnlatex.org ͷํ਑ ೔ຊޠ൛ͷ೉͠͞ ▶

    ֤ࠃޠ൛Ͱ͸ɼίʔυྫ͸ݪଇ͸຋༁ͤͣӳޠͷ·· ˠ೔ຊޠ൛Ͱ͸ྫ΋຋༁͠ͳ͍ͱخ͕͠͞൒ݮ ▶ ຊՈ learnlatex.org ͸ pdfTEX ʴ article Ϋϥε͕લఏ ˠ೔ຊޠ૊൛ͷ৔߹ɼ·ͣ࢖༻͢Δ TEX Τϯδϯ͔ΒҟͳΔ جຊతͳํ਑ʢӳޠ൛ˠ೔ຊޠ൛ʣ ▶ جຊϫʔΫϑϩʔɿpdfTEX ˠ pTEX ʴ dvipdfmx ▶ جຊจॻΫϥεɿarticle ˠ jsarticle ▶ Unicode ΤϯδϯɿX E TEX, LuaTEX ˠ upTEX, LuaTEX-ja ௥Ճ ▶ ֦ுจॻΫϥεɿKOMA-script, memoir ˠ jlreq ௥Ճ 11 / 12
  11. ೔ຊޠԽϓϩδΣΫτ ʙTEX Live ͱ learnlatex.orgʙ ೔ຊޠԽϓϩδΣΫτͷະདྷ TEX Live ͷ೔ຊޠԽ ▶

    ׬ྃࡁΈɽࠓޙ͸ओʹอकɽఏҊΛ׻ܴ ▶ ͍ͣΕίϛϡχςΟʹҠ؅͍ͨ͠ ೔ຊޠ൛ learnlatex.org ▶ ϝΠϯϨοεϯͷ຋༁ਐ௙͸໿ 50% ▶ ೥಺ͷϝΠϯϨοεϯͷ຋༁׬͕ྃ໨ඪ ˠ௥ՃϨοεϯ΍೔ຊޠಠࣗίϯςϯπ͸ޙճ͠ ೔ຊޠυΩϡϝϯτͷ֦ॆ ▶ υΩϡϝϯτ΁ͷߩݙ͸ OSS ։ൃࢀՃ΁ͷୈҰา ▶ ͔͠͠ʮ୯ͳΔ຋༁ʯͰࡁΉ৔߹͸ك ▶ ຋༁͍ͨ͠υΩϡϝϯτ͕ՄࢹԽͰ͖͍ͯΔͱ͍͍͔΋ ྫ ‌ tlmgr ‌ ͷϚχϡΞϧ 12 / 12