Re: [NTG-context] Some update woes on Linux

2007-11-10 Thread Taco Hoekwater
Jeff Smith wrote:
 Hi again,
 
 Sorry for the delay, I was taken with real life worries for a bit.
 
 So, I realized I did have some leftovers from an earlier installation
 attempt. I cleaned everything and reinstalled TeXLive from the CD,
 from scratch. I will wait a bit before updating ConTeXt again, because
 right now I just want to access my system fonts (I'm on Linux) with
 XeTeX and I can't seem to manage to do that anymore. Everything else
 works. Now I just can't remember what I did back on Ubuntu
 Edgy/Feisty. When I run:
 
 fc-list
 
 I do see my fonts listed (after a fc-cache -f). What do I need more?

I guess you have to setup OSFONTDIR (in texmf.cnf).

Best wishes,
Taco


___
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] Doc to ConTeXt [was Re: HTML to ConTeXt]

2007-11-10 Thread Andrea Valle

Hi Idris

On 10 Nov 2007, at 04:14, Idris Samawi Hamid wrote:

[you left this out]

Sorry, it was just to refer to the discussion


The
doc-odt-markdown-context workflow seems pretty useful as is. See also


I will try it more in depth. My main problem for now is to work from  
pdfs.
Because they're past issues. Once I have new contributions, I will be  
there for sure :).
I'm also curious to see if mine could be a more general approach to  
(word--)pdf--context conversion.

Just started on it.


http://code.google.com/p/pandoc/wiki/ConTeXtImprovements



Oh, yes, quite useful. But has anyone replied to this on pandoc list?
I thought none.



I'm working on something else related to this issue that I hope to say
more about in the coming weeks ;-)


Looking forward to see the news :)

Best

-a-


--
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] Doc to ConTeXt [was Re: HTML to ConTeXt]

2007-11-10 Thread Andrea Valle

http://pdftohtml.sourceforge.net/

Looks impressive...


I think so


Looks VERY impressive... Tell me, how did you set up the cropmarks  
etc.?


Mmh, maybe you're are referring to the original source? The output  
one is bare bone (what I need)

In any case, I upload the wrong reconstructed pdf (too late at night...)

The reconstructed pdf (pdf --xml--context--pdf) is this one, where  
footnotes are handled correctly (an important point for me).

http://www.semiotiche.it/andrea/membrana/text.pdf
I rendered it with XeConTeXt. As noted by Mojca, there are some  
problems with double apices

In relation to footnote 1, this is what is coded in source :
Sign and Reality


Did you also try pdftohtml -- html -- context?


No. You are suggesting via pandoc? Good point.
The exported html is very clean.
In general it seems that the idea is not to generate information  
related to document structure (as this should be inferred from pdf)

favoring appearance description.

Best

-a-




--
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] Some update woes on Linux

2007-11-10 Thread Mojca Miklavec
On 11/9/07, Jeff Smith wrote:
 Hi again,

 Sorry for the delay, I was taken with real life worries for a bit.

 So, I realized I did have some leftovers from an earlier installation
 attempt. I cleaned everything and reinstalled TeXLive from the CD,
 from scratch. I will wait a bit before updating ConTeXt again, because
 right now I just want to access my system fonts (I'm on Linux) with
 XeTeX and I can't seem to manage to do that anymore. Everything else
 works. Now I just can't remember what I did back on Ubuntu
 Edgy/Feisty. When I run:

 fc-list

 I do see my fonts listed (after a fc-cache -f). What do I need more?

You can either use

\definetypeface[MyFace][rm][Xserif][Font Name]
\setupbodyfont[MyFace,12pt]

or prepare some more complex typescript examples. Note that if you
want to use automatic mapping from --/--- to endash/emdashes, syntax
has changed a bit since January until now.

Can you send examples that don't work any more (I could imagine that
you were using the new syntax (file: or name: prefix) which wasn't
available ack in January).

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


Re: [NTG-context] Doc to ConTeXt [was Re: HTML to ConTeXt]

2007-11-10 Thread Andrea Valle


On 10 Nov 2007, at 12:31, Mojca Miklavec wrote:


Only as a note: all the opening quotation marks are wrong!


Ok, Thanks Mojca, my fault.
it was a problem of encoding, now I set pdftohml to utf8 and  
everything's fine



Best

-a-



--
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] Doc to ConTeXt [was Re: HTML to ConTeXt]

2007-11-10 Thread Andrea Valle
 In any case, I upload the wrong reconstructed pdf (too late at  
night...)


(Sorry, I'm always making too many typos: I uploaded, indeed)

-a-

--
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] Doc to ConTeXt [was Re: HTML to ConTeXt]

2007-11-10 Thread Andrea Valle

Hi Saji,

Thanks, I've already looked at it.
I will surely take into account your idea, as I'd like to convert to  
context my wiki pages (with wikka wiki).

At the end, the problem is html to context.
Powerful library indeed, as far as I can understand Ruby.

Best

-a-



--
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] Doc to ConTeXt [was Re: HTML to ConTeXt]

2007-11-10 Thread Idris Samawi Hamid
On Sat, 10 Nov 2007 04:59:18 -0700, Andrea Valle [EMAIL PROTECTED] wrote:

 http://pdftohtml.sourceforge.net/
 Looks impressive...

 I think so


 Looks VERY impressive... Tell me, how did you set up the cropmarks
 etc.?

 Mmh, maybe you're are referring to the original source? The output
 one is bare bone (what I need)
 In any case, I upload the wrong reconstructed pdf (too late at night...)

Ah! I had a feeling that was too good to be true ;-)

Best wishes
Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
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] Doc to ConTeXt [was Re: HTML to ConTeXt]

2007-11-10 Thread Andrea Valle

Yes,


Tell me, how did you set up the cropmarks
etc.?


but cropmarks are the easy parts using layers...
:)

Best

-a-




Best wishes
Idris

--  
Professor Idris Samawi Hamid, Editor-in-Chief

International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
__ 
_
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] Some update woes on Linux

2007-11-10 Thread John Culleton
On Saturday 10 November 2007 06:07:39 am Mojca Miklavec wrote:
 On 11/9/07, Jeff Smith wrote:
  Hi again,
When I run:
 
  fc-list
 
  I do see my fonts listed (after a fc-cache -f). What do I need more?

 You can either use

 \definetypeface[MyFace][rm][Xserif][Font Name]
 \setupbodyfont[MyFace,12pt]


Ah, interesting.  And what exactly is the content of Font Name?  for example 
if fc-list displays:
Bitstream Charter:style=Regular

does that whole string go into the space for Font Name?

Here is a more complex example:
DejaVu Sans,DejaVu Sans Condensed:style=Condensed Bold Oblique,Bold Oblique

I assume, perhaps wrongly, that this is in lieu of creating a typescript.

The whole subject raises interesting possibilities for straying off the 
traditional TeX reservation as far as font selection is concerned. 

I use the TeXLive distro, but with pdftex updated to 
pdfTeX 3.141592-1.40.5-2.2 (Web2C 7.5.6)


-- 
John Culleton
Precision Typesetting
Able Indexers and Typesetters
http://wexfordpress.com
___
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] Some update woes on Linux

2007-11-10 Thread Wolfgang Schuster
On Sat, 10 Nov 2007 09:24:32 -0500
John Culleton [EMAIL PROTECTED] wrote:

 On Saturday 10 November 2007 06:07:39 am Mojca Miklavec wrote:
  On 11/9/07, Jeff Smith wrote:
   Hi again,
 When I run:
  
   fc-list
  
   I do see my fonts listed (after a fc-cache -f). What do I need more?
 
  You can either use
 
  \definetypeface[MyFace][rm][Xserif][Font Name]
  \setupbodyfont[MyFace,12pt]
 
 
 Ah, interesting.  And what exactly is the content of Font Name?  for example 
 if fc-list displays:
 Bitstream Charter:style=Regular

The font name is Bitstream Charter, the style entry is only needed
for italic or bold style and you can write Bitstream Charter/I for
italic or Bitstream Charter/B for the bold style.

 does that whole string go into the space for Font Name?
 
 Here is a more complex example:
 DejaVu Sans,DejaVu Sans Condensed:style=Condensed Bold Oblique,Bold Oblique

I would say you can write DejaVu Sans for the normal version and
DejaVu Sans Condensed for the narrow version.

Choosing the bold and italic styles should be possible with the feature
tags in ConTeXt but I never tried the new font setups for XeTeX in
ConTeXt.

 I assume, perhaps wrongly, that this is in lieu of creating a typescript.
 
 The whole subject raises interesting possibilities for straying off the 
 traditional TeX reservation as far as font selection is concerned. 
 
 I use the TeXLive distro, but with pdftex updated to 
 pdfTeX 3.141592-1.40.5-2.2 (Web2C 7.5.6)

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
___


Re: [NTG-context] Some update woes on Linux

2007-11-10 Thread Mojca Miklavec
On 11/10/07, John Culleton wrote:
 On Saturday 10 November 2007 06:07:39 am Mojca Miklavec wrote:
  On 11/9/07, Jeff Smith wrote:
   Hi again,
 When I run:
  
   fc-list
  
   I do see my fonts listed (after a fc-cache -f). What do I need more?
 
  You can either use
 
  \definetypeface[MyFace][rm][Xserif][Font Name]
  \setupbodyfont[MyFace,12pt]
 

 Ah, interesting.  And what exactly is the content of Font Name?  for example
 if fc-list displays:
 Bitstream Charter:style=Regular

 does that whole string go into the space for Font Name?

Unless it's broken this should work:
\definetypeface[MyFace][rm][Xserif][Bitstream Charter]

 Here is a more complex example:
 DejaVu Sans,DejaVu Sans Condensed:style=Condensed Bold Oblique,Bold Oblique

 I assume, perhaps wrongly, that this is in lieu of creating a typescript.

I don't know how it works in that case, I should test. Xserif uses
/B, /I and /BI to get \bf, \it and \bi working. I have no idea
how XeTeX handles condensed bold oblique, but I would guess that you
can provide
\definetypeface[MyFace][rm][Xserif][DejaVu Sans Condensed]

 The whole subject raises interesting possibilities for straying off the
 traditional TeX reservation as far as font selection is concerned.

 I use the TeXLive distro, but with pdftex updated to
 pdfTeX 3.141592-1.40.5-2.2 (Web2C 7.5.6)

But you need XeTeX for that.

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


Re: [NTG-context] Some update woes on Linux

2007-11-10 Thread Jeff Smith
On Nov 10, 2007 6:07 AM, Mojca Miklavec [EMAIL PROTECTED] wrote:
 You can either use

 \definetypeface[MyFace][rm][Xserif][Font Name]
 \setupbodyfont[MyFace,12pt]

 or prepare some more complex typescript examples. Note that if you
 want to use automatic mapping from --/--- to endash/emdashes, syntax
 has changed a bit since January until now.

 Can you send examples that don't work any more (I could imagine that
 you were using the new syntax (file: or name: prefix) which wasn't
 available ack in January).

Wow. I'm the worst ConTeXt user ever. I've asked for help several
times now it's mostly been because I was too careless. In this case,
my document had no \setupbodyfont. I've always used the Xserif way.
*reddens in shame* :-(

That being said, I'm interested to know more about the new sytax. Is
it documented anywhere?

Thanks, and sorry!
Jeff
___
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] Doc to ConTeXt [was Re: HTML to ConTeXt]

2007-11-10 Thread Hans Hagen
Andrea Valle wrote:
 Yes,
 
 Tell me, how did you set up the cropmarks
 etc.?
 
 but cropmarks are the easy parts using layers...
 :)

\setuplayout[marking=on|color]


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Some update woes on Linux

2007-11-10 Thread Mojca Miklavec
On 11/10/07, Jeff Smith wrote:
 On Nov 10, 2007 6:07 AM, Mojca Miklavec wrote:
  You can either use
 
  \definetypeface[MyFace][rm][Xserif][Font Name]
  \setupbodyfont[MyFace,12pt]
 
  or prepare some more complex typescript examples. Note that if you
  want to use automatic mapping from --/--- to endash/emdashes, syntax
  has changed a bit since January until now.
 
  Can you send examples that don't work any more (I could imagine that
  you were using the new syntax (file: or name: prefix) which wasn't
  available ack in January).

 Wow. I'm the worst ConTeXt user ever. I've asked for help several
 times now it's mostly been because I was too careless. In this case,
 my document had no \setupbodyfont. I've always used the Xserif way.
 *reddens in shame* :-(

 That being said, I'm interested to know more about the new sytax. Is
 it documented anywhere?

Of course not :)

You can say (features=default is optional)
\definefontsynonym[SomeFont][name:Font Name][features=default]
which means that XeTeX will call the font
\font\somefont=FontName;mapping=tex-text,... (tex-text is
implied by features=default)

Back in January and before one achived the same by saying
\definefontsynonym[SomeFont]['Font Name;mapping=tex-text'][encoding=uc]
Now encoding=uc is not needed any more since it's implied when one
runs XeTeX or LuaTeX. To be honest, it's not completely clear to me
what should happen with type-xtx typescripts (how to remove uc
encoding from there).

The other possibility is to say
\definefontsynonym[SomeFont][file:lmroman12-regular][features=default]
which means that XeTeX will load the font lmroman12-regular.otf from
texmf tree, the equivalent in plain XeTeX being
\font\somefont=[lmroman12-regular];mapping=tex-text,...

When there is neither file: nor name: prefix
(\definefontsynonym[SomeFont][lmr12]), it means that XeTeX will try to
load a font in this order
- lmr12 (good old tfm fonts)
- lmr12
- [lmr12]
(the order might change)

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


Re: [NTG-context] Some update woes on Linux

2007-11-10 Thread Arthur Reutenauer
 When there is neither file: nor name: prefix
 (\definefontsynonym[SomeFont][lmr12]), it means that XeTeX will try to
 load a font in this order
 - lmr12 (good old tfm fonts)
 - lmr12
 - [lmr12]

  The last two items meaning, respectively:

  • lmr12 Try and load the *font name* lmr12 as an installed font
(first string in the output of fc-list, Display Name in Apple
Fontbook, etc.)—This is the recommended option in XeteX, by the way
  • [lmr12] Try and load the *file name* lmr12 from the texmf tree (as
looked up by the kpathsea library)
___
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
___