[NTG-context] columnset vs columns

2018-12-22 Thread Thangalin
Minimal example: \definepapersize[PaperSize][ width=400mm, height=100mm, ] \setuppapersize[PaperSize] \starttext \startcolumnset[n=3] \dorecurse{3}{\input knuth} \stopcolumnset \stoptext The old-columnsets module fails with an error. The following works as expected:

Re: [NTG-context] Missing Chapter Numbers

2017-10-22 Thread Thangalin
The following code does not hide the headings: \setuphead[subsection][ placehead=no, number=no, ] % placehead=hidden breaks the counters? \setuphead[subsubsection][ placehead=no, number=no, ] \starttext \chapter{chapter} chapter \section{section} section \section{subsection}

[NTG-context] Missing Chapter Numbers

2017-05-19 Thread Thangalin
\setuphead[chapter][number=yes,] \setuphead[section][number=no,] \setuphead[subsection][placehead=hidden,] \definehead[scenesubsection][subsection] \starttext \dorecurse{5}{ \chapter{Chapter Name} \section{Section Name} \startscenesubsection \input tufte

[NTG-context] Blank page introduced by setmathfont?

2017-01-27 Thread Thangalin
Example: \usemodule[simplefonts] \setmathfont[modern] \starttext \startfrontmatter \input knuth \stopfrontmatter \stoptext Expected Results The text is on the first page. Actual Results The text is on the second page, the first page is blank. Work Around Remove

Re: [NTG-context] WARNING: File path includes directory that doesn't exist

2016-07-30 Thread Thangalin
$ inkscape -V Inkscape 0.92pre1 unknown (Jul 30 2016) https://launchpad.net/~inkscape.dev/+archive/ubuntu/trunk I'm not sure if this version of Inkscape is at fault. It'd be cool if there was a way to specify the SVG to PDF converter program (e.g., to use rsvg-converter instead) from the command

[NTG-context] WARNING: File path includes directory that doesn't exist

2016-07-30 Thread Thangalin
Hi, Possible problem converting SVG to PDF. $ context --version mtx-context | ConTeXt Process Management 0.63 mtx-context | mtx-context | main context file: /opt/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2016.07.18 16:46 cd

Re: [NTG-context] Fill up "bottom" space of page with some content

2015-12-03 Thread Thangalin
Hi Joseph, Mind posting a minimum working example to illustrate what you're trying to accomplish? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

Re: [NTG-context] Upgrade to 2015.11.19 breaks OTF reader?

2015-12-03 Thread Thangalin
The problem persisted with Courier New, not only Source Sans Pro (SSP). The font file for Source Sans Pro came directly from the Google's font service. The SSP (on my machine) works fine in Inkscape. The exact same font was also working before the ConTeXt upgrade.

Re: [NTG-context] Upgrade to 2015.11.19 breaks OTF reader?

2015-12-02 Thread Thangalin
The answer from a SE question has provided a little light: http://tex.stackexchange.com/q/274582/2148 Directories listed in OSFONTDIR are not recursively scanned for font files. That's a bit inconvenient. I borrowed from the answer in that question to do the following: rm -rf $HOME/.fonts mkdir

[NTG-context] Upgrade to 2015.11.19 breaks OTF reader?

2015-12-02 Thread Thangalin
Hi. Installation: http://wiki.contextgarden.net/Ubuntu#With_ConTeXt_Standalone_.E2.80.93_should_work_with_all_Ubuntu_versions Font (OTF): https://www.google.com/fonts/specimen/Source+Sans+Pro = MWE (test.tex) = \definefont[VersionFont][name:sourcesanspro] \starttext \VersionFont Hello,

Re: [NTG-context] Upgrade to 2015.11.19 breaks OTF reader?

2015-12-02 Thread Thangalin
$ locate -i sourcesanspro /home/.../luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otl/sourcesanspro-regular.tma /home/.../luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otl/sourcesanspro-regular.tmc /usr/local/share/fonts/google/s/SourceSansPro-Black.ttf

Re: [NTG-context] setupthinrules

2015-04-16 Thread Thangalin
Thank you. Here is an example that changes the \thinrule to something fancier: \usemodule[fancybreak] \setupfancybreak[symbol=star] \define\thinrule\fancybreak ___ If your question is of interest to others as well,

Re: [NTG-context] setupthinrules

2015-04-16 Thread Thangalin
Wikified. http://wiki.contextgarden.net/Command/setupfancybreak http://wiki.contextgarden.net/Modules/fancybreak Might need some corrections and additions. ___ If your question is of interest to others as well,

[NTG-context] setupthinrules

2015-04-15 Thread Thangalin
Hi, From http://wiki.contextgarden.net/Command/setupthinrules : \define\BeforeCommand{Before} \define\AfterCommand{After} \define\BetweenCommand{Between} \setupthinrules[ before=\BeforeCommand, after=\AfterCommand, inbetween=\BetweenCommand, color=gray, height=1em, ] \starttext

Re: [NTG-context] Error Messages

2014-10-27 Thread Thangalin
What do you think about a wiki structure that directly corresponds to errors? http://wiki.contextgarden.net/Errors/tex/1 http://wiki.contextgarden.net/Errors/context/1 http://wiki.contextgarden.net/Errors/metapost/1 When ConTeXt encounters a TeX error, the software writes the error

[NTG-context] Error Messages

2014-10-26 Thread Thangalin
Hi, After upgrading to version 2014.10.07, I recompiled a document that had gathered some dust and was greeted with: tex error error on line 34 in file ...: ! Math error: parameter \Umathquad\displaystyle is not set The document compiled using a previous version, and no changes were made prior

Re: [NTG-context] Error with alternative (interactive) TOC

2014-10-10 Thread Thangalin
Thank you, Wolfgang. This fixes the issue. I worry, though, that these types of solutions are a bit brittle. If the interactive alternative definition changes, then the TOC code could break. If the definition in strc-lst.mkvi were to change to something like: % Perform a half-line adjustment in

[NTG-context] Error with alternative (interactive) TOC

2014-10-09 Thread Thangalin
Hi, How do you make a custom TOC entry that links to the correct page? In the following example, the last TOC item is not hyperlinked, and all the section hyperlinks are incorrect (off by one). Note that the chapters and sections are separate pages. \setupinteraction[state=start,]

Re: [NTG-context] Possibly bug: misalignment with matrix

2014-10-09 Thread Thangalin
Hi Xan, It's not exactly what you want, but maybe it'll give you some other ideas: \definemathmatrix[pmatrix][ left={\left(\,}, right={\,\right)}, ] \definenumber[pmatrix] \resetnumber[pmatrix] \define\nextmatrix{ \incrementnumber[pmatrix] \getnumber[pmatrix]. } \define[2]\pmatrices{

Re: [NTG-context] LuaTeX Crashes

2014-10-09 Thread Thangalin
Hi, This Heisenbug was arduous to nail down. The following code causes the stack overflow on the first run: http://pastebin.com/raw.php?i=qwGGBrJf If the file is changed to compile successfully, then the compile will succeed on subsequent attempts, even if the changes are reverted to the

[NTG-context] LuaTeX Crashes

2014-10-08 Thread Thangalin
Hi, It seems tostring is calling itself indefinitely, causing it to crash: C stack overflow stack traceback: [C]: in function 'tostring' ...14.10.07/tex/texmf-context/tex/context/base/lpdf-ini.lua:388: in function ...14.10.07/tex/texmf-context/tex/context/base/lpdf-ini.lua:371 [C]:

Re: [NTG-context] Possibly bug: misalignment with matrix

2014-10-07 Thread Thangalin
Looks like a bug; adding blank rows works around the problem (but looks terrible): \definemathmatrix[pmatrix] [left={\left(\,},right={\,\right)}] \starttext Digueu quines de les matrius següents són regulars. Quan ho siguin, trobeu la inversa \startitemize[a,columns,four] \item

Re: [NTG-context] (MKIV beta) APA citations: et al. incorrectly written

2014-10-05 Thread Thangalin
Hi, One more note about et al.: the period can get duplicated. For example: Mohammad Allahbakhsh, Aleksandar Ignjatovic, Boualem Bena- tallah, Seyed-Mehdi-Reza Beheshti and Norman Foo et al.. An analytic approach to people evaluation in crowdsourcing systems. @article{allahbakhsh@crowdsourcing,

Re: [NTG-context] spacing with enumeration...

2014-10-05 Thread Thangalin
Try this: \defineenumeration[OtherMeaning][ text=, headstyle=normal, alternative={left}, %,serried distance=0pt, width=20pt, stopper=\high{o}, inbetween=, before={\blank[small]}, after={\blank[small]}, inbetween=, ] \setupnarrower[ before={\blank[big]},

Re: [NTG-context] whitespace in \setuplist[chapter]

2014-10-04 Thread Thangalin
Try: \setuplist[chapter][ before={\blank[4*big]} ] \starttext \completecontent \dorecurse{50}{\chapter{My Chapter}} \stoptext See also: http://wiki.contextgarden.net/Command/setuplist http://tex.stackexchange.com/questions/89758/

Re: [NTG-context] Use url to hyperlink bibliography title

2014-10-03 Thread Thangalin
Hi Alan, (Of course you are using the bibliography/bibtex module here which is currently being re-implemented but is not quite production ready...) I didn't know that. Am looking forward to using it, thank you. Most bibliography styles ask that the url (or doi) appear at the end of the list

[NTG-context] Set: The Card Game

2014-09-25 Thread Thangalin
Hi, Another ConTeXt example. https://bitbucket.org/djarvis/salish-card-set/src/ Included is a script (svg2mp.sh) that converts SVG files into MetaPost code. This allows for editing the image shapes in Inkscape (or similar) then manipulating them in MetaPost. This example code produces a

Re: [NTG-context] Use url to hyperlink bibliography title

2014-09-25 Thread Thangalin
Hi, The question is also posted here: http://tex.stackexchange.com/questions/201357/context-use-url-parameter-to-hyperlink-bibliography-title-references My concern is that every bibtex entry type must be modified. Unless I'm mistaken, every bibtex entry has a title, so (in theory) that title

Re: [NTG-context] bug in hyphenation?

2014-09-16 Thread Thangalin
Hi Pablo, Are you able to avoid \hsize in favour of something like start/stopnarrower? \setuppapersize[A8] \starttext \startnarrower[-left] \startlinenumbering sentence sentence sentence \stoplinenumbering \stopnarrower \startnarrower[-left] sentence sentence sentence \stopnarrower \stoptext

[NTG-context] Use url to hyperlink bibliography title

2014-09-16 Thread Thangalin
Hi List, How do you make a hyperlink for a bibtex entry's title using the entry's URL? The bibtex entries include articles, techreports, inproceedings, books, and so forth. I can work around the issue by duplicating the URL as follows. For example, save this as sources.bib:

[NTG-context] Līberum Cōnsilium: an example ConTeXt document

2014-08-17 Thread Thangalin
Hi, Here technical document in ConTeXt. It goes a bit beyond the basics but is not complex. The source code is available: https://bitbucket.org/djarvis/world-politics/src/master/xml/tex/ The output: https://bytebucket.org/djarvis/world-politics/raw/master/xml/tex/manual.pdf Comments,

Re: [NTG-context] Class diagram in Ctx?

2014-08-13 Thread Thangalin
Hi, Another option is to use graphviz (dot) to create the graph as an SVG file and then include that graphic. For example: -- graph.dot -- digraph CL { Home - {Summary Account}; Summary - {Proposal Resources Hypothesis Discuss}; Discuss - {Support}; } -- Run GraphViz -- dot -Tsvg

Re: [NTG-context] Citation Sort Order

2014-08-10 Thread Thangalin
Thank you, Rik. I wanted to list all the bibliography entries (including unreferenced citations) with referenced citations ordered chronologically. I suppose that would require maintaining two separate bibliography files... It's not all that important, though. Kindest regards.

[NTG-context] Superscript Citation References

2014-08-07 Thread Thangalin
Hi, I would like to cite bibliography references using a superscript font. Here is the setup: \setupbibtex[database=sources] \setuppublications[ refcommand=num, numbering=yes ] \setupcite[num][ left=\empty, right=\empty, ] \starttext Citation.\cite[kattamuri@debate] \stoptext Here

[NTG-context] Citation Sort Order

2014-08-07 Thread Thangalin
The documentation (http://www.ntg.nl/maps/26/12.pdf) suggests that the order of citations can be changed using sorttype=cite. The example code below writes a 6 in the document. I thought by setting the sorttype to cite that the bibliography order would be determined based on the order that the

[NTG-context] ConTeXt Garden Examples Maintenance

2014-05-16 Thread Thangalin
Hi, The ConText Garden wiki has numerous short example sprinkled throughout its pages. I presume that they are hard-coded in the page. if the example breaks (due to a ConTeXt bug or backwards-incompatible enhancement), I imagine there is no notification. What do you think about creating a

Re: [NTG-context] Empty heads after leading whitespace

2014-05-05 Thread Thangalin
Avoid vskip. http://wiki.contextgarden.net/Command/vskip ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] Empty heads after leading whitespace

2014-05-05 Thread Thangalin
\setuphead [section] [placehead=empty, page=yes, after={\blank[0em]\blank[disable]}] That works for me. I don't know if it is better, but if it works for you as well then it is probably the way to go. mtx-context | current version: 2014.01.03 00:40

Re: [NTG-context] Empty heads after leading whitespace

2014-05-01 Thread Thangalin
\setuphead[section][% placehead=empty, before=, after=] \setuphead[subsection][% placehead=yes, before=\empty, after={\blank[line]}] \setupheadertexts[section] \starttext \showframe \section{My section} \subsection{My subsection (whitespace before)} % Here is my problem.

Re: [NTG-context] Synonyms and criterium

2014-04-28 Thread Thangalin
A couple of reasons for minimal examples: having an isolated issue is easier to debug and in the process of simplifying the code you might stumble on the solution yourself. For example, I have a book that uses dozens of files. When I encounter an issue, I concatenate the files and then start

[NTG-context] Open-Source Development Grant

2014-04-24 Thread Thangalin
https://stripe.com/blog/stripe-open-source-retreat Grant of $7500 per month, plus food, for working on OSS projects. If there's something that could use three months of F/T work that would be massively helpful for ConTeXt, it might be worthwhile submitting a proposal.

Re: [NTG-context] Unwanted whitespace for tables and enumerations after \inmargin headings

2014-04-19 Thread Thangalin
Hi, insidesection={\blank[overlay]}] This appears to require the latest beta. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] Automated Regression Testing for Typeset Material

2014-04-19 Thread Thangalin
Hi, An idea to test the final output: # Create PDFs for all tests. cd $REGRESSION for i in *.tex; do context-beta $i done # Convert all PDF pages to images. for i in *.pdf; do convert $i $(basename $i .pdf)%0d.png done # Note any differences between images. for i in *.png; do if diff $i

Re: [NTG-context] Unwanted whitespace for tables and enumerations after \inmargin headings

2014-04-18 Thread Thangalin
Hi Rik, The example isn't quite as minimal as it could be... Here is a simplified version demonstrating the problem: \setuplayout[backspace=4cm] \define[2]\MarginHead{\inmargin{#1 #2}} \setuphead[section][ alternative=text, command=\MarginHead, ] \defineitemgroup[itemz]

[NTG-context] Column Width

2014-04-16 Thread Thangalin
Hi, According to the columns manual, the following should produce a two-column layout with the first column being 1/3 and the second column being 2/3 the makeupwidth: \definecolumnset[example][n=2] \setupcolumnset[example][1][width=.33\makeupwidth] \starttext \startcolumnset[example]

Re: [NTG-context] Column Width

2014-04-16 Thread Thangalin
It seems a few examples from the columns manual -- http://www.pragma-ade.com/general/manuals/columns.pdf -- are broken. Here is another (from page 34): \definecolumnset[example][n=3] \definecolumnset[therest][n=4] \setupcolumnset[example] \setupcolumnset[therest] [distance=.5cm] [distance=.5cm]

Re: [NTG-context] Possible bug: definetextbackground and grid layout

2014-04-05 Thread Thangalin
http://wiki.contextgarden.net/TextBackground The first example works. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] Line numbering in columns broken

2014-04-05 Thread Thangalin
Confirmed to work in version 2014.01.03 00:40. ___ 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

[NTG-context] Bug: Overlapping Text

2014-04-01 Thread Thangalin
Hi, The second page of the following document has overlapping text in the second column (this has been as minimal as I can get): \setuphead[section][before={\testcolumn[4]},] \starttext \startmixedcolumns[align=right, balance=yes, grid=strut,] \dorecurse{5}{ \startsection

[NTG-context] Bug? Missing items in nested columnar layout

2014-04-01 Thread Thangalin
Hi, \setuphead[subsection][after={\blank[small]},] \starttext \startcolumns \startmixedcolumns[balance=yes,] \startsubsection[title=title,] \startitemgroup[][packed][before=\empty] \dorecurse{10}{\startitem item \#\recurselevel{}.\stopitem} \stopitemgroup

Re: [NTG-context] TLS and externalfigure

2014-03-30 Thread Thangalin
http://wiki.contextgarden.net/Using_Graphics#HTTPS Thank you, Hans. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] Feature request: use rsvg-convert

2014-03-30 Thread Thangalin
Hi, Re: http://wiki.contextgarden.net/Using_Graphics#Image_Conversion I recommend using rsvg-convert instead of inkscape. For example: wget http://en.wikipedia.org/wiki/File:Inkscape_0.48.2_with_Red_Gallardo.svg -O car.svg time rsvg-convert --format pdf car.svg --output car-rsvg.pdf time

Re: [NTG-context] TLS and externalfigure

2014-03-30 Thread Thangalin
Hi, Adding --insecure works. I think the option should be present by default, which could save people time trying to understand what part of the system is preventing the images from being downloaded. (For example, for me I first checked caching, directory permissions, web server configuration,

[NTG-context] TLS and externalfigure

2014-03-29 Thread Thangalin
Hi, I have images hosted on a local web server using a self-signed certificate. For example: https://localhost/images/.../file.png When using ConTeXt, the image cannot be retrieved; a verified signed certificate works as expected. Using wget, self-signed certificates can be forced: wget

Re: [NTG-context] Bugs in XML export (for ePub)

2014-03-11 Thread Thangalin
Hi Hraban, I tried to create ePubs using ConTeXt late last year (it was a driving factor for me to switch from LaTeX). In practice, ConTeXt cannot actually produce ePub content of any sufficient complexity that an ePub reader (such as Kindle) can read. I abandoned that development line a while

Re: [NTG-context] Bugs in XML export (for ePub)

2014-03-11 Thread Thangalin
Hi, Hraban. Here is the thread from last year for your reference: https://www.mail-archive.com/ntg-context@ntg.nl/msg71376.html ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] struggling with section headers

2014-03-10 Thread Thangalin
Hi, Try using \testpage[3]. The 3 will have to vary depending on the number of lines that the section titles can possibly take up. For example, if the section title takes up 4 lines, then you might want to use \testpage[5]. \usemodule[visual] % fakewords

[NTG-context] Customize register format

2014-03-09 Thread Thangalin
Hi, I am trying to reproduce the following register layout: http://i.imgur.com/qXSK2VM.png Entries include a section name, page number, author, and author URL; the entries are formatted fairly differently from a standard index. So far I have: \setupinteraction[state=start,]

Re: [NTG-context] What’s wrong with \nomarking{\crlf}?

2014-03-06 Thread Thangalin
Hi, From the docs: http://wiki.contextgarden.net/MkIV_Differences#Nomarking.2FSelect \nomarking is currently broken and will likely be removed from mkiv; use \select instead... ___ If your question is of interest to

[NTG-context] Bug: Columnar itemized text

2014-03-06 Thread Thangalin
Hi, I believe I have isolated the problem: \starttext balance \startmixedcolumns[balance=yes,] \dorecurse{8}{\input{ward}} \stopmixedcolumns %\page strut \startmixedcolumns[grid=strut,] \dorecurse{4}{\input{knuth}} \stopmixedcolumns \stoptext When balanced mixedcolumns

Re: [NTG-context] Bug: Columnar itemized text

2014-03-06 Thread Thangalin
Fixed. Thank you! ___ 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 :

Re: [NTG-context] Presentation template

2014-03-03 Thread Thangalin
Hi Fabrice, I'm not sure what you mean by your classes -- do you mean presentation material to help students? Here are some links to get you started: http://tex.stackexchange.com/questions/52841/where-to-find-the-source-code-to-the-context-manuals https://foundry.supelec.fr/projects/contextman/

Re: [NTG-context] \starthanging and hangafter

2014-03-02 Thread Thangalin
Hi Alan, From the archives: http://www.ntg.nl/pipermail/ntg-context/2006/015481.html The \hangsidefloat and \movesidefloat commands may prove useful. Once you have a simple working example, post it to this thread and I'll update the wiki.

Re: [NTG-context] \starthanging and hangafter

2014-02-28 Thread Thangalin
Hi Alan, Please post your code. On Fri, Feb 28, 2014 at 6:54 AM, Alan Bowen bowenala...@gmail.com wrote: I am using using \starthanging…\stophanging to embed a small image in a paragraph in a footnote. Currently, I have a pattern like: xx xx

Re: [NTG-context] Strange behaviour with columnar itemized text

2014-02-28 Thread Thangalin
Hi, I don't know if it is related, but here's another instance of columnar content (in this case, a vertical rule) extending into the footer: http://tex.stackexchange.com/q/134750/2148 ___ If your question is of

Re: [NTG-context] Footnote mark gap

2014-02-27 Thread Thangalin
Try: \setupfootnotes[ textstyle={\hskip.05em}, ] ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] Strange behaviour with columnar itemized text

2014-02-27 Thread Thangalin
Hi, I encountered two issues where itemized text within columns behaves unexpectedly. There appear to be two issues, possibly related. I will provide the shorter example first, which produces overlapping text on the second page (http://i.imgur.com/zMW6yk4.png). Changing \blank[.2em] to

[NTG-context] Feature Request: ToC page number alternative

2014-02-26 Thread Thangalin
Hi, The predefined alternative list setups (e.g., a, b, c...) provide various ways to format the ToC with the page number to the right of the list entry title. An alternative with the page number to the left of the list entry title would be useful. For example: \setupinteraction[state=start,]

Re: [NTG-context] Update overwrites configuration

2014-02-26 Thread Thangalin
Hi, http://wiki.contextgarden.net/Custom_Configuration is now merged with http://wiki.contextgarden.net/texmf.cnf. Please review, correct anything I might have missed, and then delete the texmf.cnf page (the new page is a bit more search-friendly as the words configure and directory are

[NTG-context] Wiki - Main Page

2014-02-25 Thread Thangalin
Hi, The link to Documentation of the source code on the front page of the ConTeXt Garden Wiki is broken: https://foundry.supelec.fr/gf/project/modules/ ___ If your question is of interest to others as well, please

[NTG-context] Remove external file name references

2014-02-24 Thread Thangalin
Hi, When external PDF graphics are included in a document (e.g., using externalfigure), the resulting PDF contains a line such as: /PTEX.FileName (/home/username/path/to/file.pdf) What ConTeXt command prevents external file names from being written to the PDF? I've tried: \pdfptexfilename=0

Re: [NTG-context] Remove external file name references

2014-02-24 Thread Thangalin
A patch from Phillip: https://gist.github.com/phi-gamma/9197525 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] Remove external file name references

2014-02-24 Thread Thangalin
Hi, A flexible solution could be: \setupexternalfigures[ pdfptexfilename={customfilename.jpg}, ] To eliminate the filename altogether: \setupexternalfigures[ pdfptexfilename=, ] This looks like it could be extended to customize the other PTEX attributes, or be used to

[NTG-context] Update overwrites configuration

2014-02-24 Thread Thangalin
Hi, 1. Edit .../tex/texmf/web2c/texmfcnf.lua 2. Set TEXMFCACHE = /var/cache/context/texmf-cache 3. Run first-setup.sh to update ConTeXt. Expected Results TEXMFCACHE remains /var/cache/context/texmf-cache Actual Results TEXMFCACHE reverts to $SELFAUTOPARENT/texmf-cache If the values have been

Re: [NTG-context] Update overwrites configuration

2014-02-24 Thread Thangalin
http://wiki.contextgarden.net/Custom_Configuration Thank you, Mojca. I couldn't find an existing configuration wiki page that discussed the items in your email, Mojca. If configuring directories and variables exists on the wiki, please let me know where to find it and I'll merge the

Re: [NTG-context] Font affects columnar list layout

2014-02-22 Thread Thangalin
I've posted the same question (with a bit more information on the fixes I've attempted) on SE: http://tex.stackexchange.com/questions/161711/context-font-change-shifts-column-content ___ If your question is of

Re: [NTG-context] Colored cell background in Table

2014-02-21 Thread Thangalin
Hi Flavlen, See these threads: https://www.mail-archive.com/ntg-context@ntg.nl/msg51252.html http://www.ntg.nl/pipermail/ntg-context/2010/054614.html Looks like the wiki is out of date and the CL command has been deprecated. Hans wrote, ok, thanks for testing it ... I'm stripping that old code

Re: [NTG-context] Hanging punctuation misalignment in footnotes

2014-02-21 Thread Thangalin
Hi Jan, Do you have some test code you can share? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] \doifemptyelse

2014-02-20 Thread Thangalin
Have you looked at: http://wiki.contextgarden.net/Headers_and_Footers#Marginal_headings_and_centered_headings ? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

[NTG-context] Font affects columnar list layout

2014-02-20 Thread Thangalin
Hi, Been struggling with this issue: 1. Source test.tex: http://pastebin.com/raw.php?i=hPVmkATT 2. Chivo: https://www.google.com/fonts/specimen/Chivo 3. Gentium Basic: http://www.google.com/fonts/specimen/Gentium+Basic 4. Install fonts. 5. Run: context test.tex Looks fine. 1. Uncomment:

[NTG-context] Disappearing Columnar Text

2014-02-19 Thread Thangalin
Hi, When using \startmixedcolumns[balance=yes,grid=strut], how would you put a 0.5em vertical space between a subtitle and a list of items? The following code gives a simple example: http://pastebin.com/raw.php?i=pT5tcXfc Uncommenting the following line hides the list items under Subtitle A:

Re: [NTG-context] Indenting after floating image

2014-02-19 Thread Thangalin
Ah! I was going to suggest that, but thought you wanted a solution that didn't involve manual adjustments... I also thought I tried adding \indentation to the PlaceFigure macro, but it didn't work (probably because of it being embedded inside another set of braces).

[NTG-context] \completecontent affects text height

2014-02-18 Thread Thangalin
Hi, First question: 1. Save http://pastebin.com/raw.php?i=8DQNCcvC as setup.tex 2. Save http://pastebin.com/raw.php?i=KgcxCxGB as garlic.tex 3. Run: context garlic.tex 4. View page 3 of the PDF ( http://i.imgur.com/VLwssnl.png ) 5. Edit garlic.tex. 6. Remove \completecontent 7. Run: context

Re: [NTG-context] \completecontent affects text height

2014-02-18 Thread Thangalin
Thank you Wolfgang! The header=high and mixed columns works perfectly. \define[1]\IngredientMeasure {\doifsomething{#1}{#1}} This didn't work. For example, 24 snail became 24snail because there is no measurement involved. I tried using { #!} (extra space), but it didn't produce the

Re: [NTG-context] Indenting after floating image

2014-02-18 Thread Thangalin
Hi Jan, A work-around: \setupexternalfigures[location=default] \setupindenting[yes,medium] \define[1]\PlaceFigure{ \startplacefigure[number=no, location={page}, title={}] \externalfigure[#1] \stopplacefigure \\ \vskip-1em } \starttext \input{ward} \PlaceFigure{cow} \input{ward}

[NTG-context] Rearrange Table of Contents section page numbers

2014-01-31 Thread Thangalin
Hi, I am trying to recreate the following ToC entries: http://i.stack.imgur.com/ig6LX.png The code on the wiki uses: \doifelse\currentlistentrylocation{\structureheadlocation{chapter}} {{\bfb\currentlistentrytitle}} { \currentlistentrytitle}\NC\NR However,

Re: [NTG-context] Change the default text colour for entire document

2014-01-27 Thread Thangalin
Keith: that was a brilliantly clever idea. I will write up a wiki page on this if someone can tell me where *every independent occurrence of black* could possibly appear (e.g., margins, footnotes, page numbers, table borders, etc.) and how to set each to a different colour. Not having a single

[NTG-context] Change the default text colour for entire document

2014-01-21 Thread Thangalin
Hi, In ConTeXt to change the default text colour for the entire document, there are at least two settings that need to be configured: \setupcolors[textcolor=red] \setupinmargin[line=13,color=red,style=slanted,] The border colour for tables remains black: \setupcolors[textcolor=red]

[NTG-context] Feature Request: Set Output Directory

2014-01-13 Thread Thangalin
Hi, Summary: If the --result parameter includes a path then ConTeXt should assume that that directory is writable thus read/write its temporary flies at that location instead of the current working directory (CWD). Consider the following three accounts: - ConTeXt installation account (e.g.,

[NTG-context] Include PDF Fails

2014-01-13 Thread Thangalin
Hi, I am trying to include a single test page in my document. The following code fails to set the PDF as the background layer for the cover page. I've tried several variations (http://wiki.contextgarden.net/Including_pages_from_PDF_documents), but nothing works. It seems to be a problem with this

Re: [NTG-context] graphictext bug?

2013-10-12 Thread Thangalin
Hi, it works with pstoedit 3.62 and ghostscript 9.06 on linux 64 bit and windows. I have Ubuntu 12.04.3 LTS. The 3.62 and 9.06 versions are only available through the standard release (13.x). I've read that 13.x has issues with Nvidia cards, so upgrading is not an option at this time.

Re: [NTG-context] graphictext bug?

2013-10-12 Thread Thangalin
The error log was created using: context t.tex error.log 21 Kindest regards. On Sat, Oct 12, 2013 at 10:52 AM, Marco Patzer li...@homerow.info wrote: On 2013–10–12 Thangalin wrote: The log does not contain any error messages. See attached. I didn't test it, but I vaguely have in mind

[NTG-context] Code Called Twice?

2013-10-11 Thread Thangalin
Hi, I noticed something unexpected with the following code: \enabletrackers[metapost.showlog] \startuseMPgraphic{heading:ThemeTitleStyle} show HEADING:THEMETITLESTYLE; show \MPstring{heading:title}; draw textext( \MPstring{heading:title} ) rotated 5 withcolor blue; \stopuseMPgraphic

Re: [NTG-context] graphictext bug?

2013-10-11 Thread Thangalin
Hi, I have pstoedit installed now (that should be emphasized in section 8.6). $ pstoedit pstoedit: version 3.60 / DLL interface 108 (built: Dec 3 2011 - release build - g++ 4.6.2 - 64-bit) : Copyright (C) 1993 - 2011 Wolfgang Glunz No output format specified (-f option) and format could not be

Re: [NTG-context] Bug: Reloading Font

2013-10-11 Thread Thangalin
Hi, The font does not render properly in Inkscape, yet does not cause Inkscape to hang. (That is, I can select and apply the font to text, but it is obviously not in the same family.) As Taco mentioned, the font file is corrupt.

Re: [NTG-context] Code Called Twice?

2013-10-11 Thread Thangalin
Hi, typeset using TeX. After it's typeset MP picks it up in a second run. That also explains why the spacing between words is correct (I didn't think MP could typeset text). Maintain a vector with the last two elements to check against. An interesting approach; I used a Boolean flag as per

Re: [NTG-context] Bug: Reloading Font

2013-10-11 Thread Thangalin
FYI, I didn't know that the font was corrupt. I have over 400 fonts on my machine, and had to reload to pick up the new ones. You'll find that having a large number of fonts will start to become a common situation as more fonts become public (e.g., Google's Free Web Fonts project). This increases

Re: [NTG-context] Bug: Reloading Font

2013-10-11 Thread Thangalin
Hi (Copperplate is going to be added soon.) Unfortunately, Context Keep in mind it was only Copperplate 33 BC. Also note that I could not find any version of Copperplate 33 BC online that had the same file size as my corrupt version. (I was trying to find the source of the corrupt copy.) Most

Re: [NTG-context] Bug: Reloading Font

2013-10-11 Thread Thangalin
Hi, sure, but fonts should be chosen with care .. and illegal ripoffs should be avoided (those cd's with hundreds of fonts, nowadays sites) See: https://github.com/w0ng/googlefontdirectory (quality of design / digitization, completeness of coverage, correctness of features ... much can be

[NTG-context] Bug: Reloading Font

2013-10-10 Thread Thangalin
Hi, A font causes mtxrun to hang upon reloading. Replicate: mkdir $HOME/.fonts cd $HOME/.fonts wget http://whitemagicsoftware.com/Copperplate-ThirtyThreeBC.ttf export OSFONTDIR=$HOME/.fonts mtxrun --script fonts --reload Expected Results All the fonts in $HOME/.fonts and subdirectories are

  1   2   >