Re: [NTG-context] repost add bib category?
I am also interested in such a feature! Master's theses are also cited now and then. On 10-09-13 09:09, Meer, H. van der wrote: I am reposting this, because I did not see someone reply. Is there anyone who can help me out? Thanks in advance. Hans van der Meer On 6 sep. 2013, at 09:36, Meer, H. van der h.vanderm...@uva.nl mailto:h.vanderm...@uva.nl wrote: I am in need of a reference to a bachelor thesis but the file bxml-apa.mkiv only provides phdthesis as a possibility. Adding the following code to bxml-apa.mkiv doesn't work or is not enough to add the bachelorthesis as an extra. I did search for phdthesis in the ConTeXt base files and was found once: in the bxml-apa.mkiv file. How to? \startxmlsetups bibtex:apa:bachelorthesis \setvariables[bibtex:temp][label=Bachelor thesis] \bibxmlsetup{bibtex:apa:common:thesis} \stopxmlsetups used in the .bib file as: @bachelorthesis{rijneveld:13, Author = {A. Author}, School = {Excellent University}, Title = {{How the Dutch.}}, Year = {2013}} 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- Beste mevrouw/mijnheer, Met vriendelijke groet, Sander Maijers ___ 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] Last call to 7th ConTeXt Meeting
Dear all, this is the last call for passengers to 7th ConTeXt Meeting in Brejlov, Czech Republic to register. Those who did so are already boarding. We have set up the last-minute fees (lower than regular ones). The program has been updated and expect more: http://meeting.contextgarden.net/2013/abstracts.shtml There are some places left, so do not hesitate and become a ConTeXt insider in one week. Good company, delicious food and drinks, beautiful countryside and good weather guaranteed! See you in Brejlov, Jano, Pavel, Hans Taco http://meeting.contextgarden.net/2013/ ___ 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] Kashide in ConTeXt
I thought this was already implemented in context because of Hans's talk in TUG 2010[1]. Thanks [1] http://river-valley.tv/building-paragraphs-with-the-help-of-lua/ On Thu, Sep 12, 2013 at 4:13 AM, Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu wrote: ** Salaam, Vafa, On Tue, 10 Sep 2013 09:34:23 -0600, Vafa Khalighi persian-...@tug.org wrote: it is about stretching words. It can be done manually, of course, by just manual insertions of U+0640. Did you mean something else by 'manual'? As for automatic, it is in the pipeline and my hope is it will be done by Spring if not earlier. Best wishes Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] Bug in inframed
I found the following bug in \inframed, getting problems with inframing arabic words, try the following example \definefont[arab][name:arial*arabic at 18pt] \define[1]\awort{{\hbox{\setupalign[r2l]\arab#1}}} \starttext \awort{بِالصَّالِحِينَ}\blank \awort{\inframed{بِالصَّالِحِينَ}} \stoptext You see the difference: The inframed has right-shifted vocalizations. Is that easy to fix? Huseyin ___ 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 inframed
On Thu, 12 Sep 2013, H. Özoguz wrote: I found the following bug in \inframed, getting problems with inframing arabic words, try the following example \definefont[arab][name:arial*arabic at 18pt] \define[1]\awort{{\hbox{\setupalign[r2l]\arab#1}}} Untested, but why not \defineframed[awort][align=r2l, foregroundstyle=\arab, frame=off] and then you should be able to use \awort[frame=on,location=low]{} which is similar to \inframed. 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 ___
[NTG-context] table cell frames
Is it possible to have different colored table cell border frames? I tried using the \setuptables[rulecolor=...] but it didn't work. Here is a minimal example: % \setuptables[rulecolor=red] \starttext \starttable[|l|c|] \NC Column \#1 \VL Column \#2 \SR \DL\DC\DR \NC City \VL Prefecture \LR \stoptable \stoptext % Please advise. ___ 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 inframed
Salaam, On Thu, 12 Sep 2013 06:09:46 -0600, H. Özoguz h.oezo...@mmnetz.de wrote: I found the following bug in \inframed, getting problems with inframing arabic words, try the following example \definefont[arab][name:arial*arabic at 18pt] \define[1]\awort{{\hbox{\setupalign[r2l]\arab#1}}} \starttext \awort{بِالصَّالِحِينَ}\blank \awort{\inframed{بِالصَّالِحِينَ}} \stoptext You see the difference: The inframed has right-shifted vocalizations. Is that easy to fix? Try this: \definefont[arab][name:arial*arabic at 18pt] \define[1]\awort{{\hbox{\setupalign[r2l]\arab#1}}} \starttext \awort{بِالصَّالِحِينَ}\blank \awort{\inframed[align=r2l]{بِالصَّالِحِينَ}} \stoptext \inframed needs alignment! Best wishes Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] wrong behaviour with ConTeXt unicode bidi
There is one more problem with the default method: \starttext \setupalign[r2l] \definefont[arabicfont][Arial*arabic at 20pt] \setupdirections[bidi=global,method=default] 1. \stoptext from right to left perspective it prints 1. (dot after digit 1) as .1 (dot before digit 1) however method one and two work correctly. On Thu, Sep 12, 2013 at 3:10 AM, Hans Hagen pra...@wxs.nl wrote: On 9/11/2013 5:24 PM, Khaled Hosny wrote: On Wed, Sep 11, 2013 at 02:37:35PM +0200, Hans Hagen wrote: anyway, it would be nice to see where the three methods fail: Of the three, method one seems to give correct results on all the given tests (I’m yet to test with my own documents). I’m skeptical that bidi can be implemented in a one pass algorithm, there have been a one pass algorithm called “Pretty Good Bidi Algorithm”, but it has its limitation (I never tested it myself). Sure, although it can be close to okay with some backward and forward scanning but I'm nbot really in the mood for that now. Anyhow, for the occasional mix of arabic and latin this method works ok. For more extreme cases method 'one' will do and method 'two' ... well it depends on developments in unicode as this method will be the more configurable one. (And I can probably make a faster implementation of method two when performance matters.) 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 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/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] brogue (OT) and a related question
Hi, starting with the off topic... A new Brogue (https://sites.google.com/site/broguegame/) version shipped and I updated the table with the monster statistics. For all interested [your chance to stop reading here], the link to the final document (made with today's version). http://www.wuala.com/indiego/public/brogue/1.7.3/ Now to the question: I need to fill the table with some space to reach a specific dimension (the used background graphic makes this necessary). Currently I have to fiddle the dimension by hand. Is there a way to use a fixed TABLE height on each page (for a multi page table)? Or is there a way to calculate the remaining space on the page inside the TABLE? Peter ___ 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] EPUB XHTML Format
On Thu, 5 Sep 2013 19:22:42 Aditya Mahajan adit...@umich.edu wrote: How easy is it to create a new export format. IIRC, context keeps track of the entire document tree, and flushes the XML output only at the end. Is it possible to make this pluggable so that users can write their own transformers (in lua) on how the document tree can be written. This will enable more output formats (opendocument and (shudder) latex). Or, (gasp!) MSword .docx Alan ___ 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] Another small \underbar issue
Not much helping: I can confirm, that this bug is independent from font. One can easiliy go around with a protected space: \underbar{Re:~Something important that I am writing about} But still, it is a bug :) Huseyin ___ 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 inframed
Salam, @Idris, Aditya: Thank you very much, works perfect for me. ___ 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] Another small \underbar issue
I just noticed the recent issue brought up regarding \underbar, and wanted to mention a curiosity that I have come across. After RE: the underbar is contiguous. However, if we change it to Re: there is a break in the underbar. This seems independent of font selected, althought I have only tried it was gentiumalt, texgyreschola, texgyretermes. I was writing a business letter recently and used what I think is proper, Re: , for the subject line. It was only then that I came across this. Is there an explanation for this? On a slight tangent, what would be the best way to tighten up the space between the \hl or \fillinline alternative, and the name of the signatory? Thanks. MWE: \setuppapersize[letter] \setuplayout[header=0in,footer=0in,topspace=0.75in,height=9.5in,backspace=1.5in,width=5.5in] \setuppagenumbering[location=] \usemodule[simplefonts] \setmainfont[texgyretermes] \setupbodyfont[roman,12pt] \setupinterlinespace[line=3.2ex] \setupwhitespace[big] \starttext \ \blank[2in] 12 Sep 2013 \blank[big] Dear Sir/Madam, \blank[big] \startalignment[middle] \underbar{RE: Something important that I am writing about} \underbar{Re: Something important that I am writing about} \stopalignment \blank \input lorem \blank[1in] \hl[10] B. C. Def\crlf 123.456.7890 \stoptext -- Pavneet Arora m: 647.406.6843 Waroc Informatikt: 416.937.9276 ___ 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] columns vs. paragraphs, and a question about fillinrule
As part of this legal document set that I have been working to put together, I needed side-by-side text. Looking at the wiki, I noticed that there are at least 3 methods: columns, paragraphs, columnsets. I only attempted two, but they seem to have quite different results. I understood that columns were for simple cases. However, in my MWE below, the \column command breaks the columns in unusual way. One can also swap out the order of the paragraphs and columns methods; the results are similar. Also, one can adjust the dorecurse command with additional lorems to see where the columns land on the page. Again results are similar. Any suggestions? Another question: I am trying to have the numbers in the \fillinrule command to be hanging so that the rules are lined up. Is this possible, and if so how best to do it? advTHANKSance. MWE: \setuppapersize[letter] \setuplayout[header=0in,footer=0in,topspace=0.75in,height=9.5in,backspace=1.25in,width=6in] \setuppagenumbering[location=] \usemodule[simplefonts] \setmainfont[gentiumalt] \setupbodyfont[11pt] \setupinterlinespace[line=3.2ex] \setupwhitespace[big] \starttext \startalignment[middle] {\tfc AN IMPORTANT LEGAL DOCUMENT} \stopalignment \blank[2*big] \dorecurse{1}{\input lorem\par} \blank[2*big] {\tt paragraphs} method: \defineparagraphs[mypar][n=3,before={\blank},after={\blank}] \setupparagraphs[mypar][1][width=.5\textwidth] \setupparagraphs[mypar][2][width=.1\textwidth] \setupparagraphs[mypar][3][width=.4\textwidth] \startmypar WITNESSES: \fillinrules[n=3,interlinespace=small,width=broad,separator=]{1.} \fillinrules[n=3,interlinespace=small,width=broad,separator=]{2.} \mypar \mypar (TESTATOR)\crlf Ms. B.E. Def\crlf \stopmypar {\tt columns} method: \startcolumns[n=2] WITNESSES: \fillinrules[n=3,interlinespace=small,width=broad,separator=]{1.} \fillinrules[n=3,interlinespace=small,width=broad,separator=]{2.} \column (TESTATOR)\crlf Mr. B.E. Def\crlf \stopcolumns \stoptext -- Pavneet Arora m: 647.406.6843 Waroc Informatikt: 416.937.9276 ___ 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] texnansi encoding.
Using mkiv to what degree can one depend on the encoding of a font to be in texnansi form? 1. typescript fonts? 2. otf fonts? 3. type 1 fonts? 4. ttf fonts? 5. No guarantees? And does it make a difference if one uses \simplefonts versus typescripts? -- John Culleton ___ 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] Last call to 7th ConTeXt Meeting
Hello again, three new abstracts were added and some more are on the way. The preliminary program was released also. This year the meeting will have more workshops and tutorials, though, the theory and discussions on future development will not be missing. Program of TeXperience 2013 (Saturday-Sunday) will added today. Best regards, Jano http://meeting.contextgarden.net/2013/ On 09/12/2013 09:46 AM, Jan Kula wrote: Dear all, this is the last call for passengers to 7th ConTeXt Meeting in Brejlov, Czech Republic to register. Those who did so are already boarding. We have set up the last-minute fees (lower than regular ones). The program has been updated and expect more: http://meeting.contextgarden.net/2013/abstracts.shtml There are some places left, so do not hesitate and become a ConTeXt insider in one week. Good company, delicious food and drinks, beautiful countryside and good weather guaranteed! See you in Brejlov, Jano, Pavel, Hans Taco http://meeting.contextgarden.net/2013/ ___ 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] Another small \underbar issue
On 9/12/2013 6:02 PM, Pavneet Arora wrote: I just noticed the recent issue brought up regarding \underbar, and wanted to mention a curiosity that I have come across. After RE: the underbar is contiguous. However, if we change it to Re: there is a break in the underbar. This seems independent of font selected, althought I have only tried it was gentiumalt, texgyreschola, texgyretermes. I was writing a business letter recently and used what I think is proper, Re: , for the subject line. It was only then that I came across this. Is there an explanation for this? old typo ... fixed in next beta - 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] texnansi encoding.
On 9/12/2013 10:05 PM, john Culleton wrote: Using mkiv to what degree can one depend on the encoding of a font to be in texnansi form? 1. typescript fonts? 2. otf fonts? 3. type 1 fonts? 4. ttf fonts? 5. No guarantees? And does it make a difference if one uses \simplefonts versus typescripts? encoding is irrelevant ... even texnansi encoded fonts (in which case the afm only has that subset) will be remapped to unicode ... there is no other encoding than utf 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 with adaptlayout
Hi, There is a subtle bug with \adaptlayout. \adaptlayout[1][height=max] does not work, e.g., \showframe \adaptlayout[1][height=max] \starttext \dorecurse{10}{\input knuth \par} \stoptext but \adaptlayout[2][..] etc work. The reason is the following. Typically, we use \adaptlayout[...][...] before \starttext at which point \realpageno=1. Now, \page_adapts_layout calls \page_adopts_check which checks if \??pageadaptions\the\realpageno is set. If so, it calls the pageadaptions and resets it to relax. Since all this happens before \starttext, it does not affect the first page. I am not sure what is the best way to fix this. 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 ___