Re: [NTG-context] [XeTeX] ec-lmr12 not loadable: Metric (TFM) file

2007-11-05 Thread Peter Dyballa

Am 05.11.2007 um 09:30 schrieb Dalyoung Jeong:

> Mon Nov  5 16:56:15 graph.ssu.ac.kr xdv2pdf[21489] :  
> WARNING: Type1 font data returned by OFAStreamPSDownload isn't in  
> the correct format required by the Adobe Type 1Font Format  
> specification.
> ...
> Output written on test-font.pdf (1 page).
> Transcript written on test-font.log.

As you can see xdv2pdf produced an output file (and most likely a  
correct one). The WARNING message appears on Tiger regularly when a  
PostScript font is used that needed to be converted to OTF first  
before embedding. I never found (could find?) a fault with this  
messages and fonts, although it makes me nervous and uncertain.


The error that you only see blank background instead of Korean text  
seems to happen in Leopard (Mac OS X 10.5) with quite a few PDF  
viewers. And it's not restricted to Korean only. Obviously only Adobe  
Reader can display correctly. Some users mentioned that quite old  
software which was never adapted to Leopard seem to mess up "font  
caches." TeXniscope is one such application. For some users it seemed  
to help to clean these font caches and to log out and in, for some  
just logging off and in already helped – and not using again  
TeXniscope, Equation Service, or LaTeX Equation Editor.

--
Greetings

   Pete

There's something the technicians need to learn from the artists. If  
it isn't aesthetically pleasing, it's probably wrong.


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


[NTG-context] two questions

2007-11-05 Thread Dalyoung Jeong
Hi all,

Recently, I had a problem using XeTeX+ConTeXt after the upgrade to  
Leopard. You may read my mails to the list already.
Let me describe it in short. XeTeX and XeLaTeX worked well. But in the  
output via XeTeX+ConTeXt, all korean letters are shown as blank or as  
the series of squares([s6] mode)when I set mainfont using some of the  
commercial fonts. All the files were worked OK before the upgrade.

I'd like to you two things.

1. Is it possible to use xdv2pdf to produce pdf file using the command  
"texmfstart texexec"?

2. How to update xetex and xdvipdfmx? I downloaded latest file of them  
from "minimal.context.wiki". I replaced the xetex and xdvipdfmx in the  
folder /usr/texbin/ with the latest files, but it made another lm font  
error.

I am using Mac with OSX Leopard, TeXlive 2007(gwTeX).

Since I have very little knowledge about TeX, I always ask you for help.
Thank you for the listening.

Best regards,
Dalyoung



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


Re: [NTG-context] Flow charts forgetting text

2007-11-05 Thread Aditya Mahajan
Hi Willi,

On Mon, 5 Nov 2007, Willi Egger wrote:

> Your code compiles correctly here. Well with the following version of
> Context
>
> ConTeXt  ver: 2007.10.03 12:52 MKII  fmt: 2007.10.4  int: english/
> english


Thank you for checking this. Can you send me the pdf file off-list? I do 
not get a X_t in the second flowchart, either on my machine (MKII 09.28) 
or on contextgarden.

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


Re: [NTG-context] Flow charts forgetting text

2007-11-05 Thread Willi Egger
Hi Aditya,

Your code compiles correctly here. Well with the following version of  
Context

ConTeXt  ver: 2007.10.03 12:52 MKII  fmt: 2007.10.4  int: english/ 
english


Willi

On Nov 4, 2007, at 12:17 AM, Aditya Mahajan wrote:

> Hi,
>
> Something is broken in flowcharts. If I typeset the same flowchart  
> twice,
> the comments are missing from the second chart. For example
>
> \usemodule[chart]
> \setupFLOWcharts
>[%option=test,
> bodyfont=11pt,
> nx=4,
> ny=1,
> offset=11pt,
> dx=\bodyfontsize,
> dy=0.65\bodyfontsize,
> width=6\bodyfontsize,
> height=2.5\bodyfontsize,
>]
> \startFLOWchart[test]
>\startFLOWcell
>  \name   {source}
>  \location   {1,1}
>  \shape  {procedure}
>  \text   {Source}
>  \connection [rl]  {encoder}
>  \comment[t]   {$X_t$}
>\stopFLOWcell
>\startFLOWcell
>  \name   {encoder}
>  \location   {2,1}
>  \shape  {procedure}
>  \text   {Encoder}
>\stopFLOWcell
> \stopFLOWchart
>
> \starttext
> \FLOWchart[test] \input knuth \FLOWchart[test]
> \stoptext
>
> The second flow chart does not have $X_t$. Can someone tell what is  
> going
> on?
>
> Aditya
> __ 
> _
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> __ 
> _

Willi Egger
[EMAIL PROTECTED]



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


Re: [NTG-context] itemize a list

2007-11-05 Thread Wolfgang Schuster
2007/11/5, Hans van der Meer <[EMAIL PROTECTED]>:
>
> It is my intention to place a list inside an itemize, and therefore
> prepend a \item before every list item. Thus:
> \startitemize
> \placelist[Topic][label=no,pagenumber=no,before=\item]}%
> \stopitemize
>
> However this doesn't work but instead gives the following error:
>
> ! Missing } inserted.
> 
> }
> 
>\endgroup
> \stopitemgroup ...xtindentation \fi \fi \endgroup
>   \doglobal \decrement
> (\ite...
>
> \Topics ...enumber=no,before=\item ]}\stopitemize
>   \def \FirstPage {Topics}
> l.1 \Topics{Synopsis}
>
> ? \doendoflist ->\stoppacked
>\endgroup
> \Topics ...[label=no,pagenumber=no,before=\item ]}
>   \stopitemize \def
> \FirstPa...
>
> Placing the "before=\item" in the \setuplist makes no difference.
> Why?
> How can I realize the goal: placing the list entries each as an item in an
> itemized list?
>
> Hans van der Meer
>

You can play with the following code, sorry but I have at the moment no time
for a better solution.

\starttext

\def\myitemlist#1#2#3%
  {\startitemize
   \item#1\quad#2\hfill#3
   \stopitemize}

\placelist[section][alternative=command,command=\myitemlist]

\dorecurse{30}
  {\expanded{\section{Section \recurselevel}}
   \input knuth}

\stoptext

Greetings,

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


[NTG-context] docs in source, was Re: xml misc

2007-11-05 Thread Andrea Valle
- documentation. (where's lxml_in_luatex documentation? I guess in  
sources)

yes


Could anyone write few lines in the wiki to explain how and where to  
extract doc information from sources?

I'm always finding some difficulties in snooping inside ConTeXt
Or if it is discussed on the mailing list I can wikify the results.

Best

-a-






--
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
__ 
_


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault. Who  
doesn't in university, right? I was in this strip club giving this  
guy a lap dance and all he wanted to do was to discuss Foucault with  
me. Well, I can stand naked and do my little dance, or I can discuss  
Foucault, but not at the same time; too much information.

(Annabel Chong)




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


Re: [NTG-context] xml misc

2007-11-05 Thread Andrea Valle

Grazie Luigi,

I'm a bit scared because I'n not a unix person (at least, still) so  
when I encounter some troubles I'm always blocked.


Best

-a-


On 3 Nov 2007, at 12:25, luigi scarso wrote:

macosx these are typically hidden files so I have to make some  
tricks to

have them searchable.


Ah, macosx , not linux.
BTW
http://minimals.contextgarden.net/
can help to setup a mkiv context

--
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
__ 
_


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault. Who  
doesn't in university, right? I was in this strip club giving this  
guy a lap dance and all he wanted to do was to discuss Foucault with  
me. Well, I can stand naked and do my little dance, or I can discuss  
Foucault, but not at the same time; too much information.

(Annabel Chong)




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


Re: [NTG-context] on block quotes

2007-11-05 Thread Wolfgang Schuster
2007/11/3, Idris Samawi Hamid <[EMAIL PROTECTED]>:
>
> Dear Hans, wolfgang, and the rest of the gang,
>
> How about adding something like this to the distribution:


I think this is a goog idea but your definition is a little bit to long.


> \definedelimitedtext
> [blockquote][quote]


\startvariables all
blockquote: blockquote
\stopvariables

\definedelimitedtext
   [\v!blockquote][\v!quotation]

\setupdelimitedtext
> [blockquote]
> [location=margin,
> left=,
> right=,
> leftmargin=standard,
> ]


\setupdelimitedtext
  [\v!blockquote]
  [\c!left=,
   \c!right=]

> 


location=margin is a default value and set with \definedelimitedtext and
leftmargin=standard is taken from quotation.

I'm working on a context utility that I want to distribute when done and
> we need a standard, quotes-empty blockquote mechanism. This way we can
> leave \quote and \quotation alone.
>
> Best wishes
> Idris
>

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


[NTG-context] itemize a list

2007-11-05 Thread Hans van der Meer
It is my intention to place a list inside an itemize, and therefore  
prepend a \item before every list item. Thus:


\startitemize
\placelist[Topic][label=no,pagenumber=no,before=\item]}%
\stopitemize

However this doesn't work but instead gives the following error:

! Missing } inserted.

}

   \endgroup
\stopitemgroup ...xtindentation \fi \fi \endgroup
  \doglobal  
\decrement (\ite...


\Topics ...enumber=no,before=\item ]}\stopitemize
  \def \FirstPage  
{Topics}

l.1 \Topics{Synopsis}

? \doendoflist ->\stoppacked
   \endgroup
\Topics ...[label=no,pagenumber=no,before=\item ]}
  \stopitemize \def  
\FirstPa...


Placing the "before=\item" in the \setuplist makes no difference.
Why?
How can I realize the goal: placing the list entries each as an item  
in an itemized list?


Hans van der Meer



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


Re: [NTG-context] Fatal format file error; I'm stymied

2007-11-05 Thread Norbert Preining
Hi Hans, hi all!

(Don't see Ernesto's email adr, so to the list, Hans in case please
forward it to him)

On Fr, 02 Nov 2007, Hans Hagen wrote:
> >I recently upgraded my operating system to Ubuntu 7.10 (on an AMD64 
> >machine) and got the TeXLive and ConTeXt packages from the Ubuntu 
> >repositories.  I tried compiling a very simple document:

Did you upgrade from an older version?

> >Clearly something is not working properly and I suspect the 
> >incompatibility between This is pdfTeXk...
> >and
> >   ---! cont-en.fmt was written by pdfetex 
> >is the source of all trouble here.

pdfetex with TeXLIve 2007, NO!

Can you tell us the LOCATION of cont-en.fmt? Probably there are left
overs in
/var/lib/texmf/web2c/*.fmt
Delete all of them, then call dpkg-reconfigure context

Best wishes

Norbert

---
Dr. Norbert Preining <[EMAIL PROTECTED]>Vienna University of Technology
Debian Developer <[EMAIL PROTECTED]> Debian TeX Group
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
MEETH (n.)
Something which American doctors will shortly tell us we are all
suffering from.
--- Douglas Adams, The Meaning of Liff
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Screen not wanted

2007-11-05 Thread Hans van der Meer
I have prepared a movie in one of the presentation styles and set  
this ready in the followwing way:


\defineoverlay
[name]
[{\framed[height=\overlayheight, width=\overlaywidth,%
background=color, backgroundcolor=yellow]%
{\midaligned{title text}}}]
\Subject {\renderingmenu[film]\qquad\color[darkgray]{$15^\prime 12$}}
\midaligned{%
\framed[offset=0pt, strut=no, background={foreground,name}]%
{\placerenderingwindow[movie][film]}
}%

The problem is this: In the upper left corner the word "Screen" is  
placed and I cannot get rid of it.
Searching in the sources did not reveal enough to spot a macro  
putting it there.


The strange thing is that this happens in both the TeXShop previewer  
and in Apple's Preview application but not in the Adobe version 8.1  
reader, GraphicConverter and Safari (I am working on MacOSX 10.4.10).

Does someone know its origin?
Does it occur on other PC types as well or is it typical for MacOSX?
Or is it something in the pdf that shows up under certain circumstances?


Hans van der Meer



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


Re: [NTG-context] ec-lmr12 not loadable: Metric (TFM) file

2007-11-05 Thread Dalyoung Jeong

Dear Mojca,

Thank you for the reply. As you did, I send my problem to the list. I  
think that I am a problem maker.


I wonder why the output of XeTeX+ConTeXt was changed after the upgrade  
to Leopard.

I didn't change anything in TeX system. I just upgraded the OSX.
But nicely working XeTeX+ConTeXt had a problem with the korean  
commercial fonts.(no korean letters were  appeared.)


I installed TeXlive using i-installer(gwTeX) with Mac OSX Leopard,  
Latest stable ConTeXt, XeTeX 0.996


I made a short test file and a typescript file for the test.
I have tested in several ways.

1. In XeTeX, everything is OK.  Korean letters and greek capitals are  
appeared well. I thinkt that it used xdv2pdf.


This is XeTeXk, Version 3.141592-2.2-0.996 (Web2C 7.5.6)
 file:line:error style messages enabled.
entering extended mode
(./test-font.tex [1] )
(see the transcript file for additional information)
Mon Nov  5 16:56:15 graph.ssu.ac.kr xdv2pdf[21489] : WARNING:  
Type1 font data returned by OFAStreamPSDownload isn't in the correct  
format required by the Adobe Type 1Font Format specification.

...
Output written on test-font.pdf (1 page).
Transcript written on test-font.log.

after adding \starttext and \stoptext
2. In XeTeX+ConTeXt, no ouput because of the korean commercial font.

[1
** NOTICE: This document contains a `Preview & Print only' licensed  
font **

]
** ERROR ** CFF: Invalid character.

Output file removed.
Output written on test-font.pdf (1 page).
Transcript written on test-font.log.

3.In XeTeX+ConTeXt without the definition of the korean commercial font:

No error messeges, defined korean font and greek capitals are appeared  
well.
But korean letters(except the manually defined korean font) are  
appeared as blanks. English letters are OK.


4. I used typescript file "type-xkor2.tex"

No error message. English letters are OK.
But  korean letters(except the manually defined korean font) and the  
greek capitals are appeared as blanks.


I think that Leopard has a problem with xdvipdfmx. It is just my guess.

I attached test file and a typescript file. I used some commercial  
fonts but they are freely distributed as demo at the following site: "www.softmagaic.co.kr 
"  After connecting it, you can see "otf sm font" in the third  
rectangle at the right side of the frame. You can download 5 fonts. I  
used three of them in the typescript file and one of them in the test  
file.


Thank you again.
Best regards,

Dalyoung


test-font.tex
Description: Binary data


type-xkor2.tex
Description: Binary data
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Notepad++ colour settings

2007-11-05 Thread richard . stephens
>> I have downloaded the latest Notepad++ and ConTeXt settings as 
suggested
>> by Professor Hamid and I'm enjoying the experience of using them!
>>
>> However, I do not really like the colour scheme and tried to alter the
>> background colours by editing "Application
>> Data/Notepad++/UserDefineLang.xml", shutting down Notepad++ and 
starting
>> up again (via Npp.bat), but no change.  I also tried editing the "tex"
>> entry in "Application Data/Notepad++/stylers.xml", but no joy.
>> I tried going to menu item Settings - Style Configurator, but Context
>> isn't in the list of languages.
>>
>> How can I alter the default colour settings for ConTeXt, please?
>
> Use the User Define Language dialog (the button to the left of the 
red-dot 
> button)
>
> 
http://notepad-plus.sourceforge.net/uk/UserLanguageDefineSystem-HOWTO.php
>
> Choose ConTeXt and adjust anything you like (including color)!
>
> Also, in Settings - Style Configurator, configure Global Styles.
> There is also a Global Override option.
>
> So there is a global color scheme and a language-specific one.
>
> Best wishes
> Idris

Idris,

Thanks for your help. 

I was able to change the foreground colours from the "User Define" 
dialogue, but the background colour never changed.  Thanks to your 
pointer, I eventually found the global override for the background colour 
under "Settings - Styler Configurator - Global Styles - Global Override".

Regards,

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