Re: Google Analytics (or other)

2017-06-03 Thread Cris Fuhrman
On Jun 3, 2017 19:23, "Joel Kulesza"  wrote:

However, I would want to see an option in the installation process to
disable "anonymous usage statistics" from being collected.


I totally agree. I mentioned this point in my first post in the other
thread about the preferences file. Many applications have a preference to
turn on or off usage data collection (it's often phrased "help improve this
application by contributing anonymous usage data").


Re: 2 error in lyx 2.3

2017-06-03 Thread edu Gpl
Dear scott
yes i used lyx 2.3.0alpha1-1 .
regards



‏في السبت، ٣ يونيو، ٢٠١٧, Scott Kostyshak  كتب:

> On Sat, Jun 03, 2017 at 12:49:53AM +0300, edu Gpl wrote:
> > After i upgrade from lyx 2.2.2 to 2.3
>
> Dear edu,
>
> Please always specify that you mean 2.3.0alpha1-1 (or a custom-compiled
> 2.3.0dev), because the final release of 2.3.0 will be significantly
> different.
>
> Thank you very much for testing 2.3.0alpha1-1. It's very useful to us
> because although developers are testing it, no one except you is testing
> with Arabic so you might be able to catch bugs that no one else will.
>
> > tcolorbox not work in the title of
> > chapter if i used it with arabic language, but work with english
> language.
> > please see attachments files.
>
> Your arabic .lyx file that you attached is in 2.3.0alpha1-1 format. So I
> cannot test with 2.2.x. I exported to 2.2.x format but when I did that
> and compiled with 2.2.x it worked the same as with 2.3.0alpha1-1. Can
> you send the 2.2.x format version that compiles correctly with 2.2.x but
> that does not compile correctly with 2.3.0alpha1-1?
>
> Also, when you say "upgrade" above, it makes me think that you are using
> 2.3.0alpha1-1 as your only LyX version, which makes me a little nervous
> since it is a development version intended only for testing (I'm sorry
> for not making this clear in the announcement).
>
> Thanks,
>
> Scott
>


Re: Help improve LyX's defaults by sharing your preferences

2017-06-03 Thread Scott Kostyshak
On Sat, Jun 03, 2017 at 05:18:53PM -0600, Joel Kulesza wrote:
> On Sat, Jun 3, 2017 at 1:50 PM, Scott Kostyshak  wrote:
> 
> > > P.S. For Mac Users, the file is likely in ~/Library/Application
> > > Support/LyX-2.*/.
> >
> > Good to know. On Mac is the location indeed shown when you go to LyX >
> > About LyX?
> 
> 
> It is; I just thought I'd confirm.

OK thanks.

Scott


signature.asc
Description: PGP signature


Re: Google Analytics (or other)

2017-06-03 Thread Joel Kulesza
On Sat, Jun 3, 2017 at 4:06 PM, 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
>

This would be very interesting to add.  The information collected could be
helpful to determine priorities from a development side and would certainly
satisfy *my* curiosity.  However, I would want to see an option in the
installation process to disable "anonymous usage statistics" from being
collected.  At work, I can imagine some folks getting upset by an
application phoning home, even anonymously.


Re: Help improve LyX's defaults by sharing your preferences

2017-06-03 Thread Joel Kulesza
On Sat, Jun 3, 2017 at 1:50 PM, Scott Kostyshak  wrote:

> > P.S. For Mac Users, the file is likely in ~/Library/Application
> > Support/LyX-2.*/.
>
> Good to know. On Mac is the location indeed shown when you go to LyX >
> About LyX?


It is; I just thought I'd confirm.


Re: Google Analytics (or other)

2017-06-03 Thread Scott Kostyshak
On Sat, Jun 03, 2017 at 06:06:53PM -0400, 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

Ah thanks for clarifying this to me. That is indeed pretty powerful.

Scott


signature.asc
Description: PGP signature


Google Analytics (or other)

2017-06-03 Thread Cris Fuhrman
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: Help improve LyX's defaults by sharing your preferences

2017-06-03 Thread Andrew Parsloe



On 2/06/2017 8:07 a.m., Scott Kostyshak wrote:


Preferences in particular that I'm curious about are:

  screen zoom
  continuous spellcheck
  math preview

Please state your OS with the categories of Windows, Mac, or Linux. This
is important because it is possible to have different default
preferences on different platforms.

Attached is my preferences file.

Scott

Attached are the relevant entries of my preferences on a 64 bit windows 
7 machine. No spellchecking, maths preview on. The screen zoom has 
increased from 100 when I discovered LyX about 12 years ago to 130 now. 
Aging eyes -- but I see others using even higher zoom levels.


Andrew



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
# LyX 2.3.0alpha1-1 generated this file. If you want to make your own
# modifications you should do them from inside LyX and save.

Format 21

#
# MISC SECTION ##
#
# The time interval between auto-saves in seconds.
\autosave 60
\index_command "makeindex -c -q -s twospaces.ist"
\kbmap true
\kbmap_primary "european"
\user_name "Andrew"
\preview on

#
# SCREEN & FONTS SECTION 
#

\icon_set "classic"
\screen_zoom 130
\cursor_width 2
\screen_font_sizes 5 7 8 9 10 12 14.4 17.26 20.74 24.88
\fullscreen_statusbar false
\forward_search_pdf "SumatraPDF -reuse-instance \"$$o\" -forward-search \"$$t\" 
$$n"
#
# FILE SECTION ##
#

\document_path "D:\Documents"
\template_path "C:\Users\Andrew\AppData\Roaming\LyX2.2\templates"
\plaintext_linelen 70
\backupdir_path "E:\Lymbo"

#
# SPELLCHECKER SECTION ##
#

#
# LANGUAGE SUPPORT SECTION ##
#

#
# FORMATS SECTION ##
#

\format "lyx" "lyx" "LyX" "" "notepad++" "" "document" "application/x-lyx"

#
# CONVERTERS SECTION ##
#

\converter "pdflatex" "pdf2" "pdflatex  -interaction=nonstopmode -synctex=1 
$$i" "latex=pdflatex"
\converter "dvi" "ps" "dvips -E -o $$o $$i" ""
\converter "latex" "rtf" "c:/PROGRA~2/latex2rtf/latex2rt.exe -P 
c:progra~2/latex2rtf/cfg $$i" ""
\converter "rtf" "latex" "\"C:\\Program Files 
(x86)\\rtf2latex2e\\rtf2latex2e.exe\" -n -P \"C:\\Program Files 
(x86)\\rtf2latex2e\\pref\" $$i" ""


Re: Help improve LyX's defaults by sharing your preferences

2017-06-03 Thread Scott Kostyshak
On Thu, Jun 01, 2017 at 04:07:18PM -0400, Scott Kostyshak wrote:

> Please state your OS with the categories of Windows, Mac, or Linux. This
> is important because it is possible to have different default
> preferences on different platforms.

Just a note to say thank you to everyone who has shared their
preferences so far! This is very helpful and will be used in the future
by developers when thinking about new defaults. Hopefully even more
users will share.

I appreciate your time!

Scott


signature.asc
Description: PGP signature


Re: Help improve LyX's defaults by sharing your preferences

2017-06-03 Thread Scott Kostyshak
On Fri, Jun 02, 2017 at 11:06:50AM +0200, Guillaume MM wrote:

> *\preview no_math
> \screen_zoom 170
> *\cursor_width 2
> *\paragraph_markers true
> \single_instance false
> \load_session true
> \num_lastfiles 50
> *\spellcheck_continuously true
> \spellcheck_notes false

Thanks for sharing, Guillaume.

> > the chance of us changing a default preference are pretty low (see, for 
> > example, [1], for
> > why this is complicated).
> 
> What I can see from your example is half the people wanting to enable
> spellchecking by default and the other half not objecting to it, and
> then nobody implementing the agreed-upon change. I hope that it can go
> differently this time.

I'll bump that thread with a reference to this thread.

Scott


signature.asc
Description: PGP signature


Re: Help improve LyX's defaults by sharing your preferences

2017-06-03 Thread John Beattie
On 2017-06-01 16:07 -0400, Scott Kostyshak wrote:
> 
> Attached is my preferences file.
> 
> Scott

Attached x2.

The first one is used under Windows 7, 64 bit , sp1, where LyX is used for work
logs.

The second one is under mint 17.2, where LyX is used for study notes and my
diary.

The machine I use them on is dual-boot (so the screen is the same in both cases,
hence the similar zoom values).

John
# LyX 2.2.2 generated this file. If you want to make your own
# modifications you should do them from inside LyX and save.

Format 19


#
# MISC SECTION ##
#

\path_prefix 
"$LyXDir/bin;$LyXDir/Python;$LyXDir/Python/Lib;$LyXDir/Perl/bin;$LyXDir/imagemagick;C:/bin/texlive/2016/bin/win32;C:/bin/LyX
 2.2/ghostscript/bin"
\user_name "john.beattie"
\user_email ""

#
# SCREEN & FONTS SECTION 
#

\screen_zoom 130
\screen_font_roman "CMU Serif"
\screen_font_sans "CMU Sans Serif"
\screen_font_sizes 5 7 8 9 10 12 14.4 17.26 20.74 24.88
\single_instance false

#
# COLOR SECTION ###
#


#
# PRINTER SECTION ###
#


#
# TEX SECTION ###
#


#
# FILE SECTION ##
#

\load_session true

#
# PLAIN TEXT EXPORT SECTION ##
#


#
# SPELLCHECKER SECTION ##
#


#
# LANGUAGE SUPPORT SECTION ##
#


#
# 2nd MISC SUPPORT SECTION ##
#


#
# FORMATS SECTION ##
#


#
# CONVERTERS SECTION ##
#


#
# COPIERS SECTION ##
#

# LyX 2.2.1 generated this file. If you want to make your own
# modifications you should do them from inside LyX and save.

Format 19


#
# MISC SECTION ##
#

\user_name "John Beattie,,,"
\user_email ""

#
# SCREEN & FONTS SECTION 
#

\screen_zoom 135
\screen_font_roman "Latin Modern Roman"
\screen_font_sans "Latin Modern Sans"
\screen_font_typewriter "Courier"
\screen_font_sizes 5 7 8 9 10 12 14.4 17.26 20.74 24.88
\single_instance false

#
# COLOR SECTION ###
#


#
# PRINTER SECTION ###
#


#
# TEX SECTION ###
#


#
# FILE SECTION ##
#

\load_session true

#
# PLAIN TEXT EXPORT SECTION ##
#


#
# SPELLCHECKER SECTION ##
#


#
# LANGUAGE SUPPORT SECTION ##
#


#
# 2nd MISC SUPPORT SECTION ##
#


#
# FORMATS SECTION ##
#

\format "pdftex" "pdftex_t" "PDFTEX" "" "/usr/bin/evince" "" "" ""
\default_otf_view_format dvi3

#
# CONVERTERS SECTION ##
#


#
# COPIERS SECTION ##
#



Re: Help improve LyX's defaults by sharing your preferences

2017-06-03 Thread Scott Kostyshak
On Sat, Jun 03, 2017 at 06:40:27AM -0600, Joel Kulesza wrote:

> That is precisely the reason I'd like to see such a preference.
> Copying/pasting is generally what I do to fix it.  Making a branch in an
> otherwise simple document seems like too much overkill for what seems to me
> like a logical LyX / document setting preference.

I was just going to say, if anything this should be in document
settings, and not in preferences.

> I'd be happy to discuss in a new thread.  In the meantime, see:
> https://www.lyx.org/trac/ticket/8665 .  Note that, to your third bullet,
> the figure settings / groups might solve some issues for things like
> default widths.

Indeed, let's please continue any discussion on #8665 or in a separate
email thread. I will be focusing on other issues, but I'll follow any
discussion and might be interested after 2.3.0 is released.

Scott


signature.asc
Description: PGP signature


Re: Help improve LyX's defaults by sharing your preferences

2017-06-03 Thread Scott Kostyshak
On Fri, Jun 02, 2017 at 06:54:35PM -0600, Joel Kulesza wrote:

> Preference file attached.

Thanks, Joel.

> P.S. For Mac Users, the file is likely in ~/Library/Application
> Support/LyX-2.*/.

Good to know. On Mac is the location indeed shown when you go to LyX >
About LyX?

Scott


signature.asc
Description: PGP signature


Re: Help improve LyX's defaults by sharing your preferences

2017-06-03 Thread Scott Kostyshak
On Thu, Jun 01, 2017 at 04:51:25PM -0400, Cris Fuhrman wrote:
> Hi Scott,
> 
> I'm attaching my "anonymized" prefs file.
> 
> Did you ever consider using Google Analytics to track LyX usage? Of course,
> it's ethical (and probably required in the TOS of GA) that you have it
> deactivated by default and that you request permission from users to turn
> it on. I played around with it before on a plug-in I made for Word and it
> gives you live data. There might be other ways to track usage that don't
> have to go through Google. See
> https://stackoverflow.com/questions/4338557/track-c-application-with-google-analytics
> for a starting point.

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.

In any case, let's pleas not discuss this further on this thread. If you
want to start a new thread with the focus of Google Analytics (or
other), I'd be interested in following it.

Thanks,

Scott


signature.asc
Description: PGP signature


Re: small patch for zh_CN translation

2017-06-03 Thread Scott Kostyshak
On Mon, May 29, 2017 at 11:13:33AM +0800, subaochen wrote:
> hi,
> 
> 
> The attachment is small path for zh_CN translation, just correct few wrong or 
> unclear translations.

Thanks very much for this work, Su Baochen. Even small patches are
appreciated. I've applied your patch.

> Will translate more if I got more time,

That would be great, and we'd appreciate any help you can give.

> and any guide to edit po file? Thanks!

There are some guidelines here:

https://wiki.lyx.org/Devel/POFAQ

A few comments:

- please send po files to po-upda...@lyx.org
- I would prefer a diff that gives the file name so that it is a
  little easier to apply. See the attached file for how it is
  different from the diff you sent.

Thanks for your help!

Scott
diff --git a/po/zh_CN.po b/po/zh_CN.po
index c59f98e..9fc004f 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -46,7 +46,7 @@ msgstr "编译出错"
 #: src/frontends/qt4/ui/AboutUi.ui:116
 #, fuzzy
 msgid "Release Notes"
-msgstr "表格注释"
+msgstr "发行注记"
 
 #: src/frontends/qt4/ui/AboutUi.ui:159 src/frontends/qt4/ui/CompareUi.ui:163
 #: src/frontends/qt4/ui/DelimiterUi.ui:83
@@ -1014,12 +1014,12 @@ msgstr "强制使用大写字母()"
 
 #: src/frontends/qt4/ui/CitationUi.ui:392
 msgid "Always list all authors (rather than using \"et al.\")"
-msgstr ""
+msgstr "总是列出所有作者"
 
 #: src/frontends/qt4/ui/CitationUi.ui:395
 #, fuzzy
 msgid "All aut"
-msgstr "作者"
+msgstr "所有作者"
 
 #: src/frontends/qt4/ui/CitationUi.ui:424 src/frontends/qt4/ui/DocumentUi.ui:44
 #: src/frontends/qt4/ui/GraphicsUi.ui:682
@@ -1993,7 +1993,7 @@ msgstr "()跳过选项验证"
 
 #: src/frontends/qt4/ui/IncludeUi.ui:86
 msgid "C:"
-msgstr "表题():"
+msgstr "标题():"
 
 #: src/frontends/qt4/ui/IncludeUi.ui:99
 msgid "La:"


signature.asc
Description: PGP signature


Re: Fwd: 2 error in lyx 2.3

2017-06-03 Thread Scott Kostyshak
On Sat, Jun 03, 2017 at 12:49:53AM +0300, edu Gpl wrote:
> After i upgrade from lyx 2.2.2 to 2.3

Dear edu,

Please always specify that you mean 2.3.0alpha1-1 (or a custom-compiled
2.3.0dev), because the final release of 2.3.0 will be significantly
different.

Thank you very much for testing 2.3.0alpha1-1. It's very useful to us
because although developers are testing it, no one except you is testing
with Arabic so you might be able to catch bugs that no one else will.

> tcolorbox not work in the title of
> chapter if i used it with arabic language, but work with english language.
> please see attachments files.

Your arabic .lyx file that you attached is in 2.3.0alpha1-1 format. So I
cannot test with 2.2.x. I exported to 2.2.x format but when I did that
and compiled with 2.2.x it worked the same as with 2.3.0alpha1-1. Can
you send the 2.2.x format version that compiles correctly with 2.2.x but
that does not compile correctly with 2.3.0alpha1-1?

Also, when you say "upgrade" above, it makes me think that you are using
2.3.0alpha1-1 as your only LyX version, which makes me a little nervous
since it is a development version intended only for testing (I'm sorry
for not making this clear in the announcement).

Thanks,

Scott


signature.asc
Description: PGP signature


Re: Help improve LyX's defaults by sharing your preferences

2017-06-03 Thread Joel Kulesza
On Sat, Jun 3, 2017 at 1:05 AM, Christian Ridderström  wrote:

>
> On Sat, 3 Jun 2017 at 02:55, Joel Kulesza  wrote:
>
>> One preference not shown (because it is not available), but that I'd love
>> to have: default alignment of inserted figures: center.
>>
>
> I would also really like a preference or other method to reduce the
> manual/repeated work I do in order to get inserted figure floats to be
> centered.
>

> In practice I've often ended up copying/pasting another float to reduce
> the repeated work. So perhaps a practical approach is to add a "templates
> branch" to the document and there create your custom figure float that you
> the copy.
>

That is precisely the reason I'd like to see such a preference.
Copying/pasting is generally what I do to fix it.  Making a branch in an
otherwise simple document seems like too much overkill for what seems to me
like a logical LyX / document setting preference.

On Sat, Jun 3, 2017 at 1:05 AM, Christian Ridderström  wrote:

> But perhaps this topic should be in a thread of its own as there are many
> ways to solve it, eg: (... opt. preference that )
> - ... make figure insets centered by default
> - ... make figure insets by default use the alignment setting of figure
> inset just above
> - Custom/local templates that lets you insert a complete figure float, so
> you easily can get a float with eg: centered figure, figure inser width at
> 100% column etc, a short figure caption, a long figure caption, label etc.
>

I'd be happy to discuss in a new thread.  In the meantime, see:
https://www.lyx.org/trac/ticket/8665 .  Note that, to your third bullet,
the figure settings / groups might solve some issues for things like
default widths.


Re: Help improve LyX's defaults by sharing your preferences

2017-06-03 Thread Guillaume MM

Le 02/06/2017 à 11:10, Jean-Marc Lasgouttes a écrit :

Le 02/06/2017 à 11:06, Guillaume MM a écrit :

*\cursor_width 2
* are those which I am certain should be set for new users.


Are you in a HiDPI system?


No, and it is about having it wider than other lines on the screen.

Shouldn't the cursor width be computed wrt 
the screen DPI/zoom? instead









Re: Help improve LyX's defaults by sharing your preferences

2017-06-03 Thread Christian Ridderström
On Sat, 3 Jun 2017 at 02:55, Joel Kulesza  wrote:

> One preference not shown (because it is not available), but that I'd love
> to have: default alignment of inserted figures: center.
>

I would also really like a preference or other method to reduce the
manual/repeated work I do in order to get inserted figure floats to be
centered.

But perhaps this topic should be in a thread of its own as there are many
ways to solve it, eg: (... opt. preference that )
- ... make figure insets centered by default
- ... make figure insets by default use the alignment setting of figure
inset just above
- Custom/local templates that lets you insert a complete figure float, so
you easily can get a float with eg: centered figure, figure inser width at
100% column etc, a short figure caption, a long figure caption, label etc.

In practice I've often ended up copying/pasting another float to reduce the
repeated work. So perhaps a practical approach is to add a "templates
branch" to the document and there create your custom figure float that you
the copy.
Christian


Re: Business card template

2017-06-03 Thread Wolfgang Engelmann



Am 03.06.2017 um 03:05 schrieb Joel Kulesza:
On Fri, Jun 2, 2017 at 4:30 PM, Rich Shepard > wrote:


As time permits I'll look at the available LaTeX packages. I use
LaTeX/LyX
for almost all my writing and the modern CV and resume package
looks highly
professional and is impressive, so I assume business card
templates will
also be of this quality.


Rich,

Some additional considerations...

While I really like LaTeX / LyX for documentation, I'm reluctant to 
use it for things that require specific visual layout like business 
cards or posters.  With LyX's WYSIWYM philosophy and LaTeX's "focus on 
content, not layout" approach, this somewhat goes against the precise 
graphical design for such media.  Such documents are also either 
infrequent (in the case of business cards) or one-time (in the case of 
posters) editing tasks.  So having reproducible formatting may not be 
as important.  You might also find yourself tweaking esoteric LaTeX 
settings / ERT to get things just right, while a simple nudge in a 
graphical design tool would do.  However, for something "simple" like 
a business card, maybe doing everything in TikZ would work.


I don't mean to discourage, but just want to suggest that while LaTeX 
/ LyX might get to a satisfactory result, it may not be the right 
and/or most efficient toolset for the job.


- Joel

P.S. If you'd like to see how I setup a business card sheet in 
Inkscape, let me know and I'll forward along my .svg and .pdf files.

https://tex.stackexchange.com/questions/4693/is-there-a-good-document-template-for-making-business-cards
Wolfgang