[OS X TeX] Trouble with Tikz and Edit -> Experiment...

Don Green Dragon fergdc at Shaw.ca
Sat Mar 12 02:05:39 CET 2016


Hello, Augstin,

On 11Mar2016, at 4:55 PM, Agustín Valverde Ramos <a_valverde at ctima.uma.es> wrote:

> Hi
> 
> The problem is that the system replace "..." by "…". You can deactivate this in every application in "Edit -> Substitutions -> Smart dashes", but to deactivate it in the pop-up window "Edit -> Experiment…" you must use the Keyboard pan in System Preference App: in Text tab, uncheck "Use smart quotes and dashes"
> 
> https://discussions.apple.com/thread/5526395?tstart=0
> 
> Agustín

Wow! Great advice. Works like a charm now. Many thanks.

This should also eliminate some other annoyances with "smart dashes" that I have been noting while using TikZ.

> 
> 
>> El 11 mar 2016, a las 6:36, Don Green Dragon <fergdc at Shaw.ca> escribió:
>> 
>> Hi, 
>> 
>> Perhaps this should be sent to a different list, but I’ll try here first. I cannot get the \foreach command to work properly while using Edit -> Experiment….  For example, the code
>> 
>> \begin{tikzpicture}
>> \foreach \n in {1,2,3,4,5}
>> 	\fill [red] (\n, 0) circle (2pt);
>> \end{tikzpicture}
>> 
>> executes properly and shows the expected five red discs whether I typeset from the source file with the Typeset button at the upper-left of the TeXShop window or whether I open «Edit -> Experiment…»  and then hit the Typeset key at lower-right of the «Edit -> Experiment» window.
>> 
>> However, if the code is
>> 
>> \begin{tikzpicture}
>> \foreach \n in {1,...,5}
>> 	\fill [red] (\n, 0) circle (2pt);
>> \end{tikzpicture}
>> 
>> then it typesets properly from TeXShop’s upper-left Typeset button but NOT when the code is typeset from the «Edit -> Experiment…»  window. It certainly would be useful (to me) if it worked properly when working with Edit -> Experiment as I use {tikzpicture} a great deal.
>> 
>> In other words, Edit -> Experiment… requires (it seems) that the list of `values’ be explicit not implied. For example, 
>> 
>> \foreach \n \in {1,2,3,4,5}
>> 
>> is explicit whereas
>> 
>> \foreach \n  in {1,…,5}
>> 
>> is implicit. I don’t know whether the problem lies with the Tikz code or the coding related to the functioning of Edit -> Experiment…. 
>> 
>> I have found Edit -> Experiment… to be  amazingly useful. Wonderful! Splendid!
>> 
>> 
>> don green dragon
>> fergdc at shaw.ca

don green dragon
fergdc at shaw.ca





----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex



More information about the macostex-archives mailing list