<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%
% Example of XeLaTeX, polyglossia, Noto fonts and upmendex
%   in Latin, CJK (Chinese, Japanese, Korean), Cyrillic, Greek,
%      Devanagari, Thai, Arabic and Hebrew
%
%
% Copyright (C) 2022 TANAKA Takuji
% You may freely use, modify and/or distribute this file.
%
\documentclass[a4paper]{article}

\usepackage{fontspec}
\usepackage{polyglossia}
\usepackage{makeidx}
\makeindex

\setlength{\textheight}{135mm}

\setdefaultlanguage{english}
\setromanfont{Noto Serif}
\setmainfont{Noto Serif}
\newfontfamily\cyrillicfont{Noto Serif}
\setotherlanguage{russian}
\newfontfamily\greekfont{Noto Serif}
\setotherlanguage{greek}
\newfontfamily\japanesefont{Noto Serif CJK JP}[Language=Japanese,Script=CJK]
\setotherlanguage{japanese}
\newfontfamily\koreanfont{Noto Serif CJK KR}[Language=Korean,Script=Hangul]
\setotherlanguage{korean}
\newfontfamily\hindifont{Noto Serif Devanagari}[Language=Hindi,Script=Devanagari]
\setotherlanguage{hindi}
\newfontfamily\thaifont{Noto Serif Thai}[Language=Thai,Script=Thai]
\setotherlanguage{thai}
\newfontfamily\hebrewfont{Noto Serif Hebrew}[Script=Hebrew]
\setotherlanguage{hebrew}
\newfontfamily\arabicfont{Noto Naskh Arabic}[Script=Arabic]
\setotherlanguage{arabic}
%\newfontfamily\chinesefont{Noto Serif CJK TC}[Script=CJK]
\newfontfamily\chinesefont{Noto Serif CJK SC}[Script=CJK]
\setotherlanguage{chinese}

\parindent1em
\pagestyle{empty}
\begin{document}
\thispagestyle{empty}
\section{Latin}
This is an English text.

%upmendex\index{upmendex}.
%Install of upmendex\index{upmendex!Install@Install of ---}.
%Usage of upmendex\index{upmendex!Usage@Usage of ---}.
%Usage of upmendex for beginners\index{upmendex!Usage@Usage of ---!for beginners@--- for beginners}.
%Usage of upmendex for experts\index{upmendex!Usage@Usage of ---!for experts@--- for experts}.

%Number: 3.14159265\index{3.14159265}, 2.71828182\index{2.71828182}.
%Symbol: \$\index{\$}, â‚¬\index{â‚¬}, Â¥\index{Â¥}.
Number: 3.14159265\index{3.14159265}.
Symbol: â‚¬\index{â‚¬}.

SÃ£o Paulo\index{SÃ£o Paulo}.
%Ciudad de MÃ©xico\index{Ciudad de MÃ©xico}.
%New York\index{New York}.
%Buenos Aires\index{Buenos Aires}.
Ä°stanbul\index{Ä°stanbul}.
%Rio de Janeiro\index{Rio de Janeiro}.
%London\index{London}.
%Manila\index{Manila}.
%Paris\index{Paris}.
%Berlin\index{Berlin}.

\section{CJK}
\subsection{Japanese (Kana, Kanji)}
\begin{japanese}
ã“ã‚Œã¯æ—¥æœ¬èªžã®ãƒ†ã‚­ã‚¹ãƒˆã§ã™ã€‚

%upmendex\index{upmendex}ã€‚
%upmendexã®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«\index{upmendex!ã®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«@---\textjapanese{ã®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«}}ã€‚
%upmendexã®ä½¿ã„æ–¹\index{upmendex!ã®ã¤ã‹ã„ã‹ãŸ@---\textjapanese{ã®ä½¿ã„æ–¹}}ã€‚
%upmendexã®ä½¿ã„æ–¹å…¥é–€ç·¨\index{upmendex!ã®ã¤ã‹ã„ã‹ãŸ@---\textjapanese{ã®ä½¿ã„æ–¹}!ã«ã‚…ã†ã‚‚ã‚“ã¸ã‚“@---\textjapanese{å…¥é–€ç·¨}}ã€‚
%upmendexã®ä½¿ã„æ–¹å¿œç”¨ç·¨\index{upmendex!ã®ã¤ã‹ã„ã‹ãŸ@---\textjapanese{ã®ä½¿ã„æ–¹}!ãŠã†ã‚ˆã†ã¸ã‚“@---\textjapanese{å¿œç”¨ç·¨}}ã€‚

æ±äº¬\index{ã¨ã†ãã‚‡ã†@æ±äº¬}ã€‚
%æ¨ªæµœ\index{ã‚ˆã“ã¯ã¾@æ¨ªæµœ}ã€‚
%å¤§é˜ª\index{ãŠãŠã•ã‹@å¤§é˜ª}ã€‚
%åå¤å±‹\index{ãªã”ã‚„@åå¤å±‹}ã€‚
%æœ­å¹Œ\index{ã•ã£ã½ã‚@æœ­å¹Œ}ã€‚
%ç¦å²¡\index{ãµããŠã‹@ç¦å²¡}ã€‚
%å·å´Ž\index{ã‹ã‚ã•ã@å·å´Ž}ã€‚
%ç¥žæˆ¸\index{ã“ã†ã¹@ç¥žæˆ¸}ã€‚
%äº¬éƒ½\index{ãã‚‡ã†ã¨@äº¬éƒ½}ã€‚
ã•ã„ãŸã¾\index{ã•ã„ãŸã¾}ã€‚
\end{japanese}

\subsection{Korean (Hangul, Hanja)}
\begin{korean}
ì´ê²ƒì€ í•œêµ­ì–´ í…ìŠ¤íŠ¸ìž…ë‹ˆë‹¤.

ì„œìš¸\index{ì„œìš¸}.
%ë¶€ì‚°(é‡œå±±)\index{ë¶€ì‚°@ë¶€ì‚°(é‡œå±±)}.
%ì¸ì²œ(ä»å·)\index{ì¸ì²œ@ì¸ì²œ(ä»å·)}.
%ëŒ€êµ¬(å¤§é‚±)\index{ëŒ€êµ¬@ëŒ€êµ¬(å¤§é‚±)}.
%ëŒ€ì&nbsp;„(å¤§ç”°)\index{ëŒ€ì&nbsp;„@ëŒ€ì&nbsp;„(å¤§ç”°)}.
%ê´‘ì£¼(å…‰å·ž)\index{ê´‘ì£¼@ê´‘ì£¼(å…‰å·ž)}.
%ìš¸ì‚°(è”šå±±)\index{ìš¸ì‚°@ìš¸ì‚°(è”šå±±)}.
í‰ì–‘(å¹³å£¤)\index{í‰ì–‘@í‰ì–‘(å¹³å£¤)}.
\end{korean}

\subsection{Chinese (Hanzi)}
\begin{chinese}
é€™æ˜¯ä¸­æ–‡æ–‡æœ¬ã€‚
è¿™æ˜¯ä¸­æ–‡æ–‡æœ¬ã€‚

åŒ—äº¬\index{åŒ—äº¬}ã€‚
%ä¸Šæµ·\index{ä¸Šæµ·}ã€‚
%å¤©æ´¥\index{å¤©æ´¥}ã€‚
%å»ˆé–€(åŽ¦é—¨)\index{å»ˆé–€(åŽ¦é—¨)}ã€‚
%æ·±åœ³\index{æ·±åœ³}ã€‚
%æˆéƒ½\index{æˆéƒ½}ã€‚
%æ­å·ž\index{æ­å·ž}ã€‚
%é¦™æ¸¯\index{é¦™æ¸¯}ã€‚
è‡ºåŒ—(å°åŒ—)\index{è‡ºåŒ—(å°åŒ—)}ã€‚
%é«˜é›„\index{é«˜é›„}ã€‚
%æ¡ƒåœ’(æ¡ƒå›­)\index{æ¡ƒåœ’(æ¡ƒå›­)}ã€‚
\end{chinese}

\section{Cyrillic}
\begin{russian}
Ð—Ð´ÐµÑÑŒ Ñ€ÑƒÑÑÐºÐ¸Ð¹ Ñ‚ÐµÐºÑÑ‚.

ÐœÐ¾ÑÐºÐ²Ð°\index{ÐœÐ¾ÑÐºÐ²Ð°}.
%Ð¡Ð°Ð½ÐºÑ‚-ÐŸÐµÑ‚ÐµÑ€Ð±ÑƒÑ€Ð³\index{Ð¡Ð°Ð½ÐºÑ‚-ÐŸÐµÑ‚ÐµÑ€Ð±ÑƒÑ€Ð³}.
%ÐÐ¾Ð²Ð¾ÑÐ¸Ð±Ð¸Ñ€ÑÐº\index{ÐÐ¾Ð²Ð¾ÑÐ¸Ð±Ð¸Ñ€ÑÐº}.
ÐšÐ¸Ñ—Ð²\index{ÐšÐ¸Ñ—Ð²}.
%ÐžÐ´ÐµÑÐ°\index{ÐžÐ´ÐµÑÐ°}.
%Ð¥Ð°Ñ€ÐºÑ–Ð²\index{Ð¥Ð°Ñ€ÐºÑ–Ð²}.
%Ð¡Ð¾Ñ„Ð¸Ñ\index{Ð¡Ð¾Ñ„Ð¸Ñ}.
%Ð‘ÐµÐ¾Ð³Ñ€Ð°Ð´\index{Ð‘ÐµÐ¾Ð³Ñ€Ð°Ð´}.
%Ð‘Ð¸ÑˆÐºÐµÐº\index{Ð‘Ð¸ÑˆÐºÐµÐº}.
%Ð¡ÐºÐ¾Ð¿Ñ˜Ðµ\index{Ð¡ÐºÐ¾Ð¿Ñ˜Ðµ}.
%ÐœÑ–Ð½ÑÐº\index{ÐœÑ–Ð½ÑÐº}.
%ÐÒ±Ñ€-Ð¡Ò±Ð»Ñ‚Ð°Ð½\index{ÐÒ±Ñ€-Ð¡Ò±Ð»Ñ‚Ð°Ð½}.
\end{russian}

\section{Greek}
\begin{greek}
Î•Î»Î»Î·Î½Î¹ÎºÏŒ ÎºÎµÎ¯Î¼ÎµÎ½Î¿ ÎµÎ´ÏŽ.

Î‘Î¸Î®Î½Î±\index{Î‘Î¸Î®Î½Î±}.
Î˜ÎµÏƒÏƒÎ±Î»Î¿Î½Î¯ÎºÎ·\index{Î˜ÎµÏƒÏƒÎ±Î»Î¿Î½Î¯ÎºÎ·}.
%Î&nbsp;Î¬Ï„ÏÎ±\index{Î&nbsp;Î¬Ï„ÏÎ±}.
%Î—ÏÎ¬ÎºÎ»ÎµÎ¹Î¿\index{Î—ÏÎ¬ÎºÎ»ÎµÎ¹Î¿}.
%Î›Î¬ÏÎ¹ÏƒÎ±\index{Î›Î¬ÏÎ¹ÏƒÎ±}.
\end{greek}

\section{Devanagari}
\begin{hindi}
à¤¯à¤¹ à¤¹à¤¿à¤¨à¥à¤¦à¥€ à¤ªà¤¾à¤&nbsp; à¤¹à¥ˆà¥¤

à¤®à¥à¤‚à¤¬à¤ˆ\index{à¤®à¥à¤‚à¤¬à¤ˆ}
à¤¦à¤¿à¤²à¥à¤²à¥€\index{à¤¦à¤¿à¤²à¥à¤²à¥€}
%à¤•à¥‹à¤²à¤•à¤¾à¤¤à¤¾\index{à¤•à¥‹à¤²à¤•à¤¾à¤¤à¤¾}
%à¤•à¤¾à¤¨à¤ªà¥à¤°\index{à¤•à¤¾à¤¨à¤ªà¥à¤°}
%à¤¬à¤‚à¤—à¤²à¥à¤°à¥\index{à¤¬à¤‚à¤—à¤²à¥à¤°à¥}
\end{hindi}

\section{Thai}
\begin{thai}
à¸™à¸µà¹ˆà¸„à¸·à¸­à¸‚à¹‰à¸­à¸„à¸§à¸²à¸¡à¸&nbsp;à¸²à¸©à¸²à¹„à¸—à¸¢

à¸à¸£à¸¸à¸‡à¹€à¸—à¸žà¸¡à¸«à¸²à¸™à¸„à¸£\index{à¸à¸£à¸¸à¸‡à¹€à¸—à¸žà¸¡à¸«à¸²à¸™à¸„à¸£}
à¸™à¸™à¸—à¸šà¸¸à¸£à¸µ\index{à¸™à¸™à¸—à¸šà¸¸à¸£à¸µ}
%à¸™à¸„à¸£à¸£à¸²à¸Šà¸ªà¸µà¸¡à¸²\index{à¸™à¸„à¸£à¸£à¸²à¸Šà¸ªà¸µà¸¡à¸²}
%à¹€à¸Šà¸µà¸¢à¸‡à¹ƒà¸«à¸¡à¹ˆ\index{à¹€à¸Šà¸µà¸¢à¸‡à¹ƒà¸«à¸¡à¹ˆ}
%à¸«à¸²à¸”à¹ƒà¸«à¸à¹ˆ\index{à¸«à¸²à¸”à¹ƒà¸«à¸à¹ˆ}
\end{thai}

\section{Arabic}
\begin{Arabic}%% "Arabic", not "arabic"

Ù‡Ø°Ø§ Ù†Øµ Ø¹Ø±Ø¨ÙŠ.

Ø¯Ø¨ÙŠ\index{Ø¯Ø¨ÙŠ}
Ø£Ø¨Ùˆ Ø¸Ø¨ÙŠ\index{Ø£Ø¨Ùˆ Ø¸Ø¨ÙŠ}
%Ø§Ù„Ø´Ø§Ø±Ù‚Ø©\index{Ø§Ù„Ø´Ø§Ø±Ù‚Ø©}
%ØªÙ‡Ø±Ø§Ù†\index{ØªÙ‡Ø±Ø§Ù†}
%Ù…Ø´Ù‡Ø¯\index{Ù…Ø´Ù‡Ø¯}
%Ø§ØµÙÙ‡Ø§Ù†\index{Ø§ØµÙÙ‡Ø§Ù†}

\end{Arabic}

\section{Hebrew}
\begin{hebrew}



×–×” ×˜×§×¡×˜ ×‘×¢×‘×¨×™×ª

×™×¨×•×©×œ×™×\index{×™×¨×•×©×œ×™×}
×ª×œ ××‘×™×‘\index{×ª×œ ××‘×™×‘}
%×—×™×¤×”\index{×—×™×¤×”}
%×¨××©×•×Ÿ ×œ×¦×™×•×Ÿ\index{×¨××©×•×Ÿ ×œ×¦×™×•×Ÿ}
%××©×“×•×“\index{××©×“×•×“}

\end{hebrew}


\printindex

\end{document}
</pre></body></html>