Changes

Jump to navigation Jump to search
m
% ''% We are writing an example of a text written in a Latin language, in which we want to print here and there text in ancient Greek, Arabic and Chinese.(The sign '%' means that ConTeXT ignores the text or the command. It's a comment).''
{{cmd|setuplanguage}}[en][patterns={en,agr}]
{{cmd|setupbodyfontenvironment}}[default][em=italic]
% ''% Use Theano Didot as Ancient Greek font'' 
{{cmd|definefallbackfamily}}[mainface][serif][Theano Didot][preset=range:greek, it={Old Standard Italic}, force=yes]
{{cmd|setupcolors}}[state=start]
% ''% Definition of the frame style (at the end of the document'' 
{{cmd|defineframedtext}}
[MyFrame]
''% Using MPGraphic (MetaPost), with appropriate syntax''
 
{{cmd|startuseMPgraphic}}{MyFrame}
path b;
{{cmd|section}} {\sc Preamble}
% ''% Main textin English''
When it comes to submitting a document in a national language (as English, or German, or French), everything is fine. When it comes to writing a slightly complex document in any Romance language, but with quotations — or references — in another language, which in particular does not have the same requirements as your own Romance language, nor the same {\em diacritical marks}, we run into a few difficulties. Software suites such as Microsoft Office or LibreOffice are not lacking in power, but the truth is that as soon as we get into the requirements and detail of professional publishing, which consists of presenting a readable text enriched (with notes, etc.), the situation quickly becomes technically rather difficult. The most common situation we encounter in Philosophy, History, or and more generally in the Humanities, is that of a text in which there are quotations from Greek or Latin authors, with references in footnotes, which contain Greek, or even Arabic, or any other language. It could be something like this sample:
% ''% The quotation in ancient Greek is in a narrower style''
{{cmd|blank}}{{cmd|\startnarrower}}[1*left,1*right]\tfx\setupinterlinespace
{{cmd|startnarrower}}[1*left,1*right]\tfx\setupinterlinespace
% ''Here below, the Greek text is on the left columns; the translation is on the right columns''
{{cmd|startTwoColumns}}
This is one of the reasons why you might want to control the editorial chain, not just to do without an editor, but to have an overview of your own work, or a collective work.
% ''% Here below a paragraph which contains Chinese text and Arabic''
{{cmd|section}}{How to get Greek, Chinese and Arabic to coexist on the same page?}
48

edits

Navigation menu