Re: [NTG-context] Couple of questions

2017-07-27 Thread Jan Willem Flamma

> On 28 Jul 2017, at 02:22, Gerion Entrup  wrote:
> 
> 
> 1. Color of references and table of content:
> How can I define/change the colors of references and the table of content? And
> why are some references red and others green?
> 

This is what I use to control the TOC

% state=start enables clickable links; contrastcolor= prevents green links
\setupinteraction
[state=start,
 style=,
 color=,
 contrastcolor=,
 openaction=FitWindow]

% enable TOC in PDF sidebar
\placebookmarks 



___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Odd numbering of pp. in PDF viewer

2017-07-27 Thread Pablo Rodriguez
On 07/27/2017 11:59 PM, Sebastian L. wrote:
> Actually SumatraPDF works pretty fine with the setting your proposed 
> (see attached screens).
> Thanks.

You are right, Sebastian.

SumatraPDF has problems to deal with page labels using the same values
(1, 1, 1, for example).

Pablo
-- 
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Couple of questions

2017-07-27 Thread Aditya Mahajan

On Fri, 28 Jul 2017, Gerion Entrup wrote:


3. Text size in t-vim
I've defined a smaller text size in t-vim, but this seems to affect \inline... 
as well. Is there a way to circumvent this?


Minimal example:
```
\setupinteraction[state=start]

\usemodule[t-vim]
\definevimtyping[python][syntax=python,
style={\switchtobodyfont[8pt,tt]},]
\starttext
\startpython
for line in foo:
print(line)
\stoppython
This is keyword \inlinepython{in} Python.
\stoptext
```


The simplest solution is:

\definetyping[python][syntax=python]

\definetyping[smallpython][python][style={\switchtobodyfont[8pt]]

And use \inlinepython{}

and

\startsmallpython

\stopsmallpython


Aditya
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Couple of questions

2017-07-27 Thread Gerion Entrup
Hi,

this is a rather long mail, but I'll add the answers to the wiki.

For the future: Should I write one mail per question or all in one? :)

1. Color of references and table of content:
How can I define/change the colors of references and the table of content? And
why are some references red and others green?


2. Own title format
I've set an own title format for chapters, like described in the wiki. 
Unfortunately this applies to the table of contents and bibliography as well.
Below a minimal example, that reproduces it:
```
\setupinteraction[state=start]

\define[2]\MyChapter{\framed[frame=off,bottomframe=on,topframe=on]
{\vbox{\headtext{chapter} #1\blank#2}}}

\setuphead[chapter][command=\MyChapter, style={\switchtobodyfont[24pt,ss]}, 
header=empty, page=mychapterpagebreak]
\setupheadtext[chapter=Chapter, content=Table of Contents]

\starttext
\completecontent
\page[yes]

\startchapter[title=foo]

\stoptext
```
How can I prevent the printing of "Chapter" in the table of contents and
bibliography?


3. Text size in t-vim
I've defined a smaller text size in t-vim, but this seems to affect \inline... 
as well. Is there a way to circumvent this?

Minimal example:
```
\setupinteraction[state=start]

\usemodule[t-vim]
\definevimtyping[python][syntax=python,
 style={\switchtobodyfont[8pt,tt]},]
\starttext
\startpython
for line in foo:
print(line)
\stoppython
This is keyword \inlinepython{in} Python.
\stoptext
```


4. Captions of combinations
The wiki shows, how to completely autolabel figures in a combination with mkiv.
Is there a way to simply prefix the label with a), b), c),...?

Another related question: Is there a way to define the width and align of the 
labels of a combination?


5. Numbering of floats
I want a numbering for my figures in this format:
way=bychapter, prefixsegments=chapter

I guess, this is the default, but I've explicitly set it.
In some captions the prefix is ignored. For example there are 5 figures in 
chapter 2, then the captions of the figures (the text is in German) are:
Abbildung 2.1   foo
Abbildung 2.2   bar
Abbildung 3foobar
Abbildung 4otherfoo
Abbildung 5lastfoo

Is there anything, I can do, to prevent this?


6. Multiple references
I want to create the same footnote on multiple locations in the text. 
Therefore I used:
```
\setupinteraction[state=start]

\starttext
This\footnote[letter-s]{"s" is a letter.} is\note[letter-s] a 
nons\note[letter-s]ens\note[letter-s]e text.
\stoptext

```
But this uses different fonts for the number in the text. Is there a way to fix 
this or do it better?




___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Odd numbering of pp. in PDF viewer

2017-07-27 Thread Sebastian L.
Yet the problem is, that the second page is labeled 2 as pagenumber. 
That's what I tried to omit...


___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Odd numbering of pp. in PDF viewer

2017-07-27 Thread Sebastian L.
Actually SumatraPDF works pretty fine with the setting your proposed 
(see attached screens).

Thanks.


On 27/07/2017 23:37, Pablo Rodriguez wrote:

On 07/27/2017 11:14 PM, Sebastian L. wrote:

That's my product.tex:

\environment env.tex

 \startstandardmakeup
 \stopstandardmakeup

Here is your makeup (I removed unrequired lines).


And that's from my env.tex:

\setupinteraction[state=start, color=GBlue, contrastcolor=GBlue] % also
in mkiv!
% color: different page, contrastcolor: same page
\setupinteractionscreen[option=bookmark]
\setuppagenumbering[state=start, location={footer,right}]
\placebookmarks[chapter,title,section,subsection][chapter,section]

Add \setupmakeup[pagestate=start] in this document and page labels in
the PDF document will be fine (SumatraPDF is buggy here, but other PDF
viewers with page label support will be fine).

Cheers,

Pablo


___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Odd numbering of pp. in PDF viewer

2017-07-27 Thread Pablo Rodriguez
On 07/27/2017 10:19 PM, Sebastian L. wrote:
> Hi Pablo,
> 
> interesting issue, I will keep your github link focused, thanks. I 
> installed Adobe Reader DC and opened the original document with it. 
> Screenshots attached.
> TBH, this also isn't the correct numbering if you ask me. It goes 1, 1, 
> 2. I thought of 1, 2, 3...
> 
> But ok, the romans solution is ok for now.

Hi Sebastian,

are you using a makeup on the second page?

The way to enable numbering also in makeups is:

\setupmakeup[pagestate=start]

If you add it to your preamble, my guess is that it will work.

I hope it helps,

Pablo
-- 
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Odd numbering of pp. in PDF viewer

2017-07-27 Thread Sebastian L.

Hi Pablo,

interesting issue, I will keep your github link focused, thanks. I 
installed Adobe Reader DC and opened the original document with it. 
Screenshots attached.
TBH, this also isn't the correct numbering if you ask me. It goes 1, 1, 
2. I thought of 1, 2, 3...


But ok, the romans solution is ok for now.

Thanks for your help, Sebastian.


On 27/07/2017 17:30, Pablo Rodriguez wrote:

On 07/26/2017 10:09 PM, Sebastian L. wrote:

Hi Pablo, I attached what I see. ;)

It is an already known bug in MuPDF:
https://github.com/sumatrapdfreader/sumatrapdf/issues/353 (even the
latest unstable version hasn’t been fixed yet).

Could you test your original issue with Acrobat?

Pablo


___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] ligatures/substituation at word boundaries

2017-07-27 Thread Ulrike Fischer
Is it possible to refer in fonts.handlers.otf.addfeature to the word
boundary? The luatex manual speaks of a virtual "left_boundary"
char, but I couldn't find a way to use it. 

\startluacode
fonts.handlers.otf.addfeature {
name = "ltest",
type = "ligature",
data = {
['1'] = { "a", "b" },
['2'] = { "d", "a" },
}
}
\stopluacode

%how to replace only the start a

\startluacode
fonts.handlers.otf.addfeature {
name = "wtest",
type = "ligature",
data = {
['1'] = { "left_boundary", "a" },
}
}
\stopluacode

\definefontfeature[wtest][wtest=yes]
\definefontfeature[ltest][ltest=yes]
\starttext

\definedfont[file:dejavu-serif.ttf*default]%


{\addff{ltest} ababa\par}

{\addff{wtest} ababa\par}


\stoptext





-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Extensible arrows in ConTeXT

2017-07-27 Thread Hans Hagen

On 7/27/2017 6:02 PM, Mathias Schickel wrote:


I am not a lua programmer and I have no idea what that code does. So maybe Hans 
can tell me if I changed the code as he intended.

i uploaded a beta

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Extensible arrows in ConTeXT

2017-07-27 Thread Mathias Schickel

> Am 26.07.2017 um 17:36 schrieb Pablo Rodriguez :
> 
> On 07/26/2017 01:31 PM, Mathias Schickel wrote:
>> [...]
>> Hi Pablo,
>> 
>> thank you for advice! Unfortunately I still get the error
>> [...]
>> I see two possible reasons for that:
>> 
>> Either the command „context --make --all“ is not the right one
>> (besides: How can I check if ConTeXt has remade the format?), or the
>> code is not correctly changed. Maybe you can answer that, Hans.
> 
> Hi Matthias,
> 
> The log displays the date of the format in its third line:
> 
> system  > ConTeXt  ver: 2017.07.17 00:20 MKIV beta  fmt:
> 2017.7.26  int: english/english
> 
> A minimal sample:
> 
>\definefontfamily[mainfont][rm][MinionPro]
>\definefontfamily[mainfont][mm][Minion Math]
>\setupbodyfont[mainfont]
>\starttext
>$A \xrightarrow{}{} B$
>\stoptext
> 
> This should work fine in your computer with \setupbodyfont[pagella] or
> no \setupbodyfont. The previous sample works fine in my computer,
> because I don’t have Minion Math installed.
> 
> The problem here is that we don’t have access to your fonts. Guessing
> may be hard, so could you provide another font (freely available to
> anyone) that shows the issue?

The problem is that I have not yet found another font that showed the problem. 
Using LuaLaTeX and fontspec \xrightarrow does work as intended. 
Besides I know that Hans has a version of Minion Math. Maybe he can try 
himself. Else we could ask Johannes Küster (the designer of Minion Math) if he 
could provide you files for testing.

Possibly the true problem is that I have not been able to properly remake the 
format. I have executed context --make --all on the terminal but I am getting 
MKIV beta  fmt:
2017.7.25.

Does that mean that the change in the file is not realised by ConTeXT? Or does 
that only tell me when I have downloaded the beta itself?

> 
>> From line 506 on the code of math-act.lua now is
>> [...]
>> Is that correct now?
> 
> I don’t know. But you may check it yourself and then report back.

I am not a lua programmer and I have no idea what that code does. So maybe Hans 
can tell me if I changed the code as he intended.

> 
> Pablo

Mathias

> -- 
> http://www.ousia.tk
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] context-2011-mathml-update.pdf FlushStep and mupdf

2017-07-27 Thread Pablo Rodriguez
On 07/27/2017 11:48 AM, Henning Hraban Ramm wrote:
> Am 2017-07-27 um 09:21 schrieb dam...@thiriet.web4me.fr:
>>
>> I am working under OpenBSD and context TeXLive 2017 pre-release.
>> Acrobat Reader is not avalaible.
> [...]
> Steps work with JavaScript in PDF, and AFAIK only AR supports that -
> of course, it's also a security issue.

Damien,

it would be great that you report the issue to the MuPDF (or actually
MuJS) developers, so that they may fix it in the future.

Pablo
-- 
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Odd numbering of pp. in PDF viewer

2017-07-27 Thread Pablo Rodriguez
On 07/26/2017 10:09 PM, Sebastian L. wrote:
> Hi Pablo, I attached what I see. ;)

It is an already known bug in MuPDF:
https://github.com/sumatrapdfreader/sumatrapdf/issues/353 (even the
latest unstable version hasn’t been fixed yet).

Could you test your original issue with Acrobat?

Pablo
-- 
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Creating SVG: using MetaFun, exporting proper units, conversion to DXF

2017-07-27 Thread Mojca Miklavec
On 27 July 2017 at 10:49, Hans Hagen wrote:
> On 7/27/2017 3:52 AM, Mojca Miklavec wrote:
>>
>> Hi,
>>
>> I just wanted to say that I found a more reliable way to go from
>> metapost to dxf.
>>
>> First run "context something.mp" and then
>>
>> pstoedit -dt -f dxf:-polyaslines\ -mm something.1 something.dxf
>>
>> For some reason the SVG files from metapost get wrong dimensions when
>> converted via inkscape, but pstoedit works super reliably.
>
>
> in that case you can consider:
>
> mp -> pdf -> mudraw/mutool -> svg

The thing is: I don't need svg at all. All I need is dxf and now I
finally have a reliable way to get it from metapost via pstoedit. SVG
was just a workaround since converting from PDF was slightly more
difficult (latest versions of expensive tools provide that conversion
too, but OpenSource is more limited).

I could check if there's any difference in SVG code as generated by
metapost vs. the one generated by mudraw. But SVG images made by
CorelDraw were misconverted by Inkscape as well.

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] TwoColumns in two different languages, with alternate text on even and odd page.

2017-07-27 Thread Jean-Pierre Delange
Hi Marcello,

As you say "this feature could be really interesting", but as far as I know, 
there are many issues to deal with, in order to print 2 columns on the same 
page with different languages (say : greek and latin). This is not only because 
of two languages (say : english and russian, or greek and german), but because 
such work needs some editing datas, like footnotes, or more complex type of 
single line footnotes. I'll give some samples in a few hours. I've written once 
to Maieul Rouquette (author of (xe)LaTeX and in charge or reledpar 
(http://distrib-coffee.ipsl.jussieu.fr/pub/mirrors/ctan/macros/latex/contrib/reledmac/reledpar.pdf)
 and reledmac 
(ftp://ftp.dante.de/tex-archive/macros/latex/contrib/reledmac/reledmac.pdf) 
LaTeX packages for asking him about complex "criticus apparatus" in edition 
issues for Classics. Pablo Rodriguez has a better knowledfge as me on these 
topics. 
In fact, there is currently no strictly satisfying way to deal with different 
texts with ConTeXt on even and odd page (or on the same page with two columns), 
except if there is no need of footnotes (or criticus apparatus), because some 
mismatches between texts with the second page. But, there is possibly some 
solutions with XML and CTX (which I didn't try) ?

JP



- Mail original -
De: "Marcello Urgo" 
À: ntg-context@ntg.nl
Envoyé: Samedi 22 Juillet 2017 19:14:03
Objet: Re: [NTG-context] TwoColumns in two different languages, with alternate 
text on even and odd page.


Dear Hans, 
I am also intersted in this issue. 
In the last years I am dealing with a multi-language technical lexicon. 
Hence, different languages refer to different columns, and if the languages are 
three or four, then it is better to go with two pages side-by-side. 
Nevertheless this seems a problem also in LaTeX redelpar (multiple columns are 
not supported). 
I tried to manage it with \linetable but without success ( 
https://tex.stackexchange.com/questions/380923/synchronise-data-spanning-over-two-side-by-side-pages-in-context
 ) 
I think this feature could be really interesting because, according to my 
knowledge, ConTeXt is at present the best way to manage the publishing of XML 
data. 
Hence, this could be a useful tool to publish large sets of data. 
Thank you in advance 







Marcello Urgo, Ph.D. 
Assistant Professor 
Manufacturing and Production Systems Lab. 
Mechanical Engineering Department 
POLITECNICO DI MILANO 
Via La Masa, 1 - 20156 Milano 


Phone +39 02 2399 8521 
Fax +39 02 2399 8585 
tecnologie.mecc.polimi.it 
www.polimi.it 



This message may contain confidential and/or otherwise reserved information and 
is thus for use only by the intended recipient. If you received this in error, 
please contact the sender and delete the e-mail and its attachments from your 
computer. Thank you. 
Il presente messaggio può contenere informazioni di carattere confidenziale e/o 
riservate ed è quindi ad uso esclusivo del destinatario. Nel caso aveste 
ricevuto questa e-mail per errore siete pregati di contattare immediatamente il 
mittente e di cancellare il messaggio ed i suoi allegati dal vostro computer . 
Grazie. 





___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] context-2011-mathml-update.pdf FlushStep and mupdf

2017-07-27 Thread Henning Hraban Ramm
Am 2017-07-27 um 09:21 schrieb dam...@thiriet.web4me.fr:

>> Which is your OS? How about checking them with Acrobat Reader?
> 
> I am working under OpenBSD and context TeXLive 2017 pre-release. Acrobat 
> Reader is not avalaible.
> 
> Btw, I had the same issue as you under Linux : Evince could'nt display slides 
> with Steps macros, while mupdf displays content
> without steps.
> 
> The new mkiv Rawsteps nearly works for me with mupdf : both steps are 
> displayed on the same slide, which is not what is intended,
> but at least contents are duplicated.
> 
> If steps are only working with AcroRead, this means that steps may rather 
> rely on a workaround and 
> it might be considered a kind of bug. Unfortunately my programming skills are 
> none, so I migt be exagerating.
> 
> Anyway it would be really great to have something working with poppler and 
> mupdf engines.
> Could the \pause macro from beamer be a starting point or is this too LaTeX 
> dependant?

Steps work with JavaScript in PDF, and AFAIK only AR supports that - of course, 
it's also a security issue.

I see no other way than "stepwise" pages for other viewers, and that would 
create huge files.

Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Creating SVG: using MetaFun, exporting proper units, conversion to DXF

2017-07-27 Thread Hans Hagen

On 7/27/2017 3:52 AM, Mojca Miklavec wrote:

Hi,

I just wanted to say that I found a more reliable way to go from
metapost to dxf.

First run "context something.mp" and then

pstoedit -dt -f dxf:-polyaslines\ -mm something.1 something.dxf

For some reason the SVG files from metapost get wrong dimensions when
converted via inkscape, but pstoedit works super reliably.


in that case you can consider:

mp -> pdf -> mudraw/mutool -> svg


Mojca

On 29 June 2016 at 12:31, Mojca Miklavec wrote:

Hi,

I want to play with CNC and don't yet have any experience with CAD
software (nor the licence for the expensive ones) other than perhaps
some Blender, so I decided to try to use the super ugly route with
 metapost -> svg -> dxf -> g-code
for the first time.

I have a few questions.


/.../


(3) Is there any way to convince the SVG output mode to generate something like
 
rather than
 
because the program I use to convert SVG to DXF has troubles
interpreting "points" properly. I read somewhere that they assume 90
points per inch because that's Inkskape's default.

(4) Does anyone have a better proposal for conversion into DXF (or
G-code)? I'm currently playing with FreeCAD and I've seen some
tutorials showing that AutoCAD can open PDF directly, but I don't want
to buy AudoCAD just for the sake of converting files.

Thank you,
 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___




--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] context-2011-mathml-update.pdf FlushStep and mupdf

2017-07-27 Thread damien
> Which is your OS? How about checking them with Acrobat Reader?

I am working under OpenBSD and context TeXLive 2017 pre-release. Acrobat Reader 
is not avalaible.

Btw, I had the same issue as you under Linux : Evince could'nt display slides 
with Steps macros, while mupdf displays content
without steps.

The new mkiv Rawsteps nearly works for me with mupdf : both steps are displayed 
on the same slide, which is not what is intended,
but at least contents are duplicated.

If steps are only working with AcroRead, this means that steps may rather rely 
on a workaround and 
it might be considered a kind of bug. Unfortunately my programming skills are 
none, so I migt be exagerating.

Anyway it would be really great to have something working with poppler and 
mupdf engines.
Could the \pause macro from beamer be a starting point or is this too LaTeX 
dependant?
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___