[NTG-context] Animations
Hi Hans, this is a feature request regarding fieldstack based animations. Since i want to use fieldstacks in one of my modules i’m looking for a simple to use interface to produce animations, for the moment i create a symbol for each frame and put them together with a fieldstack. For latex there is a package called animate [1] which provides a environment to produce animations with buttons for navigation (just a take a look at the examples in the manual, code is not relevant for us). I wrote now a short dummy module [1] to demonstrate how this could look in context, the first file [1] contains a few example, the environment is inspired by \startoverlay/\stopoverlay but it needs a alternative method to allow loops (look at the third example in this file). The second test file shows which navigation buttons i want for such a module, the are “first frame”, “previous frame”, “play” and “stop” animation, “next frame” and “last frame”. As a alternative one can produce a animation with a overlay button only with a symbol on the first frame to indicate a interactive element. [1] http://ctan.org/tex-archive/macros/latex/contrib/animate/animate.pdf [2] http://bitbucket.org/wolfs/animation/src/tip/files/ [3] http://bitbucket.org/wolfs/animation/src/tip/files/animation-1.tex [4] http://bitbucket.org/wolfs/animation/src/tip/files/animation-2.tex 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] Animations
On 2-11-2010 9:39, Wolfgang Schuster wrote: Hi Hans, this is a feature request regarding fieldstack based animations. I'll send you something to test. - 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] Feature request: list of abbreviations
Dear Hans, Some time ago you said it would not be difficult to have the list of abbreviations listed in the opposite order, that is The full form the short form and you told me to remind you later about this feature request. That is what I am doing now… If one considers the minimal example: % - begin abbrev-test.tex \definesynonyms[abbreviation][abbreviations][\infull][\inshort] \starttext \abbreviation{LCTVS}{Locally Convex Topological Vector Space} \abbreviation{EEG} {Electroencephalogram} \abbreviation{ERP} {Event-Related Potentials} \abbreviation{TVS}{Topological Vector Space} Test inshort: \inshort{EEG}, \inshort{ERP}, \inshort{TVS}, Test infull: \infull{EEG}, \infull{ERP}, \infull{TVS}, \infull{LCTVS} \completelistofabbreviations \stoptext % - end abbrev-test.tex Is it possible to obtain, beside the list of abbreviations, another ordered list in which the full variant is in the first column while the short variant is in the second column? That is a new command, or an option in the \setupListOfAbbreviations, resulting in ElectroencephalogramEEG Event-Related PotentialsERP Locally Convex Topological Vector Space LCTVS Topological Vector SpaceTVS Thanks in advance for any help or insight. Best regards: OK ___ 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] manipulate ttf-fonts loaded with luatex
Am Thu, 28 Oct 2010 20:56:41 +0200 schrieb Hans Hagen: Hm. I do have a bit the impression as if we have here a context and latex philosophy clash. I'm not asking you to provide a funktion Huh? I'm not sure what philosophy refers to, Well I refer to sentences like this: Sure, but the first complaints would end up in ... my mailbox unless your package is private The fact that it's custom in latex to overload code and thus create a maintaince depency does not mean that I want such a dependency on my code. Unlike context latex is decentral. Reponsability is splitted. And so no one would feel that I'm a thread for their code or to their support burden if I would announce a package. Nobody would feel the urge to take away the task from me for fear that I break something. Anyway: I'm writing latex packages. Whatever I will do: no context user will be affected by my code. Couldn't you give some examples how to manipulate a font after it has been defined with \font\test (if it is possible) and then let me play around? ... Anyhow, you can access some font data afterwards. In context form: \startluacode function Whatever(name) for k, v in pairs(fonts.ids[font.current()].descriptions) do if v.name == name then tex.sprint(\\char..k..\\relax) break end end end \stopluacode \font\test=file:pirat.ttf \def\MyChessChar#1{{\test\directlua{Whatever(#1)}}} \MyChessChar{c160} This is dead slow and inefficient but as you don't want a proper function for it I don't care too much. This is an interesting piece of code but not actually what I asked for. I don't need to loop through the font to find out the correct \char-command connected to a glyph. I can look it up in fontforge and store it in a table. I need a way to reencode/reorder the font, so that the input K points to the glyph c140. Pirat is not the only chessfont I have, I don't want to change the input if I change the font, so every chessfont should have the same internal order. My main problem is that they are so few informations about the generic context font loader code. E.g. after the rereading of the luatex manual I came up with the following: \starttext \font\test={file:PIRAT.TTF} \test %K\char75\char140\char140 \directlua{ mytable=font.fonts[font.id('test')] mytable.characters[75],mytable.characters[140]=mytable.characters[140],mytable.characters[75] tex.definefont(testb,font.define(mytable)) } \testb K\char75\char140\char140 \stoptext Then input K gives me (as wanted) a king. But it leads to questions: 1. Why is the spacing in \testb wrong if the chars have been already used after \test? 2. Which values/tables in mytable should I reset/change too to get a sane font \testb? 3. I can also use mytable=fonts.ids[font.id('test')]. Is this better? What are the differences? Interesting is that it does not work out (as wis to be expected as the normal glyph access function does something similar). ? I didn't understand this remark. If you mean that you didn't get an output: There is nothing at position 160. The king is c140. -- Ulrike Fischer ___ 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] manipulate ttf-fonts loaded with luatex
On 2-11-2010 4:16, Ulrike Fischer wrote: and store it in a table. I need a way to reencode/reorder the font, so that the input K points to the glyph c140. Pirat is not the only chessfont I have, I don't want to change the input if I change the font, so every chessfont should have the same internal order. (1) you can write your own fontloader (which in the case of a symbol font is no big deal, i.e. just slots and dimensions and 1-to-1 mapping as no unicode is needed, and info about that can be found in the luatex manual) (2) you can intercept the table just before it is passed to tex (for which you need to look into the bit of code that latex i.e. just before font.define is called and the table passed is the one that needs to be tweaked, that table conforms to the luatex spec) My main problem is that they are so few informations about the generic context font loader code. E.g. after the rereading of the luatex manual I came up with the following: (3) some day I'll probably document the relevant (and public) part of the low level interface; till then the source is the documentation (probably of not much use outside context as we have a different font model) 1. Why is the spacing in \testb wrong if the chars have been already used after \test? because the font is already loaded and frozen 2. Which values/tables in mytable should I reset/change too to get a sane font \testb? whatever value you want, but before the font is passed to tex (so before font.define is called cq. the font define callback is finished in the latex code) 3. I can also use mytable=fonts.ids[font.id('test')]. Is this better? What are the differences? fonts.ids accessed the font info that lives at the tex end but changing values like widths won't have any effect on tex as they are frozen already (after all they end up in backend code as well) 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] Bug in mkiv with Times?
Hi all, With the latest release (ConTeXt ver: 2010.11.01 12:14 MKIV), in mkiv the following gives a wrong size for \sum and the integral sign \int, and the bounds of the integral are wrongly placed: begin bug-times.tex \usetypescript[times] \setupbodyfont[times,12pt] \starttext The expansion of $u\in L^2(0,\pi)$ in the base $(\varphi_{k})_{k\geq1}$ is defined as \startformula u = \sum_{k\geq1} c_{k}(u) \phi_{k}, \qquad \mbox{where } c_{k}(u) := \int_{0}^\pi u(x)\varphi_{k}(x) dx, \stopformula \stoptext end bug-times.tex As far as I can say, this didn't happen before, but I cannot say from when this is broken. Using \usetypescript[termes] \setupbodyfont[termes,12pt] instead of times, does not change the result. Any idea what is going on? Thanks in advance for your attention and help. bug-times.pdf Description: Adobe PDF document ___ 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 in mkiv with Times?
On 2-11-2010 6:33, Otared Kavian wrote: Hi all, With the latest release (ConTeXt ver: 2010.11.01 12:14 MKIV), in mkiv the following gives a wrong size for \sum and the integral sign \int, and the bounds of the integral are wrongly placed: begin bug-times.tex \usetypescript[times] \setupbodyfont[times,12pt] \starttext The expansion of $u\in L^2(0,\pi)$ in the base $(\varphi_{k})_{k\geq1}$ is defined as \startformula u = \sum_{k\geq1} c_{k}(u) \phi_{k}, \qquad \mbox{where } c_{k}(u) := \int_{0}^\pi u(x)\varphi_{k}(x) dx, \stopformula \stoptext end bug-times.tex As far as I can say, this didn't happen before, but I cannot say from when this is broken. Using \usetypescript[termes] \setupbodyfont[termes,12pt] instead of times, does not change the result. Any idea what is going on? Thanks in advance for your attention and help. it also happens with lm, but cambria is ok, so it's related to the virtual font builder .. puzzled 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] XML ConTeXt
Hello list, I'm working with XML in ConTeXt. Now I want parse a XML-File with the following structure, which is an export from a database. ?xml version=1.0 encoding=UTF-8? personal person Name/Name Vorname/Vorname Titel/Titel Bezeichnung/Bezeichnung Mail/Mail Raum/Raum Telefon/Telefon /person I'm using this ConTeXt script. \setuppapersize [A4,landscape][A4,landscape] \usemodule [simplefonts] \setmainfont[rubscalatz] \setsansfont[rubflama] \startxmlsetups xml:personen:base % associate setups with elements \xmlsetsetup{personen}{personal|person}{xml:personen:*} \stopxmlsetups \xmlregisterdocumentsetup{personen}{xml:personen:base} \startxmlsetups xml:personen:personal \title{Personalverzeichnis} \placelist[chapter] \page \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:personen:personal:person % associate setups with elements \bTABLE \bTR \bTD {/Name} \eTD \eTR \eTABLE \stopxmlsetups \starttext \xmlprocessfile{personen}{personen.xml}{} \stoptext The generated PDF-file only consists of one page with the chapter Personalverzeichnis. Can anybody tell me, where the mistake is? Daniel ___ 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] XML ConTeXt
Hi Daniel, On 11/02/2010 08:50 PM, Daniel Grycman wrote: Hello list, I'm working with XML in ConTeXt. Now I want parse a XML-File with the following structure, which is an export from a database. ?xml version=1.0 encoding=UTF-8? personal person Name/Name Vorname/Vorname Titel/Titel Bezeichnung/Bezeichnung Mail/Mail Raum/Raum Telefon/Telefon /person /personal First, there is nothing to flush in the elements. You want to flush content of the elements (now empty), or their names? \setuppapersize [A4,landscape][A4,landscape] \usemodule [simplefonts] \setmainfont[rubscalatz] \setsansfont[rubflama] \startxmlsetups xml:personen:base % associate setups with elements \xmlsetsetup{personen}{personal|person}{xml:personen:*} \stopxmlsetups \xmlregisterdocumentsetup{personen}{xml:personen:base} \startxmlsetups xml:personen:personal \title{Personalverzeichnis} \placelist[chapter] \page \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:personen:personal:person \startxmlsetups xml:personen:person this is above registered xmlsetup \bTABLE \bTR \bTD {/Name} \eTD \eTR \bTR \bTD \xmltext{#1}{/Name} \eTD \eTR you either flush named element with \xmltext or all elements with \xmlflush \eTABLE \stopxmlsetups \starttext \xmlprocessfile{personen}{personen.xml}{} \stoptext The generated PDF-file only consists of one page with the chapter Personalverzeichnis. Can anybody tell me, where the mistake is? Daniel Jano ___ 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] XML ConTeXt
Hi Jano and list, it works so far. But how can I set up a tablehead for the whole table? Daniel Am 02.11.10 21:22 schrieb Jano Kula unter jano.k...@tiscali.cz: Hi Daniel, On 11/02/2010 08:50 PM, Daniel Grycman wrote: Hello list, I'm working with XML in ConTeXt. Now I want parse a XML-File with the following structure, which is an export from a database. ?xml version=1.0 encoding=UTF-8? personal person Name/Name Vorname/Vorname Titel/Titel Bezeichnung/Bezeichnung Mail/Mail Raum/Raum Telefon/Telefon /person /personal First, there is nothing to flush in the elements. You want to flush content of the elements (now empty), or their names? \setuppapersize [A4,landscape][A4,landscape] \usemodule [simplefonts] \setmainfont[rubscalatz] \setsansfont[rubflama] \startxmlsetups xml:personen:base % associate setups with elements \xmlsetsetup{personen}{personal|person}{xml:personen:*} \stopxmlsetups \xmlregisterdocumentsetup{personen}{xml:personen:base} \startxmlsetups xml:personen:personal \title{Personalverzeichnis} \placelist[chapter] \page \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:personen:personal:person \startxmlsetups xml:personen:person this is above registered xmlsetup \bTABLE \bTR \bTD {/Name} \eTD \eTR \bTR \bTD \xmltext{#1}{/Name} \eTD \eTR you either flush named element with \xmltext or all elements with \xmlflush \eTABLE \stopxmlsetups \starttext \xmlprocessfile{personen}{personen.xml}{} \stoptext The generated PDF-file only consists of one page with the chapter Personalverzeichnis. Can anybody tell me, where the mistake is? Daniel Jano __ _ 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] XML ConTeXt
Am 02.11.2010 um 22:17 schrieb Daniel Grycman: Hi Jano and list, it works so far. But how can I set up a tablehead for the whole table? http://wiki.contextgarden.net/TABLE#Multipage_TABLEs 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] XML ConTeXt
Hi Wolfgang and list, I already used this multipage table. But the result showed a header for every entry of the xml-source. Is there an option which I missed? \startxmlsetups xml:personen:person % associate setups with elements \bTABLE[split=yes,width=11em] \setupTABLE[row][*][width=\textwidth] \bTABLEhead \bTR \bTH Name \eTH \bTH Vorname \eTH \bTH Email-Adresse \eTH \bTH Raum \eTH \bTH Telefon \eTH \eTR \eTABLEhead \bTABLEbody \bTR \bTD \xmltext{#1}{/Titel} \xmltext{#1}{/Name} \eTD \bTD \xmltext{#1}{/Vorname} \eTD \bTD \xmltext{#1}{/Mail} \eTD \bTD \xmltext{#1}{/Raum} \eTD \bTD \xmltext{#1}{/Telefon} \eTD \eTR \eTABLEbody \eTABLE \stopxmlsetups Daniel Am 02.11.10 22:38 schrieb Wolfgang Schuster unter schuster.wolfg...@googlemail.com: Am 02.11.2010 um 22:17 schrieb Daniel Grycman: Hi Jano and list, it works so far. But how can I set up a tablehead for the whole table? http://wiki.contextgarden.net/TABLE#Multipage_TABLEs 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] XML ConTeXt
A side remark: Try to indent your context code so that it is easier to read (just like you indent xml). For example (adding | so that the email client does not reformt it) | \startxmlsetups xml:personen:person % associate setups with elements | \bTABLE[split=yes,width=11em] | \setupTABLE[row][*][width=\textwidth] | \bTABLEhead | \bTR | \bTH Name \eTH | \bTH Vorname \eTH | \bTH Email-Adresse \eTH | \bTH Raum \eTH | \bTH Telefon \eTH | \eTR | \eTABLEhead | \bTABLEbody | \bTR | \bTD \xmltext{#1}{/Titel} \xmltext{#1}{/Name} \eTD | \bTD \xmltext{#1}{/Vorname} \eTD | \bTD \xmltext{#1}{/Mail}\eTD | \bTD \xmltext{#1}{/Raum}\eTD | \bTD \xmltext{#1}{/Telefon} \eTD | \eTR | \eTABLEbody | \eTABLE | \stopxmlsetups This makes it much easier to see 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] XML ConTeXt
On 11/02/2010 10:59 PM, Daniel Grycman wrote: Hi Wolfgang and list, I already used this multipage table. But the result showed a header for every entry of the xml-source. Is there an option which I missed? No option, you want to set up the header only once, hence you need to typeset it in the parent element of multiple person elements, here personal. \startxmlsetups xml:personen:personal \title{Personalverzeichnis} \placelist[chapter] \page % open table \bTABLE[split=yes,width=11em] \setupTABLE[row][*][width=\textwidth] \bTABLEhead \bTR \bTH Name \eTH \bTH Vorname \eTH \bTH Email-Adresse \eTH \bTH Raum \eTH \bTH Telefon \eTH \eTR \eTABLEhead \bTABLEbody % and now deeper to multiple persons (rows) \xmlflush{#1} % close table \eTABLEbody \eTABLE \stopxmlsetups \startxmlsetups xml:personen:person % here every person generates one row \bTR \bTD \xmltext{#1}{/Titel} \xmltext{#1}{/Name} \eTD \bTD \xmltext{#1}{/Vorname} \eTD \bTD \xmltext{#1}{/Mail} \eTD \bTD \xmltext{#1}{/Raum} \eTD \bTD \xmltext{#1}{/Telefon} \eTD \eTR \stopxmlsetups Jano \startxmlsetups xml:personen:person % associate setups with elements \bTABLE[split=yes,width=11em] \setupTABLE[row][*][width=\textwidth] \bTABLEhead \bTR \bTH Name \eTH \bTH Vorname \eTH \bTH Email-Adresse \eTH \bTH Raum \eTH \bTH Telefon \eTH \eTR \eTABLEhead \bTABLEbody \bTR \bTD \xmltext{#1}{/Titel} \xmltext{#1}{/Name} \eTD \bTD \xmltext{#1}{/Vorname} \eTD \bTD \xmltext{#1}{/Mail} \eTD \bTD \xmltext{#1}{/Raum} \eTD \bTD \xmltext{#1}{/Telefon} \eTD \eTR \eTABLEbody \eTABLE \stopxmlsetups Daniel Am 02.11.10 22:38 schrieb Wolfgang Schuster unter schuster.wolfg...@googlemail.com: Am 02.11.2010 um 22:17 schrieb Daniel Grycman: Hi Jano and list, it works so far. But how can I set up a tablehead for the whole table? http://wiki.contextgarden.net/TABLE#Multipage_TABLEs 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 ___ ___ 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] Wiki: Searching for »Mac« give s no result.
Dear ConTeXt folks, as the subject says, searching for »Mac« does not find any results [1]. Searching for for example »linux« works though. Am I missing something? Thanks, Paul [1] http://wiki.contextgarden.net/index.php?title=Special%3ASearchns0=1ns1=1ns2=1ns3=1ns4=1ns5=1ns6=1ns7=1ns8=1ns9=1ns10=1ns11=1ns12=1ns13=1ns14=1ns15=1redirs=1search=Macfulltext=Advanced+search signature.asc Description: This is a digitally signed message part ___ 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] Wiki: Searching for »Mac« give s no result.
as the subject says, searching for »Mac« does not find any results [1]. Indeed, it does not. What would you expect to find? ConTeXt is a very system-independent piece of software; there are of course differences in the use of ConTeXt on different operating systems, but they are mostly caused by the differences between the operating systems themselves. For example, installation procedures vary a lot, and indeed Mac installation yields some results (including a page with that precise name). Am I missing something? No. Arthur ___ 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] luatex-fonts-merged.lua can not work
Hi Hans, It seems like the char-def.lua code is not merged into luatex-fonts-merged.lua. It causes: ! LuaTeX error ...-context/tex/generic/context/luatex-fonts-merged.lua:5690: attempt to index global 'characters' (a nil value) -- Best regards, Li Yanrui (李延瑞) ___ 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] luatex-fonts-merged.lua can not work
On Wed, Nov 03, 2010 at 09:29:39AM +0800, Li Yanrui (李延瑞) wrote: Hi Hans, It seems like the char-def.lua code is not merged into luatex-fonts-merged.lua. It causes: ! LuaTeX error ...-context/tex/generic/context/luatex-fonts-merged.lua:5690: attempt to index global 'characters' (a nil value) Also (after deleting that line since chardata is not actually used anywhere), node mode does not seem to work: \input{luatex-fonts} \font\testa={file:xits-regular:mode=node;+liga} at 45pt \font\testb={file:xits-regular:mode=base;+liga} at 45pt \testa fi fl ffi ffl\par \testb fi fl ffi ffl\par \bye Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___ 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] Q about hangaround commands
Hi. Some answers I found myself :) 2010/10/26 Vladimir Lomov lomov...@gmail.com: Hi. I'm trying to figure out the limitation of \start/stophangaround commands. 1. Is it correct that currently the figure could be placed only on left? If so is it easy to extend the command to allow placing figure at right side? 2. Is there way to increase/decrease the space between the text and image? 3. Is it correct that hangaround command is tricky hack that change normal flow? 2. - \setuphanging[desitance=0.7em], for example. 3. - To make '2.' appear on left side it is enough to put empty line between \item and \starthangaround. IMHO, this is workaround, not solution. P.S. I have feeling that feature like 'hangaround' doesn't fit well with tex (page layout ...?) model. --- WBR, Vladimir Lomov. ___ 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] How to put mark in right margin even for equation [SOLVED]
Hi. 2010/10/29 Vladimir Lomov lomov...@gmail.com: Hi. Please consider the attached example. I want to put a mark (how many points will give the answer on a question) on right margin. I define command '\pointsMark' to do that but it fails if I put it inside \start/stopformula. Could someone give advice how to put such mark on right margin even for equation? I tried to find a bit more information about margins but context manual don't provide details (I'll try later with sources). I also tried to see how to use 'plain' TeX commands for marginal material (I looked to TeX by Topic) but didn't find appropriate section. Meanwhile I clarify for myself what I need from margins: I want to put a text on right margin (like in previous example) but want the text to be aligned to right (all text in right margin should have the same right edge). EDT: I found solution for this: code \setupimnargin[right][align=left] %%% Ok, I thought that align=left it to align to the left edge. /code I tried to find a bit more information about margins but context manual don't provide details Look the source, Luke :D Now the only question is how to put text on right margin within \start/stopformula. But this is matter of taste. P.S. The solution for the problem is much simpler than I use in LaTeX (tricks with lengths). --- WBR, Vladimir Lomov ___ 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 ___