[NTG-context] synbol not beingoa
I want a degree sign so I use the other graniod. Below the \prime symbol getdires \starttext 77\degree ~4f4\prime \stoptext The prime character gets ___ 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] [***SPAM***] texi2pdf
I have installed the standalone and it works well on my Xubuntu system. I tried to run texi2pdf, which not a part of the standalone system, but fails due to: ...don't have any working TeX binary installed.. If the standalone has one I will add its path to my PATH and the texi2pdf should work. I'm trying to avoid installing a full TeXLive distribution on this old limited memory machine. Any advice would help. Thenks ___ 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] SimpleFonts
I just installed the standalone context and tried to typeset a document which uses simplefonts but the resolver indicates that simplefonts is not found. This isn't surprising, but I need to learn how to install simplefonts to use with the standalone. Use adding --modules all as an option to first-setup.sh do this? Any advice is appreciated. ___ 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] Natural Tables
What is the difference between TD and TC in \bTD, \bTC , \eTD, and \eTC ? \starttext \bTABLE \bTR \bTC one \eTC \bTC two \eTC \bTC three \eTC \eTR \bTR \bTD one \eTD \bTD two \eTD \bTD three \eTD \eTR \eTABLE \stoptext result looks the same to me..? Thanks ___ 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] Natural Tables
Thank you Mikael and also Wolfgang for the response to my query. Regards, Whitloc Mikael P. Sundqvist mic...@gmail.com wrote: The only place in the source where bTC is mentioned is in tabl-ntb.mkiv (and tabl-ntb.mkii), which says says \unexpanded\def\bTC#1\eTC{\bTD#1\eTD} \let\eTC\relax \unexpanded\def\bTX#1\eTX{\bTD#1\eTD} \let\eTX\relax \unexpanded\def\bTY#1\eTY{\bTR#1\eTR} \let\eTY\relax I guess that means \bTC and \bTD are the same (as is \bTX). /Mikael On Mon, May 12, 2014 at 9:42 AM, hwit...@gmail.com wrote: What is the difference between TD and TC in \bTD, \bTC , \eTD, and \eTC ? \starttext \bTABLE \bTR \bTC one \eTC \bTC two \eTC \bTC three \eTC \eTR \bTR \bTD one \eTD \bTD two \eTD \bTD three \eTD \eTR \eTABLE \stoptext result looks the same to me..? Thanks ___ 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] [***SPAM***] ConTeXt Daily Build
Where are there instructions for using the daily build, newest Context code? [ Is this the same as the standalone version that I've heard of? ] Thanks ___ 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] Standalone
On my system I already have Cygwin. I want to install the standalone Context. Which involves basically: mkdir -o /opt/context cd /opt/context wget http://minimals.contextgarden.net/setup/first-setup.sh chmod 744 first-setup.sh ./first-setup.sh #this works up to this point only partially. - /opt/context/tex is not installed. This is a bad error. It causes - first-setup.sh to fail. And what is loaded will cause conflicts with cygwin which already exists, I believe. I can't see why rsync is use to load anothe versio of rsync in a diff location. #1. Why does 1st setup duplicate Cygwin dlls? I've hurd that having multiple cygwin*.dlls can cause problems. Besideds They already exist and so does luatex.exe for that matter. 'first-setup.sh' should know that it does a test for CYGWIN, but doesn't seem to do anything with it. #2. Also redundant and confusing is first-setup.sh forces the fetching of rsync by an already existing rsync. Is rsync already exists, why fetch another one and put it in a different location. I have texlive for unix on a cygwin platform, on top of an XP system. I want to make installing the standalone easy for cyginw and linux. # # Firstly, exactly what packages are needed for context? # I assume it's one or more of the mtx prefixed programs below. Please advise. - mtx-update.lua - mtxrun.exe - mtxrun.dll - mtxrun.lua - lua52.dll - luatex.dll Is this needed in addition to luatex.exe? - luatex.exe Note: cygwin has luatex.exe same functionality? - kpathsea620.dll Note: TeXLive has kpath related code I understand that there are not a lot of people experimenting with the latest ConTeXt and even less for the Cygin platform. But, I would like to make it easer and clearer for Cygwin users who do want to experiement with the latest versions. I don't know if installing for a native linux version is easier or more straightforward or not. Regards. ___ 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] Problem with Standalone
Mojca, thank you very much for the detailed and informative information. Regarding the native for cygwin Context, I am currently using TeXLive for Unix-ish Platforms. So the Context In TeXLive for Unix platforms works or has been made to work on Cygwin at some step in the process by someone. How is the TexLive version of ConTeXt prepared? Using the same technique for the standalone to render it runnable on Cygwin like the TexLive version of Context, I should think. What do you think? Regards Mojca Miklavec wrote: On Wed, Jan 15, 2014 at 6:17 AM, Henman wrote: I am trying to load the standalone but have ran into a problem. Platform: cygwin on Windows XP Here is what I did to try to get it all loaded and setup: #1 rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh . sh ./first-setup.sh || exit 3 The following files are loaded: receiving incremental file list bin/ bin/cygiconv-2.dll bin/cygwin1.dll bin/kpathsea620.dll bin/lua52.dll bin/luatex.dll bin/mtx-update.lua bin/mtxrun.dll bin/mtxrun.exe bin/mtxrun.lua bin/rsync.exe bin/texlua.exe When you want to use context, you need to initialize the tree by typing: . /opt/context/tex/setuptex NOTE: there is no /opt/context/!! It doesn't get loaded. Any ideas of what is wrong? Any work around to get the proper tex directory contents? We used to have cygwin-specific binaries, but dropped them after the volunteer who built them has lost the interest. Actually I would surprised if the distribution worked with cygwin out-of-the-box now that those binaries have been removed (probably a few years ago already) because we never tried to adapt any code, but I guess that Akira's native windows binaries should work just as well under cygwin's shell, so fixing this should be doable. There are two steps involved in syncronisation. The script first-setup.sh first determines the platform. In the good old days we used: # cygwin CYGWIN*) case $cpu in i*86) platform=cygwin ;; x86_64|ia64) platform=cygwin-64 ;; *) platform=unknown ;; esac ;; and recently switched to: CYGWIN*) case $cpu in i*86) platform=mswin ;; # cygwin, if we ever get native cygwin binaries x86_64|ia64) platform=mswin ;; # cygwin-64, likewise *) platform=unknown ;; esac ;; The script then fetches files from rsync -rlptv rsync://contextgarden.net/minimals/setup/$platform/bin . which apparently succeeds, but then the following step fails: mtxrun --script ./bin/mtx-update.lua --force --update --context=beta --platform=$platform --texroot=$CONTEXTROOT $@ If this step actually ever worked, it might be that Hans' recent fixes to determine whether Windows is 64-bit or not, might have broken the functionality. In any case I'm almost sure that mtxrun fails to deliver proper binaries. Is there really no other output to be seen? 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 ___
Re: [NTG-context] Problem with Standalone
Hans Hagen pra...@wxs.nl wrote: On 1/15/2014 12:06 PM, hwit...@gmail.com wrote: Hans Hagen pra...@wxs.nl wrote: On 1/15/2014 7:56 AM, hwit...@gmail.com wrote: I am trying to load the standalone but have ran into a problem. Platform: cygwin on Windows XP Here is what I did to try to get it all loaded and setup: #1 rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh . sh ./first-setup.sh || exit 3 The following files are loaded: receiving incremental file list bin/ bin/cygiconv-2.dll bin/cygwin1.dll bin/kpathsea620.dll bin/lua52.dll bin/luatex.dll bin/mtx-update.lua bin/mtxrun.dll bin/mtxrun.exe bin/mtxrun.lua bin/rsync.exe bin/texlua.exe The above only populated /opt/context/bin Re: When you want to use context, you need to initialize the tree by typing: . /opt/context/tex/setuptex NOTE: there is no /opt/context/!! It doesn't get loaded. I mean there is no /opt/context/tex so no /opt/context/tex/setuptex.. Any ideas of what is wrong? Any work around to get the proper tex directory contents? Any suggestions are apprecaited. can you run ./firstsetup ? ../firstsetup.sh was ran and it was first setup that created and populated the bin directory. But nothing was done for a tex directory. then you need to figure out why it failed ... messages and so ... maybe an rsync issue (you can try to add prints to mtx-update.lua (but then also comment the first rsync in firstsetup so that it doesn't get overwritten) Yes I am trying to find out. That's why I sent the message in the first place. I will endeaver to find out more inforation. Is there a way to download a three without using rsync? Perhaps a tarball or other archive format? Regards ___ 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] Problem with Standalone
Hans Hagen pra...@wxs.nl wrote: On 1/15/2014 7:56 AM, hwit...@gmail.com wrote: I am trying to load the standalone but have ran into a problem. Platform: cygwin on Windows XP Here is what I did to try to get it all loaded and setup: #1 rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh . sh ./first-setup.sh || exit 3 The following files are loaded: receiving incremental file list bin/ bin/cygiconv-2.dll bin/cygwin1.dll bin/kpathsea620.dll bin/lua52.dll bin/luatex.dll bin/mtx-update.lua bin/mtxrun.dll bin/mtxrun.exe bin/mtxrun.lua bin/rsync.exe bin/texlua.exe The above only populated /opt/context/bin Re: When you want to use context, you need to initialize the tree by typing: . /opt/context/tex/setuptex NOTE: there is no /opt/context/!! It doesn't get loaded. I mean there is no /opt/context/tex so no /opt/context/tex/setuptex.. Any ideas of what is wrong? Any work around to get the proper tex directory contents? Any suggestions are apprecaited. can you run ./firstsetup ? ./firstsetup.sh was ran and it was first setup that created and populated the bin directory. But nothing was done for a tex directory. Regards ___ 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] Problem with Standalone
I am trying to load the standalone but have ran into a problem. Platform: cygwin on Windows XP Here is what I did to try to get it all loaded and setup: #1 rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh . sh ./first-setup.sh || exit 3 The following files are loaded: receiving incremental file list bin/ bin/cygiconv-2.dll bin/cygwin1.dll bin/kpathsea620.dll bin/lua52.dll bin/luatex.dll bin/mtx-update.lua bin/mtxrun.dll bin/mtxrun.exe bin/mtxrun.lua bin/rsync.exe bin/texlua.exe The above only populated /opt/context/bin Re: When you want to use context, you need to initialize the tree by typing: . /opt/context/tex/setuptex NOTE: there is no /opt/context/!! It doesn't get loaded. I mean there is no /opt/context/tex so no /opt/context/tex/setuptex.. Any ideas of what is wrong? Any work around to get the proper tex directory contents? Any suggestions are apprecaited. Regards ___ 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] [***SPAM***] Invoice Example
I copied the three files required for the invoice example on the wiki garden. invoice.tex, invoicefunctions.tex, adn invoicesetup.tex $ context invoice.tex The above compiles without error, but the resulting pdf doesn't give me what I would expect. There is a Regression in latest release of iT E X In the main body of the document, which I don't think should be there. My setup: mtx-context | current version: 2013.09.03 16:23 Is the source out of date with the context version I am using or am I missing something? Thanks ___ 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] Using CMYK for print jobs
A printer I want to use only handles files which use CMYK colorspace/model.. I tried building my mkiv file using cmyk=yes, as shown below: \setupcolors[state=start, rgb=no, cmyk=yes, overprint=yes] Using ImageMagick's identify program to check the resulting file it show the following: Resolution: 72x72 Print size: 3.58333x2.16667 Units: Undefined Type: PaletteMatte Endianess: Undefined Colorspace: RGBde delegate for this image format `/home/user_a' @ error/constitut Depth: 16/8-bit. Channel depth: red: 8-bit green: 8-bit blue: 8-bit alpha: 1-bit GIMP also shows an RGB model for the resulting pdf file. Also is this mention of pixel resultion of 72x72 correct or useful? I tried to get a 300 dpi resolution for output. Any ideas and advice would be appreciated. ___ 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] Standalone Installation Question
I downloaded and ran: $ sh ./$SETUPFILE --modules=all --engine=luatex --context=current # # The documentation on web page [ http://wiki.contextgarden.net/ConTeXt_Standalone#General_Information ] statess that: An intialization script called setuptex is provided in installation-dir/tex/. If you run context from a terminal, source setuptex like so: source /installation-dir/tex/setuptex BUT, first-setup.sh did not produce and populate any ./tex directory and there is no setuptex command file. What can I do to proceed from this point. Currently the /installation directory contains: Reference: first-setup.sh produces the following files and directory structure: $ ls -l drwxrwxrwx+ 1 djtm None 0 Oct 20 16:09 . drwxr-xr-x 1 djh Users0 Oct 20 14:06 .. drwxr-xr-x+ 1 djh None 0 Aug 7 16:40 bin -rwxr-xr-- 1 djh None 3654 Jun 20 22:27 first-setup.sh $ $ ls -l bin -rw-r--r-- 1 djh None 999424 Nov 23 2012 cygiconv-2.dll -rw-r--r-- 1 djh None 1873396 Nov 23 2012 cygwin1.dll -rw-r--r-- 1 djh None 72192 Aug 14 09:29 kpathsea620.dll -rw-r--r-- 1 djh None 338944 Aug 14 10:32 lua52.dll -rw-r--r-- 1 djh None 6889472 Sep 28 07:03 luatex.dll -rw-r--r-- 1 djh None7680 Apr 16 2013 mtxrun.dll -rwxr-xr-x 1 djh None4608 Apr 16 2013 mtxrun.exe -rw-r--r-- 1 djh None 497742 Oct 15 20:54 mtxrun.lua -rw-r--r-- 1 djh None 25352 Oct 8 06:31 mtx-update.lua -rwxr-xr-x 1 djh None 346112 Nov 23 2012 rsync.exe -rwxr-xr-x 1 djh None1536 Jun 24 22:41 texlua.exe END ___ 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] Standalone Installation Question
Yes I saw the Windows version of Context mentioned and read it, but the documentation is, in this case, wrong or not fully correct. This is because I am now using Context which comes is included in the TexLive distribution, selected with Unix like operating systems. No bat files or other ancillary code or invokations are necessary. Texlive's Context program would probably not run directly on Microsoft Windows O.S. I believe that the documentation can be expanded to cover using a Context on Cygwin directly and not the Microsoft port which requires the usage of strange Microsoft pathnames, with C:\ and \ seperators. Using context on cygwin for cygwin may only have been done in TexLive for Unix like systems, but I'd like to use and test on the bleeding edge MKIV. But, that proves that it can be done. I just don't know what was done. So, perhaps I should ask if anyone knows how TexLive packages Context so that it runs directly with the cygwin environment. It might be terribly difficult in which case I will not do it for lack of knowledge and time. In what form is Context supplied to TexLive?Maybe I'd have to build Context on this cygwin platform to use it.That is what I am looking into. Any ideas or information? luigi scarso On Sun, Oct 20, 2013 at 11:23 AM, My platform is cygwin, which gives Posix compatibility. The inital loading shell script noticed thsi provided the cygwin dll. If necessary, I can build from source if available. But, ts possile that x86 would work due the the cygwin interface, but I'm not sure. What to do to complete the installation? Thanks IIUC http://wiki.contextgarden.net/ConTeXt_Standalone#General_Information Cygwin is under Windows, so you have first to install the windows version and then run it under cywin Windows Use ConTeXt with Cygwin After installing the ConTeXt suite, you can run it under Cygwin. With Cygwin, you may use gmake and other Unix tools for your automated workflow. 1 Run setuptex.bat in DOS command prompt 2 In the same DOS prompt, enter Cygwin by running cygwin.bat (in your Cygwin installation directory) 3 Under Cygwin prompt, run context.cmd test.tex . Note that the .cmd extension is needed under Cygwin. -- luigi ___ 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] Standalone Installation Question
To: ConTeXt package maintainer for TeXlive distribution: TeXlive as of 2011 or so is compatible under unix type with cygwin. I do not want to use the Microsoft version. There is no reason from me to change code and scripts to work with Microsoft's methods. Also I will not give up the unix developement environment that cygwin delivers to work with ConteXt. I'd like to know the the Context package that was submitted to TeXlive. I presume this was in soure format. How can I get that for the beta/current MKIV and build it myself? Thanks luigi scarso luigi.sca...@gmail.com wrote: On Sun, Oct 20, 2013 at 3:54 PM, hwit...@gmail.com wrote: Yes I saw the Windows version of Context mentioned and read it, but the documentation is, in this case, wrong or not fully correct. This is because I am now using Context which comes is included in the TexLive distribution, selected with Unix like operating systems. No bat files or other ancillary code or invokations are necessary. Texlive's Context program would probably not run directly on Microsoft Windows O.S. hm, my experience is the opposite: texlive context runs on Windows, but I don't use it because the standalone also works under Windows. (I use the texlive for all the rest, btw). I believe that the documentation can be expanded to cover using a Context on Cygwin directly and not the Microsoft port which requires the usage of strange Microsoft pathnames, with C:\ and \ seperators. Using context on cygwin for cygwin may only have been done in TexLive for Unix like systems, but I'd like to use and test on the bleeding edge MKIV. But, that proves that it can be done. I just don't know what was done. In this case I think it's better to use the standalone directly on Windows. -- luigi ___ 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] context mkiv output options
Can MKIV ConTeXt output image files. I need to create an image file from a document and would prefer use Context to output it directly if possible and not have to convert a pdf file to an image file such as png or tiff. Is there a command line option for this. I looked at the outpuf from $ context --help , but cold find no answer there. It did not even mention the --pdf option, which does exist. Thanks ___ 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] [***SPAM***] itemization
I want to mave minimal inter-column spacing in the following construct, or be able to specify a maximum width for the full populated reactangular area. For example the results of the below source have inter-column spacing of about 5 cm. Regards - minimum example (How to specify an overall width or the inter-column spacing. \starttext \startitemize[none,columns,three,packed,joinedup,8*serried,][width=0mm] \item A \item B \item C \item D \item E \item F \item G \item H \item I \stopitemize \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] [***SPAM***] itemization
Good idea. It has documented spacing controls. I'll give it a try. Thanks luigi scarso luigi.sca...@gmail.com wrote: On Fri, Oct 11, 2013 at 2:15 PM, hwit...@gmail.com wrote: I want to mave minimal inter-column spacing in the following construct, or be able to specify a maximum width for the full populated reactangular area. For example the results of the below source have inter-column spacing of about 5 cm. Regards - minimum example (How to specify an overall width or the inter-column spacing. \starttext \startitemize[none,columns,three,packed,joinedup,8*serried,] [width=0mm] \item A \item B \item C \item D \item E \item F \item G \item H \item I \stopitemize \stoptext Maybe starttabulate http://wiki.contextgarden.net/Command/starttabulate ? -- luigi ___ 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] \DL misfunctioning
I'm having some problems. Here is a minimum example showing the problem: Table #1 In the first case \DL[1] does not work and no line is displayed, but the columns line up nicesly. Table #2 In this table I accidentally got \DL[1] to work by added a \NC to th last row. BUT, the last row is not misaligned by about 1 character position. How could I get Example #2 below to align properly and why is \DL not working in example #1? Regards --- \starttext \starttable[|r|] \NC Table Header Here\AR \DL[1] \DR \NC misc item 1 \AR \NC misc item 2 \AR \stoptable \starttable[|r|] \NC Table Header Here\AR \DL[1] \DR \NC misc item 1 \AR \NC misc item 2 \NC \AR \stoptable \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] [***SPAM***] Page layout mechanics
I am trying to create a papersize for a business card (Japanese sized). I want a 3 mm border/edge and the rest of the space available for text space. I'm able to get new this for the vertical dimension, but the horizontal text area is about 20 mm shorter than desired or (intented) setyp values. How can I get this to provide a text are width of 85 mm and not the 65 mm I am currently getting, even tough I only spacife 3mm right and left edges? Thanks % Minimal example follows: \definepapersize[business-card][width=91mm,height=55mm] \setuppapersize[business-card][business-card] \setuppagenumbering[location=] \setuplayout[leftedge=0mm, leftedgedistance=0mm, leftmargin=0mm, leftmargindistance=0mm, backspace=3mm, rightedge=0mm,rightedgedistance=0mm,rightmargin=0mm,rightmargindistance=0mm, topspace=3mm, top=0mm, topdistance=0mm, header=0mm, headerdistance=0mm, footerdistance=0mm, footer=0mm,bottomdistance=0mm, bottom=0mm, makeupwidth=85mm ] \starttext \showframe \midaligned{Hello World!} \showlayout \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] [***SPAM***] Layout question
I found I could achieve the desired layout by directly setting the width variable. Thank you. I first tried seting the markupwidth but it can't be set, but the width layout variable does work. Thanks Re: \setuplayout[leftedge=0mm, leftedgedistance=0mm, leftmargin=0mm, leftmargindistance=0mm, backspace=3mm, rightedge=0mm,rightedgedistance=0mm,rightmargin=0mm,rightmargindistance=0mm, topspace=3mm, top=0mm, topdistance=0mm, header=0mm, headerdistance=0mm, footerdistance=0mm, footer=0mm,bottomdistance=0mm, bottom=0mm, width=85mm ] ___ 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] [***SPAM***] Page layout mechanics
Marco, thanks for demonstrating a clean way to set up custom layout sizes. This is very usefull and will be applied to various target documents and paper sizes depending on the need. Regards Marco Patzer wrote: On 2013–10–09 hwit...@gmail.com wrote: I want a 3 mm border/edge and the rest of the space available for text space. \definepapersize [business-card] [width=91mm, height=55mm] \setuppapersize [business-card] \setuplayout [backspace=3mm, topspace=3mm, margin=0mm, header=0mm, footer=0mm, width=middle, height=middle] \starttext \showframe \midaligned{Hello World!} \showlayout \stoptext Marco ___ 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] Anomaly in stretch framed text to width
Wolfgang Schuster wrote: snipped .. \starttext \framed[width=40mm]{word} \framed[width=40mm]{\stretched[features=none,width=\framedwidth]{word}} \stoptext I also appreciate the example provided by Wolfgang. I have found an anomaly which produces incorrect results on my system. Versin: mtx-context | current version: 2013.09.03 16:23 Not so minimal, minimal example. I did a range of values for comparison. Problem is: 1. I expect a one character word to be centered. Not necessary but I expected this, because all words 1 character do center alignment. 2. The letter 'w' for some reason binds to the next character and produces an incorrect result. 3. In the last table the letters 'db' seem to be stuck together when the word is seven characters or more. This anomalous unsymmetric binding also occurs in the 2nd and 3rd tables, as well. \starttext \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{1}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{12}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{123}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{1234}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{12345}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{123456}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{1234567}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{12345678}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{123456789}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{1234567890}} \blank[big] \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{w}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wo}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wor}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{word}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wordw}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wordwo}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wordwor}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wordword}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wordwordw}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wordwordwo}} \blank[big] \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{w}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wa}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{war}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{ward}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wardw}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wardwa}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wardwar}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wardward}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wardwardw}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{wardwardwa}} \blank[big] \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{b}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{ba}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{bar}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{bard}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{bardb}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{bardba}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{bardbar}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{bardbard}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{bardbardb}} \framed[width=45mm]{\stretched[features=none,width=\framedwidth]{bardbardba}} \stoptext Is this a caculation / rouding / logic error ? ___ 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] Alignment table with comma, and long long space after
I'd like to try out the new experimental mechanism for tables mentioned below. Is it correct that I need the standalone version to do this? If standalone, are there differenct versions that I must select between? For example a stable standalone, verses experimental by date or name. Thanks Re: - below Hans Hagen pra...@wxs.nl wrote: On 9/23/2013 8:11 PM, Wolfgang Schuster wrote: Am 23.09.2013 um 15:45 schrieb Xan dxpubl...@telefonica.net: On Sun, 22 Sep 2013 19:31:33 +0200 Wolfgang Schuster schuster.wolfg...@gmail.com ha escrit: You can show us a *complete* minimal example. Wolfgang What is at final? It’s a bug in the alignment mechanism and looking for a solution. I decided to replace the old mechanism by a new one .. still somewhat experimental ... \starttext % \enabletrackers[typesetters.characteralign] \starttabulate[|l|g{,}|r|] \NC test \NC 1.234.456,99 \NC \NC test \NR \NC test \NC 234.456,9 \NC \NC test \NR \NC test \NC 234.456\NC \NC test \NR \NC test \NC 456\NC \NC test \NR \NC test \NC \bf default \NC \NC test \NR \stoptabulate \starttabulate[|l|rg{,}|] \NC test \NC 1.234.456,99 \NC \NR \NC test \NC 234.456,9 \NC \NR \NC test \NC ,9 \NC \NR \NC test \NC 234.456, \NC \NR \NC test \NC 234.456\NC \NR \NC test \NC 456\NC \NR \NC test \NC \bf right\NC \NR \stoptabulate \starttabulate[|l|lg{,}|] \NC test \NC -1.234.456,99 \NC \NR \NC test \NC +1.234.456,99 \NC \NR \NC test \NC 1.234.456,99 \NC \NR \NC test \NC234.456,9 \NC \NR \NC test \NC234.456\NC \NR \NC test \NC456\NC \NR \NC test \NC \bf left \NC \NR \stoptabulate \starttabulate[|l|cg{,}|cg{.}|] \NC test \NC 1.234.456,99 \NC 1,234,456.99 \NR \NC test \NC 234.456,9 \NC 234,456.9 \NR \NC test \NC 234.456\NC 234,456\NR \NC test \NC 456\NC 456\NR \NC test \NC \bf center \NC \bf center \NR \stoptabulate \starttabulate[|l|cg{,}w(10em)|lg{,}|] \NC test \NC € 1,1 \NC 1.234.456,99 \NC \NR \NC test \NC € 11,11\NC 234.456,9 \NC \NR \NC test \NC € 12\punctuationspace111,11\NC 234\punctuationspace456,9 \NC \NR \NC test \NC € 12 111,11\NC 234 456,9 \NC \NR \NC test \NC € 1.234.451,2 \NC 234.456\NC \NR \NC test \NC €234.451,2 \NC 456\NC \NR \NC test \NC €234.451 \NC\NC \NR \NC test \NC €451 \NC\NC \NR \NC test \NC \bf center+width \NC \bf center \NC \NR \stoptabulate \page \bTABLE \bTR \bTD test \eTD \bTD[aligncharacter=yes] € 1,1 \eTD \bTD[aligncharacter=yes]1.234.456,99 \eTD \eTR \bTR \bTD test \eTD \bTD[aligncharacter=yes] € 11,11\eTD \bTD[aligncharacter=yes] 234.456,9 \eTD \eTR \bTR \bTD test \eTD \bTD[aligncharacter=yes] € 12\punctuationspace111,11\eTD \bTD[aligncharacter=yes] 234\punctuationspace456,9 \eTD \eTR \bTR \bTD test \eTD \bTD[aligncharacter=yes] € 12 111,11\eTD \bTD[aligncharacter=yes] 234 456,9 \eTD \eTR \bTR \bTD test \eTD \bTD[aligncharacter=yes] € 1.234.451,2 \eTD \bTD[aligncharacter=yes] 234.456 \eTD \eTR \bTR \bTD test \eTD \bTD[aligncharacter=yes] € 234.451,2 \eTD \bTD[aligncharacter=yes] 456 \eTD \eTR \bTR \bTD test \eTD \bTD[aligncharacter=yes] € 234.451 \eTD \bTD[aligncharacter=yes] \eTD \eTR \bTR \bTD test \eTD \bTD[aligncharacter=yes] € 451 \eTD \bTD[aligncharacter=yes] \eTD \eTR \bTR \bTD test \eTD \bTD \bf center+width \eTD \bTD \bf center \eTD \eTR \eTABLE \startcharacteralign \checkcharacteralign{123.456,78} \blank[small] \checkcharacteralign{456} \blank[small] \checkcharacteralign{23.456} \blank[small] \checkcharacteralign{78,9} \stopcharacteralign \stoptext - 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 /
[NTG-context] [***SPAM***] Fonts
Is there any utility available that can display the different fonts available for viewing. I'm not that familiar with what's available but I would like to see what fonts are already loaded and can be used by the ConteXt macro processor. Thanks ___ 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] [***SPAM***] YATM (Yet Another Table Method)
Wolfgang Schuster wrote: Do you plan to add something equivalent to \setupTABLE[row][column][settings] because xtables lack the function to set values for certain rows/columns. Wolfgang Yes, I was need to set the height and width of cells as well as turn on and off top/bottom, left/right cell frames. Is this functionality covered in extreme tables? When you write certain rows and colums do you mean certain settings for rows and columns? If some functions are missing, I assume that they will be added in the future. Is this assumption correct? Regards Am 08.09.2013 um 02:33 schrieb hwitloc: Thanks for the explanation. Providing the mapping feature with \mapTABLEtoxtabl and \restoreTABLEfromxtable was a very good choice. Cheers Hans Hagen wrote: On 9/7/2013 3:31 AM, hwitloc I just noticed the YATM, yet another table method, built in ConTEXt, called extreme tables, which is said to be a variant of the natural table mechanism. Is extreme-tables a superset of natural-tables functionality? Is the future in extreme-tables and will natural-tables eventually take a back seat and then fade away, being surpassed in development, features and usage? - the natural tables will stay (but frozen - you can overload them: \mapTABLEtoxtabl \restoreTABLEfromxtable - xtreme tables have more protential for extensions without sacrificing speed - xtreme tables are faster but for normal use both suit Do you plan to add something equivalent to \setupTABLE[row][column][settings] because xtables lack the function to set values for certain rows/columns. 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] [***SPAM***] YATM (Yet Another Table Method)
Thanks for the explanation. Providing the mapping feature with \mapTABLEtoxtabl and \restoreTABLEfromxtable was a very good choice. Cheers Hans Hagen wrote: On 9/7/2013 3:31 AM, hwit...@gmail.com wrote: I just noticed the YATM, yet another table method, built in ConTEXt, called extreme tables, which is said to be a variant of the natural table mechanism. Is extreme-tables a superset of natural-tables functionality? Is the future in extreme-tables and will natural-tables eventually take a back seat and then fade away, being surpassed in development, features and usage? - the natural tables will stay (but frozen - you can overload them: \mapTABLEtoxtabl \restoreTABLEfromxtable - xtreme tables have more protential for extensions without sacrificing speed - xtreme tables are faster but for normal use both suit 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 ___
[NTG-context] [***SPAM***] YATM (Yet Another Table Method)
I just noticed the YATM, yet another table method, built in ConTEXt, called extreme tables, which is said to be a variant of the natural table mechanism. Is extreme-tables a superset of natural-tables functionality? Is the future in extreme-tables and will natural-tables eventually take a back seat and then fade away, being surpassed in development, features and usage? Cheers ___ 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] [***SPAM***] Misbehavior in MKIV
Using the texlive 2013 version ; ; minimal example from context wiki \starttext \starttabulate[|CR{red}c|CC{yellow}c|CM{green}c|CL{blue}c|] \NC test \NC test \NC test \NC test \NC \NR \NC test \NC test \NC test \NC test \NC \NR \NC test \NC test \NC test \NC test \NC \NR \NC test \NC test \NC test \NC test \NC \NR \stoptabulate \stoptext Problem: The second column does not display with a yellow background. The word yellow is displayed just before the table. How can this be fixed? ___ 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] [***SPAM***] Misbehavior in MKIV
I found the file, tabl-tbl.mkiv, here: /usr/local/texlive/2013/texmf-dist/tex/context/base/tabl-tbl.mkiv I insert the line you said that was missing at line #721. But, it did not change anything. Does this file need to be compiled or anything? I am not familiar with the deeper workings of ConTeXt code yet. The below is show for context --- LINE #721 is the next line: \setvalue{\??tabulatecolorspec C}#1{\xdef\m_tabl_tabulate_color {#1}\global\c_tabl_tabulate_colorspan\zerocount} \setvalue{\??tabulatecolorspec L}#1{\xdef\m_tabl_tabulate_color {#1}\global\c_tabl_tabulate_colorspan\plusone } \setvalue{\??tabulatecolorspec M}#1{\xdef\m_tabl_tabulate_color {#1}\global\c_tabl_tabulate_colorspan\plustwo } \setvalue{\??tabulatecolorspec R}#1{\xdef\m_tabl_tabulate_color {#1}\global\c_tabl_tabulate_colorspan\plusthree} Wolfgang Schuster wrote: Am 02.09.2013 um 05:34 schrieb hwitloc Using the texlive 2013 version ; ; minimal example from context wiki \starttext \starttabulate[|CR{red}c|CC{yellow}c|CM{green}c|CL{blue}c|] \NC test \NC test \NC test \NC test \NC \NR \NC test \NC test \NC test \NC test \NC \NR \NC test \NC test \NC test \NC test \NC \NR \NC test \NC test \NC test \NC test \NC \NR \stoptabulate \stoptext Problem: The second column does not display with a yellow background. The word yellow is displayed just before the table. How can this be fixed? The following line is missing in tabl-tbl.mkiv: \setvalue{\??tabulatecolorspec C}#1{\xdef\m_tabl_tabulate_color {#1}\global\c_tabl_tabulate_colorspan\zerocount} 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 ___
[NTG-context] [***SPAM***] simple business card
I used the \startfiguretext macro to place a logo in the top left and company name to the right of it. This works well. The only problem is a Figure 1 and non show up on the result. The none was from the example in the book. But, space is at a premium on a small card and I don't want any taken up by blank lines where an annotation might be like none. How can I keep the below the image text and their text space from being used? ___ 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] [***SPAM***] Solved simply
I found the two commands needed to get rid of the numbering and captions. Thanks ___ 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] Simple Context Application to Cards
Thenks for letting me know of the process you used. I appreciate it. Henning Hraban Ramm hra...@fiee.net wrote: Am 2013-08-04 um 16:36 schrieb d.henman dhen...@gmail.com: This is a trivial appliation for Context, but a useful one. I plan on designed some business cards, but am new to Context. My idea to to have a logo image in the upper left hand corner, with the company name to the right of it. This would be two block elements at the top of the card. In the middle will be the name, and below that the address, tel, etc. ... Any advice is appreciated. Several years ago I used ConTeXt to automatically typeset business cards of a big company from a CSV file (processed by a small Python script). In this case I had logo and background graphics (everything static) together as a PDF that I used on a background layer and typeset only name, job title etc. on a per-page layer. Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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] [***SPAM***] How to reduce vertical spacing after this table
I'Ve been trying dozens of combinations to try to reduce the vertical space between the a table and the local footer to some items in the table, but have just been running into a wall. Here is a minimal example. For my application there is just too much space between the bottom of the table and the footnote. That is the problem. Also is there a more elegant way to get the footnote aligned under the table to the left side. I am using narrower to force it to postion. This doesn't show up right in the minimal, but it works. Help in solving this would be greatly appreciated. % \defineconversion[fnsym][\m{\dagger},\m{*},\m{**},\m{***}] % footnote header symbols \starttext \subject{Subject Name} \blank \startlocalfootnotes % [conversion=set fnsym] \setupnotation[footnote][numberconversion=fnsym,rule=off] % change footnote symbols \midaligned { \placetable[here,none][]{} { \setuptables[bodyfont=10pt,after=\nowhitespace,spaceafter=none] \starttable[|c|c|c|c|c|c|c|c|c|] \HL \VL X-ITEM \VL \VL$\oplus$ \footnote[hanzi]{Traditional Characters} \VL \VL$\oplus$ \note[hanzi]\VL\VL$\oplus$ \VL \VL$\oplus$ \VL\MR \VL Y-ITEM\VL \VL$\oplus$ \VL \VL$\oplus$ \VL \VL$\oplus$ \VL \VL$\oplus$ \VL\MR \HL \stoptable } } \setupnarrower[left=2.5cm] % to align footnote under the table \startnarrower[left] \placelocalfootnotes[here] \stopnarrower \stoplocalfootnotes \setupnotation[footnote][numberconversion=n,rule=on] % restore footnotes to global \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] Overriding pdfview
I likewise find the Sumatr pdf viewer better. Besides the benefits already mentioned, it also has the proper quality of being non-intrusive. Adobe readers are quite happy to bloat your memory and take control or otherwise intrude on your system's normal operations. I don't use Adobe's reader at all. Cheers Hans Hagen pra...@wxs.nl wrote: On 6/26/2013 6:11 PM, luigi scarso wrote: On Wed, Jun 26, 2013 at 5:17 PM, Bill Meahan I don't have sumatra and do not wish to install it just to satisfy this one application. WTH is it anyway? (I know what it is, it's a rhetorical question). Making some obscure pdf viewer the default with no clear way to change it is not a good idea. For Windows, the vast majority of people have Acrobat Reader which is very often preinstalled. For Linux, it's less clear what the default should be but {xpdf |evince|acroread} are quite common. Can't speak to OSX as I've never used it but I'd bet a coffee Acrobat Reader is (or can be) there, too. - on none of my window boxes acrobat was preinstalled - there is no robust way to start acrobat - pdfopen has to be adapted to major updates of acrobat - there is (at least on my machine) a potential clash between reader and professional - acrobat occasionally tends to block - the latest version of acrobat has funny popups when opening docs while sumatrapdf - is pretty fast - has matured quite well - remembers the current page - renders quite ok - even supports some basic interactivity - (has an ugly yellow pop up windows but those can nowadays be recolored) - can be installed as portable application - works ok wine/linux (in fact has my preference now when on linux) so, enough reasons for me to have changed the defaults (esp because one can always set different defaults) Although I first discovered this when trying to use SciTE, it does the same thing if invoked from the command line. The pdf viewer does not appear in any of the SciTE *.properties files. maybe context --autopdf=acrobat yourfile.tex context --autopdf=fullacrobat yourfile.tex or in a scite user properties file: if PLAT_WIN name.flag.pdfopen=--autopdf=acrobat - 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] [***SPAM***] Can't find recommended tool
I am trying to install a font so that Context cn use it. I am using the simplefont module and have a ttf that I'd like to use. There is a lot of conflicting information out about to do this and som is outdated. As for ContTeX I did find a nice article, but it says to use the program texfont, which ships with ConTex, but I do not have any such file. texfont --ve=sil --co=gentium --makepath --install I am using the TexLive version. Is there any simple method to get this font so that it can be used by ConTex MKIV ? ___ 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] Failure building standalone
I tried building the standalone but ran into a snag. Here is the error message display when I ran first-setup.sh: sh ./first-setup.sh --modules=all --engine=luatex --context=current receiving incremental file list rsync: change_dir /setup/cygwin (in minimals) failed: No such file or directory (2) sent 4 bytes received 8 bytes 3.43 bytes/sec total size is 0 speedup is 0.00 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1508) [Receiver=3.0.7] mtxrun | unknown script './bin/mtx-update.lua' I take this to mean it can't change to Context's /setup/bin The ... setup/cygwin directories are in my local build directory is in /usr/local/context and not located off of root / Is this because the cygwin build is out-of-date or not supported anymore? Regards ___ 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] Failure building standalone
Thanks Mojca. Re-running the command today got me a little further. Thank you. The problem encounted now is: sh ./first-setup.sh --modules=all --engine=luatex --context=current receiving incremental file list sent 64 bytes received 322 bytes 85.78 bytes/sec total size is 10993585 speedup is 28480.79 env: mtxrun: Permission denied I explicity set the permissions to allow me execute access, but script fails toward the end. But, it looks lke the sh script itself is chaning the perameters. Or else my setup is intentionally tricking me. Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Thu, Jun 20, 2013 at 3:18 PM, hwit...@gmail.com wrote: I tried building the standalone but ran into a snag. Here is the error message display when I ran first-setup.sh: sh ./first-setup.sh --modules=all --engine=luatex --context=current receiving incremental file list rsync: change_dir /setup/cygwin (in minimals) failed: No such file or directory (2) sent 4 bytes received 8 bytes 3.43 bytes/sec total size is 0 speedup is 0.00 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1508) [Receiver=3.0.7] mtxrun | unknown script './bin/mtx-update.lua' I take this to mean it can't change to Context's /setup/bin It can change to http://minimals.contextgarden.net/setup/cygwin (or rather: it's rsync equivalent). Someone started providing the binaries, but later gave up. However, recent posts seem to suggest that normal windows binaries should work as well. The ... setup/cygwin directories are in my local build directory is in /usr/local/context and not located off of root / Is this because the cygwin build is out-of-date or not supported anymore? It's kind of not-supported because nobody was willing to inspect how to build the binaries, but a few days ago I got reports that it should work. Can you please try to fetch first-setup.sh once more and try again? 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 ___ ___ 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] item bullet processing / font problem
Thank you Hans and Wolfgang for all your advice and assistance. I will learn how to and update to a newer standalone version. Regads Hans Hagen pra...@wxs.nl wrote: ... .. . Good question. How should I go about finding the answer to this? Updated all TeXLive 2011 a week ago. that one is way too old for lm math as these fonts only showed up last year so, either update to - tex live 2013 or - use the context garden distribution Hans ___ 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] item bullet processing / font problem
Aditya, thanks for the information adding \setmathfont[modern] It fixed the problem for the default bullet symbols. But, it did not fix the case where I'm trying to use the $\diamond$ symbol as the bullet, and compile time errors occur. I will attach the log file. Hopefully you can identify what is missing. I apologize for my lack of knowledge about fonts details and handling at this poing, but am learning. Here is the minimal exampple: \usemodule[simplefonts] \setmainfont[ipaexm] \mainlanguage[ja] \setmathfont[modern] \definesymbol[5][$\diamond$] \starttext \startitemize[5,columns,unpacked,two,broad] \item 此の行にbulletを打つ。 \item One more column for good measure \item 此れは何処に置かれるでしょうか \stopitemize \stoptext (bullet-problem.tex ConTeXt ver: 2012.05.30 11:26 MKIV fmt: 2013.3.17 int: english/english system cont-new.mkiv loaded (/usr/local/texlive/2012/texmf-dist/tex/context/base/cont-new.mkiv system beware: some patches loaded from cont-new.mkiv ) system bullet-problem.top loaded system options start used options used options % runtime options files (command line driven) used options \unprotect used options % feedback and basic job control used options % handy for special styles used options \startluacode used options document = document or { } used options document.arguments={ used options [pdf]=true, used options } used options document.files={ used options bullet-problem.tex, used options } used options \stopluacode used options % process info used options \setupsystem[inputfile=bullet-problem.tex] used options \setupsystem[\c!n=1,\c!m=1] used options % modes used options % options (not that important) used options \startsetups *runtime:options used options \stopsetups used options % styles and modules used options \startsetups *runtime:modules used options \stopsetups used options % done used options \protect \endinput system options stop used options (bullet-problem.top) fontslatin modern fonts are not preloaded languageslanguage en is active resolversmodules loaded: 'simplefonts' (/usr/local/texlive/2012/texmf-dist/tex/context/third/simplefonts/t-simplefonts.mkiv loading ConTeXt User Module / Simplefonts + /usr/local/texlive/2012/texmf-dist/tex/context/third/simplefonts/t-simplefonts.lua) fontstypescripts unknown: library 'loc' {/usr/local/texlive/2012/texmf-dist/fonts/map/dvips/lm/lm-math.map}{/usr/local/texlive/2012/texmf-dist/fonts/map/dvips/lm/lm-rm.map}{/usr/local/texlive/2012/texmf-dist/fonts/map/pdftex/context/mkiv-base.map} fontsdefining forced type otf of latinmodernmath-regular not found fontsdefining font with asked name 'latinmodernmath-regular' is not found using lookup 'file' fontsdefining unknown font latinmodernmath-regular, loading aborted fontsdefining unable to define latinmodernmath-regular.otf as [simplefonts:1-12pt-mm-mr--3] fontsdefining forced type otf of latinmodernmath-regular not found fontsdefining font with asked name 'latinmodernmath-regular' is not found using lookup 'file' fontsdefining unknown font latinmodernmath-regular, loading aborted fontsdefining unable to define latinmodernmath-regular.otf as [simplefonts:1-12pt-mm-mr--2] fontsdefining forced type otf of latinmodernmath-regular not found fontsdefining font with asked name 'latinmodernmath-regular' is not found using lookup 'file' fontsdefining unknown font latinmodernmath-regular, loading aborted fontsdefining unable to define latinmodernmath-regular.otf as [simplefonts:1-12pt-mm-mr--1] fontsdefining forced type otf of latinmodernmath-regular not found fontsdefining font with asked name 'latinmodernmath-regular' is not found using lookup 'file' fontsdefining unknown font latinmodernmath-regular, loading aborted fontsdefining unable to define latinmodernmath-regular.otf as [simplefonts:1-12pt-mm-mb--3] fontsdefining forced type otf of latinmodernmath-regular not found fontsdefining font with asked name 'latinmodernmath-regular' is not found using lookup 'file' fontsdefining unknown font latinmodernmath-regular, loading aborted fontsdefining unable to define latinmodernmath-regular.otf as [simplefonts:1-12pt-mm-mb--2] fontsdefining forced type otf of latinmodernmath-regular not found fontsdefining font with asked name 'latinmodernmath-regular' is not found using lookup 'file' fontsdefining unknown font latinmodernmath-regular, loading aborted
Re: [NTG-context] item bullet processing / font problem
The result of adding: \definetypeface[test][rm][serif][latin-modern][default] \definetypeface[test][mm][math] [latin-modern][default] \setupbodyfont[test] Make no difference whatsoever. Sorry, but I can't typeset math unless various parameters have been set. This is normally done by loading special math fonts into the math family slots. Your font set is lacking at least the parameter mentioned earlier. ! Math error: parameter \Umathquad\displaystyle is not set. system tex error on line 20 in file bullet-problem.tex: Math error: parameter \Umathquad\displaystyle is not set ... As pointed out an arument is not being passed through to a lower level and apparently in this case the argument is probably NULL or not valid. However adding: \setmathfont[modern] did allow normal default symbols working. Only problem now is a halting compile with error messages and inability to use $/diamond$ (and other symbols) as bullet shapes/characters. Regards Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 18.06.2013 um 23:41 schrieb Hans Hagen pra...@wxs.nl: On 6/18/2013 1:38 PM, hwit...@gmail.com wrote: Aditya, thanks for the information adding \setmathfont[modern] It fixed the problem for the default bullet symbols. But, it did not fix the case where I'm trying to use the $\diamond$ symbol as the bullet, and compile time errors occur. I will attach the log file. Hopefully you can identify what is missing. I apologize for my lack of knowledge about fonts details and handling at this poing, but am learning. Here is the minimal exampple: the names of lm math fonts have changed a few times ... if you use the file: prefix and goodie files are loaded the logic makes sure that at least one is found so, the question is: does simplefonts (the one on your machine) define the lm math font in the right way (read: adapted to the latest fashion) The simplefonts module passes the \setmathfont argument to the \definetypeface command and the default setup should be similar to the following example. I already sent the example once but got no answer what’s the result from it. \definetypeface[test][rm][serif][latin-modern][default] \definetypeface[test][mm][math] [latin-modern][default] \setupbodyfont[test] \starttext Text and $math$. \stoptext 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] item bullet processing / font problem
Hans Hagen pra...@wxs.nl wrote: On 6/18/2013 1:38 PM, hwit...@gmail.com wrote: Aditya, thanks for the information adding \setmathfont[modern] It fixed the problem for the default bullet symbols. But, it did not fix the case where I'm trying to use the $\diamond$ symbol as the bullet, and compile time errors occur. I will attach the log file. Hopefully you can identify what is missing. I apologize for my lack of knowledge about fonts details and handling at this poing, but am learning. Here is the minimal exampple: the names of lm math fonts have changed a few times ... if you use the file: prefix and goodie files are loaded the logic makes sure that at least one is found so, the question is: does simplefonts (the one on your machine) define the lm math font in the right way (read: adapted to the latest fashion) Hans Good question. How should I go about finding the answer to this? Updated all TeXLive 2011 a week ago. mkiv says: contextunable to define latinmodernmath-regular.otf as [simplefonts:1-12pt-mm-mr--2] And as you say ! Math error: parameter \Umathquad\displaystyle is not set. system tex error on line 19 in file bullet-problem.tex: Math error: parameter \Umathquad\displaystyle is not set ... and l.19\item 此 の行にbulletを打つ。 Sorry, but I can't typeset math unless various parameters have been set. This is normally done by loading special math fonts into the math family slots. Your font set is lacking at least the parameter mentioned earlier. ! Math error: parameter \Umathquad\displaystyle is not set. The item text is getting properly placed and there is actually no problem there. The parsing is getting out of step, probably because of a missing parameter. I don't know if this is relevant but the below produces a null output. $ mtxrun --locate lmmath-regular.otf $ Ref: (read: adapted to the latest fashion) Is there a way to ascertain version information about simplefonts if there are different ones floating around? Getting to your main question: How can I find out if simplefonts, the one here on this machine, defines a lm math font in the right way? ___ 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] item bullet processing / font problem
Setting the main font to ipaexm for Japanese characters, causes the sample document below to fail being typest properly. The $\diamond$ symbol I specified as an item bullet does not get typeset and where is should be is blank. Though not shown in this example, the default set is also affected. When it should be a circular bullet a largish hypen - is displayed. Also parsing of the document text itself is affected with Context halting in the middle of the first item's text. I think all problems are due to the change in fort. Is there anyway I can specify a backup font or a fort to use for only the symbols, which I believe is in a math font? Any assistance it getting this working will be much appreciated. Thank you. # 1 Sample Context Macro document that causes the errors: \usemodule[simplefonts] \setmainfont[ipaexm] \definesymbol[5][$\diamond$] \starttext \startitemize[5,columns,unpacked,two,broad] \item 此の行にbulletを打つ。 \item One more column for good measure \stopitemize \stoptext --- end of sample Context macro doc. #2 sample of the errors output by Context system cont-new.mkiv loaded ... system beware: some patches loaded from cont-new.mkiv . . fontslatin modern fonts are not preloaded languageslanguage en is active loading ConTeXt User Module / Simplefonts fontstypescripts unknown: library 'loc' {/usr/local/texlive/2012/texmf-../context/mkiv-base.map} fontsdefining forced type otf of latinmodernmath-regular not found fontsdefining font with asked name 'latinmodernmath-regular' is not found using lookup 'file' fontsdefining unknown font latinmodernmath-regular, loading aborted fontsdefining unable to define latinmodernmath-regular.otf as [simplefonts:1-12pt-mm-mr--3] fontsdefining forced type otf of latinmodernmath-regular not found fontsdefining font with asked name 'latinmodernmath-regular' is not found using lookup 'file' fontsdefining unknown font latinmodernmath-regular, loading aborted fontsdefining unable to define latinmodernmath-regular.otf as [simplefonts:1-12pt-mm-mr--2] . . fontsmath: unset for global bodyfont simplefonts:1 at 12pt fontsmath: unset for global bodyfont simplefonts:1 at 12pt ! Math error: parameter \Umathquad\displaystyle is not set. system tex error on line 8 in file bullet-problem.tex: Math error: parameter \Umathquad\displaystyle is not set ... . . ? OK, entering \nonstopmode... ! Math error: parameter \Umathquad\displaystyle is not set. system tex error on line 8 in file bullet-problem.tex: Math error: parameter \Umathquad\displaystyle is not set ... ! Math error: parameter \Umathquad\displaystyle is not set. system tex error on line 9 in file bullet-problem.tex: Math error: parameter \Umathquad\displaystyle is not set ... . . . ! Math error: parameter \Umathquad\displaystyle is not set. mtx-context | fatal error: return code: 1 - end of sample error output ___ 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] [***SPAM***] Celsius or Me
Wolfgang, thank you for pointing out that an argument was needed with the \celsius macro. darel Wolfgang Schuster wrote: The \celsius command expects a argument (e.g. \celsius{5}) which is missing in your document. Wolfgang Regarding: Am 15.06.2013 um 18:17 schrieb d.henman I am using the latest TeXLive update version of MKIV (used tlmgr to update). In a compile time message Context says that it doesn't like: ! Argument of \celsius has an extra }. system tex error on line 15 in file degree-problem.tex: Argument of ... . --- ___ 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] Test example for problem
The context docment below shows two anomalies. One is the occurrane of the unknown font latinmodernmath-regular, loading aborted and two is that the compilation process halts on the first 'D' in the word Dutch, and no item bullet is typeset. The line \setmainfont[ipaexm] seems to cause this irregular result. -- Example document -- \usemodule[simplefonts] \setmainfont[ipaexm] \definesymbol[5][$\diamond$] \starttext 世界、今日は! \startitemize[5] \item Dutch in English \stopitemize \stoptext -- end example -- -- START REPORT -- mtx-context | run 1: luatex --fmt=/usr/local/texlive/2012/texmf-var/luatex-cache/context/210a96fef5fbab446fd11afa77acb026/formats/cont-en --lua=/usr/local/texlive/2012/texmf-var/luatex-cache/context/210a96fef5fbab446fd11afa77acb026/formats/cont-en.lui --backend=pdf ./test.tex \stoptext This is LuaTeX, Version beta-0.70.2-2012062812 (TeX Live 2012) \write18 enabled. (test.tex ConTeXt ver: 2012.05.30 11:26 MKIV fmt: 2013.3.17 int: english/english system cont-new.mkiv loaded (/usr/local/texlive/2012/texmf-dist/tex/context/base/cont-new.mkiv system beware: some patches loaded from cont-new.mkiv ) system test.top loaded (test.top) fontslatin modern fonts are not preloaded languageslanguage en is active resolversmodules loaded: 'simplefonts' (/usr/local/texlive/2012/texmf-dist/tex/context/third/simplefonts/t-simplefonts.mkiv loading ConTeXt User Module / Simplefonts + /usr/local/texlive/2012/texmf-dist/tex/context/third/simplefonts/t-simplefonts.lua) fontstypescripts unknown: library 'loc' {/usr/local/texlive/2012/texmf-dist/fonts/map/dvips/lm/lm-math.map}{/usr/local/texlive/2012/texmf-dist/fonts/map/dvips/lm/lm-rm.map}{/usr/local/texlive/2012/texmf-dist/fonts/map/pdftex/context/mkiv-base.map} fontsdefining forced type otf of latinmodernmath-regular not found fontsdefining font with asked name 'latinmodernmath-regular' is not found using lookup 'file' fontsdefining unknown font latinmodernmath-regular, loading aborted fontsdefining unable to define latinmodernmath-regular.otf as [simplefonts:1-12pt-mm-mr--3] fontsdefining forced type otf of latinmodernmath-regular not found fontsdefining font with asked name 'latinmodernmath-regular' is not found using lookup 'file' fontsdefining unknown font latinmodernmath-regular, loading aborted fontsdefining unable to define latinmodernmath-regular.otf as [simplefonts:1-12pt-mm-mr--2] fontsdefining forced type otf of latinmodernmath-regular not found fontsdefining font with asked name 'latinmodernmath-regular' is not found using lookup 'file' fontsdefining unknown font latinmodernmath-regular, loading aborted fontsdefining unable to define latinmodernmath-regular.otf as [simplefonts:1-12pt-mm-mr--1] fontsdefining forced type otf of latinmodernmath-regular not found fontsdefining font with asked name 'latinmodernmath-regular' is not found using lookup 'file' fontsdefining unknown font latinmodernmath-regular, loading aborted fontsdefining unable to define latinmodernmath-regular.otf as [simplefonts:1-12pt-mm-mb--3] fontsdefining forced type otf of latinmodernmath-regular not found fontsdefining font with asked name 'latinmodernmath-regular' is not found using lookup 'file' fontsdefining unknown font latinmodernmath-regular, loading aborted fontsdefining unable to define latinmodernmath-regular.otf as [simplefonts:1-12pt-mm-mb--2] fontsdefining forced type otf of latinmodernmath-regular not found fontsdefining font with asked name 'latinmodernmath-regular' is not found using lookup 'file' fontsdefining unknown font latinmodernmath-regular, loading aborted fontsdefining unable to define latinmodernmath-regular.otf as [simplefonts:1-12pt-mm-mb--1] fontsmath: unset for global bodyfont simplefonts:1 at 12pt ! Math error: parameter \Umathquad\displaystyle is not set. system tex error on line 11 in file test.tex: Math error: parameter \Umathquad\displaystyle is not set ... 1 \usemodule[simplefonts] 2 \setmainfont[ipaexm] 3 4 \definesymbol[5][$\diamond$] 5 6 \starttext 7 8 世界、今日は! 9 10 \startitemize[5] 11 \item Dutch in English 12 \stopitemize 13 14 \stoptext 15 \47:5 -$\diamond $ \symb_place_indeed ...name \??symbol #1\endcsname \relax \endgroup \symb_place_retry ...name \symb_place_indeed {:#1} \else #1\fi \symb_place_normal_c ...lace_retry \currentsymbol \fi \symb_place_normal_b
[NTG-context] [***SPAM***] Error can't define..
I encountered this error, when changing over to a Japanese language document. fonts defining unable to define latinmodernmath-regular.otf as [simplefonts:1-8pt-mm-mb--1] --- fonts math: unset for global bodyfont simplefonts:1 at 12pt I think this is a unicode math font. Can I fix this by downloading the proper font? If so please tell me where I can find it. partial current setting: -- \usemodule[simplefonts] \mainlanguage[ja] \language[ja] \setscript[nihongo]% unknown if need or not %\definefont [kanjikana] [name:ipaexmincho] % for just a few characters try this \setmainfont[ipaexm]%changing this to mincho didn't change still used ipaexm I read somewhere that latinmodernmath-regular.otf was deleted from the system from TeXLive for some reason. Is loading a unicode font gonig to solve this? Thanks ___ 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] distinguish different characters from different languages
This seems to be about inter-word spacing, rather than character sets. For the phrase: 据我所知,中国人将typography写作排版 The intuitive operation for ConTeXt should be to preserve the explict space after the comma, but the word typography is not seperated from the rest of the text with spaces. If you input the text as 据我所知,中国人将 typography 写作排版 Then the spaces should be preserved as in English or other languages. This was not the case once for Japanese, but a (temporary?) fix was put into the ongoing development version, I believe. The space removal was due to the fact that Chinese and Japanese do not use space between words in normal text. For now can you use the ~ or some like escape sequence to force a space where you want it? Tim Li timli2...@outlook.com wrote: Hi, Is there a way in ConTeXt to distinguish (or recognise) different characters from different languages, especially distinguishing those used in China, Japan and Korea (CJK) from English. For example, sentence(1) and its translation (sentence (2)) below are mixed English with Chinese characters, as far as I know, Chinese write 排版 as typography. (1) translation: 据我所知,中国人将typography写作排版。(2) If I input this sentence in the ConTeXt source file, how can I recognise English characters and Chinese characters respectively so that I can insert space (say, 1/4 space) when nesting English words into Chinese (the result of sentence (2) in PDF file will look like this: 据我所知,中国人将 typography 写作排版。) Are there some materials or topics about this? Tim ___ 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] [***SPAM***] \setscript blocking \hskip functionality
I found that using \setscript{nihongo} breaks the functioning of \hskip. Here is a minimal example. MKIV required. Text source is UTF-8 encoded text. In the first case without \setscript the Japanese \hskip properly functions, but just after the \setscript macro it fails (without err or mention). However, it is interesting to note that \hfill does work in both cases with standard alphabet text. % \usemodule[simplefonts] \setmainfont[ipaexm]% using a font having Japanese characters \starttext \underbars{Without setscript:} Alphabet\hskip 2cm text 漢字\hskip 2cm 文書 \setscript[nihongo] \underbars{With setscript:} Alphabet\hskip 2cm text 漢字\hskip 2cm 文書 \stoptext % end ___ 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] [***SPAM***] Background color with dotted frame formula
I am trying to make a rounded corner dotted frame with a formula on a gray background. I can't seem to get both the background and the dotted frame working well at the same time. Here is the same mkiv macros showing three specimens. #1 is stand rounded gray background. This works #2 The grey background seems to not go up to the dotted frame of the frame is too high? #3 The dotted frame does not show up at all. Here is the mkiv file: \startuniqueMPgraphic{Label} path p; p := (0,0) -- (OverlayWidth,0) -- (OverlayWidth, OverlayHeight) -- (0, OverlayHeight) -- (0,0); draw p withpen pencircle scaled 1pt dashed withdots; setbounds currentpicture to boundingbox OverlayBox; \stopuniqueMPgraphic \defineoverlay[Label][\useMPgraphic{Label}] \def\dottext#1% { \mframed[frame=off, background=Label, location=low] { #1 } } \setupcolors[state=start] \def\rndgraymath{\mframed[frame=off,% for math have to use \mframed corner=0, background=color, backgroundcolor=gray, backgroundoffset=3pt] } \starttext Large font with rounded gray background \startformula \rndgraymath{\tfc e^{i\pi} + 1 = 0 } \stopformula \blank[big] Large font in dotted rounded frame gray background (should be) \startformula \rndgraymath{\dottext{\tfc e^{i\pi} + 1 = 0 }} \stopformula \blank[big] Large font in dotted rounded frame gray background (should be) \startformula \dottext{\rndgraymath{\tfc e^{i\pi} + 1 = 0 }} \stopformula \stoptext Thanks___ 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] New user of ConTeXt
You already have MKIV (probably) As already mentioned, just type context instead of texexec as the command. $ context name-of-your-tex-file.tex I to had to learn that texexec is the script invoking MKII and that context is the script that invokes MKIV. But both are usually included in a distribution I believe. Tristan Lorino tristan.lor...@ifsttar.fr wrote: Thanks. I'm on Mac (10.8.3), with TeXLive (MacTeX 2012). I compile with Context through TeXShop: the log is This is pdfTeX, version 3.1415926-2.4-1.40.13 (TeX Live 2012) ... ConTeXt ver: 2012.05.30 11:26 MKII fmt: 2012.6.30 I don't know how to get MKIV instead of MKII. Thanks again for your help. Tristan ___ 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] [***SPAM***] Re: [***SPAM***] Symbols for footnotes not working
It didn't work. Either with texexec or with context. Here is a simpler test case start % basic test to change footnotes bullet to a symbol % basice test to change footnotes bullet to a symbol % \setupfootnotes[rule=off] % had no affect \defineconversion[fnsym]{ \dagger,*,**,***} % etc. \setupfootnotes[conversion=fnsym, numberconversion=fnsym] % Doesn't work \setupnotation[footnote][numberconversion=fnsym,alternative=text] % Doesn't work % conversion=set fnsym or conversion=fnsymdoes't work % numberconversion=fnsym or numberconversion=set fnsym doesn't work \starttext This is a footnote\footnote{a fnote}\\ And another for clarity\footnote{the 2nd footnote.} \stoptext end the above does not produce a dagger footnote bullet (only std numbers) It should be a simple thing to do, but I've tried a lot of combinations.. Any help would be appreciated. Am 28.03.2013 um 07:07 schrieb hwit...@gmail.com: From ConTeXt's Wiki Garden the below should work, but it isn't. How can this be accomlished. I want to use just \dagger for the symbol, but any symbol would do. \definesymbol[4]{\dagger] \starttext \defineconversion[dagger][{\dagger},{\dagger}] % use a \dagger for the footnote. \setupfootnotes[conversion=set dagger,location=text] This is the dagger, \dagger{}I want to use for reference\footnote{Will the dagger appear}. A second line here for robustness.\footnote{It's a number still.} \stoptext \setupnotation[footnote][numberconversion=dagger,alternative=text] ... ___ 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] [***SPAM***] Location of reference
I've looked through about five context documents and the wiki, but can't find any good usage documentation for the \setupnotation macro. I've found specific examples of use, but not a complete usage description such as below which explains what options are available. \setupnotation[...][...=...] I'd like read what parameters it covers. ___ 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] [***SPAM***] Symbols for footnotes not working
From ConTeXt's Wiki Garden the below should work, but it isn't. How can this be accomlished. I want to use just \dagger for the symbol, but any symbol would do. \definesymbol[4]{\dagger] \starttext \defineconversion[dagger][{\dagger},{\dagger}] % use a \dagger for the footnote. \setupfootnotes[conversion=set dagger,location=text] This is the dagger, \dagger{}I want to use for reference\footnote{Will the dagger appear}. A second line here for robustness.\footnote{It's a number still.} \stoptext end of example Also I could find no explanations for what a set is, as in conversion=set 1 or 2 or 3 etc. What is set 1 or 2 or 3? Regards. ___ 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] etexshow and generation of cont-en.xlm (cont-XX.xml)?
That is a wonderful idea and one that would be very, very helpful, and much appreciated. Best Jonathan Barchi barc...@gmail.com wrote: Hi all, I'm using the emacs package etexshow to provide a quick ConTeXt command reference in EMACS. This utility parses the interface file cont-en.xml (for english, in my case) and uses the contents to provide a basic dictionary of available commands. In the documentation for etexshow, there is a reference to being able to generate a complete interface description (the aforementioned xml file) like so: ;; There is still an xml-file shipped with this code. Usually you would ;; generate the xml-file with 'texexec'ing the file setupe.tex. Then you ;; will get the cont-en.xml file that can (could) be used as an input for ;; this etexshow. But for now, this won't work. It will work rsn. It is not clear whether that file (setupe.tex or setup.tex) is/was supposed to be shipped with etexshow or was supposed to be a part of context. I've searched and found a few references to this problem, but never a definitive answer, so if anyone knows the answer to these questions I would love to know!! 1. Is the referenced setup(e).tex a file that was previously shipped with ConTeXt - presumably mkii since the author refers to texexec - or would this be something the author would have included with etexshow itself? 2. Is the interface file, e.g. cont-en.xml, auto-generated from all of the defined macros in ConTeXt, or is that file hand-written as metadata to accompany the source-code definitions? 3. Since self-documentation is a goal of the project, is it possible to generate something akin to the interface file that presents a snapshot of all commands known to context at a given time, for use in things like etexshow or other tools? If so, is it possible to do this with modules loaded to see what they additionally define? Thanks in advance for any help! I'm hoping to use any information I get to update etexshow, if possible, and maybe update the ConTeXt support in AUCTEX as well. I think it would be really cool if AUCTEX could reach out at compile or run time and pull in macro definitions from the installed environment, for example. Best, Jon ___ 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] [***SPAM***] Re: How to fix a break
Hans' advice to me to run mtxrun fixed my problem and may it will yours as well. Run: $ mtxrun --generate I also updated texlive 2012 after that. with $ tlmgr update --all # this takes a long time context runs quite independent of the texlive infrastructure; mtxrun is its own stub for instance and has its own file database; so, if 'context' does not run, it's because either mtxrun (without suffix on unix) is not updated if you see kpse being initialized (or any kpse related program being run) you're in troubleL Hans ___ 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] How to fix a break
I'm getting mtxrun | unknown script 'context.lua' or 'mtx-context.lua' on the three line \starttext This is the text section. \stoptext This is the TeXLive distributed version and it worked yesterday. I'm pretty sure I messup up the paths or tex path database used by kpathse, etc. Is there a program I can run to go through a texlive installation and rebuild the TDS database? Thanks ___ 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] [***SPAM***] Some guidance please to get Asian Character
Wolfgang, thanks so much for your resonse. It's content led to me to a solution, both the demonstration code and importantly the note about using MKIV. Since texexec is the only thing mentioned in the ConTEXt the manual, and in other places I've read that MKIV is the latest, I wrongly assumed that texexec was running MKIV. When trying to compile the source I keep seeing mkii comments in the output and then read up and found out that texexec is for mkii and context is for mkiv. I was also under the impression that texexec was a supserset of context and was a script that ran context, since it mentioned two ways to run contxt and that texexec script handled mutliple passes etc.. After learning I retried the example code and it now works, which is very good. Thank You. Wolfgang Schuster wolfgang.schus...@gmail.com wrote: Am 11.03.2013 um 14:22 schrieb hwit...@gmail.com: I am trying to get Japanese character text in a document, but I'm having problems. I am invoking context like this: texexec --xtx --pdf test-jp.tex Below is the context macro source file and below that the compilation output from ConTeXt % % Simple test file. % \enableregime[utf-8] \mainlanguage[ja] \usemodule[japanese] \usemodule[simplefonts] \starttext Hello, World! 世界、今日は! \stoptext I suggest to use MkIV instead of MkII because it makes it easier to select a font. \mainlanguage[ja] \usemodule[simplefonts] \setmainfont[Meiryo] % replace Meiryo with a font available on your system \setscript[nihongo] \starttext Hello, World! 世界、今日は! \stoptext 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 ___
[NTG-context] [***SPAM***] Some guidance please to get Asian Character
I am trying to get Japanese character text in a document, but I'm having problems. I am invoking context like this: texexec --xtx --pdf test-jp.tex Below is the context macro source file and below that the compilation output from ConTeXt % % Simple test file. % \enableregime[utf-8] \mainlanguage[ja] \usemodule[japanese] \usemodule[simplefonts] \starttext Hello, World! 世界、今日は! \stoptext %%% End:Result follows $ texexec --xtx --pdf test-jp.tex TeXExec | processing document 'test-jp.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file test-jp.top TeXExec | using randomseed 99 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en.mkii This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012) restricted \write18 enabled. entering extended mode (./test-jp.tex ConTeXt ver: 2012.05.30 11:26 MKII fmt: 2013.2.15 int: english/english system : cont-new.mkii loaded (/usr/local/texlive/2012/texmf-dist/tex/context/base/cont-new.mkii systems : beware: some patches loaded from cont-new.mkii ) system : cont-sys.rme loaded (/usr/local/texlive/2012/texmf-dist/tex/context/user/cont-sys.rme (/usr/local/texlive/2012/texmf-dist/tex/context/base/type-siz.mkii) (/usr/local/texlive/2012/texmf-dist/tex/context/base/type-one.mkii)) system : test-jp.top loaded (./test-jp.top) bodyfont: 12pt rm is loaded language: patterns nl-texnansi:texnansi-1-2:2 nl-ec:ec-2-2:2 us- ec:ec-3-2:3 de-texnansi:texnansi-4-3:3 de-ec:ec-5-3:3 da-ec:ec-6-2:2 sv-ec:ec-7-2:2 af-ec:ec-8-2:2 gb-ec:ec-9-2:2 fr-texnansi:texnansi-1 0-2:2 fr-ec:ec-11-2:2 es-ec:ec-12-2:2 ca-ec:ec-13-2:2 it-texnansi:te xnansi-14-2:2 it-ec:ec-15-2:2 la-ec:ec-16-2:2 pt-texnansi:texnansi-17 -2:2 pt-ec:ec-18-2:2 ro-ec:ec-19-2:2 pl-pl0:pl0-20-2:2 pl-ec:ec-21- 2:2 pl-qx:qx-22-2:2 cs-il2:il2-23-2:2 cs-ec:ec-24-2:2 sk-il2:il2-25 -2:2 sk-ec:ec-26-2:2 hr-ec:ec-27-2:2 sl-ec:ec-28-2:2 tr-ec:ec-29-2 :2 tk-ec:ec-30-1:2 lt-l7x:l7x-31-2:2 agr-agr:agr-33-2:2 fi-ec:ec-34- 2:2 hu-ec:ec-35-2:2 ru-t2a:t2a-37-2:2 uk-t2a:t2a-38-3:3 loaded specials: dvips loaded systems : system commands are enabled language: language en is active specials: loading definition file tpd (/usr/local/texlive/2012/texmf-dist/tex/context/base/spec-tpd.mkii specials: loading definition file fdf (/usr/local/texlive/2012/texmf-dist/tex/context/base/spec-fdf.mkii)) system : module japanese (mkii) loaded (/usr/local/texlive/2012/texmf-dist/tex/context/base/s-jap-00.mkii ! I can't find file `font-jap.tex'. l.15 \input font-jap.tex % faster than \setupbodyfont[jap] (Press Enter to retry, or Control-D to exit) Please type another input file name: ^d --- END ___ 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] [***SPAM***] File access for sourc, graphic, and pictures
I am just learning ConTeXt, so please bare with me. In all of the documentation that I've read so far, it shows the names of imported photographs, graphs, blocks, etc as a simple filename without any filename extensions or pathnames. Having a bunch of photographs anc charts files in the same directory as te tex files reallys clutters things up. I'd like to store photographs, etc., to use used in a subdirectory of the project. Also might be nice to have subdirectories for the sourc e of each part of a book. How do experienced people handle organizing files for large-ish scale projects such as a book? It would be educational to learn how this is handled. Thanks ___ 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] [***SPAM***] Question about current ConTeXt with XeTeX
I just read in contextgarden.net the following: Note that XeTeX uses mkii and LuaTeX uses mkiv ; in principle mkii is frozen so new features and improvements will only happen in mkiv. I use the ConTeXt which comes in TEXLIVE 2012, which I assume uses Mark IV. Does that mean that I can not use this version of ConTeXt with XeteX which also comes packaged in TEXLIVE? Regards ___ 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] [***SPAM***] Question about current ConTeXt with XeTeX
Thanks for the helpful information. I didn't know tha MkII was included in the distribution or about the --xetex option. Darel Marco Patzer home...@lavabit.com wrote: On 2013–02–22 hwit...@gmail.com wrote: I use the ConTeXt which comes in TEXLIVE 2012, which I assume uses Mark IV. Does that mean that I can not use this version of ConTeXt with XeteX which also comes packaged in TEXLIVE? You can use MkII with XeTeX as follows: context --xetex file.tex Marco ___ ___ 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] [***SPAM***] Spelling Checker
What are some of the tools available for English spelling checkers or filters for existing software such as aspell (aspell's context filter is not a ConTeX filter). What are people using for which platform? Thanks ___ 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] Insertion of a Document I.D.
I want to generate a document i.d. from the .tex source filename and the current date and put it into the footer. This might be possible already, but I could find it by searching the wiki for filename and document it, or rather too much since filename is mainly used for command line parameters, etc. I know the \currentdate will give the current system date part that I can use, but is there any \filename type command for the master filename, so that a document i.d. could be generated automatically. e.g. \filename\currentdate Regards ___ 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] Asian Language Support
Abe-san, thanks for the suggestion. I will do the reading as you suggested. It's always good to have backup for now, in case a clean method can't be worked out with Mark IV right away. Regards ABE Noriyuki aben...@math.sci.hokudai.ac.jp wrote: Dear Henman-san, So a question might be can ptex be used with ConTeXt? as the the engine? Would this wowrk? With ConTeXt mark II (not mark IV), you can use ptex as the engine. Such support is included in W32TeX. (I don't know whether TeXLive 2011 supports it.) You can type `texexec --eptex foo'. If you want to try it, please read share/texmf/doc/context/context-w32. txt and test-eptex.tex. (It is written in Japanese, but I think it does not matter for you.) 2012/05/07(Mon) 22:54:47, d.henman dhen...@gmail.com: Yusuke-san, Thank you too for writing. It seems like one or the other so far, platex does not give good western style characters but is great for Japanese, which the other option, simplefonts gives good western characters and according to you bad Japanese charac ters. Is it the font or the spacing that is bad in simplefont? So a question might be can ptex be used with ConTeXt? as the the engine? Would this wowrk? ___ 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 ___ Sincerely, Noriyuki Abe ___ 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] Asian Language Support
I live in Japan and fequently have the need to create documents in Japanese. I would like to stop using WYSIWYG type word processing and switch over to TeX based systems. I've been starting and am learning to use ConTeXt but I've still a long way to go. I want to ask if anyone has already gone through this and has a How to publish a Japanese language document using ConTeXt or something like that, unless it is incredibly easy to do. I've not tried it yet, but will tomorrow. I wanted to write to the group first to see if this issue has already be solved or any other input. My current platform environment is not ideal, but using Cygwin on a Japanese XP Windows box. I've not had any problems with English documents. Regards, Henman (hwitloc) ___ 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] Indentation for beginner
Marco, thank you for kindly showing me how to do the resume section : itemize format that I needed in a very clear way. The example you provided works very well. I appreciate your help. Regards, hwitloc Marco net...@lavabit.com wrote: On 2012-05-02 hwit...@gmail.com wrote: %Whereas I want it to be like this: EDUCATION* bozo the clown * is here today WORK * UCLA BoA EXPERIENCE * LMU BSCS In other words I want the first item of an itemization to line up with the resume section description header's first or last line. \defineparagraphs [rpara] [n=2] \setupparagraphs [rpara] [1] [width=3cm, style=\sc] \setupitemize [5, packed] \starttext \startrpara Education \nextrpara \startitemize \startitem bozo the clown \stopitem \startitem is here today \stopitem \stopitemize \stoprpara \startrpara Work\crlf Experience % or use \startlines … \stoplines \nextrpara \startitemize \startitem UCLA BoA \stopitem \startitem LMU BSCS \stopitem \stopitemize \stoprpara \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 ___
[NTG-context] [***SPAM***] Indentation for beginner
I am putting together a needed resume and learning context at the same time. What I want is or should be simple, but I am not familiar with which options to set. I am using the following, because I don't want to use any margin for some forgotten reason, just text area. I am currently using this: (abbreviated) % % relevant snippet % \definedescription[rsection][location=left,width=3.0cm,headstyle=\sc] \rsection{Education} \startitemize[5,packed] \item bozo the clown \item is here today. \stopitemize \rsection{Work\\Experience} \startitemize[5,packed] \item UCLA BoA \item LMU BSCS \stopitemize ... % % end snippet % The above is fine, except that I want the items to be level with the resume section header. As it is now the items come out below the resume section description, like this: EDUCATION * bozo the clown * is here today WORK EXPERIENCE * UCLA BoA * LMU BSCS - %Whereas I want it to be like this: EDUCATION* bozo the clown * is here today WORK * UCLA BoA EXPERIENCE * LMU BSCS % above or below WORK EXPERIENCE * UCLA BoA * LMU BSCS % In other words I want the first item of an itemization to line up with the resume section description header's first or last line. I am thinking it might be to set someing in the before, after, or command or to set maybe one to /nop out whatever is there currently. I don't know how to find out what commands these default to, if any, but even if I knew at this point, I would still be stuck. Though I'd like to know about that to. Any advice on this would be appreciated of how to get this desired format would be much appreciated. Regards, hwitloc ___ 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] [***SPAM***] Trying to get two styles simultaneiously
I have been wrestling with this for hours and I'm sure there's a real easy fix. Just that it's eluding me. How can I use \definedescription to set a combination style? e.g. Below I can get a capitalized description header: \definedescription[rsection][location=left,width=broad,headstyle=cap] but, I also want it to be bold. That is a bold+cap at the same time. I tried \bf\cap as a headcommand but it didn't seem to work, as was just ignored. Regards ___ 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 ___