Open main menu

Changes

m
no edit summary
There is below an example of 5 pages printed mainly in English, where you can find Ancient Greek, Traditional Chinese and Arabic. This text is more than a MWE (''Minimum Working Example''), because it also contains footnotes, an header and a footer, as well as a framed text. But even if at first glance this page seems difficult for a beginner, you can practise with the code on this page. Details: the Arabic text is printed correctly, i.e. from right to left. You can adjust the size of the text with a number of commands concerning the number of lines per page, the font size, etc.
 
<context>
% ''We are writing an example of a text written in a Latin language, in which we want to print here and there some text in ancient Greek, Arabic and Chinese.(The sign '%' means that ConTeXT ignores the text or the command. It's a comment).''
%''{{cmd|\definefallbackfamily}}[mainface] [serif] [nafeesnastaleeq] [range=arabic]''
{{cmd|definefallbackfamily}}[mainface] [serif] [hussaininastaleeq] [range=arabic]
{{cmd|\TwoColumns}}
{{cmd|\quotation}}{I met Socrates," he said, "coming out of the bath with sandals on his feet, which is hardly his custom, and I asked him where he was going looking so good. He replied: "I'm going to Agathon's for dinner. Yesterday I avoided the party he gave in honour of his victory, because I was afraid of the crowds; but I promised to come the next day: that's why I dressed up; I wanted to look good so I could come to a good-looking man's house.}
{{cmd|stopTwoColumns}}
{{cmd|stoptext}}
<\context>
== See also ==
48

edits