% [shabbat_shuvah_hebrew+english.tex]

% note the kerns that were necessary and left marginal notes
% 
%%%%%%%%%%%%%%%%   XETEX INPUTS    %%%%%%%%%%%%%

\input unicode_latin.mac
\input format_XETEX.mac 
\input macros.mac

\input petr_olsak.mac  % for marginal notes
\input my_fonts.mac   % libertine etc
%
\input additional.mac   % [\raggedleft]
\input unicode_hebrew.mac
\input my_hebrew_fonts.mac


\input pstricks  % need for centring
\input epsf      % need for importing eps
\input color   % this is part of the dpctex package. Allows typesetting text
                      %    in colour;  


%  KEEP BIDI UP HERE AND AFTER OTHER *.MAC
\input bidi  


% A = interline glue   If A < B then sets A to C  p. 134
\lineskiplimit = 2pt  % B     %    pg 134 they have  2pt plus .5pt
\lineskip= 1.8pt         % C     %      pg 134 they have 1pt

%%%%%%%%%%%%%%%%    END  INPUTS    %%%%%%%%%%%%%

%%%%%%%%%%%%%%%%    VARIOUS COMMANDS    %%%%%%%%%%%%%

\topglue  0pt       % p. 156 Hosea  14:2 - 10   
\topskip  18pt      

\overfullrule=0pt
\tracingoutput  = 0   % file - minimum information ( =1  for full)
\tracingonline  = 0   % screen - minimum information ( =1  for full

%%%%%%%%%%%%%%%%   END  VARIOUS COMMANDS    %%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%    DIMENSIONS    %%%%%%%%%%%%%
\pdfpageheight=11truein
\pdfpagewidth= 8.5truein   

\vsize =  8.50 in       
{\hsize = 5.94 in    

\voffset =   0.5 truecm  %1.0truecm  
\hoffset = 0.70truecm  

\baselineskip = 16.5pt    % default = 12pt	
\nopagenumbers

%  MOVED IN FROM [FORM_ENGLISH_WITH HEBREW] 2018.09.14

%%%%%%%%%%%%%%%%%   END DIMENSIONS    %%%%%%%%%%%%%
%      [FORM_ENGLISH_with_HEBREW.tex]
%  Here \rm encloses everything
%  For short Hebrew use: \RL{Hebrew text}
%  For longer Hebrew use \setRL and \LR{English text}

%  HAVE TO GO BACK TO MAINLY ENGLISH WITH \SETLR


%%%%%%%%%%%%%%%%%  SPECIAL HEBREW FONT DEFINITIONS    %%%%%%%%%%%%%
%                      keep these definitions here
\def\H{\sblBBB}  %  SBL at 20pt  main Hebrew


\def\Q{\RL{\bffourteen ?}}  % TO PUT A question mark
% THIS PUT ? IN RIGHT ORDER
% FOR BRACKETS, PARENTHESES: eh? second goes same way as first! 
%\RL{\bffourteen \m\r\y\`\ \q\l\y\ [\n\gl\Q( \g}.

\def\hn{\sblbbbbbb}   %   15pt hebrew for marginal notes

% new first letters for Hebrew and English
\def\firstH{\frbfBBBBBB} %  
\def\firstE{\bfeighteen  } 

\def\shema{\sbeighteen} %   20,22 too big


%%%%%%%%%%%%%%%%%  END SPECIAL HEBREW FONT DEFINITIONS    %%%%%%%%%%%%%


{\rm   % 12.5 | \bf = 12.5 | \it =13.0 | \bi = 13.5 
%
{\verysmall .}
\vskip -20pt\nin
{\centerline{\hbox to -4pt{} %  playing with centring to match English
\RL
{\sblCC
שבת  שובה
                } }   % English title
\mni
\centerline{\bftwenty Adath Shalom Tradition}
\mni
\centerline{\bftwenty{ {\bitwenty Hosea}\Th 14:\th 2--10\TH \&\Th 
{\bitwenty Micah}\Th  7:\th
18--20}}
%
\vskip25pt\nin                                                           % C = 35pt  H = 20pt
%
\centerline{\RL{\sblC   הושע}}   
\mni
\centerline{\bftwenty {\bitwenty Hosea}   14:2\Th-\Th 10}
%
\mni
\baselineskip = 18.5pt   % for hebrew
\setRL
\sni 
%{\rm  18:27\TH}   \DO SEARCH AND REPLACE ON NUMBERS. NO NEED TO HIGHLIGHT, KEEP CHANGING
    %  IT ABSOLUTELY NEEDS A \PAR. \NIN IS NOT GOOD ENOUGH
{\H
%\rightskip = 1cm %   IF WANT TO INDENT FOR MARGINAL NOTES
%
\raggedleft  % in [macros.mac]
                   \fixmnotes\right
%                                               NOTE GOES BEFORE TEXT
                   \mnoteskip = 4pt
                   \mnote{\rm  14:2\TH}  %  MOVE UP for double notes
                   \kern -12pt
{\firstH                   
 שׁ֚וּבָה 
 } \kern -5pt % have to move right
 יִשְׂרָאֵ֔ל עַ֖ד יְהוָ֣ה אֱלֹהֶ֑יךָ כִּ֥י כָשַׁ֖לְתָּ בַּעֲוֺנֶֽךָ׃ 
                   \mnoteskip = -21pt\mnote{\rm  14:3\TH}  %   14.3 STARTS ON NEXT LINE
 קְח֤וּ עִמָּכֶם֙ דְּבָרִ֔ים 
וְשׁ֖וּבוּ אֶל־יְהוָ֑ה אִמְר֣וּ אֵלָ֗יו כָּל־תִּשָּׂ֤א עָוֺן֙ וְקַח־ט֔וֹב וּֽנְשַׁלְּמָ֥ה פָרִ֖ים 
שְׂפָתֵֽינוּ׃ 
                   \mnote{\rm  14:4\TH} 
אַשּׁ֣וּר ׀ לֹ֣א יוֹשִׁיעֵ֗נוּ עַל־סוּס֙ לֹ֣א נִרְכָּ֔ב וְלֹא־נֹ֥אמַר ע֛וֹד אֱלֹהֵ֖ינוּ 
לְמַעֲשֵׂ֣ה יָדֵ֑ינוּ אֲשֶׁר־בְּךָ֖ יְרֻחַ֥ם יָתֽוֹם׃
 \mnote{\rm  14:5\TH}
אֶרְפָּא֙ מְשׁ֣וּבָתָ֔ם אֹהֲבֵ֖ם נְדָבָ֑ה כִּ֛י שָׁ֥ב 
אַפִּ֖י מִמֶּֽנּוּ׃ 
 \mnote{\rm  14:6\TH}
אֶהְיֶ֤ה כַטַּל֙ לְיִשְׂרָאֵ֔ל יִפְרַ֖ח כַּשּֽׁוֹשַׁנָּ֑ה וְיַ֥ךְ שָׁרָשָׁ֖יו 
כַּלְּבָנֽוֹן׃
 \mnote{\rm  14:7\TH}
יֵֽלְכוּ֙ יֹֽנְקוֹתָ֔יו וִיהִ֥י כַזַּ֖יִת הוֹד֑וֹ וְרֵ֥יחַֽ ל֖וֹ 
\break
כַּלְּבָנֽוֹן׃
 \mnote{\rm  14:8\TH}
יָשֻׁ֙בוּ֙ 
יֹשְׁבֵ֣י בְצִלּ֔וֹ יְחַיּ֥וּ דָגָ֖ן וְיִפְרְח֣וּ כַגָּ֑פֶן זִכְר֖וֹ כְּיֵ֥ין לְבָנֽוֹן׃
 %  have to leave 14:9 here but move down
 %\mnoteskip = -21pt
 \mnote{\rm  14:9\TH}
אֶפְרַ֕יִם מַה־לִּ֥י 
ע֖וֹד לָֽעֲצַבִּ֑ים אֲנִ֧י עָנִ֣יתִי וַאֲשׁוּרֶ֗נּוּ אֲנִי֙ כִּבְר֣וֹשׁ רַֽעֲנָ֔ן מִמֶּ֖נִּי פֶּרְיְךָ֥ 
נִמְצָֽא׃ 
 \mnote{\rm  14:10\TH}
מִ֤י חָכָם֙ וְיָ֣בֵֽן אֵ֔לֶּה נָב֖וֹן וְיֵֽדָעֵ֑ם כִּֽי־יְשָׁרִ֞ים דַּרְכֵ֣י יְהוָ֗ה וְצַדִּקִים֙ 
יֵ֣לְכוּ בָ֔ם וּפֹשְׁעִ֖ים
\break
יִכָּ֥שְׁלוּ בָֽם׃ 
\par}
%
%
% start again because \raggedleft does not carry over
%
\vskip 1.0truecm\nin
%
%                   I switched \RL to after seemed to affect spacing
\centerline{\RL{\sblC   מיכה}}
\mni
\centerline{\LR{\bftwenty {\bitwenty Micah 7:18\Th-\Th 20} } } 
%
\setRL
\mni     %  IT ABSOLUTELY NEEDS A \PAR. \NIN IS NOT GOOD ENOUGH
%
{\H
\raggedleft  % in [macros.mac]
                          \fixmnotes\right
%              
                          \mnoteskip = 4pt
                          \mnote{\rm  7:18\TH} 
\kern -12pt
{\firstH
מִי־אֵ֣ל 
}\kern -3pt %have to pull right
כָּמ֗וֹךָ נֹשֵׂ֤א עָוֺן֙ וְעֹבֵ֣ר עַל־פֶּ֔שַׁע לִשְׁאֵרִ֖ית נַחֲלָת֑וֹ
לֹא־הֶחֱזִ֤יק לָעַד֙ אַפּ֔וֹ 
כִּֽי־חָפֵ֥ץ חֶ֖סֶד הֽוּא׃ 
                         \mnote{\rm  7:19\TH} 
יָשׁ֣וּב יְרַֽחֲמֵ֔נוּ 
\break
יִכְבֹּ֖שׁ עֲוֺֽנֹתֵ֑ינוּ וְתַשְׁלִ֛יךְ בִּמְצֻל֥וֹת יָ֖ם 
כָּל־חַטֹּאותָֽם׃ 
%
\fixmnotes\left           % want on LEFT
              \mnoteskip = 13pt\mnote{ \kern -14pt\LR{{\rmfourteen extra}\Th {\hn \w}
                    {\rmfourteen in}\hbox to 6pt{} {\hn חַטֹּאותָֽם}}}   
%
\fixmnotes\right   % back to right
\mnote{\rm  7:20\TH} 
תִּתֵּ֤ן אֱמֶת֙ לְיַֽעֲקֹ֔ב חֶ֖סֶד לְאַבְרָהָ֑ם אֲשֶׁר־נִשְׁבַּ֥עְתָּ לַאֲבֹתֵ֖ינוּ מִ֥ימֵי 
קֶֽדֶם׃ 
\par}
%
\vskip -28truept\nin


\baselineskip = 16.5pt  

%\FOR ENGLISH AGAIN
%
\setLR
\pni     %  IT ABSOLUTELY NEEDS A \PAR. \NIN IS NOT GOOD ENOUGH
% FOR ENGLISH QUOTES/TRANSLATIONS

\mni
%
\centerline {\bftwenty {\bitwenty Hosea}\Th 14:\th 2--10}
\mni
{\rmfourteen  %make a little larger
\raggedright
%
\fixmnotes\left
 \mnote{\rm   14:2\TH}
\kern -7pt{\firstE Return}, O Israel, to the LORD your God, for you have fallen 
because of your sin.
\mnote{\rm   14:3\TH}
Take words with you And return to the LORD. Say to Him: “Forgive all guilt and accept what is good; instead 
of bulls we will pay \[the offering of\] our lips".
 \mnote{\rm   14:4\TH}
Assyria shall not save us, no more will we ride on steeds; nor ever again will we call our handiwork our god, 
since in You alone orphans find pity!”
 \mnote{\rm   14:5\TH}
I will heal their affliction, generously will I take them back in love; for my anger has turned away from 
them.
 \mnote{\rm   14:6\TH}
I will be to Israel like dew; he shall blossom like the lily, he shall strike root like a Lebanon tree.
\mnote{\rm   14:7\TH}
His boughs shall spread out far, his beauty shall be like the olive tree’s, his fragrance like that of 
Lebanon.
 \mnote{\rm   14:8\TH}
They who sit in his shade shall be revived: they shall bring to life new grain, they shall blossom like the 
vine; his scent shall be like the wine of Lebanon.
 \mnote{\rm   14:9\TH}
Ephraim \[shall say\]: “What more have I to do with idols? When I respond and look to Him, I become like a 
verdant cypress.” Your fruit is provided by Me.
\mnote{\rm   14:10\TH}
He who is wise will consider these words, He who is prudent will take note of them. For the paths of the LORD 
are smooth; The righteous can walk on them, While sinners stumble on them. 
%
\vskip 0.8truecm\nin
%
\centerline{\bftwenty{\bitwenty Micah}\Th  7:\th 18-20}
 \mni
 \mnote{\rm  7:18\TH}
\kern -7pt{\firstE Who} is a God like You, forgiving iniquity and remitting 
transgression; who has not 
maintained His wrath forever against the remnant of His own people, because He loves graciousness!
 \mnote{\rm  7:19\TH}
He will take us back in love; He will cover up our iniquities, You will hurl all our sins Into the depths of 
the sea.
 \mnote{\rm  7:18\TH}
You will keep faith with Jacob, loyalty to Abraham, as You promised on oath to our fathers In days gone by.
% 
%
\vskip 2.0truecm
\item{} The Hebrew text is from: {\tt Westminster Leningrad Codex [4.20]} from {\tt http://tanach.us/}.
\sni
\item{} The English text is that of the Jewish Publication Society, {\it The 
Prophets\/}
\item{}from {\tt https://www.sefaria.org/}.
%
} % end \rmfourteen
%
\end  % it says to put, probably to end \bidi
\vfill\eject 
 }       % end \rm
\par} % ends \hsize
	    \bye

	    
	    
