[NTG-context] MS Office Chinese fonts in ConTeXt

2017-08-26 Thread Martin Bruchanov

Hi all,

I was trying to create a Chinese document. However, it was quite 
difficult to find actual information and find fonts...


Here is the result:

https://github.com/BruXy/ConTeXt-Chinese

There is still wrong numbering of Tables and I am not sure how to 
convert mschinese.ctex into module, but maybe somebody will help.


Regards,

BruXy

PS: It you have some other working Chinese ConTeXt documents, I would be 
happy to get inspired.


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Some questions about my document

2017-08-26 Thread Fabrice Couvreur
" I would like to have this :

Chapitre I : Espaces probabilisés

I.1 - Expérience aléatoire et univers "


I did this :

\setuphead[chapter][commandbefore={: }]
\setuphead[section][distance=\zeropoint,commandbefore={\space\endash\space}]
\setuplabeltext[en][chapter=Chapitre ]

But for this

Remark 1.1.
Remark 1.2
Remark 1.3

I do not find !

Fabrice

2017-08-26 12:27 GMT+02:00 Fabrice Couvreur :

> Hi,
> I have simplified the code, but I get :
>
> Remark I.1.
> Remark I.2.
> Remark I.3.
>
> instead :
>
> Remark 1.1.
> Remark 1.2
> Remark 1.3
>
> Thanks
> Fabrice
>
> %
> \definestructureconversionset
>   [structure]
>   [numbers, Romannumerals, numbers, numbers, numbers]
>   [numbers]
>
> \setupheads [sectionconversionset=structure]
>
> \defineenumeration
>   [remark]
>   [
> text=Remark,
> location=serried,
> width=fit,
> right={.~},
> prefix=yes,
> prefixsegments=chapter,
>   ]
>
> \setupnumber[remark][way=bychapter]
>
> \starttext
> \startchapter
>   [title={First chapter}]
> \startsection
>   [title={First section}]
>   \dorecurse{3}{\startremark \input ward \stopremark}
> \stopsection
> \stopchapter
> \stoptext
> %
>
> 2017-08-24 14:53 GMT+02:00 Fabrice Couvreur :
>
>> Hello,
>> I would like to have this :
>>
>> 
>>
>> Chapitre I : Espaces probabilisés
>>
>> I.1 - Expérience aléatoire et univers
>>
>> Définition 1.1
>>
>> Définition 1.2
>>
>> 
>>
>> Thank you
>> Fabrice
>>
>> %
>>
>> \definestructureconversionset
>>   [structure]
>>   [numbers, Romannumerals, numbers, numbers, numbers]
>>   [numbers]
>>
>> \setupheads [sectionconversionset=structure]
>>
>> \setupenumerations
>> [
>> before={\blank[big]},
>> after={\blank[big]},
>> alternative=serried,
>> width=broad,
>> distance=0.5em,
>> headstyle=bold,
>> titlestyle=bold,
>> prefix=chapter,
>> way=bychapter,
>> conversion=numbers]
>>
>> \defineenumeration
>> [definition]
>> [
>> text=Définition,
>> title=yes,
>> style=italic,
>> list=all,
>> listtext={Définition}]
>>
>> \starttext
>> \startchapter[title=Espaces probabilisés]
>> \startsection[title=Expérience aléatoire  et univers]
>> \startdefinition
>>   On appelle expérience aléatoire une expérience sur un système dont le
>> résultat n'est pas connu d'avance et peut varier si on répète cette
>> expérience.
>> \stopdefinition
>> \startdefinition
>>   On appelle univers l'ensemble des résultats possibles. Il est noté
>> \math{\Omega}.
>> \stopdefinition
>> \stopchapter
>> \stoptext
>>
>> %%
>>
>
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] PDF/X-1a(2001) ourput.

2017-08-26 Thread Peter Rolf
Hi John,

Am 25.08.2017 um 23:47 schrieb John Culleton:
> I need to have context generate the above format. Any hints?
>

ConTeXt is also shipped with some PDF/A|X|UA test files. Written mainly
as a simple functionality test, but still all parameter in it.

\texmf-context\tex\context\test\mkiv\

--
% PDF/X-1a:2001
\enabletrackers[backend.format,backend.variables] % add logging

\setupbackend
  [format=PDF/X-1a:2001,
   intent=ISOcoated_v2_eci.icc]

\setupinteraction
  [title=TITLE,
   subtitle=SUBTITLE,
   author=AUTHOR,
   keyword={{KEYWORD1, KEYWORD2}, KEYWORD3}]

--
The color 'intent' depends on your printing house. The icc profiles can
be downloaded from the contextgarden (also info where to install them).

http://wiki.contextgarden.net/PDFX#ICC%20profiles


There are some more restriction for PDF/X-1a, but this is (apart from
the document color space) all you need for the ConTeXt part.
Let me know if this works for you.


Peter

  
>  
> John Culleton
>  
>  
> 
> 
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___
> 

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Some questions about my document

2017-08-26 Thread Fabrice Couvreur
Hi,
I have simplified the code, but I get :

Remark I.1.
Remark I.2.
Remark I.3.

instead :

Remark 1.1.
Remark 1.2
Remark 1.3

Thanks
Fabrice

%
\definestructureconversionset
  [structure]
  [numbers, Romannumerals, numbers, numbers, numbers]
  [numbers]

\setupheads [sectionconversionset=structure]

\defineenumeration
  [remark]
  [
text=Remark,
location=serried,
width=fit,
right={.~},
prefix=yes,
prefixsegments=chapter,
  ]

\setupnumber[remark][way=bychapter]

\starttext
\startchapter
  [title={First chapter}]
\startsection
  [title={First section}]
  \dorecurse{3}{\startremark \input ward \stopremark}
\stopsection
\stopchapter
\stoptext
%

2017-08-24 14:53 GMT+02:00 Fabrice Couvreur :

> Hello,
> I would like to have this :
>
> 
>
> Chapitre I : Espaces probabilisés
>
> I.1 - Expérience aléatoire et univers
>
> Définition 1.1
>
> Définition 1.2
>
> 
>
> Thank you
> Fabrice
>
> %
>
> \definestructureconversionset
>   [structure]
>   [numbers, Romannumerals, numbers, numbers, numbers]
>   [numbers]
>
> \setupheads [sectionconversionset=structure]
>
> \setupenumerations
> [
> before={\blank[big]},
> after={\blank[big]},
> alternative=serried,
> width=broad,
> distance=0.5em,
> headstyle=bold,
> titlestyle=bold,
> prefix=chapter,
> way=bychapter,
> conversion=numbers]
>
> \defineenumeration
> [definition]
> [
> text=Définition,
> title=yes,
> style=italic,
> list=all,
> listtext={Définition}]
>
> \starttext
> \startchapter[title=Espaces probabilisés]
> \startsection[title=Expérience aléatoire  et univers]
> \startdefinition
>   On appelle expérience aléatoire une expérience sur un système dont le
> résultat n'est pas connu d'avance et peut varier si on répète cette
> expérience.
> \stopdefinition
> \startdefinition
>   On appelle univers l'ensemble des résultats possibles. Il est noté
> \math{\Omega}.
> \stopdefinition
> \stopchapter
> \stoptext
>
> %%
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___