[NTG-context] Right Margin Being ignored bug?
The following minimal example demonstrate how a series of underscores in not handled right with regards to right margins. I realize there are a few rules command and I plan to use them in the future but for now I am just trying to port old forms into ConText and have them be usable. Any ideas on how I can get ConText to split the lines and honor the righ margin space? Thanks \starttext % \showlayout \showframe _, 20__, at , California. \startitemize[n] \item by Lessor/Optionor and Lessee/Optionee, regarding property situated in the City of _, County of California, referred to as ___ ___ \item by Lessor/Optionor and Lessee/Optionee, regarding property situated in the City of _, County of California, referred to as ___ ___ \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 ___
[NTG-context] buffers writing CR only instead of proper newlines (LF)
Hi, The gnuplot module recently stopped working because the buffers now seem to write out the CR (0x0d) instead of the LF character for newlines. Here's a minimal example as shamelessly stolen from the module: \long\def\startXheader {\def\stopXheader{\ifx\savebuffer\undefined \else \savebuffer[x-header]\fi}% \dostartbuffer[x-header][startXheader][stopXheader]} \def\resetXheader {\immediate\openout\scratchwrite=\jobname-x-header.tmp \immediate\closeout\scratchwrite} \resetXheader \starttext \startXheader hello bachotex \stopXheader \stoptext The problem is that I end up with a file with what vim shows as hello^Mbachotex (^M = character 0x0d / CR). This works properly in TL 2014. Any hints greatly appreciated. Thank you very much, Mojca ___ 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] Font problems.
On the same source file Texlive 2004 context (mkiv) can find files that a more recent stand alone version of context can't. I need to set something somewhere so that the stand alone version can find files in /usr/share/fonts/OTF. I call the stand alone version from a script called Context in /usr/local/bin: . /home/safe/context/tex/setuptex context $1 - /home/safe is my home directory. Stand alone context is in /home/safe/context. It is dated Jan 27 2015. -- John Culleton Wexford Press Free list of books for self-publishers: http://wexfordpress.net/shortlist.html Updated PDF e-book: Create Book Covers with Scribus 1.4.5 coming soon at http://www.booklocker.com/! ___ 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 installation problem with Windows 8.1
Dear Mojca, There's also completely untested temporary http://minimals.contextgarden.net/setup2/ [A] In context-setup-win32.zip the following are 64bit binaries: (01) kpathsea620w64.dll can be removed (02) kpathsea621w64.dll can be removed (03) lua52w64.dll can be removed since 32bit lua52.dll exists (04) luajit51w64.dll cab be removed since 32bit luajit51.dll exists (05) luajittex.dll should be replaced by 32bit luajittex.dll (06) luatex.dll should be replaced by 32bit luatex.dll (07) luatex.exe should be replaced by 32bit luatex.exe (08) mtxrun.dll should be replaced by 32bit mtxrun.dll (09) mtxrun.exe should be replaced by 32bit mtxrun.exe (10) texlua.exe should be replaced by 32bit texlua.exe [B] In context-setup-win64.zip the following are 32bit binaries: (01) kpathsea611.dll can be removed. (02) kpathsea620.dll can be removed. (03) kpathsea621.dll can be removed. (04) lua52.dll can be removed since 64bit lua52w64.dll exists. (05) luajit51.dll can be removed since 64bit luajit51w64.dll exists. You have to add 64bit version of msvcr100.dll (size=829264) since it is used in mtxrun.exe etc. Best, Akira ___ 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] Right Margin Being ignored bug?
On 05/02/2015 09:36 AM, henman wrote: The following minimal example demonstrate how a series of underscores in not handled right with regards to right margins. I realize there are a few rules command and I plan to use them in the future but for now I am just trying to port old forms into ConText and have them be usable. Any ideas on how I can get ConText to split the lines and honor the righ margin space? There are two commands that do what you intend: http://wiki.contextgarden.net/Command/fillinline http://wiki.contextgarden.net/Command/fillinrules If required, you should add \hskip0pt between two underscore hyphens to enable line breaking. I would avoid it since it doesn’t work well. It might be a bug. \showframe \starttext \fillinline[width=2cm]{name} \fillinrules[n=4,width=2cm, separator=:]{Name} _\hskip0pt_\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_, California. \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] Font problems.
On 05/02/2015 04:19 PM, John Culleton wrote: On the same source file Texlive 2004, context Hi John, sorry, but I wonder whether you meant TeX Live 2014. (mkiv) can find files that a more recent stand alone version of context can't. Font files, I guess. I need to set something somewhere so that the stand alone version can find files in /usr/share/fonts/OTF. I call the stand alone version from a script called Context in /usr/local/bin: . /home/safe/context/tex/setuptex context $1 - /home/safe is my home directory. Stand alone context is in /home/safe/context. It is dated Jan 27 2015. Add after the last line in /home/safe/context/tex/setuptex: export OSFONTDIR=/usr/share/fonts/OTF// I would personally add: export OSFONTDIR=/usr/share/fonts// So you will be able to use other fonts than OpenType. Then reload the font cache by running: . /home/safe/context/tex/setuptex mtxrun --script fonts --reload 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] ConTeXt installation problem with Windows 8.1
On Fri, May 1, 2015 at 1:37 AM, Akira Kakuto wrote: Dear Mojca, I don't know installers, so ... I have read first-setup.bat and have recognized that binaries for LuaTeX and LuajitTeX themselves in the zip are not installed. Sorry for my misunderstanding. I was offline for the last two days, so I didn't manage to download your zip. But if you believe that something should be fixed (even if LuaTeX is not installed), please let me know. I created http://minimals.contextgarden.net/setup/context-setup-win64.zip for testing a while ago, but I'm not sure if we ever tested it properly. There's also completely untested temporary http://minimals.contextgarden.net/setup2/ I just need to know which files should end up where. I assemble those packages on a windows-unaware linux box (with a cron job) from W32TeX binaries + rsync from elsewhere (some cygwin and some mingw binaries). Mojca ___ 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 \writebetweenlist and bookmarks?
Dear list, I have the following sample: \setupinteraction[state=start] \placebookmarks[chapter] \startsectionblockenvironment[bodypart] \writebetweenlist[chapter]{{\blank[3*halfline]}} \stopsectionblockenvironment \startsectionblockenvironment[backpart] \writebetweenlist[chapter]{{\blank[3*halfline]}} \stopsectionblockenvironment \starttext \chapter{Introduction} \startbodymatter \chapter{First Chapter} \stopbodymatter \startbackmatter \chapter{Conclusions} \stopbackmatter \stoptext For some strange reason, the \writebetweenlist commands also add bookmarks with a question mark to the PDF bookmarks in the PDF file. Is this a bug or am I missing something? Many thanks for your 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 ___