Re: Making first paragraphs not indented in exported HTML

2022-04-11 Thread Kornel Benko via lyx-users
Am Mon, 11 Apr 2022 03:22:16 -0400
schrieb Steve Litt via lyx-users :

> Daniel via lyx-users said on Mon, 11 Apr 2022 08:13:43 +0200
> 
> >On 2022-04-11 03:44, Steve Litt via lyx-users wrote:  
> >> Hi all,
> >> 
> >> In the past, some exporters have implemented the custom of not
> >> indenting the first of several successive paragraphs by using a
> >> different class of paragraph for the first of a series of paragraphs.
> >> This way of doing things makes more work for the person writing the
> >> export, and more work for the person converting the export to
> >> acceptable ePub, because those special classes will need to be backed
> >> out or otherwise specially handled.
> >> 
> >> Not indenting the first of a series of paragraphs is easily
> >> accomplished by the following two lines of CSS:
> >> 
> >> p::first-letter{margin-left: 3em;}
> >> :not(p) + p::first-letter{margin-left:0.0001em;}
> >> 
> >> Let CSS decide which is the first of several consecutive paragraphs,
> >> and let CSS define what to do with that paragraph. Make it easy on
> >> everybody.
> >> 
> >> I took an hour to figure this out. Could somebody please take 3
> >> minutes to forward it to the developer's list and also the person
> >> who is writing the HTML export?
> >> 
> >> Thanks,
> >> 
> >> SteveT
> >> 
> >> Steve Litt
> >> March 2022 featured book: Making Mental Models: Advanced Edition
> >> http://www.troubleshooters.com/mmm
> >
> >I'd suggest that you file a bug/enhancement report at 
> >https://www.lyx.org/trac/wiki/BugTrackerHome (including the LyX
> >version you are using and exact steps to reproduce the problem).  
> 
> Like I said, I spent an hour getting that code just right. I did the
> hard part, I did my part. In the time you took to respond to me, you
> could have forwarded my email. 
> 
> I don't have time to learn the quirks of every project's bugtracker,
> type in information that's not relevant, and hope somebody looks at it.
> At a lot of projects, the bugtracker is where requests go to die
> (Bluefish, you listening?).
> 
> If I could change one thing about FOSS it would be to get rid of
> bugtrackers and work directly with the user. That's what we did at
> VimOutliner, and bugs got solved and requests got implemented very
> quickly.
> 
> SteveT
> 
> Steve Litt 
> March 2022 featured book: Making Mental Models: Advanced Edition
> http://www.troubleshooters.com/mmm

Steve, I am not the one to make the fix, but I think you are right.
It _IS_ very helpful to get bug-info together with a hint what seems to be 
missing.

As to the forwarding to developer-list, don't worry. They read the user-list 
too.

Thanks for the report.

Kornel
-- 
lyx-devel mailing list
lyx-de...@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


pgpPHBpmWrKL5.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Making first paragraphs not indented in exported HTML

2022-04-11 Thread Dr Eberhard Lisse via lyx-users

If you think other people have the time you don't maybe you
also not waste their time by posting this.

el

On 2022-04-11 09:22 , Steve Litt via lyx-users wrote:

Daniel via lyx-users said on Mon, 11 Apr 2022 08:13:43 +0200


On 2022-04-11 03:44, Steve Litt via lyx-users wrote:

Hi all,

In the past, some exporters have implemented the custom of not
indenting the first of several successive paragraphs by using a
different class of paragraph for the first of a series of paragraphs.
This way of doing things makes more work for the person writing the
export, and more work for the person converting the export to
acceptable ePub, because those special classes will need to be backed
out or otherwise specially handled.

Not indenting the first of a series of paragraphs is easily
accomplished by the following two lines of CSS:

p::first-letter{margin-left: 3em;}
:not(p) + p::first-letter{margin-left:0.0001em;}

Let CSS decide which is the first of several consecutive paragraphs,
and let CSS define what to do with that paragraph. Make it easy on
everybody.

I took an hour to figure this out. Could somebody please take 3
minutes to forward it to the developer's list and also the person
who is writing the HTML export?

Thanks,

SteveT

Steve Litt
March 2022 featured book: Making Mental Models: Advanced Edition
http://www.troubleshooters.com/mmm


I'd suggest that you file a bug/enhancement report at
https://www.lyx.org/trac/wiki/BugTrackerHome (including the LyX
version you are using and exact steps to reproduce the problem).


Like I said, I spent an hour getting that code just right. I did the
hard part, I did my part. In the time you took to respond to me, you
could have forwarded my email.

I don't have time to learn the quirks of every project's bugtracker,
type in information that's not relevant, and hope somebody looks at it.
At a lot of projects, the bugtracker is where requests go to die
(Bluefish, you listening?).

If I could change one thing about FOSS it would be to get rid of
bugtrackers and work directly with the user. That's what we did at
VimOutliner, and bugs got solved and requests got implemented very
quickly.

SteveT

Steve Litt
March 2022 featured book: Making Mental Models: Advanced Edition
http://www.troubleshooters.com/mmm



--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: [Important] New behavior for spam handling on this list

2022-04-11 Thread Hal Kierstead via lyx-users
Many thanks for the question and answer. This is certainly a problem that I 
have been having.

Hal

> On Apr 11, 2022, at 5:11 AM, Pavel Sanda via lyx-users via lyx-users 
>  wrote:
> 
> On Thu, Apr 07, 2022 at 12:44:54PM -0400, Steve Litt via lyx-users wrote:
>> Like every other free software project, LyX is underdocumented. The
>> lowest hanging fruit you have is to make a single index for all the
>> documents available under LyX' help menu. Every time I go there to look
>> something up, I spend 25 minutes going from document to document
>> looking for the subject. I'm sure I'm not alone.
> 
> You could get small help by changing search scope when using
> Advanced search->Settings->All manuals.
> 
> Pavel
> -- 
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: [Important] New behavior for spam handling on this list

2022-04-11 Thread Pavel Sanda via lyx-users via lyx-users
On Thu, Apr 07, 2022 at 12:44:54PM -0400, Steve Litt via lyx-users wrote:
> Like every other free software project, LyX is underdocumented. The
> lowest hanging fruit you have is to make a single index for all the
> documents available under LyX' help menu. Every time I go there to look
> something up, I spend 25 minutes going from document to document
> looking for the subject. I'm sure I'm not alone.

You could get small help by changing search scope when using
Advanced search->Settings->All manuals.

Pavel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Making first paragraphs not indented in exported HTML

2022-04-11 Thread Steve Litt via lyx-users
Daniel via lyx-users said on Mon, 11 Apr 2022 08:13:43 +0200

>On 2022-04-11 03:44, Steve Litt via lyx-users wrote:
>> Hi all,
>> 
>> In the past, some exporters have implemented the custom of not
>> indenting the first of several successive paragraphs by using a
>> different class of paragraph for the first of a series of paragraphs.
>> This way of doing things makes more work for the person writing the
>> export, and more work for the person converting the export to
>> acceptable ePub, because those special classes will need to be backed
>> out or otherwise specially handled.
>> 
>> Not indenting the first of a series of paragraphs is easily
>> accomplished by the following two lines of CSS:
>> 
>> p::first-letter{margin-left: 3em;}
>> :not(p) + p::first-letter{margin-left:0.0001em;}
>> 
>> Let CSS decide which is the first of several consecutive paragraphs,
>> and let CSS define what to do with that paragraph. Make it easy on
>> everybody.
>> 
>> I took an hour to figure this out. Could somebody please take 3
>> minutes to forward it to the developer's list and also the person
>> who is writing the HTML export?
>> 
>> Thanks,
>> 
>> SteveT
>> 
>> Steve Litt
>> March 2022 featured book: Making Mental Models: Advanced Edition
>> http://www.troubleshooters.com/mmm  
>
>I'd suggest that you file a bug/enhancement report at 
>https://www.lyx.org/trac/wiki/BugTrackerHome (including the LyX
>version you are using and exact steps to reproduce the problem).

Like I said, I spent an hour getting that code just right. I did the
hard part, I did my part. In the time you took to respond to me, you
could have forwarded my email. 

I don't have time to learn the quirks of every project's bugtracker,
type in information that's not relevant, and hope somebody looks at it.
At a lot of projects, the bugtracker is where requests go to die
(Bluefish, you listening?).

If I could change one thing about FOSS it would be to get rid of
bugtrackers and work directly with the user. That's what we did at
VimOutliner, and bugs got solved and requests got implemented very
quickly.

SteveT

Steve Litt 
March 2022 featured book: Making Mental Models: Advanced Edition
http://www.troubleshooters.com/mmm
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Making first paragraphs not indented in exported HTML

2022-04-11 Thread Daniel via lyx-users

On 2022-04-11 03:44, Steve Litt via lyx-users wrote:

Hi all,

In the past, some exporters have implemented the custom of not
indenting the first of several successive paragraphs by using a
different class of paragraph for the first of a series of paragraphs.
This way of doing things makes more work for the person writing the
export, and more work for the person converting the export to
acceptable ePub, because those special classes will need to be backed
out or otherwise specially handled.

Not indenting the first of a series of paragraphs is easily
accomplished by the following two lines of CSS:

p::first-letter{margin-left: 3em;}
:not(p) + p::first-letter{margin-left:0.0001em;}

Let CSS decide which is the first of several consecutive paragraphs,
and let CSS define what to do with that paragraph. Make it easy on
everybody.

I took an hour to figure this out. Could somebody please take 3 minutes
to forward it to the developer's list and also the person who is
writing the HTML export?

Thanks,

SteveT

Steve Litt
March 2022 featured book: Making Mental Models: Advanced Edition
http://www.troubleshooters.com/mmm


I'd suggest that you file a bug/enhancement report at 
https://www.lyx.org/trac/wiki/BugTrackerHome (including the LyX version 
you are using and exact steps to reproduce the problem).


Best,
Daniel


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users