Re: [NTG-context] setupformulas options (or defineformula) and effort to reduce the font in math formulas
Thanx Wolfgang for reply. I had no idea that it is possible in this way to change the font size. I could not figure a way for your solution set alignment formulas to right and how work \defineformula and \definestartstop together. After defining a new MY formula in combination with your solution works it fine, as I had imagined. Is there any possibility of setting of parameters a newly defined formulas? Or, it can not be done, and everything must be solved within the initial definition? One more thanx Jaroslav Hajtmar \defineformula[MY][ align=right, strut=yes, spacebefore=, spaceafter=, ] \definestartstop[smallformula] [before={\startformula[small]}, after=\stopformula, ] % \setupformulas[align=right,strut=yes,spacebefore=,spaceafter=] % \setupformulas[smallformula][align=right,strut=yes,spacebefore=,spaceafter=] % \setupformulas[small][align=right,strut=yes,spacebefore=,spaceafter=] % \setupsmallformulas[align=right,strut=yes,spacebefore=,spaceafter=] % \setupsmallformulaformulas[align=right,strut=yes,spacebefore=,spaceafter=] % \setupformulas[MY][align=right,strut=yes,spacebefore=,spaceafter=] % \setupformulas[MYformula][align=right,strut=yes,spacebefore=,spaceafter=] % \setupMYformulas[align=right,strut=yes,spacebefore=,spaceafter=] \starttext \startformula c^2 = a^2 + b^2 \stopformula \startformula[small] c^2 = a^2 + b^2 \stopformula \startformula[8pt] c^2 = a^2 + b^2 \stopformula \startsmallformula c^2 = a^2 + b^2 \stopsmallformula \startMYformula[small] c^2 = a^2 + b^2 \stopMYformula \startMYformula[5pt] c^2 = a^2 + b^2 \stopMYformula \stoptext Dne 11.3.2015 v 0:52 Wolfgang Schuster napsal(a): \startformula has a optional argument which let you change the font, e.g. \startformula[9pt]. \definestartstop[smallformula] [before={\startformula[small]}, after=\stopformula] \starttext \startformula c^2 = a^2 + b^2 \stopformula \startformula[small] c^2 = a^2 + b^2 \stopformula \startsmallformula c^2 = a^2 + b^2 \stopsmallformula \stoptext ___ 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] Hanging indent
Am 11.03.2015 um 16:50 schrieb Willi Egger cont...@boede.nl: Dear Wolfgang, adding to my environment or using your code instead seems not to have the desired result. I still have the situation as before… Using Context 2015-03-11 The following definition for the environment works: \define\startHangPar {\begingroup\EveryPar{\hangafter\plusone\hangindent\emwidth\relax}} \define\stopHangPar {\par\endgroup\blank[Afterhangingparagraph]} 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] footnote link destionations in interactive documents
On 3/11/2015 6:52 PM, Pablo Rodriguez wrote: On 03/10/2015 10:12 PM, Hans Hagen wrote: On 3/10/2015 6:04 PM, Pablo Rodriguez wrote: Hans, I have the following sample: \setupinteraction[state=start, focus=standard] \starttext \completecontent \chapter{Chapter 1} a\footnote{b} \stoptext The sample above has a /XYZ link destination for the table of contents, but two /Fit link destinations for footnotes. Now that links work better since the first beta from yesterday, wouldn’t it be possible that footnote links in interactive documents use the same kind of destinations than the other links? as we're closing in to a tex live release and therefore a current i'm not going to touch reference/destination code now (also because it's pretty hard to test, this kind of viewer related mess) Many thanks for your reply, Hans. Would it be fine if I raise this issue again in two/three months? sure - 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] Hanging indent
Hello Wolfgang, thank you so much for looking into this matter again. Indeed now the hanging indent works, provided that the paragraph das not start with {\bf Aanslaan,}. It seems that there is interference with the bold-switch. So I am puzzled again. \define\startHangPar {\begingroup\EveryPar{\hangafter\plusone\hangindent\emwidth\relax}} \define\stopHangPar {\par\endgroup\blank[Afterhangingparagraph]} \starttext \startHangPar \input knuth \stopHangPar \startHangPar Aanslaan, aanspreken. Een poging in 't werk stellen. Ik zal dat heertje reis aanslaan. Sla dien broger (man) aan, misschien heeft hij poen (geld). Jongens, er moet aangeslagen worden, daar loopt mooi gajes (menschen daar wat van te halen is). \stopHangPar \startHangPar Afleggen, beloeren, ongemerkt nagaan, verkennen. De russen (rechercheurs) hebben hem afgelegen (beloerd). Dat spiese (huis) moet eerst afgelegen worden. Een smeris legt je af. (Een agent bespiedt je). \stopHangPar \startHangPar {\bf Aanslaan,} aanspreken. Een poging in 't werk stellen. Ik zal dat heertje reis aanslaan. Sla dien broger (man) aan, misschien heeft hij poen (geld). Jongens, er moet aangeslagen worden, daar loopt mooi gajes (menschen daar wat van te halen is). \stopHangPar \startHangPar {\bf Afleggen,} beloeren, ongemerkt nagaan, verkennen. De russen (rechercheurs) hebben hem afgelegen (beloerd). Dat spiese (huis) moet eerst afgelegen worden. Een smeris legt je af. (Een agent bespiedt je). \stopHangPar \stoptext Best wishes Willi On 11 mrt. 2015, at 17:04, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 11.03.2015 um 16:50 schrieb Willi Egger cont...@boede.nl: Dear Wolfgang, adding to my environment or using your code instead seems not to have the desired result. I still have the situation as before… Using Context 2015-03-11 The following definition for the environment works: \define\startHangPar {\begingroup\EveryPar{\hangafter\plusone\hangindent\emwidth\relax}} \define\stopHangPar {\par\endgroup\blank[Afterhangingparagraph]} 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] Bibliographies in mkiv - announcement and WARNING!
On 3/11/2015 9:50 AM, Robert Blackstone wrote: On 9 Mar 2015, at 21:28 , Alan BRASLAU alan.bras...@cea.fr mailto:alan.bras...@cea.fr ANNOUNCEMENT We introduced into the core of MKIV a dataset subsystem, not necessarily limited to the generation of bibliographic lists. This new subsystem has been part of the distribution for some time and an early first draft of its documentation had been made available. After putting the new system to heavy use in a real, bibliographic-intensive book project, and after much fighting back-and-forth over specifications and design choices, the upcoming beta standalone distribution will finally contain this completely revamped subsystem. Hans and Alan (also with the help of Thomas and Luigi). Hi Alan and Hans, Maybe it is a bit early to ask questions already about this new bibliography tool. But it really interests me and I do need it. First of all, I compiled the ME and added a number of my own .bib entries and they all came out well. It looks as if I can just continue use my existing BibTex database in the new system and continue using BibDesk for new items, which is a very good thing. No need to generate .bbl’s separately. (Though I hope that ConTeXt will keep the possibility to process .bbl’s as before.) you can load a bbl file and it will be converted into the internal format and can then be used, assuming the bbl is sane My questions are: 1 The ME contains no setup, no indication of a particular Bibliography style. What comes out in the ME looks like apa. Are there style files connected with this system? If so are they accessible for tweaking (I need some rather uncommon Bibliography style, sort of apa-like but different in many details)? You need to load apa explicitly but there are some simple defaults for article, book and a few more. When you roll out you rown you can do two things (will b eexplained in manual): - copy the 'apa' files to 'foo' files - replace all apa by foo - tweak - use foo or - define a new one foo - that defaults to apa - and only implment changes (with foo setups) 2 The \cite-command turns out just some number in square brackets, no info on what is cited. Is that a bug? - it's the default cite rendering 3 In the old system I used \dcite[key] for footnotes but \dcite is not recognized now. Is there another way? we are unware of such footnote commands but we do provide mathods to construct registers and such upto Alan to explain more 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] footnote link destionations in interactive documents
On 03/10/2015 10:12 PM, Hans Hagen wrote: On 3/10/2015 6:04 PM, Pablo Rodriguez wrote: Hans, I have the following sample: \setupinteraction[state=start, focus=standard] \starttext \completecontent \chapter{Chapter 1} a\footnote{b} \stoptext The sample above has a /XYZ link destination for the table of contents, but two /Fit link destinations for footnotes. Now that links work better since the first beta from yesterday, wouldn’t it be possible that footnote links in interactive documents use the same kind of destinations than the other links? as we're closing in to a tex live release and therefore a current i'm not going to touch reference/destination code now (also because it's pretty hard to test, this kind of viewer related mess) Many thanks for your reply, Hans. Would it be fine if I raise this issue again in two/three months? Many thanks for your help again, Pablo -- http://www.ousia.tk ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Hanging indent
Am 11.03.2015 um 18:23 schrieb Willi Egger cont...@boede.nl: Hello Wolfgang, thank you so much for looking into this matter again. Indeed now the hanging indent works, provided that the paragraph das not start with {\bf Aanslaan,}. It seems that there is interference with the bold-switch. So I am puzzled again. You have to add \dontleavehmode in front of the font switch. \startHangPar \dontleavehmode{\bf Afleggen,} beloeren, ongemerkt nagaan, verkennen. De russen (rechercheurs) hebben hem afgelegen (beloerd). Dat spiese (huis) moet eerst afgelegen worden. Een smeris legt je af. (Een agent bespiedt je). \stopHangPar 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] Bibliographies in mkiv - announcement and WARNING!
On 9 Mar 2015, at 21:28 , Alan BRASLAU alan.bras...@cea.fr ANNOUNCEMENT We introduced into the core of MKIV a dataset subsystem, not necessarily limited to the generation of bibliographic lists. This new subsystem has been part of the distribution for some time and an early first draft of its documentation had been made available. After putting the new system to heavy use in a real, bibliographic-intensive book project, and after much fighting back-and-forth over specifications and design choices, the upcoming beta standalone distribution will finally contain this completely revamped subsystem. Hans and Alan (also with the help of Thomas and Luigi). Hi Alan and Hans, Maybe it is a bit early to ask questions already about this new bibliography tool. But it really interests me and I do need it. First of all, I compiled the ME and added a number of my own .bib entries and they all came out well. It looks as if I can just continue use my existing BibTex database in the new system and continue using BibDesk for new items, which is a very good thing. No need to generate .bbl’s separately. (Though I hope that ConTeXt will keep the possibility to process .bbl’s as before.) My questions are: 1 The ME contains no setup, no indication of a particular Bibliography style. What comes out in the ME looks like apa. Are there style files connected with this system? If so are they accessible for tweaking (I need some rather uncommon Bibliography style, sort of apa-like but different in many details)? 2 The \cite-command turns out just some number in square brackets, no info on what is cited. Is that a bug? 3 In the old system I used \dcite[key] for footnotes but \dcite is not recognized now. Is there another way? Best regards, Robert Blackstone ___ 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 ___