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

2017-06-01 Thread gordon cooper

Hello Scott,
   Am running Lyx on Mx-Linux Version MX16.
Most of my Lyx tasks are  proofreading/editing of documents
written by others, so leave Lyx on Default.

Regards,

Gordon.





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

2017-06-01 Thread Charlie
On Thu, 1 Jun 2017 16:07:18 -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.
> 
> Attached is my preferences file.

Hello Scott,

My preferences, if any, are pretty ordinary. File attached.

Stay well,
Charlie

-- 
Registered Linux User:- 329524
***

"Come to the edge", he said. They said.."We are afraid". "Come
to the edge", he said. They came, he pushed them  And they
flew. -Guillaume Apollinaire

***

Debian GNU/Linux - Magic indeed.

-
# 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 ##
#

\user_name "charlie,,,"
\user_email ""

#
# SCREEN & FONTS SECTION 
#

\screen_zoom 126
\cursor_width 2
\scroll_below_document true
\screen_font_roman "Utopia"
\screen_font_sans "Sans Serif"
\screen_font_typewriter "Courier 10 Pitch"
\screen_font_sizes 5 7 8 9 10 12 14.4 17.26 20.74 24.88
\fullscreen_scrollbar false
\single_instance false

#
# COLOR SECTION ###
#

\set_color "background" "#faf5e3"

#
# PRINTER SECTION ###
#


#
# TEX SECTION ###
#


#
# FILE SECTION ##
#

\document_path "/home/charlie/lyx"
\load_session true
\template_path "/home/charlie/lyx/my-templates"
\backupdir_path "/home/charlie/lyx/backup"

#
# PLAIN TEXT EXPORT SECTION ##
#


#
# SPELLCHECKER SECTION ##
#


#
# LANGUAGE SUPPORT SECTION ##
#

\spellchecker enchant

#
# 2nd MISC SUPPORT SECTION ##
#

\gui_language british

#
# FORMATS SECTION ##
#

\format "pdf2" "pdf" "PDF (pdflatex)" "F" "\"okular\"" "" 
"document,vector,menu=export" ""
\format "pdf4" "pdf" "PDF (XeTeX)" "X" "\"okular\"" "" 
"document,vector,menu=export" ""
\default_otf_view_format dvi3

#
# CONVERTERS SECTION ##
#


#
# COPIERS SECTION ##
#



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

2017-06-01 Thread Rich Shepard

  My preferences are the same on hosts running Slackware-14.1 and -14.2:

# 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

# the following defines emacs key bindings for lyx:
\bind_file "/home/rshepard/.lyx/bind/my.bind"

#
# MISC SECTION ##
#

\ui_file "/usr/share/lyx/ui/default"
\kbmap true
\serverpipe "/home/rshepard/.lyx/lyxpipe"
\user_name "rshepard"
\user_email ""
\preview on

#
# SCREEN & FONTS SECTION 
#

\icon_set "classic"
\screen_dpi 80
\screen_zoom 115
\cursor_width 2
\screen_font_roman "URW Palladio L"
\screen_font_sans "URW Palladio L"
\screen_font_typewriter "Courier"
\screen_font_sizes 5 7 8 9 10 12 14.4 17.26 20.74 24.88
\fullscreen_scrollbar false
\single_instance false

#
# COLOR SECTION ###
#

\set_color "cursor" "#fa041d"
\set_color "background" "#e9ebd0"
\set_color "foreground" "#00"
\set_color "selection" "#e6bc12"
\set_color "latex" "#8b"
\set_color "preview" "#00"
\set_color "note" "#00"
\set_color "notebg" "#aa007f"
\set_color "footlabel" "#940917"
\set_color "depthbar" "#cd5c5c"
\set_color "language" "#ff"
\set_color "command" "#00"
\set_color "commandbg" "#f0"
\set_color "commandframe" "#00"
\set_color "special" "#4169e1"
\set_color "graphicsbg" "#ff"
\set_color "math" "#8b"
\set_color "mathbg" "#fff8ac"
\set_color "mathmacrobg" "#f0c0fa"
\set_color "mathframe" "#ff00ff"
\set_color "mathline" "#ff"
\set_color "collapsable" "#8b"
\set_color "collapsableframe" "#cd5c5c"
\set_color "insetframe" "#cd5c5c"
\set_color "error" "#ff"
\set_color "eolmarker" "#a52a2a"
\set_color "added_space" "#a52a2a"
\set_color "tabularline" "#00"
\set_color "tabularonoffline" "#b0c4de"
\set_color "pagebreak" "#4169e1"
\set_color "buttonbg" "#cc"

#
# PRINTER SECTION ###
#


#
# TEX SECTION ###
#


#
# FILE SECTION ##
#

\load_session true
\completion_popup_after_complete false
\num_lastfiles 5
\make_backup false

#
# PLAIN TEXT EXPORT SECTION ##
#


#
# SPELLCHECKER SECTION ##
#

\accept_compound true

#
# LANGUAGE SUPPORT SECTION ##
#

\default_length_unit 6
\language_package_selection 3

#
# 2nd MISC SUPPORT SECTION ##
#

\gui_language english
\export_overwrite all

#
# FORMATS SECTION ##
#

\format "ltxbib" "tex" "LaTeX (With Bib)" "" "" "" "document,menu=export" ""
\format "pdf4" "pdf" "PDF4" "gv" "" "" "" ""
\default_otf_view_format dvi3

#
# CONVERTERS SECTION ##
#

\converter "latex" "pdf4" "ps4pdf $$i" ""
\converter "pdflatex" "ltxbib" "python -tt $$s/scripts/include_bib.py $$i $$o" 
"needaux"

#
# COPIERS SECTION ##
#


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

2017-06-01 Thread Paul A. Rubin

On 06/01/2017 04:07 PM, 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.



Here are my prefs on a Linux system (Mint, to be specific).

Paul

# 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 ##
#

# The time interval between auto-saves in seconds.
\autosave 0
\serverpipe "/home/paul/.lyx/lyxpipe"
\user_name "Paul A. Rubin"
\user_email "you wish"

#
# SCREEN & FONTS SECTION 
#

\macro_edit_style 2
\screen_font_sizes 5 7 8 9 10 12 14.4 17.26 20.74 24.88
\fullscreen_scrollbar false
\single_instance false

#
# COLOR SECTION ###
#


#
# PRINTER SECTION ###
#


#
# TEX SECTION ###
#


#
# FILE SECTION ##
#

\example_path "/usr/share/lyx/examples"
\template_path "/home/paul/.lyx/templates"

#
# PLAIN TEXT EXPORT SECTION ##
#


#
# SPELLCHECKER SECTION ##
#


#
# LANGUAGE SUPPORT SECTION ##
#

\spellchecker enchant
\spellcheck_continuously true

#
# 2nd MISC SUPPORT SECTION ##
#


#
# FORMATS SECTION ##
#

\format "pdf7" "pdf" "PDF (cropped)" "" "xreader" "" "document,vector" ""
\format "pdf3" "pdf" "PDF (dvipdfm)" "m" "xreader" "" 
"document,vector,menu=export" ""
\format "pdf6" "pdf" "PDF (graphics)" "" "xreader" "" "vector" "application/pdf"
\format "pdf8" "pdf" "PDF (lower resolution)" "" "xreader" "" "document,vector" 
""
\format "pdf5" "pdf" "PDF (LuaTeX)" "u" "xreader" "" 
"document,vector,menu=export" ""
\format "pdf2" "pdf" "PDF (pdflatex)" "F" "xreader" "" 
"document,vector,menu=export" ""
\format "pdf" "pdf" "PDF (ps2pdf)" "P" "xreader" "" 
"document,vector,menu=export" ""
\format "pdf4" "pdf" "PDF (XeTeX)" "X" "xreader" "" 
"document,vector,menu=export" ""
\default_otf_view_format dvi3

#
# CONVERTERS SECTION ##
#

\converter "pdflatex" "pdf2" "pdflatex -shell-escape $$i" "latex=pdflatex"
\converter "svg" "pdf6" "convert $$i $$o" ""

#
# COPIERS SECTION ##
#



Re: Japanese furigana into LyX documents

2017-06-01 Thread Daniel Gómez Martínez
That's just what I wanted to have!

Again, thank you. I confirm that this is working for me too, in case
someone is looking for this to work.

*Daniel Gómez Martínez | Profesional en ingeniería eléctrica*
*Universidad Nacional de Colombia*
*Automatización industrial, instalaciones eléctricas.*
*Sistemas de potencia, control de sistemas.*
Tel: (+57)
*312 824 8697 <3044313476>*

2017-05-30 22:23 GMT-05:00 K. Yokota :

> BTW, writing furigana with TeX code is cumbersome. I use the following
> local layout for furigana for convenience:
>
> InsetLayout Flex:Ruby
>>
>> LyxType charstyle
>>
>> LatexType command
>>
>> LatexName ruby
>>
>> BgColor none
>>
>> LabelString "Ruby"
>>
>> Decoration Conglomerate
>>
>> Argument post:1
>>
>> LabelString "Furigana"
>>
>> MenuString "Furigana"
>>
>> Decoration Conglomerate
>>
>> Font
>>
>> Size tiny
>>
>> EndFont
>>
>> LabelFont
>>
>> Size tiny
>>
>> EndFont
>>
>> Mandatory 1
>>
>> EndArgument
>>
>> Preamble
>>
>> \IfFileExists{ruby.sty}
>>
>> {\usepackage[CJK,overlap]{ruby}}
>>
>> {\newcommand{\ruby}[2]{#2}}
>>
>> EndPreamble
>>
>> ResetsFont true
>>
>> End
>>
>
> Remember to remove "\usepackage[CJK,overlap]{ruby}" line from Document ->
> Preamble to prevent a crash.
>
> Usage when writing:
>
> 1. choose Edit -> Text Style -> Ruby to insert a ruby inset,
> 2. write a main text in the inset,
> 3. choose Insert -> Furigana to insert the inner furigana inset,
> 4. fill in furigana for the main text in the inner inset
>
> I attach an improved sample file.
>
>
> 2017-05-31 7:19 GMT+09:00 Daniel Gómez Martínez :
>
>>
>> *Daniel Gómez Martínez*
>>
>> -- Forwarded message --
>> From: Daniel Gómez Martínez 
>> Date: 2017-05-30 17:18 GMT-05:00
>> Subject: Re: Japanese furigana into LyX documents
>> To: "K. Yokota" 
>>
>>
>> It works, thank you very much! This is enough for my needs.
>>
>> *Daniel Gómez Martínez | Profesional en ingeniería eléctrica*
>> *Universidad Nacional de Colombia*
>> *Automatización industrial, instalaciones eléctricas.*
>> *Sistemas de potencia, control de sistemas.*
>> Tel: (+57)
>> *312 824 8697 <3044313476>*
>>
>> 2017-05-30 10:58 GMT-05:00 K. Yokota :
>>
>>> Hi Daniel,
>>>
>>> I attach a working example. It uses "Unicode (CJK) (utf8)" encoding and
>>> BXcjkjatype package. Note that you use "pdflatex" for compilation. I tested
>>> with MacTeX so I hope it works with TeXlive as well.
>>>
>>> The following links are good for reference:
>>> (original Japanese page) https://texwiki.texjp.org/?LaTeX-CJK#ue7194c1
>>> (its English translation: unfinished?) http://jun0inoue.blogspot.jp/2
>>> 013/05/tex-wiki.html
>>>
>>> Japanese CJK doesn't seem to work with other encodings even with
>>> comprehensive TeXLive as is. I guess the use of BXcjkjatype package is the
>>> only path to succeed with LyX and out-of-box latex systems.
>>>
>>> Cheers,
>>>
>>> Koji
>>>
>>>
>>> 2017-05-28 6:02 GMT+09:00 Daniel Gómez Martínez :
>>>
 Hello everyone,

 I want to be able to produce documents with furigana scripture (kana
 over kanji in japanese writings) and I've found this links describing how
 to do it in plain LaTeX
 https://quantumtunnel.wordpress.com/2013/12/01/furigana-%E3%
 81%B5%E3%82%8A%E3%81%8C%E3%81%AA%EF%BC%89in-latex/
 http://timmurphy.org/2012/12/28/writing-kanji-with-furigana-
 hiragana-above-in-latex/

 But when I try to implement that into the LyX LaTeX preamble I just get
 furigana (characters above) in the size as the main characters, which is
 not what one would want (furigana has to be smaller than the main
 character).

 I've searched for an implementation in LyX on the web and through the
 documentation but with no avail, so my question is, as there doesn't seems
 to be a feature for this in LyX, it's there a way I can get it to work?
 And, would it be fine to ask to the development mailing list to add a
 feature to ease the writing of kanji with furigana?


 *​Best regards, ​Daniel Gómez*

>>>
>>>
>>
>>
>


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

2017-06-01 Thread Cris Fuhrman
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.

C. Fuhrman

On Thu, Jun 1, 2017 at 4:07 PM, Scott Kostyshak  wrote:

> Dear all,
>
> There are many different preferences that the user can customize. It is
> difficult to think about what is the best default preferences for the
> most amount of users. One way I've thought of to get an idea of this is
> to start collecting user's preferences. If we see that a lot of users
> have changed a certain preference, we might think about changing the
> default. Of course, for you this won't make much of a difference since
> you have that setting set anyway. But it could make a difference for the
> out-of-the-box experience of new LyX users.
>
> Just to set realistic expectations, I would say that the chance of us
> changing a default preference are pretty low (see, for example, [1], for
> why this is complicated). In order to tak a rist, we need to have a lot
> of evidence about the average user; and since you are on a LyX mailing
> list that means you are not an average user in my opinion :).
>
> Preferences in particular that I'm curious about are:
>
>   screen zoom
>   continuous spellcheck
>   math preview
>
> Before posting, please check your preferences file manually for any
> information that you prefer not to be made public.
>
> Your preferences are in a file called "preferences", stored in your user
> directory. To locate your user directory, see Help > About (I think on
> Mac this is LyX > About?). If you go to your user directory and there is
> no "preferences" file, that means that you have not changed any of the
> defaults. I still want to know in this case. If you could just respond
> "default", then that would be helpful.
>
> 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
>
>
> [1] https://www.mail-archive.com/search?l=mid=
> CAO7dr0isQTesZ9cJeobrA0vYFr3ctUMA-JWTPDx677tjz286Ew%40mail.gmail.com
>
# 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 "C:/Python27;C:/Program 
Files/ImageMagick-7.0.3-Q16;$LyXDir/bin;$LyXDir/Python;$LyXDir/Python/Lib;$LyXDir/Perl/bin;$LyXDir/imagemagick;C:/Program
 Files/MiKTeX 2.9/miktex/bin/x64;C:/Program Files/Ghostgum/gsview;C:/Program 
Files/gs/gs9.18/bin;C:/Program Files (x86)/JabRef;C:/Program 
Files/Inkscape;C:/Program Files/SumatraPDF;C:/Program Files/Git/mingw64/bin"
\serverpipe "\\.\pipe\lyxpipe"
\user_name "Christopher Fuhrman"
\user_email "christopher.fuhr...@gmail.com"
\preview on

#
# SCREEN & FONTS SECTION 
#

\screen_zoom 200
\screen_font_sizes 5 7 8 9 10 12 14.4 17.26 20.74 24.88
\single_instance false
\forward_search_pdf "SumatraPDF -reuse-instance \"$$o\" -forward-search \"$$t\" 
$$n"

#
# COLOR SECTION ###
#


#
# PRINTER SECTION ###
#


#
# TEX SECTION ###
#


#
# FILE SECTION ##
#

\example_path "C:\Users\fuhrm\Google Drive\Lyx\Resources\examples\"
\template_path "C:\Users\fuhrm\Google Drive\Lyx\Resources\templates\"
\thesaurusdir_path "C:\Users\fuhrm\Google Drive\Lyx\Resources\thes\"
\hunspelldir_path "C:\Users\fuhrm\Google Drive\Lyx\Resources\dicts\"

#
# PLAIN TEXT EXPORT SECTION ##
#


#
# SPELLCHECKER SECTION ##
#


#
# LANGUAGE SUPPORT SECTION ##
#

\spellcheck_continuously true

#
# 2nd MISC SUPPORT SECTION ##
#


#
# FORMATS SECTION ##
#

\format "bmp" "bmp" "BMP" "" "auto" "auto" "" "image/x-bmp"
\format "dia" "dia" "DIA" "" "auto" "auto" "vector,zipped=native" 
"application/x-dia-diagram"
\format "dvi" "dvi" "DVI" "D" "yap" "" "document,vector,menu=export" 
"application/x-dvi"
\format "dvi3" "dvi" "DVI (LuaTeX)" "V" "yap" "" "document,vector,menu=export" 
""
\format "docbook-xml" "xml" "DocBook (XML)" "" "" "notepad" 
"document,menu=export" "application/docbook+xml"
\format "eps" "eps" "EPS" "" "gsview64" "" "vector" "image/x-eps"
\format "eps3" "eps" "EPS (cropped)" "" "gsview64" "" "document" ""
\format "eps2" "eps" "EPS (uncropped)" "" "gsview64" "" "vector" 

Help improve LyX's defaults by sharing your preferences

2017-06-01 Thread Scott Kostyshak
Dear all,

There are many different preferences that the user can customize. It is
difficult to think about what is the best default preferences for the
most amount of users. One way I've thought of to get an idea of this is
to start collecting user's preferences. If we see that a lot of users
have changed a certain preference, we might think about changing the
default. Of course, for you this won't make much of a difference since
you have that setting set anyway. But it could make a difference for the
out-of-the-box experience of new LyX users.

Just to set realistic expectations, I would say that the chance of us
changing a default preference are pretty low (see, for example, [1], for
why this is complicated). In order to tak a rist, we need to have a lot
of evidence about the average user; and since you are on a LyX mailing
list that means you are not an average user in my opinion :).

Preferences in particular that I'm curious about are:

  screen zoom
  continuous spellcheck
  math preview

Before posting, please check your preferences file manually for any
information that you prefer not to be made public.

Your preferences are in a file called "preferences", stored in your user
directory. To locate your user directory, see Help > About (I think on
Mac this is LyX > About?). If you go to your user directory and there is
no "preferences" file, that means that you have not changed any of the
defaults. I still want to know in this case. If you could just respond
"default", then that would be helpful.

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


[1] 
https://www.mail-archive.com/search?l=mid=CAO7dr0isQTesZ9cJeobrA0vYFr3ctUMA-JWTPDx677tjz286Ew%40mail.gmail.com
# LyX 2.3.0dev generated this file. If you want to make your own
# modifications you should do them from inside LyX and save.

Format 21


#
# MISC SECTION ##
#

\path_prefix "/home/scott/Dropbox/Scripts/"
\user_name "scott"
\user_email ""
\preview no_math
\use_converter_needauth_forbidden false

#
# SCREEN & FONTS SECTION 
#

\screen_font_sizes 5 7 8 9 10 12 14.4 17.26 20.74 24.88
\single_instance false
\forward_search_dvi "okular --unique \"$$o#src:$$n $$f\""
\forward_search_pdf "okular --unique \"$$o#src:$$n $$f\""

#
# COLOR SECTION ###
#


#
# PRINTER SECTION ###
#


#
# TEX SECTION ###
#


#
# FILE SECTION ##
#

\thesaurusdir_path "/usr/share/mythes/"

#
# PLAIN TEXT EXPORT SECTION ##
#


#
# SPELLCHECKER SECTION ##
#


#
# LANGUAGE SUPPORT SECTION ##
#

\spellchecker enchant
\spellcheck_notes false

#
# 2nd MISC SUPPORT SECTION ##
#


#
# FORMATS SECTION ##
#

\format "pdf2cL" "pdf" "PDF (pdflatex_copyLogs)" "L" "\"evince\"" "" 
"document,vector,menu=export" "application/pdf"
\format "pdf2" "pdf" "PDF (pdflatex)" "F" "okular -unique" "" 
"document,vector,menu=export" ""

#
# CONVERTERS SECTION ##
#

\converter "pdflatex" "pdf2cL" "$$s/scripts/copyLogs.sh $$i" "latex=pdflatex"

#
# COPIERS SECTION ##
#



signature.asc
Description: PGP signature