[NTG-context] \setuparranging with margins
Hi, Can I use \setuparranging (with, say, [2*4]), but asking for a specific margin between pages? Like asking for 4 A5 pages / sheet, but with always 2 cm between pages edges? Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Weird layout
Hi, I don't know if this is an usual problem... I'm printing a book on size A5. The person who is going to build the book said he needs 0.5cm extra around all borders. I'm printing 4 pages at each paper sheet (\setuparranging[2*4]). However, printing will be done in A3; this means the resulting 2*4 (A5+border) should be centered in an A3 sheet. (Of course, this A3 sheet is going to be printed centered in a 2*4(A5+border) blank sheet. Is there a proper way to do that? My naive attempt was to format my book as if it had a size a little bit more than A5 and just \setuparranging to get the result, but this way it is difficult to study the layout properly, I get no markings and other problems. Thanks a lot, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] List of all math macros
Is there a command that prints all math macros available in ConTeXt? http://wiki.contextgarden.net/Math/basic#List_of_All_Math_macros I think \showmathcharacters is not supposed to work anymore. Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] List of all math macros
Is there a command that prints all math macros available in ConTeXt? Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Proper way to point removed text?
What is the proper way in english printing to show that some text has been removed from a quote? In (brazilian) Portuguese, we use [...], for instance: Depois de mencionadas outras questões, comentou-se o ocorrido. can quoted as [...] comentou-se o ocorrido. Is there a name for that? Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Can't change typeface without type size
This seems to be a small bug. This works well: (...) \starttypescript [serif] [default] [size] \definebodyfont [22pt] [rm] [default] \stoptypescript \usetypescript[pagella] \usetypescript[chorus] \setupbodyfont[pagella,22pt] \starttext Text on body font. { \switchtobodyfont[chorus] Text on special typeface. } \stoptext Thanks. Is this a workaround around a small problem, or I actualy did something wrong? Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Can't change typeface without type size
This seems to be a small bug. This works well: \usetypescript[pagella] \usetypescript[chorus] \setupbodyfont[pagella,22pt] \starttext Text on body font. { \switchtobodyfont[chorus,21pt] Text on special typeface. } \stoptext However, if I either remove '21pt' from \switchtobodyfont or just change it to '22pt' (i.e., no change from body font size) I don't get text for the other font. (This is not specific to pagella and chorus, I've checked this same problem with all other combinations I tried. I'm using latest version in minimals, i.e., did 'sh first-setup.hs' just half an hour ago.) Best, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Problem on switching typefaces
In the example below, all text printed on body font is okay. However, the text inside braces disapears. Problem seems not to be with specific typeface, as 'chorus' shows properly when used as body font. Also, changing chorus for others (palatino, chermes, schola, pagella etc.) do not solve the problem. What do you think I'm doing wrong? Thanks, Maurício %%% \usetypescriptfile[type-gentium] \usetypescript[gentium] \usetypescript[chorus] \setupbodyfont[gentium,22pt] \starttext Text on body font. { \switchtotypeface[chorus][rm] Text on special typeface. } More body font text. \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] On creating my own fonts
I've been doing some searching on how to create my own fonts. If possible, I would like to be able to write my own program to at least draw glyphs, even if I have to resort to other tools to describe hinting, kerning and ligatures. My current knowledge is this. I read that OpenType fonts are actually Type 1 fonts embedded in an archive. So I used this 't1disasm' tool I found after wikipedia article on postscript fonts and used it to decode one of ConTeXt minimal distribution font file into a nice to read text file that looks like the transcript below, and it seems to be something I could easily understand if I find a reference. I would like to ask you if I'm in the proper direction. There are some issues I can't understand, like how can I make OpenType fonts out of Type 1 fonts when the later are supposed to only contain 256 characters (aren't they?). Or how to understand this text file format so I can write my own glyphs. Do you think I'm in the right direction. Do you think there's an easier or better way if I want to create fonts without using existing graphical tools? Thanks, Maurício Converted file excerpt: (...) /char03 { -25 625 hsbw -64 21 hstem 564 -20 hstem 0 175 vstem 150 -64 rmoveto 14 11 12 13 hvcurveto 246 vlineto 462 -267 rlineto 4 -2 4 -2 5 0 rrcurveto 9 0 8 5 5 8 rrcurveto 2 3 1 5 0 4 rrcurveto 578 vlineto 0 4 -1 4 -2 4 rrcurveto -5 8 -8 5 -9 0 rrcurveto -5 0 -4 -2 -3 -2 rrcurveto -463 -267 rlineto 246 vlineto 13 -11 12 -14 vhcurveto -125 hlineto -14 -11 -12 -13 hvcurveto -578 vlineto -13 11 -12 14 vhcurveto closepath endchar } ND /char04 { (...) ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Using a tikz package
I would like to use this package for drawing circuits: http://home.dei.polimi.it/mredaelli/circuitikz/index.html The examples are in Latex, but I imagine it could be used in ConTeXt since it's written using Tikz. How can I do that? The recomended instalation procedure at the website is to just uncompress everything in texmf-local directory, but that creates a 'latex' directory that I imagine ConTeXt won't use. Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Is this font changing allowed/correct?
Can I switch fonts like this? concrete roman? mkiv does not support bitmap fonts out of the box I got the 'concrete' name from table 1.11 of 'typography.pdf', The predefined body font identifiers for free OpenType fons. (...) the LuaTeX part the old files are removed because we don't have the fonts in the minimals and better alternatives (e.g. Computer Modern Unicode) exists for them. Are there .tex code files I could read, or a macro I could use, to get a list of the typefaces I can use and the files and typescripts I should include and activate in order to do so? Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Is this font changing allowed/correct?
Can I switch fonts like this? { \switchtobodyfont[concrete] More text. } concrete roman? mkiv does not support bitmap fonts out of the box I got the 'concrete' name from table 1.11 of 'typography.pdf', The predefined body font identifiers for free OpenType fons. This probably means I'm understanding something completely wrong... What would that be? Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] finding out what font are available
still something missing (the fonts script), and the cnf file Any advice? http://wiki.contextgarden.net/ConTeXt_Minimals Best, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Is this font changing allowed/correct?
Can I switch fonts like this? I know something is wrong because it doesn't work ('concrete' typeface is not used), but I would like to know if I'm in the right direction. Thanks, Maurício %%% \usetypescriptfile[type-gentium] \usetypescriptfile[type-otf] \usetypescript[gentium] \usetypescript[concrete] \setupbodyfont[gentium,20pt] \starttext Some text. { \switchtobodyfont[concrete] More text. } \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt minimals installation problem
It's counter-intuitive, but I'm afraid that stable might be a bi broken at the moment. I didn't find discussion on that on the list, so I think it is not bad to ask: has context considered these new fashion version control systems? I've been using these for a few months (darcs and, recently, mercurial), and I can tell it's really worth, although I don't know if developers do have time to try or plan such kind of switch. Best, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Can't set typescript
I'm trying this small test: % \enableregime[utf] \usetypescriptfile[type-xtx] \usetypescript[gentium] \setupbodyfont[gentium] \starttext \showbodyfont \stoptext % It's supposed to select 'gentium' as typeface, but the chart shown by 'showbodyfont' says I'm using 'modern'. Am I missing something? I'm using minimal install, updated yesterday (although I have this problem for at least two weeks). Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Can't set typescript
I'm trying this small test: % \enableregime[utf] \usetypescriptfile[type-xtx] \usetypescript[gentium] \setupbodyfont[gentium] \starttext \showbodyfont \stoptext % It's supposed to select 'gentium' as typeface, but the chart shown by 'showbodyfont' says I'm using 'modern'. Am I missing something? I'm using minimal install, updated yesterday (although I have this problem for at least two weeks). 1. Do you use XeTeX to process your file? 2. Do you have the Gentium fonts on your system? I use the minimal install from pragma site, as prescribed in the 'simple' version of instructions in: http://wiki.contextgarden.net/ConTeXt_Minimals Aren't XeTeX and Gentium supposed to be there? I can find these files: context/tex/texmf-linux/xetex context/tex/texmf-linux/bin/xetex context/tex/texmf/fonts/enc/dvips/gentium context/tex/texmf/fonts/truetype/public/gentium context/tex/texmf/fonts/tfm/public/gentium context/tex/texmf/fonts/map/pdftex/gentium context/tex/texmf/tex/context/third/gentium Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Can't set typescript
\usetypescriptfile[type-xtx] \usetypescriptfile[type-gentium] Thanks! How did you know that (or, better, where should I have looked for)? I had used what I read in table 1.11 of typography pdf from main context wiki page. Best, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Horizontal bar vs emdash
Hi, I know I can input an emdash with: \emdash Is there an alternative when I want an horizontal bar? See this, where I found they can be different: http://en.wikipedia.org/wiki/Quotation_mark,_non-English_usage#Quotation_dash They have different unicode numbers, U+2014 and U+2015. (Is there something similar to \showcharacters? I read in tex/texmf-context/tex/context/base/enco-ini.mkiv it's in a todo list, but I thought it's worth asking.) Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Is this an encoding problem?
Hi, I'm using the lines below in the start of a book '.tex' file. It selects the 'gentium' pre-defined typeface, and the file itself was done using utf8. However, a few unicode characters desapear or cause small problems, like these (unicodes between 2012 and 2015): ― (before spoken text) - (hyphen) I thought they could be missing from the font, but I have already used gentium by just loading the font, before I learned about typefaces. (I did download the font from its site, however, instead of using that from minimals.) Did I do anything wrong? Thanks, Maurício \enableregime[utf] \mainlanguage[pt] \setuppapersize[a5][a5] \usetypescript[gentium] \setupbodyfont[gentium,20pt] \setupindenting[small] \indenting[yes] \setupwhitespace[small] \definestartstop [verse] [before=\vbox\bgroup\startlines, after=\stoplines\egroup] \defineselector[title][max=2,n=2] \setuplist[chapter][width=0pt] \setupheads[alternative=middle] \setuphead[chapter][number=no,incrementnumber=list] \starttext ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Is this an encoding problem?
However, a few unicode characters desapear or cause small problems, like these (unicodes between 2012 and 2015): They work here both in mkii and mkiv (...) Does it make any difference if you replace the font in TeX tree with the font downloaded straight from SIL (and maybe regenerate font cache for luatex just in case)? Here is md5sum of gentium files. However, I wasn't able to get those characters with any font. My first tought was that input could be in something different from utf8, but I can get the ellipsis from the example below to work. 34cc1c1f334221ba0b67e05011036906 *context/tex/texmf/fonts/truetype/public/gentium/GenI102.TTF c8b88a8ecf5f6f93052fb2d1628438d5 *context/tex/texmf/fonts/truetype/public/gentium/GenBasBI.ttf c968d72c4bfc649e2581a5d6699fd31f *context/tex/texmf/fonts/truetype/public/gentium/GenR102.TTF 03ca29844a7db9b018b2dd4de50be6d6 *context/tex/texmf/fonts/truetype/public/gentium/GenBasB.ttf You'll probably need to post a minimal complete example that fails. Here it is. The ellipsis is okay in the output. The horizontal bars, however, just desapear, although they do use some space, as the first letters do not stay aligned with the last line. \enableregime[utf] \usetypescript[gentium] \setupbodyfont[gentium,20pt] \starttext ― Tá vendo? Você não entende! ― Claro que entendo… This is a line without a dash. \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Previous chapter from new font chapter
Hi, Right in the main wiki page I read the current 'fonts' chapter pdf of the new revision of user's manual. It says at item 1.5.1: Remember how in the previous chapter there were the tables that listed all the predefined combinations? It was said (...) Where can I find such previous chapter? I understand it shows a way to list all predefined typefaces available, is that correct? Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Fonts in minimal
Hi, The minimal Context distributions comes with many fonts. Are there predefined (using mfonts.pdf terminology) simple, body or typeface definitions available for those fonts, or a subset of them? Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \startlines in mark IV
Hi, I setup this test: %%% \starttext \startlines \input test.tex \stoplines \stoptext %%% File 'test.tex' contains just a 'Hello world!' line. This test goes okay when I use 'texexec' from default Ubuntu package. When I use 'context' from minimals, I get a message that ends with: ! Undefined control sequence. l.3 \input test.tex If I remove lines '\startlines' and \stoplines' from the test, I get no errors. What did I do wrong? Did '\startlines' changed in Mark IV? Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \charxxxx not working as I expected
Hi, I'm trying this small test on unicode characters, and the result I get is this: http://173.45.227.76/test3.pdf I did check the font in 'gucharmap' and it does contain all codes I'm using (U+2019, U+2610, U+226b, U+2115). But the result is a blank (U+2610 and U+2115) or wrong (U+226b) character. (U+2019 is shown properly.) The test alternates lines where a unicode character is inserted directly (using emacs 'ucs' input method) and then insert the same character using '\char'. (So, if you see strange chars in the code, it's because it does contain utf-8 characters.) It's intersting that u+226b is shown properly when typed, but not when using '\char'. Am I doing something wrong? Thanks, Maurício \enableregime[utf] \mainlanguage[en] \definefontsynonym [myfont] [file:/home/mauricio/fontes/TITUSCBZ.ttf] \definefont [tudo] [myfont at 15pt] \starttext \tudo A few unicode characters: ó ñ ï ỳ (’) is character U+2019 (\char2019 ) is also character U+2019 (☐) is character U+2610 (\char2610 ) is also character U+2610 (≫) is character U+226b (\char226b ) is also character U+226b (ℕ) is character U+2115 (\char2115 ) is also character U+2115 \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Can't find CFF table, not related to extension
Hi, I get this error with a font I just downloaded. It's my first attempt at using a font not provided with context minimals: %% !luaTeX error (file /home/mauricio/fontes/TITUSCBZ.TTF): can't find table `CFF ' == Fatal error occurred, no output PDF file produced! %% I found a thread on the mailing list discussing this, but the problem seems to have been solved by changing the extension to .TTF, but my file was already TTF when I first saw it. Thanks for your help, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Can't find CFF table, not related to extension
try to rename TITUSCBZ.TTF to TITUSCBZ.ttf If that doesn't work, then I would like a small test file and a pointer to the font, please. Here are the sites where I finded about this font and then downloaded it: http://en.wikipedia.org/wiki/TITUS_Cyberbit_Basic http://titus.fkidg1.uni-frankfurt.de/unicode/tituut.asp This is the error message: !luaTeX error (file /home/mauricio/fontes/TITUSCBZ.ttf): can't find table `CFF ' == Fatal error occurred, no output PDF file produced! ConTeXt version: MtxRun | current version: 2008.11.10 21:40 And below is my small test file. (Just a note: I had to delete TITUSCBZ.* files under 'fonts/otf' in texmf-cache in order to ConTeXt look for the downcased .ttf file name instead of complaining not to be able to find the .TTF original name.) Best, Maurício %%% \enableregime[utf] \mainlanguage[en] \definefontsynonym [myfont] [name:/home/mauricio/fontes/TITUSCBZ.ttf] \definefont [tudo] [myfont at 25pt] \starttext \tudo Here is my text. \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Font with compreensive unicode
Hi, I'm using ConTeXt to create a small table of unicode characters. Below is my current test. The codes are: U+2019 is a single quotation mark U+2610 should be a ballot box U+226b should be a much greater than () U+2115 should be the N as used to represent the natural numbers I get 2019 right, 2610 becomes a blank, 226b becomes just a 'b' and 2115 is also a blank. The choosen font is just one I selected (randomly) for testing. Is there a font I could select that would give me a wide set of unicode characters? Actually: is the choice of font the reason for the missing characters, or I'm just doing something wrong? Thanks in advance, Maurício \enableregime[utf] \mainlanguage[en] \definefontsynonym [myfont] [name:texgyretermesregular] \definefont [tudo] [myfont at 10pt] \defineframed [tabelado] [height=2cm,width=2cm,align=middle,corner=round] \starttext \tudo \noheaderandfooterlines \startcombination[2*2] { \tabelado{\blank \char2019 \par \blank} } { 2019 } { \tabelado{\blank \char2610 \par \blank} } { 2610 } { \tabelado{\blank \char226b \par \blank} } { 226b } { \tabelado{\blank \char2115 \par \blank} } { 2115 } \stopcombination \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Instalation of minimal
Hi, Are information on this page http://wiki.contextgarden.net/ConTeXt_Minimals still valid? After following instructions and successfull (I think) rsync sessions I try: source ~/context/tex/setuptex ~/context/tex and I'm told ~/context/tex is not a valid TeX directory. I also tried downloading a 'linux.zip' from http://minimals.contextgarden.net/pragma and it says the same. It also complains about a missing 'plain.tex'. What is the easier way to install MK IV? I usually use ConTeXt that comes with Ubuntu, I just need MK IV in one session where I need to type unicode characters by their number. (A previous message from Hans says \char2019 would word for sure in MK IV.) Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Typing unicode
Hi, This is probably a really basic question already asked many times, but I wasn't able to find an answer. How to type an unicode character using its number? Searching for messages, I found things like: 2019 \char2019 \char{2019} \utfchar{2019} but I wasn't able to get any of them to work. (I don't know for sure they actually should do what I want.) 'texexec --version' says: TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] What should I learn?
(...) You can also have a look at ant http://ant.berlios.de/. (...) IIRC, earlier versions of ant were actually written in haskell. Regarding stuff to read: the typeset version of the (pdf)tex source ((pdf)tex.web+(pdf)tex.ch after processing by weave) is probably still the best beginner's book (...) And, for luatex, http://groups.foundry.supelec.fr/modules/luatex/luatex.pdf You guys are great. I could not expect to find so much good stuff so well organized in just two packages. Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] What should I learn?
Hi, I would like to ask you some advice on what should I learn. Context was the first typography program I used. Then I tried Tex and a little bit of latex. Context is where I get the best results, but what I really would like is something that allows me to do things in my own way, not something that's always great for reasons I don't understand. (Of course, the first documents I would type would not be that good, but I'll learn with time.) I thought Tex could be that, but it's not. I can't use it to create something to fit my (worst) taste instead of Knuth's (better) taste without doing a lot more work than I'm able to do. I also like to write programs (I use a really nice language named Haskell). Do you thing I could get what I want if I write or translate typography functions to that language, and then write programs to generate documents? Where could I find or where could I learn about such functions? Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Typesetting chess boards
Hi, What is the easiest way to include chess boards in a Context document? (...) Nobody has written a package for that yet, but if you are patient, it's easy enough that people will be ready to help you. (...) (...) Maybe it's easy enough to make a general TikZ module that would then work equally well on all engines and all flavours of TeX (but I don't know TikZ well enough). I like that idea. Just subscribed to TikZ list. Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Typesetting chess boards
Hi, What is the easiest way to include chess boards in a Context document? Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] When I don't want quotes
I need to write ' in a text. However, (...) I really need it to be 5 times U0027, not ””’ (U201C and U2018). (...) (...) Both also didn't work. (...) Indeed, I am using mkiv... But you should be able to use \char etc. to get the same effect. pdftex is not working at the moment here -- see my message to the list -- so I can't test this at the moment, but in pdftex there is \unicodecharacter{number} (...) Another option is to use utf8 encoding and insert a zero-width space (200B) between the 0027's. (...) should break the dbl-quote (...) \unicodecharacter wasn't recognized. I do use uft8 encoding, and nothing else (ever). But the problem is not to break the bls-quote, but avoiding ' transformed to ’. Thanks for your help. I'm probably going to try something else, like writing this documentation on a web page. Best, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] When I don't want quotes
Hi, I need to write ' in a text. However, since it's a special tag in wiki language, I really need it to be 5 times U0027, not ””’ (U201C and U2018). How can I do that? Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] When I don't want quotes
I need to write ' in a text. However, since it's a special tag in wiki language, I really need it to be 5 times U0027, not ””’ (U201C and U2018). How can I do that? \starttext With 0-kern: '\kern0pt'\kern0pt'\kern0pt'\kern0pt' The easy way: \dorecurse5' \stoptext Cheers, Peter Neither of them work. ' (Unicode 0027) is still converted to ’ (Unicode 2018). ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] When I don't want quotes
I need to write ' in a text. However, (...) I really need it to be 5 times U0027, not ””’ (U201C and U2018). (...) \starttext \dorecurse5'{} % or \dorecurse{5}{'{}} \stoptext Even better: \starttext \defineactivecharacter ' {\otfchar{quoteright}} ' \stoptext Both also didn't work. Are you using Mark IV? I'm using regular Context (the one that comes with Ubuntu), maybe that's the difference. Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Using module:bib
What is wrong with my attempt to create a bibliography and a reference to it? (...) What does 'k=1' does? It defines the key for crossreferencing via \cite. Interesting, I was using 'n' when I should actually use 'k'. Is there a limit on that key? Can I use, for instance, a random 128 bits number? Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Using module:bib
What does 'k=1' does? Maurício What is wrong with my attempt to create a bibliography and a reference to it? (...) %- \enableregime[utf] \mainlanguage[pt] \usemodule[bib] \setuppublicationlist[] \startpublication[k=1,t=manual, a=Fung, y=1993, n=1] (...) ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Using module:bib
Hi, What is wrong with my attempt to create a bibliography and a reference to it? All I get is a (X,) where I use \cite, and no list of references at \placepublications. %- \enableregime[utf] \mainlanguage[pt] \usemodule[bib] \setuppublicationlist[] \startpublication[t=manual, a=Fung, y=1993, n=1] \author{}[Y.C.]{}{Fung} \title{Mechanical Properties of Living Tissues} \stoppublication \starttext According to \cite[1]. \placepublications \stoptext %- Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Avoiding hyphenation
Hi, How can avoid a word to be hyphenated? I know that it is a basic question, but all I was able to find was a tip about using \hbox{}, which didn't work. Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bibliography inside .tex file
Aditya Mahajan a écrit : On Mon, 14 Jul 2008, Maur�cio wrote: Hi, I've read about \usemodule[bib], and I learned how to create .bbl file. However, I would like to insert my bibliographic references inside my .tex file, not in an external file. Is it possible to do that? Usually, just copying the contents of your bbl file into the main file works. Aditya Can I ask some details? Before or after \starttext? Should I enclose it in \start / \stop something? Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Bibliography inside .tex file
Hi, I've read about \usemodule[bib], and I learned how to create .bbl file. However, I would like to insert my bibliographic references inside my .tex file, not in an external file. Is it possible to do that? Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Unusual TOC
Hi, I'm typesetting a book where prose and verse alternate in chapters, i.e., you have one chapter of prose, one of verse, one of prose etc. I would like to generate a TOC for that book, but chapters have no name or numbers. I was told by the author that the usual thing to do is to take the first few words of each chapter and use those in the index. I know how to do that using a few small tricks, but I would like to know if there's a standard way to do that. Are you aware of any? Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How could a typesetting system be today? (slightly off-topic, flame and nostalgic)
Aditya Mahajan a écrit : On Thu, 12 Jun 2008, Hans Hagen wrote: Maurício wrote: used ‘ϕ’ in a math formula for one of his papers and Context it showing up depends on what you use (mkii or mkiv), if the character is defined, if the font has it (in text mode) etc etc For mkii you simply need to add \enableregime[utf8] in the beginning. It should work out of the box in mkiv (assuming you are using the default latin modern fonts). Aditya I always use \enableregime[utf]. I use mkii (actually, I use what Ubuntu provides). Is there any font setting I can make so that I can use Unicode everywhere? Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How could a typesetting system be today?
The reason for a standard tag language is that the main engine should be able to do some operations on data, like breaking it in pieces like words, paragraphs or staffs on music scores, sometimes without fully understanding what exactly those are. Possible outcomes: with a proper script language (Lua?), things like tables, multi-column text, and even a lot of crazy ideas could be really easy to write. Plug-ins results would be predictable, since they know nothing about the world except what the main engine has informed them. As far as I can judge, music typesetting has completely different rules than text typesetting. Sure. Ok, you would just use another plugin. But then the plugins need a way to interact: captions in graphics (like in MetaPost today), lyrics in music etc. That's the idea. I do believe it's possible. I myself wouldn't probably able to handle a MetaPost based system (or something similar) - even if I speak a bit of PostScript, I just don't think of graphics as formulae: Myself, I never touch my computer mouse :) I did read an answer from Donald Knuth on why he thinks Metafont never became a popular tool for font creation. His answer: you can't ask an artist to become enough of a mathematician in order to be able to design his font based on 60 variables. However, you need different parsers for different types of content A system like what I want should have a common language for all. I'm not smart enough to say which one. (I don't speak Lisp. I don't speak TeX-the-language or Lua as well. But the latter seems easy.) Yes, it is easy and powerfull. And it was created here in Brazil! (Proud smile) There is your unified system. XML rulez - for better or for worse. It's really no fun to write XML by hand. But, as you said, TeX and Lilypond have a similar syntax. I belive they could share some kind of common language. Perhaps you should try to help enhancing OpenOffice's typesetting? # Or Scribus? I really would like something we could program, and then change design variables at will. Thanks for your comments. I have no knowledge to go beyond what I went in my first message. Best, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How could a typesetting system be today? (slightly off-topic, flame and nostalgic)
Do you mean like Scrivener on the Mac? I don’t know. I tried Context, then TeX, than went back to Context. Now also Metapost. Sorry for beeing biased, but I really like the programer approach to computers. What, in any case, constitutes a universal layout approach? Does one exist? (...) I don’t think we need something universal. But there is a lot of common guidelines for most things. For instance, text, music, chess boards and pictures all have to fit or fill their place in a page, and all can have a common main font to be used. Yet he (...) sees the value of maintaining a knowledge base that is predictable when it runs on a program that can pass the trip test. Actually, I’m trying to show my dad he can trust a computer to typeset his class notes, if we use the right tools (i.e., Context plus Metapost instead of what was used for his books in the 90’s, when just a small change would ruin everything). But I’ve just used ‘ϕ’ in a math formula for one of his papers and Context silently ignores it. I’m sure there's a good reason for that. But TeX is predictable when you write a default TeX style document. If you leave it, you have to understand a lot of hidden issues, and a dummy user like me will never know if all of them have been taken care of. Lose that for the sake of innovation, and you can lose real knowledge. And what shall we say for troff, which still possesses an arcane sort of longevity? Troff? I really miss the days of my old TK3000 text editor back in the 80’s. It's great to use 80% of your time thinking about what you want to write and 20% about typesetting. Today it's 4% writing, 2% typesetting and 94% looking over thousands of pages of wiki documentation. I still think Context is really great, but I’ll never try to do something that’s not done in a default installation again. Or try to understand why sometimes [n=x] works but [n = x] doesn’t. (...) you can be creating documents for all the world to see even if you are out in the bush with a generator and mosquito netting. I wrote my résume a few months ago, and sent it to a few companies, just to know a lot of time later that most of them could not open it, since it was a PDF revision 1.8 instead of 1.3 (or something like that). So TeX's stability has the interesting potential side effect of giving a voice to the voiceless. Our cast-off hardware becomes a window for freedom of speech and expression, (...) Sure. I would like to have something simpler than TeX, not more complex or hardware eater. There are places where people still go outside to relieve themselves, (...) Like myself :) Some folks think abstractly and can whack out macros like Paul Bunyan chops wood. Some think visually (...) I can only think abstractly. But TeX macros are a lot less abstract than they could be. I believe DEK says they were never supposed to be used the way they are. DEK (...) brought all his respect and research regarding longstanding, tried and true typographical traditions to his writing of TeX. Sure. You can’t miss that even if you understand nothing about typesetting (like myself). After using TeX for a while, it’s almost painfull to look at text printed by usual office tools. Maurício a écrit : Hi, Just because I'm curious: how could a typesetting system like TeX be if it was created today? I've tried google and wikipedia, and all I found different from TeX is a system called 'Lout', but it seems dead. (...) ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How could a typesetting system be today?
Thanks, Idris, for your interest. I don’t understand enough about typesetting and computer math to make an informed sugestion, but I’ll try my best. What about a Metapost-like main engine to define the general layout of pages? That engine would know about borders, floating spaces for pictures or text, and handle “global” information like main fonts or page numbers etc.; and even draw on the page. Plug-ins would render specific information. The main engine could also do Metapost-like operations on what comes from that rendering. That engine would call plug-ins to render anything, using a standard human-writable tag language. The engine will provide plug-ins a shape they should fill, as well as tips on how to fill it (“amount of ink”, how to deal with unconnected shapes, available fonts etc.); and share information with plug-ins so they can know, for instance, which symbols can be used for footnotes, and inform back which ones they have used. Plug-ins would respond rendered results, as well as indicators about how good is the result and what could be done to get it better (less or more to render, adjusts in their area shape etc.). Main engine and plug-ins would negociate good parameters, shapes and information set until they are both happy (enough). The reason for a standard tag language is that the main engine should be able to do some operations on data, like breaking it in pieces like words, paragraphs or staffs on music scores, sometimes without fully understanding what exactly those are. Possible outcomes: with a proper script language (Lua?), things like tables, multi-column text, and even a lot of crazy ideas could be really easy to write. Plug-ins results would be predictable, since they know nothing about the world except what the main engine has informed them. Best, Maurício Hi Maurício, Sorry to insist, but I would be really interested in approaches that are not just great things we could add to TeX. For instance: would it be possible to have some kind of “layout engine” to which text processing would be just one among other plug-ins? I wonder what kind of information that engine should share with plug-ins. Do you think such system is possible? Or something else? I would love to hear more of your thoughts on this. Don't hold back! Best wishes Idris ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How could a typesetting system be today?
Sorry to insist, but I would be really interested in approaches that are not just great things we could add to TeX. For instance: would it be possible to have some kind of “layout engine” to which text processing would be just one among other plug-ins? I wonder what kind of information that engine should share with plug-ins. Do you think such system is possible? Or something else? Maurício Maurício a écrit : Hi, Just because I'm curious: how could a typesetting system like TeX be if it was created today? I've tried google and wikipedia, and all I found different from TeX is a system called 'Lout', but it seems dead. (...) ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] How could a typesetting system be today?
Hi, Just because I'm curious: how could a typesetting system like TeX be if it was created today? I've tried google and wikipedia, and all I found different from TeX is a system called 'Lout', but it seems dead. Does anyone knows about novel or interesting ideas that could be used if we would write a new typesetting system from scratch? Thanks for your thoughts, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problem with Portuguese hyphenation
Maurício wrote: Hi, In Portuguese, the rule about hyphenating word that contain hyphens themselves is to preserve the hyphen in the next line. (...) Because there is no low-level support for this in TeX, you will have to input such words as tê|_|lo. (...) Interesting. What does |_| do? I tried to search for it in Context wiki found no references. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Problem with Portuguese hyphenation
Hi, In Portuguese, the rule about hyphenating word that contain hyphens themselves is to preserve the hyphen in the next line. For instance, the sentence Seria bom se eu pudesse tê-lo mantido como amigo, mas por mais bem-intencionado que eu fosse, não foi possivel should be hyphenated like that (justification adapted just for that example): Seria bom se eu pudesse tê- -lo mantido como amigo, mas por mais bem- -intencionado que eu fosse, não foi possivel. However, Context does that like this way: Seria bom se eu pudesse tê- lo mantido como amigo, mas por mais bem- intencionado que eu fosse, não foi possivel What should I do to correct that? Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Unwanted information in PDF files
Hi, After generating a PDF from a .tex file, I changed the name of the resulting PDF to something else. But when I open that file in 'evince', it still shows the old file name. I opened that file in emacs in saw that I lot of info is stored in the PDF file: original file name, creation date, generated by Context etc. That can be a problem sometimes. For instance, someone wouldn't want to write a file like 'I_hate_my_job.tex' and then change the result to 'report_to_boss.pdf', just to see his manager opening the file and reading the first name. Or, in my situation, write a file with special Unicode characters and see evince show the file name as bogus characters. How can I instruct Context not to write anything inside the PDF file that I have not asked for? Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] TeX ligatures in XeTeX/LuaTeX: ``who needs them''?
Hello, just wondering: how many ConTeXt-ers depend on ligatures such as: '' (double quote) and '' (two single quotes) - right double quote `` - left double quote ,, - DOUBLE LOW-9 QUOTATION MARK (...) You got replies from experienced users, so I thought you could use an answer from a begginer; there are many of us out there! (...) actually, what is called ligatures here, are no ligatures in the real sense; they are tricks that use the tex ligature mechanism to achieve something (the fi ligature came out of f + i written in sequence but nobody in the past ever wrore, by pen, three -'s separated by a small space in a row, it's was just a longer rule) (...) I see. I also read somewhere that some font mechanisms (OpenType?) also handle what is called ligatures by themselves, is that true? What about math mode? I've not used it that much, does it also have such kind of 'pseudo-ligatures'? I read that what I use in my keyboard to type minus (-) is actually just ascii minus/hyphen, but in Unicode there's an actual minus symbol (U+2212). Does that needs special handling? The ligature trick could not be used here, I imagine. Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Verses
Hi, Do you guys have tips on how to typeset verses? There's an item for that on the wiki: wiki.contextgarden.net/Visuals but nobody filled it yet. If we collect a nice bunch of tips I can put them in the wiki. Thanks for your help, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Hair space and non-breaking hyphen
Hi, I've seen two interesting Unicode characters that I would like to use: Hair space: U+200A (it's supposed to be a space that's small, used around emdashes sometimes). Non-breaking hyphen: U+2011 (an hyphen where the word is not supposed to be broken by hyphenation). I would like to know if I can use them in Context. Is Context going to respect non-breaking hyphens in hyphenation algorithms? Is hair space going to be what it is supposed to, no matter which font I use? Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Unicode characters by number
Hi, Is it possible to enter an Unicode character in a Context file using the character Unicode number? How can I do that? Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Examples of MathML in Context
Mike Santy escreveu: Below is a complete example: (...) Could you please add this minimal example to the wiki page: http://wiki.contextgarden.net/MathML_code_examples Done. Best, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Options file for context
Hi, Is there some kind of file where I can list default options for texexec? For instance, I usually use --purgeall, and would like it to be default in my user environment. Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Examples of MathML in Context
Hi, I've just looked at three documents from Hans ('mmlexamp.pdf', 'mmlprime.pdf', 'mmoexamp.pdf'), and they all show nice examples of MathML and what you can accomplish using it. However, I wasn't able to find an example of how to actually insert MathML in a Context document. I imagine it's probably something like that: \starttext (...) \startMathML (...) \stopMathML (...) \stoptext Does anyone knows of an example on how to do that properly? Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Preventing page break in a paragraph
How do I prevent a paragraph to be broken between pages (or columns)? Add a \vbox{} around the paragraph. (...) a vbox messes up the spacing ... \starttext \input tufte \blank \input tufte \blank \setpenalties\widowpenalties{100}\maxdimen \dorecurse{3}{\input tufte} \blank \input tufte \blank \input tufte \stoptext Is it possible to do that with verbatim text? Like \startC (a lot of text) \stopC? ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Preventing page break in a paragraph
Aditya Mahajan escreveu: On Sun, 25 Nov 2007, Maurício wrote: Hi, How do I prevent a paragraph to be broken between pages (or columns)? Add a \vbox{} around the paragraph. You can also use \framed[align=normal], or \start-stop framed, which are fancier vboxes and provide more control. Aditya Are those supposed to work with verbatim code (\startC etc.) inside? Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \setupbodyfont[handwritten]
Hi, When I use \setupbodyfont[handwritten] or \setupbodyfont[calligraphic], I get fonts which do not look like handwritten or calligraphic. Other options give consistent results (sans, type, serif etc.). What should I check in order to get those to work? I use a standard Ubuntu 7.10 installation, and never changed anything. Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Preventing page break in a paragraph
Hi, How do I prevent a paragraph to be broken between pages (or columns)? Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Deleting temporary files with metapost
Hi, I'm using: texexec --purgeall my_file.tex to have temporary files deleted after processing. However, when I use metafun (using \startuseMPgraphics etc.) a single file is left, with extension '.mp.keep'. Is it possible to ask Context not to leave even that file? Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] How to prevent a page break?
Hi, How do I prevent a page break between two paragraphs (actually, between a paragraph and an item list that follows it)? I found '\page[no]' in the documentation, but I don't know if that's the standard way to do that. Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Which ConTeXt editor do you use?
I?m using emacs + auctex. Suerte. Me, too. Never needed anything else than emacs + auctex + texshow. (...) Piotr Also think auctex is nice. What is texshow? What does it do, and where can I find it? Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] MathML in Metafun
Is it possible to use MathML inside a Metapost or Metafun label? I'm not 100% sure, but \sometxt{... your ConTeXt stuff with mathml here ...} could work. It seems a good idea. But, actually, I should have learned how to insert MathML in Context in the first place. Do you know a good doc on that? I can find hundreds of MathML examples in the wiki, but none of them are inside Context documents. Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] MathML in Context
Hi, I've been trying to learn how to insert MathML in Context file. I found many examples of how MathML code should look like, formula or presentational, but no example on how to actually insert it in Context. I tried \math{ mathml stuff} and it didn't work. Can you guys point me to an example? Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] MathML in Context
Hi, I've been trying to learn how to insert MathML in Context file. I found many examples of how MathML code should look like, formula or presentational, but no example on how to actually insert it in Context. I tried \math{ mathml stuff} and it didn't work. Can you guys point me to an example? Have you looked at the mathml and xml manuals at pragma-ade's website? Aditya Yes. Some of them show examples of MathML code and how Context would deal with them. But I couldn't find one that shows how to insert MathML inside a Context document. I'm probably missing something just in front of my face, but I've looked many times already and can't find that. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] MathML in Metafun
Hi, Is it possible to use MathML inside a Metapost or Metafun label? Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Roman numerals
Hi, Is there an automatic way of typesetting roman numerals? I imagine something like a \roman{7} that would result in a nice VII. Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Female sign in Context
Hi, How do I type the female sign (ª) in Context? Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Problem with generated PDF
Hi, I'm trying to send my resumé to people I know as a PDF file created using Context (the minimal version on Pragma site, running on Ubuntu linux). However, many of them (but no all) say they can't open the file. What are the possible causes for that, except e-mail problems? Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problem with generated PDF
Hi, I'm trying to send my resumé to people I know as a PDF file created using Context (the minimal version on Pragma site, running on Ubuntu linux). However, many of them (but no all) say they can't open the file. What are the possible causes for that, except e-mail problems? pdfversion. ConTeXt produces pdf 1.5 by default. You may try setting \pdfminorversion=3. Aditya Exactly! Problem solved. Thanks for your help. Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Unicode error in embedded metapost
(...) Metapost can only handle very basic strings. Don't use Metapost for writing text. (...) Indeed. Using \sometxt{...} is strongly recommended. btex ... etex behaves strange and consumes a considerable amount of extra time to compile your document. Mojca Interesting. I also wasn't aware that btex ... etex could not handle string variables, as I learned from your documentation (I've just started learning metapost). Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Unicode error in embedded metapost
Hi, This small piece of code gives me a wrong result: \startuseMPgraphic{teste} z7 = (5cm,0); label.lrt(Pontão,z7); \stopuseMPgraphic I just have to change 'btex Pont\~ao etex' for 'Pontão' and everything goes fine. Best, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Minimal ConTeXt in 64 bits machine
Hi, Is it possible to install the minimal context distribution in a 64 bits machine? I downloaded 'justtext' and 'linuxtex' zip files, and I see that the environment setup script sets TEXFOS variable to a 64 bits specific directory when it detects a 64 bits machine. However, that directory does not exist in those zip files. Can I get it somewhere else? I'm using Ubuntu 7.04. Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Minimal ConTeXt in 64 bits machine
Exactly! Everything working. Thanks. Hi Maurício, It seems one can find a linux 64 bits version at http://www.pragma-ade.com/context/install/linux64tex.zip You can find it on the pragma-ade site, by going to: * overview * dir * context * install I hope that is what you looked for /Micke P On 7/19/07, Maurício [EMAIL PROTECTED] wrote: Hi, Is it possible to install the minimal context distribution in a 64 bits machine? I downloaded 'justtext' and 'linuxtex' zip files, and I see that the environment setup script sets TEXFOS variable to a 64 bits specific directory when it detects a 64 bits machine. However, that directory does not exist in those zip files. Can I get it somewhere else? I'm using Ubuntu 7.04. Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] PNG pictures in original size
Hi, When using bitmap figures (.png etc.) using \externalfigure, is it possible to set that I want the picture to have it's original size in pixels; or, better, that I don't want it to be scaled? I'm using some pictures that look terrible when converted to a different size, even if the new size is close to the original one. Thanks, Maurício ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Context and CD labels
Renaud AUBIN wrote: Maurício a écrit : I don't have the exact dimenstions. You can check it here (Open Office document): www.pimaco.com.br/files/gabaritos/Gabarito_CDpply_CARTA.sxw dead link... but it's ok with the word gabaritos... The format you use is letter, right (just to be sure since here we use A4) ? It's working now, I've just downloaded that file. I belive that paper is letter, although A4 is usually a lot more common here. I will learn Metafun right now. Do you think I can get Context to write a music list in a way that the text fits automatically into the label? I would like to create a standard template for labels so that I could change only the music list and title. That list could be as small as 3 songs or as big as 30 songs organized into sections. You could probably do that with shaped text but for section, I'm affraid that you'll have to manage it by hand (can't use \section in shaped text)... I'll make an example asap... Sections are not that important, as long as I can have different formats for some lines of text, and I'm sure that's not a problem. For sure, an example would be great! Maurício ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Context and CD labels
Has anyone ever tried to use Context to create music CD labels? Any tips on what should I do, pages I can read or results I can expect? I have never tried to create CD labels but from my experience you should use overlay... Could you describe the geometry of the labels you use (if you use some) ? I don't have the exact dimenstions. You can check it here (Open Office document): www.pimaco.com.br/files/gabaritos/Gabarito_CDpply_CARTA.sxw I can make an example without it but it can help to provide a full one... I need: - width and height of the page (if non-standard) - number of label per page and position of each label's center relatively to a corner of the page... (...) You can draw, clip, write whatever you want and where you want... The circular shape are just to demonstrate positionning and can help to check... You could use Metafun to do some advanced text manipulation (like shaped texts or followtoken texts...) I will learn Metafun right now. Do you think I can get Context to write a music list in a way that the text fits automatically into the label? I would like to create a standard template for labels so that I could change only the music list and title. That list could be as small as 3 songs or as big as 30 songs organized into sections. Maurício ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context