Re: alternatives for dashes (please vote)

2017-08-22 Thread Scott Kostyshak
On Fri, Jul 28, 2017 at 03:45:28PM +0200, Pavel Sanda wrote:

> I tend to agree with f). It's not nice that we have such option in the prefs,
> but since we screw the situation already we at least give user some power to
> fix things onwards from 2.3 in his own way. 
> 
> And some exclamation mark in RELEASE_NOTES.

Can someone who understands the consequences please add an appropriate
note to RELEASE-NOTES ?

Scott


signature.asc
Description: PGP signature


Re: LyX version 2.3.0 (beta 1)

2017-08-22 Thread Scott Kostyshak
On Fri, Aug 18, 2017 at 01:47:59AM -0400, Scott Kostyshak wrote:
> On Thu, Aug 17, 2017 at 09:06:06PM +0200, Tommaso Cucinotta wrote:
> > On 17/08/2017 20:25, Scott Kostyshak wrote:
> > > An overview of the new features can be found here:
> > > 
> > >http://wiki.lyx.org/LyX/NewInLyX23
> > 
> > AFAICR, the new shell-escape [+minted] support made it to the 2.3, but it's 
> > not mentioned (yet).
> 
> Indeed, please feel free to put it. Or if you prefer that I do it that's
> fine too.

We do have the entry

"Option to use the LaTeX package minted for the typesetting of code
listings."

We could add the shell-escape feature as a separate entry, but I'm not
sure what we would put as the description. Something like the following?

-shell-escape can now be enabled only for specific documents, rather
than having to enable it globally in preferences.

Which category should we put it? Miscellaneous or "Image formats and
conversion"?

Scott


signature.asc
Description: PGP signature


Re: #8908: Instant preview does not work if package `minted` is used

2017-08-22 Thread Scott Kostyshak
On Mon, Aug 21, 2017 at 09:25:43PM +0200, Allan Leal wrote:
> Sorry for not responding earlier. LyX works just great with minted since
> version 2.2 (maybe even 2.1).

Thanks, Allan! If you look at your converter under Tools > Preferences >
File Handling > Converters under e.g. LaTeX (pdflated) -> PDF
(pdflatex), or whichever flavor you usually use, in the box "converter"
what does it currently say?

2.3.0 will have more native minted support. Would you be interested in
doing us the favor of testing LyX 2.3.0beta1?  We changed the way users
use minted, and would really appreciate testing from a minted user. If
you are interested, I can give you more instructions.

Thanks!

Scott


signature.asc
Description: PGP signature


Re: 404 on manuals on lyx.org

2017-08-22 Thread Jean-Pierre Chrétien

Le 22/08/2017 à 19:08, Tommaso Cucinotta a écrit :

On 22/08/2017 09:08, Jean-Pierre Chrétien wrote:

-) 4 langs with complete 5 manuals on the page (Intro, Tutorial, UserGuide,
Math, Customization, EmbeddedObjects).


Additional is missing there, shouldn't it be added? It's kind of UserGuide2...


we have only 5 Additional.lyx manuals. For reference, this is the complete dump
[1]. What are the .16.lyx ones ?


I guess, manuals for lyx version 1.6 (last major release of the 1 series). I 
don't think that this version is used anymore, but who knows?


The dump shows for current version:
 - 7 real manuals: Intro, Tutorial, UserGuide, Math, Embedded, Customization 
and Additional
 - 2 help docs from automated build reflecting the local setup: Shortcuts, 
LatexConfig

 - 2 ancillary files: DummyDocument{1,2}
 - 2 hidden documents (not appearing in the help menu): Formula-numbering, 
MergedManuals


It misses:
 - 1 help doc from automated build: Lyx Functions
 - 14 specific help docs which are located in the examples folder
 - 1 welcome file (example folder as well)

The example folder has localized subfolders.

I think that only the 7 real manuals and (possibly) the specialized ones should 
appear in the wiki page. Maybe the MergedManuals would be useful also, if it can 
be built in a an automated manner. The manuals are already searchable from 
Edition>Search & Replace, but it would be a plus to be able to get the global plan.


--
Jean-Pierre



Re: listing file without extension

2017-08-22 Thread Richard Heck
On 08/22/2017 02:52 AM, Guenter Milde wrote:
> On 2017-08-21, Dr Eberhard Lisse wrote:
>> Hi,
>> would it be unexpected that an included listing file without extension,
>> ie something like
>>  filename
>> would throw an error that filename.tex is not found?
> At least, I am not surprised.
>
> I would expect this as a LaTeX error when the file "filename" is not present.
> LaTeX tries to append the standard extension for a given context.
> If "filename.tex" is searched even if "filename" exists (at the given path),
> then this is not good for included listings. The listings package
> documentation should show countermeasures (if not, this is a listings
> package documentation bug) and LyX should work around this (as actually,
> there should be no standard extension for listings).

The relevant code from listings.sty is:

\newcommand\lst@inputlisting[2][]{%
\endgroup
\def\lst@set{#1}%
\IfFileExists{\lst@inputpath#2}%
{\expandafter\lst@InputListing\expandafter{\lst@inputpath#2}}%
{\filename@parse{\lst@inputpath#2}%
 \edef\reserved@a{\noexpand\lst@MissingFileError
 {\filename@area\filename@base}%
  LOOK HERE!
 {\ifx\filename@ext\relax tex\else\filename@ext\fi}}% 
LOOK HERE!
 \reserved@a}%
\lst@doendpe \@newlistfalse \ignorespaces}

If I'm reading this right: If it can't find the file actually given,
then it tries adding "tex",
if the file had no extension. (Actually, you need also to look at
\lst@MissingFileError
to see this, but I won't copy that.)

Richard



Re: 404 on manuals on lyx.org

2017-08-22 Thread Tommaso Cucinotta

On 22/08/2017 09:08, Jean-Pierre Chrétien wrote:

-) 4 langs with complete 5 manuals on the page (Intro, Tutorial, UserGuide,
Math, Customization, EmbeddedObjects).


Additional is missing there, shouldn't it be added? It's kind of UserGuide2...


we have only 5 Additional.lyx manuals. For reference, this is the complete dump 
[1]. What are the .16.lyx ones ?

Thanks,

T.

[1]

$ find . -maxdepth 1 -name '*.lyx' | while read f; do echo ${f##./} $(find . 
-name ${f##./} | wc -l); done | sort -k2 -nr
Intro.lyx 26
Tutorial.lyx 22
Shortcuts.lyx 8
UserGuide.lyx 5
Math.lyx 5
EmbeddedObjects.lyx 5
Customization.lyx 5
Additional.lyx 5
Formula-numbering.lyx 4
DummyDocument2.lyx 3
DummyDocument1.lyx 3
MergedManuals.lyx 2
LaTeXConfig.lyx 2
UserGuide.16.lyx 1
Tutorial.16.lyx 1
Shortcuts.16.lyx 1
MergedManuals.16.lyx 1
Math.16.lyx 1
LFUNs.lyx 1
LFUNs.16.lyx 1
LaTeXConfig.16.lyx 1
Intro.16.lyx 1
Formula-numbering.16.lyx 1
EmbeddedObjects.16.lyx 1
DummyDocument2.16.lyx 1
DummyDocument1.16.lyx 1
Development.lyx 1
Development.16.lyx 1
Customization.16.lyx 1
Additional.16.lyx 1


Re: 404 on manuals on lyx.org

2017-08-22 Thread Guenter Milde
Dear Tommaso,

On 2017-08-21, Tommaso Cucinotta wrote:

> I checked that, with the converted manuals from the
> generate_manuals_for_web.sh script, we have:

> -) 4 langs with complete 5 manuals on the page (Intro, Tutorial,
>UserGuide, Math, Customization, EmbeddedObjects).
> -) 22 langs with the Intro (18 besides the 4 complete langs)
> -) 18 langs with the Tutorial (14 besides the 4 complete langs)
> -) 17 langs with both Intro and Tutorial

> But who knows how many of these are actually maintained and updated to
> what LyX release ?

> So, I was wondering whether it was worth to go for:

> -) growing the current table to a maxi table (22 langs x 5 manuals)
>with all possible intersections (likely different tables for
>different doc types)

No.

> -) adding to the current table a new one, pointing only to the Intro &
>Tutorial of the 22 langs having at least one of them.

Yes. This would also allow to add a caveat: "these manuals may be outdated."

> Thoughts ?

I'd use a layout with the different formats of one document in one common
cell:



Manual  English  Français   Deutsch Español

IntroductionHTML HTML   HTMLHTML
LyX  LyXLyX LyX
PDF  PDFPDF PDF

TutorialHTML HTML   HTMLHTM
LyX  LyXLyX LyX
PDF  PDFPDF PDF

...

Additonal


The HTML would be added once "fit for publication". Either fix major issues
with the native export or use elyxer (exporting to LyX-2.0 format and then
converting with elyxer should give better results, as the elyxer is quite
old by now: "* eLyXer version 1.2.5 (2015-02-26)".


Günter



Jenkins build is back to normal : Build branch "master" » ubuntu-xenial-qt4-autotools-extended #369

2017-08-22 Thread ci-lyx
https://ci.inria.fr/lyx/job/build-master-head/job/ubuntu-xenial-qt4-autotools-extended/369/


Re: Fix for vertical table border for added column

2017-08-22 Thread Kornel Benko
Am Dienstag, 22. August 2017 um 09:30:48, schrieb racoon 
> On 21.08.2017 23:32, Kornel Benko wrote:
> > Am Montag, 21. August 2017 um 22:24:10, schrieb racoon 
> >>> Playing with the new settings now ...
> >>> It is somehow requiring getting used to ... but I like it.
> >>
> >> I am not sure I follow. What "new settings"?
> >>
> >> Daniel
> > 
> > I am able to set arbitrary borders with the table toolbar, but
> > with the tabular settings dialog it is often not possible.
> > 
> > Kornel
> > 
> 
> Sorry, I am slow. I still don't know what you mean. Is that something 
> related to my patch of the add row/column or set all borders table toolbar?
> 
> Daniel

I mean the dialog you get with
right-click in a table -> Settings... -> Borders

Kornel

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


Re: Fix for vertical table border for added column

2017-08-22 Thread Jean-Marc Lasgouttes

Le 22/08/2017 à 01:29, racoon a écrit :
Thanks! I did a "git pull -- rebase" on the master. But it seems neither 
to affect the branch I created for the table fixes, nor the patches I 
create relative to master.


When I do a "git pull" on my branch I get the following message:


You need to associate your branch to master: when you have it checked 
out, do

git branch -u origin/master

Then "git pull" will work as expected.

I would also advise to make --rebase the default for "pull", with this 
command


git config --global pull.rebase true

(if you remove the --global, this will only affect this branch)

JMarc


Jenkins build is back to normal : Build branch "master" » ubuntu-xenial-qt4-autotools #359

2017-08-22 Thread ci-lyx
https://ci.inria.fr/lyx/job/build-master-head/job/ubuntu-xenial-qt4-autotools/359/


Re: 404 on manuals on lyx.org

2017-08-22 Thread Jean-Pierre Chrétien

Le 21/08/2017 à 23:29, Tommaso Cucinotta a écrit :

On 21/08/2017 23:09, Christian Ridderström wrote:

- The link texts could be LyX vs PDF instead of EN/FR etc.


tried also to play with the clikkable PDF/LyX icons that bring you to the file,
but if we get tens of those I expect the page to become difficult to browse.


I added example of how you can use an image as the "link text".
Also how it can be resized. But it's better if the uploaded image has
the proper size from the beginning.


+1, thanks.

I checked that, with the converted manuals from the generate_manuals_for_web.sh
script, we have:

-) 4 langs with complete 5 manuals on the page (Intro, Tutorial, UserGuide,
Math, Customization, EmbeddedObjects).


Additional is missing there, shouldn't it be added? It's kind of UserGuide2...

--
Jean-Pierre