[NTG-context] ConTeXt not defending the right margin
I am using mtxrun | ConTeXt TDS Runner Tool 1.31 In real life I get documents that have long blank lines which are a sequence of underscore characters. I have to transcribe these into ConTeXt file. But when compiled into a pdf file the long resulting rule line infringes on the right boundary. What can I do, to get ConTeXt to maintain the boundary and display the lines as intended? Thanks. Minimal Example \starttext DATE: , 20__, at __, city___ \ state --\ country. 1. Whereas , as the artist(s) and the patrons. \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] ConTeXt not defending the right margin
On 06/01/2015 08:11 AM, henman wrote: I am using mtxrun | ConTeXt TDS Runner Tool 1.31 In real life I get documents that have long blank lines which are a sequence of underscore characters. I have to transcribe these into ConTeXt file. But when compiled into a pdf file the long resulting rule line infringes on the right boundary. What can I do, to get ConTeXt to maintain the boundary and display the lines as intended? You have to insert \hskip0pt between two underscores (otherwise ConTeXt cannot know where to break the line). Your sample should read: \starttext DATE: _\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_, 20_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_, at _\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt, _\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_ city_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_ \ state --\ country. 1. Whereas _\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_, as the artist(s) and _\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_ the patrons. \stoptext I hope it helps, 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] bug in latest beta?
Hi Pablo, Indeed the document I was talking about has been typeset with various versions of mkiv, but now I observe that sometimes the pagebreaks are made in a very strange way. Since I can’t make a minimal example, I put on the following link an excerpt of the PDF document where the bad pagebreaks can be seen: https://dl.dropboxusercontent.com/u/4316076/bad-pagebreak.pdf (Please see pages 19 and 32). It seems that this happens, sometimes, but as far as I can say from my experiments the bad pagebreak happens always before a « proclaim » which is defined as follows: \defineenumeration[proclaim] [text=, before={\blank\startbackground[frame=off,leftframe=on, rulethickness=2pt,framecolor=darkred, background=color, backgroundcolor=screen]}, after={\stopbackground\blank}, style=slanted, title=yes, titleleft=, titleright={.}, alternative=hanging, width=fit, right={~}, way=bysection, prefix=yes, prefixsegments={chapter:section}] Actually I found a workaround for this by changing the above definition into: \defineenumeration[proclaim] [text=, before={\blank\startmarginrule[rulethickness=1pt,rulecolor=darkred]}, after={\stopmarginrule}, style=slanted, title=yes, titleleft=, titleright={.}, alternative=hanging, width=fit, right={~}, way=bysection, prefix=yes, prefixsegments={chapter:section}] However it would be better to understand why the first definition does not work properly, in a rather random way. Best regards: OK On 01 Jun 2015, at 00:16, Hans Hagen pra...@wxs.nl wrote: On 5/31/2015 1:56 PM, Pablo Rodriguez wrote: On 05/28/2015 07:10 PM, Hans Hagen wrote: On 5/27/2015 10:38 PM, Pablo Rodriguez wrote: [...] Compiling it with beta from 2015.03.25 22:13, page break is fine. But with latest beta from 2015.05.24 12:42 (or even with beta from 2015.05.15 11:42 includes a wrong page break. The setups for widow and orphan lines move the two last lines to the next page. Could anyone confirm this bug? i wonder if it's a bug or just tex's decision ... you can use \showmakeup[penalty] and see what penalties get injected are the linebreaks identical, i.e. same hyphenation? Many thanks for your reply, Hans. Hyphenation is the same in both documents. btw, brokenpenalty 1 gives a different result Page break is wrong when any of the three values (brokenpenalty, widowpenalty or clubpenalty) is 0 or above . I replacing \subsection with \section gives the right page break: \showframe\showgrid \setuplayout[setups=*lessstrict] \startsetups[*lessstrict] \setup[reset] \widowpenalty=1 \clubpenalty=1 \brokenpenalty=0 \stopsetups \setupbodyfont[pagella, 12.6pt] \starttext \chapter{Quotes} \section{Zapf} \dorecurse{4}{\input zapf\par} \section{Knuth} \input knuth \stoptext Why does \subsection cause a different page break than \section? because there are penalties related to (sub)sections in a way that keeps them together but at the same time still permits breaks in case of too many successive ones .. and penalties determine the way the page is broken 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 ___
Re: [NTG-context] ConTeXt not defending the right margin
Hi, Probably instead of underscores you should use horizontal line, that is \hl[3] (or any other value instead of 3), something like \starttext Date: \hl[8], 20\hl[5], at \hl[5], City \hl[7] \stoptext Best regards: OK On 01 Jun 2015, at 08:11, henman dhen...@gmail.com wrote: I am using mtxrun | ConTeXt TDS Runner Tool 1.31 In real life I get documents that have long blank lines which are a sequence of underscore characters. I have to transcribe these into ConTeXt file. But when compiled into a pdf file the long resulting rule line infringes on the right boundary. What can I do, to get ConTeXt to maintain the boundary and display the lines as intended? Thanks. Minimal Example \starttext DATE: , 20__, at __, city___ \ state --\ country. 1. Whereas , as the artist(s) and the patrons. \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 ___ ___ 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] Hash (Pound) Sign (#) in `\biburl'
On Sun, May 31, 2015 at 1:00 PM, Pablo Rodriguez oi...@gmx.es wrote: On 05/30/2015 11:04 AM, Alexander Shukaev wrote: Hello, I ran into the problem with `\biburl': \biburl{http://computing.llnl.gov/tutorials/mpi_performance/#Protocols} [...] Do you have any suggestions on how to overcome this problem? Thanks a lot. Hi Alexander, this may work: \biburl{http://computing.llnl.gov/tutorials/mpi_performance/\letterhash Protocols} If it doesn’t work, please send a minimal sample. I have never used bibliographies in ConTeXt. 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 ___ You're the BO$$, Pablo. Thanks! ;) Kind regards, Alexander ___ 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] ConTeXt not defending the right margin
On 06/01/2015 09:12 AM, Otared Kavian wrote: Hi, Probably instead of underscores you should use horizontal line, that is \hl[3] (or any other value instead of 3), something like \starttext Date: \hl[8], 20\hl[5], at \hl[5], City \hl[7] \stoptext Hi Otared, but I’m afraid that line breaks cannot take place inside \hl: \starttext Date: \hl[50] \stoptext 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] ConTeXt not defending the right margin
On 01 Jun 2015, at 09:33, Pablo Rodriguez oi...@gmx.es wrote: On 06/01/2015 09:12 AM, Otared Kavian wrote: Hi, Probably instead of underscores you should use horizontal line, that is \hl[3] (or any other value instead of 3), something like \starttext Date: \hl[8], 20\hl[5], at \hl[5], City \hl[7] \stoptext Hi Otared, but I’m afraid that line breaks cannot take place inside \hl: \starttext Date: \hl[50] \stoptext Pablo -- http://www.ousia.tk Hi Pablo, Indeed you are right… I didn’t check the limit cases. Sorry for the wrong hint I gave! 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] bug in latest beta?
On 06/01/2015 08:45 AM, Otared Kavian wrote: Hi Pablo, Indeed the document I was talking about has been typeset with various versions of mkiv, but now I observe that sometimes the pagebreaks are made in a very strange way. Since I can’t make a minimal example, I put on the following link an excerpt of the PDF document where the bad pagebreaks can be seen: https://dl.dropboxusercontent.com/u/4316076/bad-pagebreak.pdf (Please see pages 19 and 32). It seems that this happens, sometimes, but as far as I can say from my experiments the bad pagebreak happens always before a « proclaim » which is defined as follows: [...] However it would be better to understand why the first definition does not work properly, in a rather random way. Hi Otared, having only three theorems my guess will be probably wrong, but I’ll try it. The theorem that doesn’t cause a wrong pagebreak is preceeded by a single line paragraph. In order to confirm whether this is the pattern, I would remove some words from the last paragraph on page 19, so that there has only one line. And I would add some words to the pagraph before theorem 2.3.2 on page 31, so this pargraph contains two lines. Could you check this? 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] bug in latest beta?
On 01 Jun 2015, at 09:28, Pablo Rodriguez oi...@gmx.es wrote: […] Hi Otared, having only three theorems my guess will be probably wrong, but I’ll try it. The theorem that doesn’t cause a wrong pagebreak is preceeded by a single line paragraph. In order to confirm whether this is the pattern, I would remove some words from the last paragraph on page 19, so that there has only one line. And I would add some words to the pagraph before theorem 2.3.2 on page 31, so this pargraph contains two lines. Could you check this? Pablo -- http://www.ousia.tk Hi Pablo, Actually I have done what you suggest by adding or removing text, but at the end when the document changes all of a sudden the bad pagebreaks appear or disappear. The second definition of « proclaim » I sent you suppresses the bad pagebreaks, but in some other situations still I have other bad pagebreaks… Until I have not made a rela minimal example the problem cannot be understood and permanently solved. 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 ___
[NTG-context] `\setupcite[num][compress={no}] is ignored in the '2015.02.03 23:55' version of ConTeXt
Hello, it looks like \setupcite[num][compress={no}] has no effect in the '2015.02.03 23:55' version of ConTeXt. Note that I also have \setuppublications[refcommand={num}] I hope I didn't miss anything. Kind regards, Alexander ___ 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] Updated XML interface file?
Hello, list! At one point, it looks like there was an (automatically?) generated XML file of the ConTeXt user interface; the most recent version of this that I can find is from 2006, and appears (the English version, anyway) to be out of date. Is there a more recent version of this available? And, if not: could there be? Thanks! -Paul ___ 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] Updated XML interface file?
On 06/01/2015 05:08 PM, Paul Mazaitis wrote: Hello, list! At one point, it looks like there was an (automatically?) generated XML file of the ConTeXt user interface; the most recent version of this that I can find is from 2006, and appears (the English version, anyway) to be out of date. Is there a more recent version of this available? And, if not: could there be? Hi Paul, do you mean http://www.pragma-ade.com/general/qrcs/setup-en.pdf? If this is not what you want, could you provide a link to the newest version of the document you are searching? 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] `\setupcite[num][compress={no}] is ignored in the '2015.02.03 23:55' version of ConTeXt
On 06/01/2015 05:01 PM, Alexander Shukaev wrote: Hello, it looks like \setupcite[num][compress={no}] has no effect in the '2015.02.03 23:55' version of ConTeXt. Note that I also have \setuppublications[refcommand={num}] I hope I didn't miss anything. Hi Alexander, I have no idea about what may be wrong there, but how about updating to the latest beta? (Make a backup copy just in case other things don’t work as expected.) If the it was a bug and it has been fixed in a next beta, you will profit from the fix. And if it isn’t fixed, you may report a bug in the latest beta :-). Just in case it might help, 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] Updated XML interface file?
Hi Pablo, On 1 Jun 2015, at 11:46, Pablo Rodriguez wrote: Hi Paul, do you mean http://www.pragma-ade.com/general/qrcs/setup-en.pdf? The PDF command reference is good, but I'm looking for something that's easier to parse with software. If this is not what you want, could you provide a link to the newest version of the document you are searching? The particular file I'm using at the moment is included as part of the standalone distribution: distribution root/tex/texmf-context/tex/context/interface/cont-en.xml (I'd be interested in an updated keys-en.xml as well, if that's a possible thing.) Thanks! Pablo -Paul -- 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 ___ ___ 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] Upgraded to 2015.05.18 12:26 and now unicode is broken
I upgraded to: context --version mtx-context | ConTeXt Process Management 0.61 mtx-context | mtx-context | main context file: /opt/context/tex/texmf-context/tex/context/base/context.mkiv mtx-context | current version: 2015.05.18 12:26 And now Unicode is broken: tex errorerror on line 5 in file /tmp/OBS-am-v20150522-draft-samples-DPB.tex: ! Undefined control sequence l.5 \useregime [utf] David Boerschlein (214) 412-3275 home office land (585) 278-4687 cell www.linkedin.com/in/davidboerschlein Want to place your ad here? Advertise on United Online http://thirdpartyoffers.juno.com/TGL3141/556cea24892686a241330st03duc ___ 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] Upgraded to 2015.05.18 12:26 and now unicode is broken
On 2 Jun 2015, at 1:25, david.boerschl...@juno.com wrote: And now Unicode is broken: tex errorerror on line 5 in file /tmp/OBS-am-v20150522-draft-samples-DPB.tex: ! Undefined control sequence l.5 \useregime [utf] It seems that enabling utf is no longer needed: http://www.mail-archive.com/ntg-context%40ntg.nl/msg77849.html http://www.mail-archive.com/ntg-context%40ntg.nl/msg78594.html http://www.mail-archive.com/ntg-context%40ntg.nl/msg76027.html -- Tom ___ 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 ___