Re: Google Analytics (or other)

2017-06-20 Thread Dr Eberhard Lisse
I think this would be madness.

el

On 03/06/2017 23:06, Cris Fuhrman wrote:
> 
> 
> On Jun 3, 2017 15:50, "Scott Kostyshak"  > wrote:
> 
> Thanks for this idea, Cris. Would this be only to see how many people
> are using LyX or for something in addition to that? Every time I think
> about something like that, I challenge myself and ask: "Why do I want to
> know how many people use LyX?" and my answer is always just that I would
> be curious. Since I don't think it would lead to any improvement in LyX,
> my train of thought stops there.
> 
> 
> GA (as far as I understand it) can track usage within any app. For
> example, each time a user selects New, the app can "click" a link via GA
> that signifies New. It's up to the developer to determine granularity of
> usage stats. In theory you could collect preference data at every
> closing/applying of the preference dialogue (it could be arguments to a
> tracking URL). I'm not an expert in how best to do it, but it's "usage
> data" that many apps already collect. GA is but a means to that end.
> There are other options: https://stackoverflow.com/q/1554062/1168342
> 




Re: Issues using lyx

2017-06-20 Thread Dr Eberhard Lisse
He's probably using Windoze.

el

On 18/06/2017 14:58, David L. Johnson wrote:
> On 06/17/2017 11:58 PM, Mr William Balthes wrote:
>>
>> I am using lyx to write my thesis and having major problems.
>>
>> The program continually crashes and mostly forms an emergency file
>> but sometimes not.
>>
>> The document seems to get messed up regardless.
>
> I have never had any such problems, so let's find out what is going
> on.
>
>> The document class is American Mathematical Society (AMS) Article
>
> Which I use all the time.
>
>
>> I can send a document sample if this helps
>
> I would guess this is a configuration issue.  Are you new to LyX?
> Send me a minimal file that shows the problem.  One way to do that
> is to take the file that is causing problems, cut it in half, and
> see which half continues to be a problem.  Continue until you can
> isolate the problem area (and of course remove anything you want to
> keep private).  Send that to me.
>
> Now, I don't use Windows, and have version 2.2.2 of LyX, but this
> would be a first test to see where the problem is.
> 
> -- 
> David L. Johnson
> Department of Mathematics
> Lehigh University
> 




Re: Google Analytics (or other)

2017-06-20 Thread Trevor Jenkins
Link to Google Analytics and this user will delete all traces of LyX from
their systems never to re-install.

On Tue, Jun 20, 2017 at 11:36 AM, Dr Eberhard Lisse  wrote:

> I think this would be madness.
>
> el
>
> On 03/06/2017 23:06, Cris Fuhrman wrote:
> >
> >
> > On Jun 3, 2017 15:50, "Scott Kostyshak"  > > wrote:
> >
> > Thanks for this idea, Cris. Would this be only to see how many people
> > are using LyX or for something in addition to that? Every time I
> think
> > about something like that, I challenge myself and ask: "Why do I
> want to
> > know how many people use LyX?" and my answer is always just that I
> would
> > be curious. Since I don't think it would lead to any improvement in
> LyX,
> > my train of thought stops there.
> >
> >
> > GA (as far as I understand it) can track usage within any app. For
> > example, each time a user selects New, the app can "click" a link via GA
> > that signifies New. It's up to the developer to determine granularity of
> > usage stats. In theory you could collect preference data at every
> > closing/applying of the preference dialogue (it could be arguments to a
> > tracking URL). I'm not an expert in how best to do it, but it's "usage
> > data" that many apps already collect. GA is but a means to that end.
> > There are other options: https://stackoverflow.com/q/1554062/1168342
> >
>
>
>


-- 
Regards, Trevor.

<>< Re: deemed!


Re: Google Analytics (or other)

2017-06-20 Thread Dr Eberhard W Lisse
No, but I would then probably put you into my spam filter.

el

On 20/06/2017 11:54, Trevor Jenkins wrote:
> Link to Google Analytics and this user will delete all traces of LyX
> from their systems never to re-install.
> 
[...]
-- 
Dr. Eberhard W. Lisse  \/ Obstetrician & Gynaecologist (Saar)
e...@lisse.na/ * |   Telephone: +264 81 124 6733 (cell)
PO Box 8421 \ /
Bachbrecht, Namibia ;/


Re: Google Analytics (or other)

2017-06-20 Thread Walter van Holst

On 2017-06-20 12:54, Trevor Jenkins wrote:

Link to Google Analytics and this user will delete all traces of LyX
from their systems never to re-install.


Same here. Massive violation of user trust. Just put up a Piwik install 
on a VPS someplace and you can achieve the same.


Besides, you'll be in violation of EU legislation.

Regards,

 Walter


Re: Google Analytics (or other)

2017-06-20 Thread Trevor Jenkins
On Tue, Jun 20, 2017 at 12:55 PM, Dr Eberhard W Lisse  wrote:
> On 20/06/2017 11:54, Trevor Jenkins wrote:
> > Link to Google Analytics and this user will delete all traces of LyX
> f> rom their systems never to re-install.

No, but I would then probably put you into my spam filter.
>

Better in your spam filter than on Google's spamming list.

Regards, Trevor.

<>< Re: deemed!


Re: Google Analytics (or other)

2017-06-20 Thread Christian Ridderström
On 19 June 2017 at 13:23, Helge Hafting  wrote:

> Definitely an opt-in.  We must be able to trust that we can use LyX for
> confidential stuff.
>

Personally I'd even prefer (regular) LyX versions to not even include code
for "capturing and uploading telemetry".
>From a practical point of view, I also doubt we'd anyway have the resources
to properly manage and analyse such statistics.

Regards,
/Christian


> Also, I do not want LyX to hang/delay because "some networking problem"
> interferes with such communications. I have had enough such problems when
> starting LyX, and LyX decides to open (or perhaps just stat() ) the
> "Recent" files - but some of them are on a broken file server that cause
> 2min TCP timeouts.
>

Excellent points by Helge, although off topic. I've suffered from this on
Windows with other software.


Re: Is "Citation Style" menu tweakable?

2017-06-20 Thread David Pesetsky
Thank you for your detailed reply (and hello)!  Your suggestion to add "comma" 
to [...]Class Options>Custom works very well, thank you!

But no matter what I put after \setcitestyle (or where I locate the command in 
the document -- preamble, body), I get an error message from Lyx — for example:

\setcitestyle
{notesep={: }}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

It's not worth chasing down this problem to the ends of the earth, but if you 
have any troubleshooting suggestions, I'd be happy to try them.

Thank you again!

-David


On Jun 19, 2017, at 10:45 PM, Richard Heck 
mailto:rgh...@lyx.org>> wrote:

On 06/19/2017 08:48 PM, David Pesetsky wrote:
Is there a way to tweak Lyx so the Citation dialog shows a different set of 
options for "Citation Style" than the ones that appear by default when I have 
selected  "natbib" and "author-year" in Document Settings/Bibliography?  I'd be 
interested in having a comma rather than semicolon separating multiple 
references, for example.

There's nothing I can't produce manually, of course, by simply selecting the 
date-only option on the Citation Style pull-down menu and typing what I want 
before and after the date, but if I could take advantage of the pull-down menu 
options more often, it would save some effort.

Similarly, for some purposes, at least, I'd be happy if I could tweak "text 
after" in the same dialog so that it ends up preceded by a colon rather than 
the comma that Lyx inserts.

The issues you're raising here are actually LaTeX issues, rather than
LyX issues. It's important, in understanding how LyX operates, to
separate these: There's the question how things look in LyX; then there
is the question how the PDF looks when it is generated. The latter
ultimately concerns LaTeX. In some cases, LyX provides a 'native' way to
tweak the LaTeX output. But oftentimes, you have to do something
manually, e.g., add something to the LaTeX preamble.

In this case, the semi-colon citation-separator and comma before the
"text after" are being inserted by natbib, which is what formats the
citations and bibliogrpahy. So it's natbib that we need to control. The
natbib manual
   http://mirror.utexas.edu/ctan/macros/latex/contrib/natbib/natbib.pdf
has a bunch of information about tweaks. Section 5 of the manual
mentions a number of package options that change global behavior. The
one you want for your first request is "comma". You just add this, as a
class option, under Document> Settings> Class Options> Custom. (If there
already are some there, this is a comma-separated list, so add it with a
new comma, e.g.: draft,comma.)

For the other one, section 2.9 of the natbib manual explains how to
select citation punctuation using the \setcitestyle command. In your
case, you want:
   \setcitestyle{notesep={: }}
to select a colon followed by a space. It is probably easiest to put
this command into Document> Settings> LaTeX Preamble, though it can also
be entered as TeX code in the document itself. Note, by the way, that
natbib seems to be quite picky about space before and after the "=",
i.e., it does not like space there.

As it happens, \setcitestyle will also control the citation separator,
so you could just do:
   \setcitestyle{notesep = {: },citesep={,}}
and skip the class option, if you wanted.

Note that this will NOT change how the citations appear within LyX
itself. That can be done, but it's a much messier matter.

Richard Heck

PS Yes, the Richard Heck from the other side of L&P


--
David Pesetsky [pese...@mit.edu]
Head, Department of Linguistics and Philosophy
32-D818 Massachusetts Institute of Technology
77 Massachusetts Avenue
Cambridge, MA 02139 USA
(617) 253-0957 office   (617) 253-5017 fax
http://web.mit.edu/linguistics/www/pesetsky.home.html



Re: Is "Citation Style" menu tweakable?

2017-06-20 Thread Richard Heck
On 06/20/2017 06:25 PM, David Pesetsky wrote:
> Thank you for your detailed reply (and hello)!  Your suggestion to add
> "comma" to /[...]Class Options>Custom/ works very well, thank you!  
>
> But no matter what I put after \setcitestyle (or where I locate the
> command in the document -- preamble, body), I get an error message
> from Lyx — for example:
>
>> \setcitestyle
>> {notesep={: }}
>> The control sequence at the end of the top line
>> of your error message was never \def'ed. If you have
>> misspelled it (e.g., `\hobx'), type `I' and the correct
>> spelling (e.g., `I\hbox'). Otherwise just continue,
>> and I'll forget about whatever was undefined.
>
> It's not worth chasing down this problem to the ends of the earth, but
> if you have any troubleshooting suggestions, I'd be happy to try them.

Very odd. The \setcitestyle command is defined by natbib.sty, and you
said you were using natbib, yes?  (It did not exist before version 8 of
natbib, but that was about a decade ago.) What OS are you using? Do you
know what LaTeX distribution you have? Actually, maybe a better questin
is: What document class are you using?

If you could produce as small a file as possible that causes this to
happen and post that, then it will help debug the issue.

Richard