Re: [NTG-context] distinguish different characters from different languages

2013-06-10 Thread Tim Li
@hwitloc
I don't think this is only an interword question, especially when you are 
typesetting a book like `The Joy of Chinese` which will involve many paragraphs 
containing many English words nested in Chinese sentences.
So if users pay more attention to insert spaces when switcting different 
languages, they will pay less attention to the contents they are typesetting. 
In this 
case, we need ConTeXt to do this task (insert spaces when switching to English 
from Chinese) automatically. 
 
@Hans
Which file or Which files should I read in the subpath of `scripts`? All?


 
 Date: Mon, 10 Jun 2013 07:57:50 +0900
 From: hwit...@gmail.com
 To: ntg-context@ntg.nl
 Subject: Re: [NTG-context] distinguish different characters from different 
 languages
 
 
 This seems to be about inter-word spacing, rather than character sets.
 
 For the phrase:  据我所知,中国人将typography写作排版
 
 The intuitive operation for ConTeXt should be to preserve the explict space 
 after the comma, but the word typography is not seperated from the rest of 
 the text with spaces.
 
 If you input the text as   据我所知,中国人将 typography 写作排版
 Then the spaces should be preserved as in English or other languages.
 This was not the case once for Japanese, but a (temporary?) fix was put into 
 the ongoing development version, I believe.  The space removal was due to the 
 fact that Chinese and Japanese do not use space between words in normal text.
 
 For now can you use the ~ or some like escape sequence to force a space where 
 you want it?
 
 
 
 Tim Li timli2...@outlook.com wrote:
 
  Hi,
  
  Is there a way in ConTeXt to distinguish (or recognise) different
  characters from different languages, especially distinguishing those
  used in China, Japan and Korea (CJK) from English.
  
  For example, sentence(1) and its translation (sentence (2)) below are
  mixed English with Chinese characters,
  
  as far as I know, Chinese write 排版 as typography. (1)
  translation: 据我所知,中国人将typography写作排版。(2)
  
  If I input this sentence in the ConTeXt source file, how can I
  recognise English characters and Chinese characters respectively so
  that I can insert space (say, 1/4 space) when nesting English words
  into Chinese (the result of sentence (2) in PDF file will look like
  this: 据我所知,中国人将 typography 写作排版。)
  
  Are there some materials or topics about this?
  
  Tim
  
  ___
  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://tex.aanhet.net
  archive  : http://foundry.supelec.fr/projects/contextrev/
  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://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Layers: corner, location

2013-06-10 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

thanks Peter for the explanation.

On Fri, 07 Jun 2013 14:41:45 +0200, Peter Rolf indi...@gmx.net wrote:


The layer is divided into a 2x2 matrix of squares, where 'x' is the
center. This gets you a total of 3x3=9 different corners.

o---o---o
|   |   |
o---x---o
|   |   |
o---o---o

Now you choose one 'corner' (the reference point) for the placement. The
placement is done in relation to this point. The chosen 'corner' c is
our new 'center point' (only for placement) now.

With 'location' you define, where (in relation to 'corner') the content
is placed. Again you have nine different corners to choose from.

An example to make this clear.

'corner={top,right}, location={bottom,right}' will place content in the
area L (outside the original layer). Think about the 'corner' c as a
magnetic grid point, where the content snaps to. The 'location' l
defines, from which direction we approach the point c.

x = layer center point
c = corner 'top,right', d = location 'bottom right', L = location (area)

o---o---o
|   |   |
o---c---o
|   |   | L |
x---o---d
|   |   |
-



I hope I haven't mixed things up. Feel free to correct this and to
wikify the final version.



I added some info to wiki: 
http://wiki.contextgarden.net/Layers#Understanding_.22location.22_and_.22corner.22

Best regards,

Lukas


Peter


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Including a large SVG image

2013-06-10 Thread luigi scarso
On Mon, Jun 10, 2013 at 1:04 AM, luigi scarso luigi.sca...@gmail.comwrote:




 On Mon, Jun 10, 2013 at 12:21 AM, Sander Maijers 
 s.n.maij...@student.ru.nl wrote:

 Is anybody still interested to look into this issue?
 I need the graph for my thesis, which is due soon.

 tomorrow morning


 \starttext
\externalfigure[scatterplot_of_WER_vs_PPL.svg][height=\textheight,width=\textwidth]
\externalfigure[scatterplot_of_WER_vs_PPL.svg.pdf][height=\textheight,width=\textwidth]
\stoptext

$ inkscape --version
Inkscape 0.48.3.1 r9886 (Jan 29 2013)

it's ok here on linux ubuntu 12.10 x86_64

-- 
luigi
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Mtxrun.exe in minimals not working.

2013-06-10 Thread Mojca Miklavec
On Mon, Jun 10, 2013 at 1:15 AM, DB wrote:
 I just downloaded the latest version of the standalone package (2013-06-08,
 09:15). When I run first-setup.bat, mtxrun.exe crashes just as it's about to
 start downloading the files. It's impossible to get any further.

How exactly does it crash? Is some dll missing? An error in lua code?
(I don't have windows at hand to try.)

Mojca
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Including a large SVG image

2013-06-10 Thread Marco Patzer
On 2013–06–10 Sander Maijers wrote:

 Is anybody still interested to look into this issue?
 I need the graph for my thesis, which is due soon.

It works here.

\starttext
  \externalfigure
[scatterplot_of_WER_vs_PPL]
[width=\textwidth]
\stoptext

context version: 2013.06.07 12:25
Inkscape 0.48.3.1 r9886

Marco


signature.asc
Description: Digital signature
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Including a large SVG image

2013-06-10 Thread Sietse Brouwer
Sander wrote:
 All graphics except for one gets properly included in my ConTeXt document.

Since it's just the one graphic: Luigi, perhaps you could send Sander
a copy of the .pdf you produced that didn't show problems?

Luigi wrote:
 $ inkscape --version
 Inkscape 0.48.3.1 r9886 (Jan 29 2013)

 it's ok here on linux ubuntu 12.10 x86_64

I've got Inkscape 0.48.1 r9760 (Mar 22 2011) here on Linux Mint 11
(based on Natty), and that doesn't work. So perhaps it's a problem
with Inkscape or the PDF library it uses. Sander, which version of
Inkscape do you use?

Cheers,
Sietse
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Including a large SVG image

2013-06-10 Thread luigi scarso
On Mon, Jun 10, 2013 at 11:23 AM, Sietse Brouwer sbbrou...@gmail.comwrote:

 Sander wrote:
  All graphics except for one gets properly included in my ConTeXt
 document.

 Since it's just the one graphic: Luigi, perhaps you could send Sander
 a copy of the .pdf you produced that didn't show problems?

 no problem, if Sender agrees  .

-- 
luigi
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] distinguish different characters from different languages

2013-06-10 Thread Hans Hagen

On 6/10/2013 9:34 AM, Tim Li wrote:

@hwitloc
I don't think this is only an interword question, especially when
you are typesetting a book like `The Joy of Chinese` which will involve
many paragraphs containing many English words nested in Chinese sentences.
So if users pay more attention to insert spaces when switcting different
languages, they will pay less attention to the contents they are
typesetting. In this case, we need ConTeXt to do this task (insert
spaces when switching to English from Chinese) automatically.

@Hans
Which file or Which files should I read in the subpath of `scripts`? All?




  Date: Mon, 10 Jun 2013 07:57:50 +0900
  From: hwit...@gmail.com
  To: ntg-context@ntg.nl
  Subject: Re: [NTG-context] distinguish different characters from
different languages
 
 
  This seems to be about inter-word spacing, rather than character sets.
 
  For the phrase: 据我所知,中国人将typography写作排版
 
  The intuitive operation for ConTeXt should be to preserve the explict
space after the comma, but the word typography is not seperated from
the rest of the text with spaces.
 
  If you input the text as 据我所知,中国人将 typography 写作排版
  Then the spaces should be preserved as in English or other languages.
  This was not the case once for Japanese, but a (temporary?) fix was
put into the ongoing development version, I believe. The space removal
was due to the fact that Chinese and Japanese do not use space between
words in normal text.
 
  For now can you use the ~ or some like escape sequence to force a
space where you want it?


it helps to know what can be downloaded from the website

http://www.pragma-ade.com/download-1.htm

the test suite has examples

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Including a large SVG image

2013-06-10 Thread Sander Maijers
Thanks for your tests. I do not get the PDF intermediate file, I can 
only produce it manually.


Inkscape 0.48.4 r9939 (May 20 2013)
ConTeXt 2013.06.07 12:25

I used this code:

\placefigure
[force]
[scatterplot_of_WER_vs_PPL_baseline]
{Scatterplot of WER vs. perplexity (baseline)}
{\externalfigure[/tmp/scatterplot_of_WER_vs_PPL.svg.svg][factor=fit]}

I use it in a big document with all kinds of floats, and this is the 
last of a 3 graphs with 'force' placement on a row. Also I want to use 
A3 landscape page dimensions, but now it is fit to an A4 portrait page 
and that does not work either.



On 10-06-13 11:08, Marco Patzer wrote:

On 2013–06–10 Sander Maijers wrote:


Is anybody still interested to look into this issue?
I need the graph for my thesis, which is due soon.


It works here.

\starttext
   \externalfigure
 [scatterplot_of_WER_vs_PPL]
 [width=\textwidth]
\stoptext

context version: 2013.06.07 12:25
Inkscape 0.48.3.1 r9886

Marco



___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Including a large SVG image

2013-06-10 Thread luigi scarso
On Mon, Jun 10, 2013 at 12:26 PM, Sander Maijers
s.n.maij...@student.ru.nlwrote:

 Thanks for your tests. I do not get the PDF intermediate file, I can only
 produce it manually.

 Inkscape 0.48.4 r9939 (May 20 2013)
 ConTeXt 2013.06.07 12:25

 I used this code:

 \placefigure
 [force]
 [scatterplot_of_WER_vs_PPL_**baseline]
 {Scatterplot of WER vs. perplexity (baseline)}
 {\externalfigure[/tmp/**scatterplot_of_WER_vs_PPL.svg.**
 svg][factor=fit]}

 I use it in a big document with all kinds of floats, and this is the last
 of a 3 graphs with 'force' placement on a row. Also I want to use A3
 landscape page dimensions, but now it is fit to an A4 portrait page and
 that does not work either.


 you should have
m_k_i_v_scatterplot_of_WER_vs_PPL.svg.pdf
somewhere


-- 
luigi
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] What is the status of ConTeXt's various test suites?

2013-06-10 Thread Sietse Brouwer
Hi, all,

There appear to be a number of test suites in existence.

(1) The suite on pragma-ade.com. I suspect this is the one Hans actually uses.
http://www.pragma-ade.com/download-1.htm (click on cont-tst.7z)

(2) The project on foundry.supelec.fr. Most recent file is 3 years
old, and most of them are 6-7 years old, AFAICT.
Summary: https://foundry.supelec.fr/projects/contexttest/
Files: https://foundry.supelec.fr/scm/viewvc.php/?root=contexttest
This is also the suite described on http://wiki.contextgarden.net/Test_suite

(3) The ConTeXt unofficial test suite
https://github.com/melmothx/context-unofficial-test-suite

I want to update the [[Test suite]] page to make it more accurate. So,
I'm asking y'all: any inaccuracies in the text at the bottom of this
e-mail?

Cheers,
Sietse


* The test suite at pragma-ade.com is Hans's test suite; he runs this
suite before uploading a new beta (most times). To contribute a test
to this suite, write it in an e-mail and send it to the mailing list.

QUESTION: when one downloads and unzips this file in a directory, how
does one run it?

* The test suite at github is managed by users, especially Marco
Patzer. To run the suite, just download it and run `run-suite.pl`.

* The test suite at foundry.supelec.fr is no longer being used.

QUESTION: are the tests in it already transferred to Hans or Marco's
test suite? If not, is that still something we want to do, or can we
just bury this suite entirely?
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Mtxrun.exe in minimals not working.

2013-06-10 Thread Peter Rolf
Am 10.06.2013 10:40, schrieb Mojca Miklavec:
 On Mon, Jun 10, 2013 at 1:15 AM, DB wrote:
 I just downloaded the latest version of the standalone package (2013-06-08,
 09:15). When I run first-setup.bat, mtxrun.exe crashes just as it's about to
 start downloading the files. It's impossible to get any further.
 
 How exactly does it crash? Is some dll missing? An error in lua code?
 (I don't have windows at hand to try.)
 
Just tried to update and 'mtxrun.exe' crashes (APPCRASH) here too.

Event xmlns=http://schemas.microsoft.com/win/2004/08/events/event;
  System
Provider Name=Application Error /
EventID Qualifiers=01000/EventID
Level2/Level
Task100/Task
Keywords0x80/Keywords
TimeCreated SystemTime=2013-06-10T09:48:40.0Z /
EventRecordID15537/EventRecordID
ChannelApplication/Channel
Computerprivate/Computer
Security /
  /System
  EventData
Datamtxrun.exe/Data
Data0.0.0.0/Data
Data516d20ea/Data
Datantdll.dll/Data
Data6.1.7601.17725/Data
Data4ec49b8f/Data
Datac005/Data
Data000332a0/Data
Data6ec/Data
Data01ce65bfafebcc5c/Data
DataV:\tmp\context\bin\mtxrun.exe/Data
DataC:\Windows\SysWOW64\ntdll.dll/Data
Dataed9a62bc-d1b2-11e2-be40-902b343a8650/Data
  /EventData
/Event


Output on console:

V:\tmp\contextfirst-setup.bat
receiving incremental file list

sent 100 bytes  received 231 bytes  220.67 bytes/sec
total size is 7767905  speedup is 23467.99
ba-dah boom

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] What is the status of ConTeXt's various test suites?

2013-06-10 Thread Hans Hagen

On 6/10/2013 12:59 PM, Sietse Brouwer wrote:

Hi, all,

There appear to be a number of test suites in existence.

(1) The suite on pragma-ade.com. I suspect this is the one Hans actually uses.
http://www.pragma-ade.com/download-1.htm (click on cont-tst.7z)

(2) The project on foundry.supelec.fr. Most recent file is 3 years
old, and most of them are 6-7 years old, AFAICT.
Summary: https://foundry.supelec.fr/projects/contexttest/
Files: https://foundry.supelec.fr/scm/viewvc.php/?root=contexttest
This is also the suite described on http://wiki.contextgarden.net/Test_suite

(3) The ConTeXt unofficial test suite
https://github.com/melmothx/context-unofficial-test-suite

I want to update the [[Test suite]] page to make it more accurate. So,
I'm asking y'all: any inaccuracies in the text at the bottom of this
e-mail?

Cheers,
Sietse


* The test suite at pragma-ade.com is Hans's test suite; he runs this
suite before uploading a new beta (most times). To contribute a test
to this suite, write it in an e-mail and send it to the mailing list.


not true: I add examples when I add new functionality and sometimes turn 
examples from the mailing list in suite examples. I don't run the
suite before a beta (I did when the most recent current was made) but 
Lukáš runs them every now and then and send me an overview of files that 
fail at his end (some files that need special fonts are excluded). So, I 
fix (when needed) issues that show up with the suite.



QUESTION: when one downloads and unzips this file in a directory, how
does one run it?


Lukáš has his own scripts.

Here I can run this:

mtxrun --script testsuite --compare --oldname=cld-compare-old 
--newname=cld-compare-new   --pattern=**/*.cld
mtxrun --script testsuite --compare --oldname=mkiv-compare-old 
--newname=mkiv-compare-mkiv --pattern=**/*.mkiv
mtxrun --script testsuite --compare --oldname=mkvi-compare-old 
--newname=mkvi-compare-mkiv --pattern=**/*.mkvi
mtxrun --script testsuite --compare --oldname=tex-compare-old 
--newname=tex-compare-new   --pattern=**/*.tex


but that's probably a different method. As it takes a while I must admit 
that i only ran it for the current (as I do have more fonts on my system).



* The test suite at github is managed by users, especially Marco
Patzer. To run the suite, just download it and run `run-suite.pl`.


Indeed. That one compares output too I think and it can generate reports 
as well.



* The test suite at foundry.supelec.fr is no longer being used.


I don't know.


QUESTION: are the tests in it already transferred to Hans or Marco's
test suite? If not, is that still something we want to do, or can we
just bury this suite entirely?


I don't know. I happily leave that to others to sort out.

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Mtxrun.exe in minimals not working.

2013-06-10 Thread Hans Hagen

On 6/10/2013 1:04 PM, Peter Rolf wrote:

Am 10.06.2013 10:40, schrieb Mojca Miklavec:

On Mon, Jun 10, 2013 at 1:15 AM, DB wrote:

I just downloaded the latest version of the standalone package (2013-06-08,
09:15). When I run first-setup.bat, mtxrun.exe crashes just as it's about to
start downloading the files. It's impossible to get any further.


How exactly does it crash? Is some dll missing? An error in lua code?
(I don't have windows at hand to try.)


Just tried to update and 'mtxrun.exe' crashes (APPCRASH) here too.


i can confirm it ... if i copy the older luatex.dll to bin and comment 
the first sync then it works so it looks like a problem with the dll


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] setupformulas

2013-06-10 Thread Steffen Wolfrum
Hi,

\setupformulas[way=bychapter,prefixsegments=chapter]

gives (A..1)

But I need (A-1)!


Any idea how the key is called to change this?

Best, Steffen
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] redifining font sizes

2013-06-10 Thread Hans Hagen

On 6/9/2013 11:38 AM, Pablo Rodríguez wrote:

Hi there,

using the latest beta, I have tried to change the x font size from 0.8
to 0.9, but it doesn't work.

Here is a minimal sample:

 \definefontsize[w]
 \setupbodyfontenvironment[default][w=0.9, x=0.9]
 \starttext
 a {\tfx a} {\tfw a}
 \stoptext

Why isn't the x font size set to 0.9?


because the x sizes are defined for sizes

\definefontsize
  [w]

\setupbodyfontenvironment
  [12pt]
  [x=2pt]

\setupbodyfontenvironment
  [default]
  [w=0.2]

\starttext
\ruledhbox{xxx {\tfx tfx} {\tx tx} {\txx txx} {\tfw tfw}}
\stoptext

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] setupformulas

2013-06-10 Thread Wolfgang Schuster

Am 10.06.2013 um 16:43 schrieb Steffen Wolfrum cont...@st.estfiles.de:

 Hi,
 
 \setupformulas[way=bychapter,prefixsegments=chapter]
 
 gives (A..1)
 
 But I need (A-1)!
 
 
 Any idea how the key is called to change this?

You can change the separator between the section prefix and the formula number 
with \setupformula[prefixconnector=-].

Wolfgang
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bug with overbar

2013-06-10 Thread luigi scarso
On Sun, Jun 9, 2013 at 4:33 PM, luigi scarso luigi.sca...@gmail.com wrote:




 On Sun, Jun 9, 2013 at 4:27 PM, Steffen Wolfrum cont...@st.estfiles.dewrote:

 ... no. it should look this (see below): $\overline{U_A}$

  it should be ok now with the latest standalone


-- 
luigi
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] bug with paragraph notes

2013-06-10 Thread Pablo Rodríguez
On 09/06/13 21:01, Thomas A. Schmitz wrote:
 On 06/09/2013 07:16 PM, Pablo Rodríguez wrote:
 Isn't it the plural for apparatus? (I mean the Latin one, although I
 might have forgotten the declensions as well.) Apparatuses sounds weird
 to me.
 
 It's apparatus (long u, fourth declension). apparati is a pseudo-learned 
 form, like virii.

Many thanks, Thomas, I'd never thought it was fourth declension. I
assumed it was second declension.

 By the way, Thomas, haven't you found this bug in any of your editions?
 
 No, I use linenotes (and, to be honest, the edition project has been in 
 hiatus for some time now, I need to pick it up again).

I found the bug in linenotes, but it seems not to be specific to
paragraphed linenotes but to paragraphed notes (as Wolfgang kindly noted).

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] bug with paragraph notes

2013-06-10 Thread Hans Hagen

On 6/10/2013 7:32 PM, Pablo Rodríguez wrote:

On 09/06/13 21:01, Thomas A. Schmitz wrote:

On 06/09/2013 07:16 PM, Pablo Rodríguez wrote:

Isn't it the plural for apparatus? (I mean the Latin one, although I
might have forgotten the declensions as well.) Apparatuses sounds weird
to me.


It's apparatus (long u, fourth declension). apparati is a pseudo-learned
form, like virii.


Many thanks, Thomas, I'd never thought it was fourth declension. I
assumed it was second declension.


By the way, Thomas, haven't you found this bug in any of your editions?


No, I use linenotes (and, to be honest, the edition project has been in
hiatus for some time now, I need to pick it up again).


I found the bug in linenotes, but it seems not to be specific to
paragraphed linenotes but to paragraphed notes (as Wolfgang kindly noted).


a next upload will have slightly improved paragraph notes but it will 
always be a bit tricky (so one can best have tolerant settings)


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Woe is me :( mkiv misbehaving.

2013-06-10 Thread john Culleton
On Sun, 9 Jun 2013 14:41:50 +0200
Wolfgang Schuster schuster.wolfg...@gmail.com wrote:

 
 Am 09.06.2013 um 14:24 schrieb john Culleton j...@wexfordpress.com:
 
  I solved the wierd messages by a brute force method.  I created a
  fresh slackware partition and whatever I did wrong was eliminated.
  Now, down to the fonts; the directory /usr/share/fonts and its
  subdirectories is a standard place to put fonts on a Linux system.
  Most of my other programs (Inkscape, Scribus) find those fonts
  without difficulty. I checked my permissions in that directory and
  subdirectories and they are not restrictive. I will link those
  fonts to a directory that Context searches. I just wonder why it
  worked before and not now. 
 
 You have set the directories with the OSFONTDIR variable:
 http://wiki.contextgarden.net/Fonts_in_LuaTeX#Building_the_font_database
 
 Wolfgang
 
  
 ___

That worked!  still don't know why I lost access to those fonts but no
matter. And after some mtxrun executions the weird messages went away
too. So I can revert to my original partition which saves a lot of
labor.  

Most sincere thanks to all who answered.

-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
PDF e-book: Create Book Covers with Scribus
available at http://www.booklocker.com/books/4055.html
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bug with paragraph notes

2013-06-10 Thread Hans Hagen

On 6/10/2013 8:09 PM, Hans Hagen wrote:

On 6/10/2013 7:32 PM, Pablo Rodríguez wrote:

On 09/06/13 21:01, Thomas A. Schmitz wrote:

On 06/09/2013 07:16 PM, Pablo Rodríguez wrote:

Isn't it the plural for apparatus? (I mean the Latin one, although I
might have forgotten the declensions as well.) Apparatuses sounds weird
to me.


It's apparatus (long u, fourth declension). apparati is a pseudo-learned
form, like virii.


Many thanks, Thomas, I'd never thought it was fourth declension. I
assumed it was second declension.


By the way, Thomas, haven't you found this bug in any of your editions?


No, I use linenotes (and, to be honest, the edition project has been in
hiatus for some time now, I need to pick it up again).


I found the bug in linenotes, but it seems not to be specific to
paragraphed linenotes but to paragraphed notes (as Wolfgang kindly
noted).


a next upload will have slightly improved paragraph notes but it will
always be a bit tricky (so one can best have tolerant settings)


best wikify this:

\setupbodyfont
  [pagella]

\setupnote
  [footnote]
  [paragraph=yes]

\setupnotation
  [footnote]
  [alternative=serried,
   width=broad,
   distance=.5em,
   display=no]

\starttext
\dorecurse{500}{text text text\footnote{note} }
\stoptext


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Database module: asciimode and escapechar

2013-06-10 Thread Hans Hagen

On 6/8/2013 8:04 PM, Wolfgang Schuster wrote:

Hi,

there are another things that need to be fixed with the database module.

1. The quotechar character appears in the output.

2. The \asciimode command is ignored.


in next upload
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] setupformulas

2013-06-10 Thread Steffen Wolfrum

Am 10.06.2013 um 17:31 schrieb Wolfgang Schuster:

 
 Am 10.06.2013 um 16:43 schrieb Steffen Wolfrum cont...@st.estfiles.de:
 
 Hi,
 
 \setupformulas[way=bychapter,prefixsegments=chapter]
 
 gives (A..1)
 
 But I need (A-1)!
 
 
 Any idea how the key is called to change this?
 
 You can change the separator between the section prefix and the formula 
 number with \setupformula[prefixconnector=-].


Is there also a key for a own prefix, eg. my: (my-1)?

Steffen
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___