Re: [NTG-context] simplefonts or Typecripts
On Fri, 13 Aug 2010 17:58:55 +0200 >> "Hans" == Hans Hagen wrote: Hans> it depends ... simplefonts uses some heuristics and therefore can Hans> make it easier but not all fonts fit into a systematic approach I see. Hans> for a long time project making a few typescripts (just use those Hans> defined at the end of type-otf.mkiv as template) and using file: Hans> is more robust esp as it will nicely fail when something Hans> fundamental has changed (names or so) Thanks for the hint. By inspecting type-otf.mkiv from texlive & context-minimals, I see that the latter is almost 4x bigger - probably it includes most of the interesting free fonts available. For now, it can be enough considering that atm we'll mostly write markdown/reST and convert to ConTeXt via pandoc, but later we'll go into final production and then there will be another question relevant - whether there are some affordable commercial quality fonts which could enhance the free collection and which cover extended Unicode range (we need to use Sanskrit diacritics that were created via TeX accent mechanism when we worked in old LaTeX). Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG: CDBF17CA -- signature.asc Description: PGP 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] other markup to ConTeXt
On Fri, 13 Aug 2010 22:35:04 +0200 >> "Henning" == Henning Hraban Ramm wrote: Henning> Sounds interesting. What's your workflow? Do you use a special Henning> editor (WYSIWYM?) for your markup? Writing markdown/reST in Emacs which has nice modes for both markup formats. (There is even pandoc-mode.). Then I plan to use Sphinx to generate nice html and qthelp files. Finally, for the high-quality output, we plan to convert to ConTeXt (via pandoc since there is no ConTeXt writer for sphinx/docutils) for high-quality PDF output (if rst2pdf won't be satisfying or if we would like to provide paper putput. Henning> For a new project I'm planning to use some simple markup Henning> (probably ReST) with a Web CMS to create HTML and ConTeXt -> Henning> PDF. (I won't need math.) I don't need math as well. ;) Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG: CDBF17CA -- signature.asc Description: PGP 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] other markup to ConTeXt (was: simplefonts or Typecripts)
This is very similar to a project in which I am planning to engage in the near future. Output to both HTML and PDF utilizing a simple markup seems to be a "killer feature" that at least some of us are looking for. Cross-media publishing, however, is never painless. It's like a Holy Grail. Pandoc makes me want to either learn Haskell or implement my own markup with a focus towards multiple output formats and typesetting in general (most markups seem to be focused on developer workflows). Anyway, a fruitful space for ConTeXt, thanks to its strive for configurability. On Fri, Aug 13, 2010 at 8:35 PM, Henning Hraban Ramm wrote: > Am 2010-08-13 um 21:11 schrieb Gour D.: >> >> For now, it can be enough considering that atm we'll mostly write >> markdown/reST and convert to ConTeXt via pandoc, but later we'll go >> into final production... > > Sounds interesting. What's your workflow? Do you use a special editor > (WYSIWYM?) for your markup? > > For a new project I'm planning to use some simple markup (probably ReST) > with a Web CMS to create HTML and ConTeXt -> PDF. > (I won't need math.) > > Greetlings from Lake Constance! > Hraban > --- > http://www.fiee.net/texnique/ > http://wiki.contextgarden.net > https://www.cacert.org (I'm an assurer) > > ___ > 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] Footnote numbers not following \setupinteraction color
On 13-8-2010 7:54, John Haltiwanger wrote: I seem to be full of problems today: --- \setupcolors[state=start] \setupinteraction[state=start, color=black] \setupcolor[hex] \definecolor[titleRed][h=910A00] \starttext This \footnote{should not have a red color, correct?} \stoptext --- The footnote number in the page footer inherits color titleRed, though the footnote "notice" in the text is properly black. color=,contrastcolor= red means: link on same page (contrastcolor is used then) - 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] other markup to ConTeXt (was: simplefonts or Typecripts)
Am 2010-08-13 um 21:11 schrieb Gour D.: For now, it can be enough considering that atm we'll mostly write markdown/reST and convert to ConTeXt via pandoc, but later we'll go into final production... Sounds interesting. What's your workflow? Do you use a special editor (WYSIWYM?) for your markup? For a new project I'm planning to use some simple markup (probably ReST) with a Web CMS to create HTML and ConTeXt -> PDF. (I won't need math.) Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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] simplefonts or Typecripts
On Fri, 13 Aug 2010 17:58:55 +0200 >> "Hans" == Hans Hagen wrote: Hans> it depends ... simplefonts uses some heuristics and therefore can Hans> make it easier but not all fonts fit into a systematic approach I see. Hans> for a long time project making a few typescripts (just use those Hans> defined at the end of type-otf.mkiv as template) and using file: Hans> is more robust esp as it will nicely fail when something Hans> fundamental has changed (names or so) Thanks for the hint. By inspecting type-otf.mkiv from texlive & context-minimals, I see that the latter is almost 4x bigger - probably it includes most of the interesting free fonts available. For now, it can be enough considering that atm we'll mostly write markdown/reST and convert to ConTeXt via pandoc, but later we'll go into final production and then there will be another question relevant - whether there are some affordable commercial quality fonts which could enhance the free collection and which cover extended Unicode range (we need to use Sanskrit diacritics that were created via TeX accent mechanism when we worked in old LaTeX). Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG: CDBF17CA -- -- Gour | Hlapicina, Croatia | GPG: CDBF17CA -- signature.asc Description: PGP 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] Footnote numbers not following \setupinteraction color
On 2010-08-13 <17:54:02>, John Haltiwanger wrote: > I seem to be full of problems today: > > --- > \setupcolors[state=start] > \setupinteraction[state=start, color=black] Hi John, it's a link to the same page: \setupinteraction[state=start, color=black, contrastcolor=black] should fix it. Philipp > > \setupcolor[hex] > \definecolor[titleRed][h=910A00] > > \starttext > > This \footnote{should not have a red color, correct?} > > \stoptext > --- > > The footnote number in the page footer inherits color titleRed, though > the footnote "notice" in the text is properly black. > > Also, this doesn't seem to affect links in my ToC (they aren't titleRed). > ___ > 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 > ___ -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpxClyMZh7dy.pgp Description: PGP 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 ___
[NTG-context] Footnote numbers not following \setupinteraction color
I seem to be full of problems today: --- \setupcolors[state=start] \setupinteraction[state=start, color=black] \setupcolor[hex] \definecolor[titleRed][h=910A00] \starttext This \footnote{should not have a red color, correct?} \stoptext --- The footnote number in the page footer inherits color titleRed, though the footnote "notice" in the text is properly black. Also, this doesn't seem to affect links in my ToC (they aren't titleRed). ___ 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] Simplefonts + Linux Libertine fails to do italics and bold
Thanks, that resolves it! On Fri, Aug 13, 2010 at 4:36 PM, Wolfgang Schuster wrote: > Am 13.08.10 13:58, schrieb John Haltiwanger: >> >> The following shows a problem I am seeing when trying to use the >> opentype version of Linux Libertine with the simplefonts module. >> >> \usemodule[simplefonts] >> \setmainfont[linlibertineo] > > You have to use the full name of the font, e.g. > > \setmainfont[Linux Libertine O] > > 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 > ___ > ___ 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] Simplefonts + Linux Libertine fails to do italics and bold
Am 13.08.10 13:58, schrieb John Haltiwanger: The following shows a problem I am seeing when trying to use the opentype version of Linux Libertine with the simplefonts module. \usemodule[simplefonts] \setmainfont[linlibertineo] You have to use the full name of the font, e.g. \setmainfont[Linux Libertine O] 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] simplefonts or Typecripts
On 13-8-2010 1:03, Gour D. wrote: Hello! I'd like to (finally) dive into ConTeXt (MkIV) using it for everything and stop using LyX/LaTeX...ConText is installed via context-minimals-git package on Archlinux (thank you Aditya). The 'Using fonts' section on wiki says: Handling fonts in LuaTeX can be done * in a simple but limited way, using the simplefonts module; * in the standard way, using TypeScripts and I've tried example with Delicious font (too bad there is no Croatian characters available) and it works. Considering I never learnt TypeScripts mechanism (and managed to forget most of ConteXr I knew when fiddling with it some years ago), I wonder if 'simplefonts' is THE way to go with fonts in MkIV and/or is there something one may miss by not using TypeScripts mechanism? it depends ... simplefonts uses some heuristics and therefore can make it easier but not all fonts fit into a systematic approach for a long time project making a few typescripts (just use those defined at the end of type-otf.mkiv as template) and using file: is more robust esp as it will nicely fail when something fundamental has changed (names or so) 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] Simplefonts + Linux Libertine fails to do italics and bold
On 13-8-2010 1:58, John Haltiwanger wrote: The following shows a problem I am seeing when trying to use the opentype version of Linux Libertine with the simplefonts module. \usemodule[simplefonts] \setmainfont[linlibertineo] \starttext Well, {\em this} doesn't work but {\sc this} does... and bold {\bf neither} \stoptext Using a recent minimals and a luatex ~0.60.2 . it might be related to the names of the fonts when they're taken from ctan as there fontnames get texified sometimes 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] Bugs in current beta (streams)
Hi, and how does one do this in mkiv now? http://wiki.contextgarden.net/Columns#Streams \usemodule[streams] \def\StartCouple{\page\SwitchToNormal} \def\StopCouple {\SwitchToNormal \SynchronizeLeftAndRight \FlushLeftAndRight} \def\Original {\SwitchToNormal\SynchronizeLeftAndRight\SwitchToLeft} \def\Translation{\SwitchToRight} \Original\en Are you sleeping, brother John? \Translation\de Bruder Jakob, schläfst du noch? i get the same error of course. thanks, Salil From: Hans Hagen To: mailing list for ConTeXt users Cc: Andreas Harder Sent: Wed, August 11, 2010 12:22:02 PM Subject: Re: [NTG-context] Bugs in current beta On 10-8-2010 5:36, Andreas Harder wrote: > Hi all, > > for me (OS X 10.6.4) > mtxrun –script server –auto > do not work. If I click on a font name I get: > MTXrun | request from: 127.0.0.1 > MTXrun | requested action: >/mtx-server-ctx-fonttest.lua?selection=hoeflertextregular > MTXrun | performing action: >/mtx-server-ctx-fonttest.lua?selection=hoeflertextregular > MTXrun | requested file >'/mtx-server-ctx-fonttest.lua?selection=hoeflertextregular' > MTXrun | handling error 404: Not Found > > Another thing is the streams-module. Here is an example: > > \usemodule[streams] > \definestreamlayer[test][method=overlay] > \setupbackgrounds[page][background=test] > > \starttext \showframe > \startstreamlayer[test] >\startcolumns > \input knuth >\stopcolumns > \stopstreamlayer > > \setlayer[test][x=5cm,y=10cm]{\placestreamlayer[test]} > \stoptext > > And here the error: > ! Undefined control sequence. > l.19 \defineoutputstream[\v!left] This is not really a bug. Streams in mkii are an experiment and will not be developed further (is a module after all). In mkiv there will be a different mechanism. There is some experimental code ... copied from the source: \enabletrackers[streams.flushing] \setuplayout[grid=yes] \showgrid \starttext \input tufte \startoutputstream[nl] Wat doen we hier? \enableoutputstream[en] Are you sleeping, brother John?\footnote{xxx} \dorecurse{4}{x \footnote{note \recurselevel}\input tufte \par \pushoutputstream} \enableoutputstream[de] Bruder Jakob, schläfst du noch?\footnote{yyy} \dorecurse{4}{x \footnote{note \recurselevel}\input ward \par \pushoutputstream} \disableoutputstream \stopoutputstream Vader Jacob, slaap je nog?\footnote{zzz} \input tufte \synchronizestreams[en,de,nl] \page \flushoutputstream[en] \input knuth \page \flushoutputstream[de] \input knuth \page \flushoutputstream[nl] \input knuth \stoptext 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 ___ ___ 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] Simplefonts + Linux Libertine fails to do italics and bold
The following shows a problem I am seeing when trying to use the opentype version of Linux Libertine with the simplefonts module. \usemodule[simplefonts] \setmainfont[linlibertineo] \starttext Well, {\em this} doesn't work but {\sc this} does... and bold {\bf neither} \stoptext Using a recent minimals and a luatex ~0.60.2 . ___ 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] simplefonts or Typecripts
Hello! I'd like to (finally) dive into ConTeXt (MkIV) using it for everything and stop using LyX/LaTeX...ConText is installed via context-minimals-git package on Archlinux (thank you Aditya). The 'Using fonts' section on wiki says: Handling fonts in LuaTeX can be done * in a simple but limited way, using the simplefonts module; * in the standard way, using TypeScripts and I've tried example with Delicious font (too bad there is no Croatian characters available) and it works. Considering I never learnt TypeScripts mechanism (and managed to forget most of ConteXr I knew when fiddling with it some years ago), I wonder if 'simplefonts' is THE way to go with fonts in MkIV and/or is there something one may miss by not using TypeScripts mechanism? Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG: CDBF17CA -- signature.asc Description: PGP 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] checking for module parameters
On 2010-08-13 <05:16:40>, Wolfgang Schuster wrote: > Am 13.08.10 00:20, schrieb Philipp Gesang: > >Hi, > > > >is there a way to check whether an option was specified through \usemodule? > >Couldn't find anything like that in core-fil.mkiv. > > > >I'd imagined some branching as with the system macros: > > > >·· Wishful thinking > >··· > > > >\doifmoduleparameter{modulename}{key} % in the module > >code > > {\somecommand[\moduleparameter{modulename}{key}]} > > > >\usemodule % user code > > [modulename] > > [key=val] > > > >· /Wishful thinking > >··· > > > >Thanks for any suggestions, > > You can set a empty value for the kay in your module and check if > the user has set a value with \usemodule: > > \setupmodule[key=] > > \doifsomething{\currentmoduleparameter{key}}{\setupsomething[key=\currentmoduleparameter{key}]} > > For a better answer i have to know for what purpose you need this > information. Hi Wolfgang, you don't have to look any further, this is exactly what I was looking for! (Note to self: maybe it is time to investigate the dozens of doif.* tests a bit more thoroughly.) Thanks, Philipp > > 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 > ___ -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpo48kjxT6Wl.pgp Description: PGP 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 ___