Re: [NTG-context] Writing a Curriculum Vitae/Resume
On Thu, Jun 17, 2010 at 05:21, Matija Šuklje wrote: Hm, I suppose I should upgrade TeX Live to 2009 on my Gentoo :P I would upgrade to 2010 instead. ConTeXt in 2009 is kind of broken. http://www.tug.org/texlive/pretest.html All you need to do is to run a script and you can put all the files in your home dir if you want. All you need to do is to adjust PATH, you don't need any other ugly messing up with your system. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] [OT] Nanum Korean fonts now released under OFL
Nanum Korean fonts now released under OFL http://hotlead.levien.com/2010/06/nanum-korean-fonts-now-released-under.html -- 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] question about howto implement context on homeserver
I'll look in to it. Many thanks for the tip! Regards /Janneman 17 jun 2010 kl. 07.04 skrev Vnpenguin: On Wed, Jun 16, 2010 at 17:56, mrheggiz janerik.hagg...@bredband.net wrote: Please tell me more, interesting!! Have a look at PHP functions system(), exec() to execute an external program from PHP. -- http://vnoss.org ___ 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 ___ Jan-Erik Hägglöf Mandelstensvägen 53 703 74 ÖREBRO 073-957 57 40 019-25 08 69 janerik.hagg...@bredband.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] metapost: shading and transparency
Hi, while using shading in metapost I cannot get transparency work. The transparency is simply ignored and the result is the same colour as with no transparency specified. Here's an example that demonstrates the problem: \definecolor [a] [darkyellow] \definecolor [b] [r=1, g=1, b=1, a=1, t=0] \definecolor [c] [r=1, g=1, b=1, a=1, t=.5] \definecolor [bg] [r=.8, g=.8, b=1] % Define test background to see transparency (not) working \defineoverlay[bg][\uniqueMPgraphic{bg}] \startuniqueMPgraphic {bg} fill unitsquare xyscaled (\overlaywidth, \overlayheight) withcolor \MPcolor{bg}; picture pic; pic := nullpicture; addto pic contour fullcircle scaled .5mm withcolor .2white; for i=1 upto 52: for j=1 upto 73: addto currentpicture also pic shifted (4mm*i, 4mm*j); endfor; endfor; \stopuniqueMPgraphic \setupbackgrounds [page] [background=bg] \starttext \startMPcode path p[]; p1 := unitsquare xyscaled (4cm, 2cm); p2 := p1 yshifted -2.5cm; p3 := p2 yshifted -2.5cm; % Transparency does not work, background is white instead of full alpha linear_shade(p1,0,\MPcolor{a},\MPcolor{b}); % Setting 2nd colour to background colour works only with plain coloured % backgrounds not with patterns linear_shade(p2,0,\MPcolor{a},\MPcolor{bg}); % Transparency with simple »fill« works as expected fill p3 withcolor \MPcolor{c}; \stopMPcode \stoptext Thanks for any hints 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] Problems with TeX Live 2010
Hullo, I've installed TeX Live 2010 following the HOWTO on the *garden[1], but when I try to compile a file that I made with the 2008 version and using the Letter module, I get the error below. Any ideas what I did wrong? :\ --8 MTXrun | kpse fallback with progname 'context' initialized in 0.04 seconds TeXExec | processing document 'DFD2010_racuni.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file DFD2010_racuni.top TeXExec | using randomseed 1281 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeX, Version 3.1415926-1.40.11-beta (TeX Live 2010/pretest) restricted \write18 enabled. (/opt/TeXLive2010/texmf/web2c/natural.tcx) entering extended mode (./DFD2010_racuni.tex ConTeXt ver: 2010.05.24 13:05 MKII fmt: 2010.6.17 int: english/english system : cont-new loaded (/opt/TeXLive2010/texmf-dist/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/opt/TeXLive2010/texmf-dist/tex/context/base/cont-new.mkii)) system : cont-fil loaded (/opt/TeXLive2010/texmf-dist/tex/context/base/cont-fil.tex loading : ConTeXt File Synonyms ) system : cont-sys.rme loaded (/opt/TeXLive2010/texmf-dist/tex/context/user/cont-sys.rme (/opt/TeXLive2010/texmf-dist/tex/context/base/type-def.mkii) (/opt/TeXLive2010/texmf-dist/tex/context/base/type-siz.mkii) (/opt/TeXLive2010/texmf-dist/tex/context/base/type-one.mkii)) system : DFD2010_racuni.top loaded (./DFD2010_racuni.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 gb-ec:ec-8-2:2 fr-texnansi:texnansi-9-2:2 fr-ec:ec- 1 0-2:2 es-ec:ec-11-2:2 ca-ec:ec-12-2:2 it-texnansi:texnansi-13-2:2 it- ec:ec-14-2:2 la-ec:ec-15-2:2 pt-texnansi:texnansi-16-2:2 pt-ec:ec- 17 -2:2 ro-ec:ec-18-2:2 pl-pl0:pl0-19-2:2 pl-ec:ec-20-2:2 pl-qx:qx- 21- 2:2 cs-il2:il2-22-2:2 cs-ec:ec-23-2:2 sk-il2:il2-24-2:2 sk-ec:ec- 25 -2:2 hr-ec:ec-26-2:2 sl-ec:ec-27-2:2 tr-ec:ec-28-2:2 tk-ec:ec-29- 1 :2 lt-l7x:l7x-30-2:2 agr-agr:agr-32-2:2 fi-ec:ec-33-2:2 hu-ec:ec- 34- 2:2 ru-t2a:t2a-36-2:2 uk-t2a:t2a-37-3:3 loaded specials: dvips loaded systems : system commands are enabled language: language en is active specials: loading definition file tpd (/opt/TeXLive2010/texmf-dist/tex/context/base/spec-tpd.mkii specials: loading definition file fdf (/opt/TeXLive2010/texmf-dist/tex/context/base/spec-fdf.mkii)) system : module letter loaded (/opt/TeXLive2010/texmf-dist/tex/context/third/letter/base/t-letter.tex loading : Context User Module / Framework for Letters system : module correspondence loaded (/opt/TeXLive2010/texmf-dist/tex/context/third/letter/base/t- correspondence.tex loading : Context User Module / Correspondence (/opt/TeXLive2010/texmf-dist/tex/context/third/letter/base/t- correspondence.mki i)) correspondence : loading letter interface default.nli (/opt/TeXLive2010/texmf-dist/tex/context/third/letter/interface/default.nli correspondence : loading letter style dinb.nls (/opt/TeXLive2010/texmf-dist/tex/context/third/letter/style/dinb.nls correspondence : loading letter style default.nls (/opt/TeXLive2010/texmf-dist/tex/context/third/letter/style/default.nls)) correspondence : loading letter extension label.nle (/opt/TeXLive2010/texmf-dist/tex/context/third/letter/extension/label.nle) correspondence : loading letter extension addrentry.nle
Re: [NTG-context] Problems with TeX Live 2010
Am 17.06.10 19:18, schrieb Matija Šuklje: Hullo, I've installed TeX Live 2010 following the HOWTO on the *garden[1], but when I try to compile a file that I made with the 2008 version and using the Letter module, I get the error below. Any ideas what I did wrong? :\ Can you show the content of the letter? 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] Problems with TeX Live 2010
Dne četrtek 17. junija 2010 ob 19:39:32 je Wolfgang Schuster napisal(a): Can you show the content of the letter? See attached. Cheers, Matija -- gsm: +386 41 849 552 www: http://matija.suklje.name xmpp: matija.suk...@gabbler.org \mainlanguage[en] \enableregime[utf8] \setuppapersize[a4][a4] \usemodule[letter] \usetypescriptfile[type-gyr] \usetypescript[helvetica][qx] \setupbodyfont[helvetica,ss] \setupletter [opening={Dear FSFE,}, subject={Receipts for the Document Freedom Day 2010\note[style]}, closing={Best regards,}, signature={Matija Šuklje\\Coordinator FSFE Fellowship group Slovenia}] \setupletter [fromname={Matija Šuklje}, fromaddress={Dvořakova 10\\SI-1000 Ljubljana\\Slovenia}] \setupletter [toname={Free Software Foundation Europe e.V.}, toaddress={Talstraße 110\\D-40217 Düsseldorf\\Germany}] %enables colours (ConTeXt by default disables colours) \setupcolors[state=start] %Plussy — the FSFE Fellowship logo \startuseMPgraphic{plussy} unit := 0.2cm; dx := 1.2; color maincolor; maincolor = (0,0.9,0); % fixme path p; p := unitsquare scaled unit; fill p withcolor maincolor; fill p shifted ( dx*unit,0) withcolor maincolor; fill p shifted (-dx*unit,0) withcolor maincolor; fill p shifted (0, dx*unit) withcolor maincolor; p := p xscaled ((3-dx)/4) shifted (0,-dx*unit); fill p withcolor maincolor; fill p xyscaled (-1,1) shifted (unit,0) withcolor maincolor; \stopuseMPgraphic \starttext \startletter As promised, here is the financial report of our Fellowship group's Document Freedom Day event. We spent 116.50 € and below you see a small analysis of what these expenses were. \starttable[|r|l|rT|] \HL \NC receipt no. \NC contents \NC amount \SR \HL \NC 02300 \NC posters (photocopied)\NC 12.48 € \FR \NC 055990 \NC parking for cake transferal\NC 6.00 € \AR \NC 1548 \NC cake \NC 69.00 € \AR \NC 26008889 \NC snacks and drinks for the evening\note[frutiq] \NC 29.02 € \LR \HL \NC \NC \NC \Sigma\ = 116.50 € \SR \HL \stoptable \footnotetext[frutiq]{Note: on the snacks and drinks reciept there are also negative amounts — this is due to the fact that there was a \quote{buy a six pack of juice, get a six pack of flavoured water for free} action and the flavoured water had to be deducted from the reciept.} As you can see the expenses were a bit smaller then anticipated. Please find the receipts attached. \useMPgraphic{plussy} \footnotetext[style]{If it's in anyone's interest, I can link or upload my template to this \ConTeXt\ document on the FSFE wiki.} \stopletter \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] Problems with TeX Live 2010
Am 17.06.10 19:45, schrieb Matija Šuklje: Dne četrtek 17. junija 2010 ob 19:39:32 je Wolfgang Schuster napisal(a): Can you show the content of the letter? See attached. Can you try '\startletter\relax'! Everything between \start/\stopletter is saved in a buffer and the two optional arguments for \startletter can cause problems with mkii’s buffer code. 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] Problems with TeX Live 2010
Am 17.06.10 19:45, schrieb Matija Šuklje: Dne četrtek 17. junija 2010 ob 19:39:32 je Wolfgang Schuster napisal(a): Can you show the content of the letter? See attached. I run now your example on my system and noticed a problem with the footnote numbering, i can fix this in the next release but for the moment add \setupletterstyle[before={\resetnumber[footnote]}] to your document. The hyphenation for expenses is also not very pleasant, you can change the alignment of the text with the following setup (global \setupalign would also work) \setupletterstyle[content][align={right,broad}] 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] Problems with TeX Live 2010
Dne četrtek 17. junija 2010 ob 19:49:40 je Wolfgang Schuster napisal(a): Can you try '\startletter\relax'! Everything between \start/\stopletter is saved in a buffer and the two optional arguments for \startletter can cause problems with mkii’s buffer code. OK, that worked. Thanks :] I was worried that I did something wrong with the TeX Live installation. Cheers, Matija -- gsm: +386 41 849 552 www: http://matija.suklje.name xmpp: matija.suk...@gabbler.org ___ 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] Strange Font problem
On Wed, Jun 16, 2010 at 10:09:11AM +0200, Hans Hagen wrote: On 16-6-2010 3:19, Khaled Hosny wrote: On Wed, Jun 16, 2010 at 02:32:48AM +0200, Andreas Schneider wrote: Hello, since one of the last betas (I guess two weeks ago), a strange problem appears in my current document. The first ~10 page are completely fine (i.e. as usual) but the following ~20 pages have some kind of a font problem. The font looks bolder/grainy when zooming out in Acrobat and also the scrolling is pretty slow. After these pages, it's fine again. I don't see any specific trigger, there's nothing special on these pages. Can you check with other PDF readers, it looks like a reader issue to me. I've got some strange color issues with ConTeXt generated PDFs and Adobe's reader in the past, namely any page with images would have the colors brighter than other pages, since the print was fine (and I don't use Adobe's for screen reading, I didn't bother). Yours might be something similar. see taco's answer ... what i normally do then is put some invisible transparent color on the first page of the document as this will trigger the other color machinery in acrobat Interesting, I've to try this once I'm back working on next edition of that book(let). -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___ 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] Problems with TeX Live 2010
Am 17.06.10 20:27, schrieb Matija Šuklje: Dne četrtek 17. junija 2010 ob 20:09:31 je Wolfgang Schuster napisal(a): I run now your example on my system and noticed a problem with the footnote numbering, i can fix this in the next release but for the moment add \setupletterstyle[before={\resetnumber[footnote]}] to your document. Hmm, I added it, but I still get footnote 3 and 4 (instead of 1 and 2). Is there a specific place I should drop it to? I tried it now with the minimals, for mkii \resetnumber[footnote] is ignored but mkiv it works but for mkiv i can also fix in the module. What you can do is to replace \startletter\relax ... \stopletter with \startlettercontent ... \stoplettercontent \setups[letter:place] because this avoids preprocessing and the footnote numbers are now correct. The hyphenation for expenses is also not very pleasant, you can change the alignment of the text with the following setup (global \setupalign would also work) \setupletterstyle[content][align={right,broad}] That one fails for me; but \setupalign[right,broad] seems to work. weird because with the minimals it works 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] Problems with TeX Live 2010
Dne četrtek 17. junija 2010 ob 20:48:08 je Wolfgang Schuster napisal(a): \startlettercontent ... \stoplettercontent \setups[letter:place] That works now, thanks :] Cheers, Matija -- gsm: +386 41 849 552 www: http://matija.suklje.name xmpp: matija.suk...@gabbler.org ___ 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] page numbering with make-up-pages
Hi, Please, I need urgent help with page numbering! I begin my document with three standardmakeup pages, and expect fourth (normal) one to have number 4. But it is 1, whatever I do. In particular, \setuppagenumbering[number=4] has no effect. In other words, I need numbering from the very first page. Please, see attached file 0.tex. -- Best Regards, Vyatcheslav Yatskovsky \synctex=1 \setupbodyfont[mscore,rm,14pt] \usemodule[fullpage][style={cm,plain}] % --- Discipline-Dependent Definitions --- \def \sps {special-purpose digital computers} \def \mfst {Module â1 Main principles of organization of \sps} %ÐÑÐ½Ð¾Ð²Ð½Ñ Ð¿ÑинÑипи оÑганÑзаÑÑÑ Ð¡Ð¦ÐÐ \def \msec {Module â2 Principles of construction of airborne computers} %ÐÑинÑипи побÑдови боÑÑÐ¾Ð²Ð¸Ñ Ð¦ÐÐ \def \ccs {control digital computers} \def \ads {airborne digital computers} \def \ad {airborne digital computer} \def \SylIndex {Ð 01 - 8.092502a - 39} \def \Discipline {Special-purpose digital computers } \def \AcademProgIndex {Ð-3-8.092502-31 } \def \Year {5} \def \Semester {10} % comment out non-existing activities \def \LectureHours {36} \def \LabHours {18} \def \SelfStudyHours {104} \def \IndividualHours {4} \def \TotalHours {162} \def \Homeworks {2 (10 semester)} \def \ExamSemester {10} %\def \DifTestSemester {10} % --- Reusable Buffers --- \startbuffer[UpperBanner] {\bf NATIONAL AVIATION UNIVERSITY} INSTITUTE OF ELECTRONICS AND CONTROL SYSTEMS Airspace control systems faculty Aviation computer-integrated complexes department \stopbuffer \startbuffer[ApprovedByPolukhin] \startalignment[right]\setupnarrower[left=12cm]\startnarrower[left] Approved Deputy Rector for Academics \thinrule\hskip1mm A.Polukhin \hl[2]\thinrule\hskip1mm\currentdate[year]\par \stopnarrower\stopalignment \stopbuffer \startbuffer[SyllabusIndex] \startalignment[right] Index \SylIndex \stopalignment \stopbuffer \startbuffer[DisciplineBanner] {\bfa SYLLABUS} of the discipline {\bfa \Discipline} (according to ECTS) \stopbuffer \startbuffer[BranchAndSpeciality] \startalignment[right] Branch\hskip1.4cm 0925 Automation and computer-integrated technologies Specialty\hskip1cm 6.092500 Computer-integrated technological processes and productions \stopalignment \stopbuffer \startbuffer[DisciplineHours] \startalignment[right] Year \Year \hfilSemester \Semester \blank[medium] Lectures -- {\LectureHours} hours Laboratory work -- {\LabHours} hours Private work -- {\SelfStudyHours} hours Individual work -- {\IndividualHours} hours Total -- {\TotalHours} hours \blank[medium] \ifx \Homeworks \undefined \else Homeworks -- {\Homeworks} \fi \ifx \ExamSemester \undefined \else Exam -- {\ExamSemester} semester \fi \ifx \DifTestSemester \undefined \else Differentiated test -- {\DifTestSemester} semester \fi \stopalignment \stopbuffer \def \FillInDate {\hl[2]\hl[4]\hskip1mm 20\hl[2]\hskip.5mm} \def \FilledDate#1#2#3 { #1 \_\_\_#2\_\_\_ #3} % --- - % % \starttext % --- FIRST PAGE \startstandardmakeup[align=center] \setupbackgrounds[header][text][background=] \setupindenting[none] \setupinterlinespace[24pt] \getbuffer[UpperBanner] \blank[line] \getbuffer[ApprovedByPolukhin] \blank[line] \getbuffer[SyllabusIndex] \blank[line] \getbuffer[DisciplineBanner] \blank[line] \getbuffer[BranchAndSpeciality] \blank[line] \getbuffer[DisciplineHours] \par\vfill Kiyv \currentdate[year] \stopstandardmakeup % --- SECOND PAGE \startstandardmakeup[doublesided=no] \setupindenting[yes, big, first] \setupinterlinespace[24pt] The syllabus of the discipline \Discipline is based on the Curriculum â Ð Ð-3-502-a/01, branch 0925 âAutomation and computer-integrated technologiesâ, specialty 6.092500 âComputer-integrated techno-logical processes and productionsâ; academic program of this discipline index \AcademProgIndex, approved \FilledDate{12}{06}{2002};\hskip1mm âProvisional Regulations on Training according to ECTS (within the pedagogical experiment)â and âProvisional Regulations on the Assessment grading systemâ approved by the Rector of the University (order â122 of 15.06.2004). \blank[line] The syllabus was developed by %\blank[line] Associate Professor, Candidate of Technical Sciences \thinrule O.Y. Krasnousova %\blank[line] Assistant \thinrule T.I. Lukinova %\blank[line] Assistant \thinrule V.S. Yatskovsky \blank[line] The syllabus was discussed and approved at the meeting of the department of Aviation Computer-Integrated Complexes, protocol â \hl[2] \FillInDate. \blank[line] Head of the Department \thinrule V.M. Sineglazov \blank[line] The syllabus has been discussed and approved by the Scientific-Methodological-Editorial Committee of the Airspace Control Systems Faculty, protocol â \hl[2] \FillInDate. \blank[line]