Re: LinuxDay @ Pisa - Oct 22nd

2016-10-24 Thread Kornel Benko
Am Sonntag, 23. Oktober 2016 um 17:24:08, schrieb Tommaso Cucinotta 

> commit e85b0d01
> Author: Tommaso Cucinotta 
> Date:   Wed Oct 16 22:55:40 2013 +0100
> 
>  LyX XMPP Chat
> 
>  This patch enables XMPP-based chatting within LyX.
> 

This is from branch "features/chat3"
I was/am trying to adapt cmake, but I have difficulties to compile 
src/support/FileMonitor.cpp with the gcc6.2 compiler.
There are many warnings because of std::auto_ptr declared in our boost source
boost/boost/smart_ptr/shared_ptr.hpp:459:22: warning: ‘template 
class std::auto_ptr’ is deprecated
shared_ptr( std::auto_ptr && r ): px(r.get()), pn()
and also in gcc6.2 include
.../gcc6.2/include/c++/6.2.0/bits/unique_ptr.h:49
template class auto_ptr;

The real trouble starts with
src/support/strfwd.h:55:9: error: reference to ‘basic_string’ is 
ambiguous
typedef basic_string 
string;
src/support/strfwd.h:54:64: note: candidates are: template class std::basic_string
template class 
basic_string;

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: LinuxDay @ Pisa - Oct 22nd

2016-10-23 Thread Tommaso Cucinotta

On 23/10/2016 01:27, Tommaso Cucinotta wrote:

[more or less, all things included in my tommaso repo, linux-day-2016 branch, 
perhaps I'll polish and push something else tomorrow]


pushed, details below [1].
http://git.lyx.org/?p=developers/tommaso/lyx.git;a=shortlog;h=refs/heads/linux-day-2016

T.

commit 58cd3b3f
Author: Tommaso Cucinotta 
Date:   Sun Oct 23 13:16:19 2016 +0200

Remove assert on advanced find with knitr module (#10444).

commit 7d6cbd87
Author: Tommaso Cucinotta 
Date:   Wed Oct 19 11:18:10 2016 +0200

Tolerate formats that are not supported by lyx2lyx.

commit d4ae1e6b
Author: Tommaso Cucinotta 
Date:   Mon Oct 17 08:44:16 2016 +0200

Enable graphics generation from external gnuplot scripts (draft).

Two major TODOs:
1. remove ugly abs path, which is there to work around 8b66f9ce, which
   broke %%s
2. convert the gnuplot2pdf.sh script to Python for portability

commit Author: Tommaso Cucinotta 
Date:   Sat Oct 15 01:14:02 2016 +0200

Create new graphics from within LyX choosing a sample file to copy from.

commit e85b0d01
Author: Tommaso Cucinotta 
Date:   Wed Oct 16 22:55:40 2013 +0100

LyX XMPP Chat

This patch enables XMPP-based chatting within LyX.

With contributions from Kornel Benko 



Re: LinuxDay @ Pisa - Oct 22nd

2016-10-22 Thread Tommaso Cucinotta

On 29/09/2016 19:02, Tommaso Cucinotta wrote:

15-min demo about LyX at the upcoming LinuxDay, on Oct 22nd in Pisa (Italy), 
and I've just been notified that this might really happen :-)!


Indeed, it happened :-)! Just a quick note that all attendees raised their hands 
when asked about familiarity with LaTeX, but only one of them knew LyX already 
(positive experience of a thesis written with LyX). Despite this, I wasn't 
assaulted & destroyed by LaTeX geeks as I was expecting :-)...

I ended up with making an overview of LyX features, +/- following those few 
slides I circulated already

  http://retis.sssup.it/~tommaso/LinuxDay-2016.pdf

I made a live demonstration of:
- LyX maths & tables editing
- graphics insertion including easy creation of .odg graphics from samples 
(local patch) and .gnuplot scripts/plots automatically graph-ed (local patch)
- advanced find & replace, including finding styles with regexps and finding 
maths
- LyX chat (local patch) through the use of a local XMPP server on my laptop
- and a few other things.

[more or less, all things included in my tommaso repo, linux-day-2016 branch, 
perhaps I'll polish and push something else tomorrow]

Got a couple of students asking off-line some more details about external 
scripting similar to what I had shown with .gnuplot :-)!

So, let's hope to get some more users and/or contributors :-)!

Cheers,

T.



Re: LinuxDay @ Pisa - Oct 22nd

2016-10-19 Thread Tommaso Cucinotta

On 19/10/2016 12:39, CarLaTeX wrote:


Visto che è in italiano io metterei "ebraico" al posto di "Ebreo" e penso anche "arabo" 
al posto di "Arabico".
Ciao.
Carla



my poor (mother-tongue) language abilities :-P... thanks a million!
AFAIK, the event will be kind of a mix of IT/EN presentations...

T.



Re: LinuxDay @ Pisa - Oct 22nd

2016-10-19 Thread CarLaTeX
Visto che è in italiano io metterei "ebraico" al posto di "Ebreo" e penso
anche "arabo" al posto di "Arabico".
Ciao.
Carla

Il 19 Ott 2016 12:30 PM, "Tommaso Cucinotta"  ha scritto:

FYI, that's the few slides I prepared for Saturday

  http://retis.sssup.it/~tommaso/LinuxDay-2016.pdf

in case you have some feedback. These are to be inter-mixed
with a live demo, overall 15 mins, so it's just a few notes about
things not to forget.

You might be curious about the devel stats slide.

I'll let you know what feedback I get...

Thx,

T.


Re: LinuxDay @ Pisa - Oct 22nd

2016-10-19 Thread Tommaso Cucinotta

FYI, that's the few slides I prepared for Saturday

  http://retis.sssup.it/~tommaso/LinuxDay-2016.pdf

in case you have some feedback. These are to be inter-mixed
with a live demo, overall 15 mins, so it's just a few notes about
things not to forget.

You might be curious about the devel stats slide.

I'll let you know what feedback I get...

Thx,

T.



Re: LinuxDay @ Pisa - Oct 22nd

2016-10-01 Thread Scott Kostyshak
On Sat, Oct 01, 2016 at 10:22:28AM +0200, Tommaso Cucinotta wrote:

> thx, on a related note, I just found this:
> 
>   https://qa.debian.org/popcon.php?package=lyx
> 
> but I'd expect it to reflect only a very small sample of the reality.
> 
> T.

If anyone else is curious why fonts-lyx seems to be so much more popular
than LyX, it seems to be because the firefox package 'suggests' it, at
least on Ubuntu.

A useful tool is:

  apt-cache rdepends fonts-lyx

Scott


signature.asc
Description: PGP signature


Re: LinuxDay @ Pisa - Oct 22nd

2016-10-01 Thread Tommaso Cucinotta

On 30/09/2016 22:18, Guillaume Munch wrote:

I never saw quantitative but only qualitative feedback, for instance: 
https://reviews.ubuntu.com/reviews/api/1.0/reviews/filter/any/any/any/any/lyx/page/1/
 (up to page 6)


thx, on a related note, I just found this:

  https://qa.debian.org/popcon.php?package=lyx

but I'd expect it to reflect only a very small sample of the reality.

T.


Re: LinuxDay @ Pisa - Oct 22nd

2016-09-30 Thread Guillaume Munch

Le 30/09/2016 à 19:08, Tommaso Cucinotta a écrit :

On 30/09/2016 17:41, Guillaume Munch wrote:

Yes, to add to this, the fact that there is a critical mass of active
developers (~10 on average apparently) and users


do we have any +/- official count/stat of the number of users from how
many countries or similar? guess how many downloads is not too relevant,
as many will just get it from standard Linux distro...



I never saw quantitative but only qualitative feedback, for instance: 
https://reviews.ubuntu.com/reviews/api/1.0/reviews/filter/any/any/any/any/lyx/page/1/ 
(up to page 6)




Re: LinuxDay @ Pisa - Oct 22nd

2016-09-30 Thread Tommaso Cucinotta

On 30/09/2016 17:41, Guillaume Munch wrote:

Yes, to add to this, the fact that there is a critical mass of active
developers (~10 on average apparently) and users


do we have any +/- official count/stat of the number of users from how many 
countries or similar? guess how many downloads is not too relevant, as many 
will just get it from standard Linux distro...

T.



Re: LinuxDay @ Pisa - Oct 22nd

2016-09-30 Thread Guillaume Munch

Le 30/09/2016 à 16:21, Joel Kulesza a écrit :

On Thu, Sep 29, 2016 at 5:18 PM, Guillaume Munch > wrote:


It's also useful to say that LyX has many bugs and quirks, but that we
use it (and like it) anyway, for lack of anything that comes close to
it. (My own experience, again.)


I would add that while LyX does have bugs/quirks/missing features, the
developer team is open-minded and responsive to user feedback.




Yes, to add to this, the fact that there is a critical mass of active
developers (~10 on average apparently) and users means that I can
entrust my documents to it. I do not see any risk that it might go bust
overnight or in 10 years.



Re: LinuxDay @ Pisa - Oct 22nd

2016-09-30 Thread Joel Kulesza
On Thu, Sep 29, 2016 at 5:18 PM, Guillaume Munch  wrote:

>
> It's also useful to say that LyX has many bugs and quirks, but that we
> use it (and like it) anyway, for lack of anything that comes close to
> it. (My own experience, again.)
>
>
I would add that while LyX does have bugs/quirks/missing features, the
developer team is open-minded and responsive to user feedback.


Re: LinuxDay @ Pisa - Oct 22nd

2016-09-30 Thread Tommaso Cucinotta

Hi, thanks all, very useful input indeed :-), I'll let u know how it goes...

T.

On 30/09/2016 00:27, Scott Kostyshak wrote:

On Thu, Sep 29, 2016 at 07:02:24PM +0200, Tommaso Cucinotta wrote:

Hi all,

Hi Tommaso, good to hear from you!


quite some time I don't write to this list, but in an attempt to find back some 
motivational push towards contributing again to the project, I recently 
proposed to provide a 15-min demo about LyX at the upcoming LinuxDay, on Oct 
22nd in Pisa (Italy), and I've just been notified that this might really happen 
:-)! Thought it would be good to notify LyX folks, but also to write to hear a 
quick re-cap of what happened in the last couple of years,

I'm guessing you are familiar with the following links, but if by chance
you are not, take a look at:

http://wiki.lyx.org/LyX/NewInLyX21
http://wiki.lyx.org/LyX/NewInLyX22


and also gather some opinions about what's best to show about the tool, in a 
15-mins time window, in an event like this

Do you have any idea what the crowd will be like? Will they want to
learn how to use LyX or is it more about LyX's development? Do you
expect most of them to be researchers (e.g. might find LyX useful for
writing academic articles)? Since there will probably be a mix, it would
be cool to have a slide with weird uses of LyX, e.g. writing musing
(with LilyPond). I think I've seen references of a lawyer using it, also
a doctor. That might make the presentation more useful to a general
audience.


(besides the Advanced F -- are people still using that :-)?)

Yes from what I see it is used quite frequently. I also personally use
it myself for finding things and I really "find" it useful. However, I
don't quite trust it for automatic find & replace. I've come across a
few cases where it removed things it should not have. Actually,
sometimes I use it for removing, but only when I manually inspect the
git diff.

Hope you're doing well!

Scott





Re: LinuxDay @ Pisa - Oct 22nd

2016-09-30 Thread Helge Hafting


LyX features important for me:

* LyX don't "mess up" formatting. (indents, blank lines, lists,...) When 
writing some pages for my students, I don't really need to check output 
because it all just works. Everytime.  I can also write down what 
happens at a meeting in real time, and mail out a PDF as the meeting 
ends. LyX never put a heading on the bottom of a page either. Cross 
references and TOC is always correct. (Apparently, a more expensive word 
processor struggles with just that. Users need to 'update the TOC' or 
whatever?)


* LyX can typeset straight margins with good hyphenation, without 
getting excessively long spaces between words. This alone is a good 
reason for using LyX. Ragged-right looks unprofessional, and so does 
lines with excessive interword space.


* LyX is very good for multi-file documents! Example: I have a file with 
a chapter describing "network firewalls using linux". This is included 
into a larger document about network security. It is also used in 
another document about securing linux servers. These two documents have 
different length and different number of chapters. So the firewall 
chapter may be chapter 3 on page 14 in one case, and it may be chapter 2 
on page 7 in the other case. There are no problems with this. The TOC, 
the page & figure numbers, everything works in both cases! So if I add 
another section to my "firewall" document, there is only one place to 
edit. There is no effort keeping the other two documents 'in sync'; 
because there are no copies to synchronize.


* Another multi-file case: I teach programming. So I need source code 
examples. I can embed references to source code files in LyX. Again, 
there is only one place to edit - the source code file. When LyX 
produces a PDF, it reads the source code files and typesets it - 
complete with syntax highlighting! And no effort keeping the compilable 
source code 'in sync' with the document. No code is copied into LyX, 
only a reference to the filename.


* LyX can use just about any LaTeX feature. But I don't need to use 
LaTeX commands for everyday writing, it is as easy as any other word 
processor.


* LyX supports my language well, and lots of others too. Both the user 
interface, hyphenation and spellchecking. Commercial word processors 
have less support for 'small' languages.


* LyX does presentations as well as text document; so I don't need 
powerpoint. I wouldn't know how to get something like a tikz animation 
in powerpoint anyway.


Other cool features:
* Excellent math support. Any formula of interest can be written in LyX. 
It won't be hard, and it will look good. Thanks to the LaTeX backend, of 
course. Lyx will also interface with math software; press a button and 
it will do difficult integrals for you, by asking maxima or mathematica.


* LyX cooperates with Lilypond, so you can have both music and text set 
nicely.





Re: LinuxDay @ Pisa - Oct 22nd

2016-09-29 Thread Guillaume Munch

Le 29/09/2016 à 19:02, Tommaso Cucinotta a écrit :

Hi all,

quite some time I don't write to this list, but in an attempt to find
back some motivational push towards contributing again to the project, I
recently proposed to provide a 15-min demo about LyX at the upcoming
LinuxDay, on Oct 22nd in Pisa (Italy), and I've just been notified that
this might really happen :-)! Thought it would be good to notify LyX
folks, but also to write to hear a quick re-cap of what happened in the
last couple of years, and also gather some opinions about what's best to
show about the tool, in a 15-mins time window, in an event like this
(besides the Advanced F -- are people still using that :-)?)




Hi Tommaso,


1) Distinctive and decisive features of LyX (at least for me):

* Change tracking for collaborative authorship, or even just for
  suggesting corrections to someone writing in LyX.
  * Anyone who had to suggest corrections to a co-author or student, or
received such suggestions, knows the pain of going from e-mail/print
back to the editor window and checking that everything was taken
into account (on either people's side). Change tracking keeps track
of everything in a single location.
  * It is a complement of, not a rival to, version control systems.
There is a good synergy with git in my experience.

  This is a “how did we do before this?”-feature. All the rest below are
  more a matter of personal habit. But having and making use of change
  tracking in any collaboration, or of some alternative I have yet to
  hear of (Word and Google Docs being excluded in an academic context),
  is a matter a professionalism.


* Semantic edition of math equations:
  * Selections/copy-paste that respects the boundaries (i.e. no chasing
of closing braces, etc.)
  * Semantic edition of grids (array, align environment).
Easily add/delete/swap rows/columns. Example of copy row (Alt+M W
C) to quickly perform lines of calculation.
  * Typing LaTeX commands with the keyboard together with
auto-completion and immediate notice of typos (best of both
worlds).
  * Math macros (with different display in PDF and in LyX).

  All these make LyX not just a tool for the final step of writing
  a paper/dissertation: it can entirely serve as a notebook. I think
  this can clear up some misconceptions about LyX in more LaTeX-oriented
  communities.


2) Some things that did not work so well before and work much better in
LyX 2.2, and which are easy to show:

* Instant preview of math (in fact the SVG/LaTeX integration that was
  posted recently in combination with the preview inset would make a
  good demo: the picture uses the surrounding font and font style, and
  instant preview reflects the changes in real time).

* Code preview which follows the cursor.

* Hi-DPI thanks to Qt5, and kerning/ligatures on screen (important for
  Hebrew or Arabic, Jean-Marc surely knows more about this).


3) Other than that, basics, of course:
* No fingerpainting of text styles
* Nice PDF output, LyX takes care of all compilation steps
* Bibliography browser
* Cross-references (copy/paste label as reference)
* Outliner


It's also useful to say that LyX has many bugs and quirks, but that we
use it (and like it) anyway, for lack of anything that comes close to
it. (My own experience, again.)


Best,
Guillaume





Re: LinuxDay @ Pisa - Oct 22nd

2016-09-29 Thread Scott Kostyshak
On Thu, Sep 29, 2016 at 07:02:24PM +0200, Tommaso Cucinotta wrote:
> Hi all,

Hi Tommaso, good to hear from you!

> quite some time I don't write to this list, but in an attempt to find back 
> some motivational push towards contributing again to the project, I recently 
> proposed to provide a 15-min demo about LyX at the upcoming LinuxDay, on Oct 
> 22nd in Pisa (Italy), and I've just been notified that this might really 
> happen :-)! Thought it would be good to notify LyX folks, but also to write 
> to hear a quick re-cap of what happened in the last couple of years,

I'm guessing you are familiar with the following links, but if by chance
you are not, take a look at:

http://wiki.lyx.org/LyX/NewInLyX21
http://wiki.lyx.org/LyX/NewInLyX22

> and also gather some opinions about what's best to show about the tool, in a 
> 15-mins time window, in an event like this

Do you have any idea what the crowd will be like? Will they want to
learn how to use LyX or is it more about LyX's development? Do you
expect most of them to be researchers (e.g. might find LyX useful for
writing academic articles)? Since there will probably be a mix, it would
be cool to have a slide with weird uses of LyX, e.g. writing musing
(with LilyPond). I think I've seen references of a lawyer using it, also
a doctor. That might make the presentation more useful to a general
audience.

> (besides the Advanced F -- are people still using that :-)?)

Yes from what I see it is used quite frequently. I also personally use
it myself for finding things and I really "find" it useful. However, I
don't quite trust it for automatic find & replace. I've come across a
few cases where it removed things it should not have. Actually,
sometimes I use it for removing, but only when I manually inspect the
git diff.

Hope you're doing well!

Scott


signature.asc
Description: PGP signature