Re: annoying behavior of Lyx 2.02+ -- Language toggle

2012-05-27 Thread Ronen Abravanel
BTW, can I get privileges to open track-tickets?

(username: ronen)

On Sat, May 26, 2012 at 5:24 PM, Ronen Abravanel  wrote:

> Patch for LyXAction.cpp attached. (i also added example for inserting
> graphics using inset-inset
>
>
> On Fri, May 25, 2012 at 3:42 PM, Jean-Marc Lasgouttes 
> wrote:
>
>> Le 25/05/2012 13:21, Ronen Abravanel a écrit :
>>
>>  I added an optional "set" argument to LFUN_LANGUAGE and fixed the menu
>>> entery.
>>>
>>> Anythhing else? Should I fix the LFUN documentation?
>>>
>>
>> Good. I would handle the case where no language is given to reset to
>> default language (this is what is done with the "layout" lfun). This allows
>> to to have a keybinding for resetting the langage.
>>
>> Yes, in LyXAction.cpp
>>
>> JMarc
>>
>>
>


Re: #8173: broken/changed label handling in corss-references window

2012-05-27 Thread Sergio R. Caprile
On 27/05/12 09:07, LyX Ticket Tracker wrote:
> Comment (by spitz):
> 
>  Replying to [ticket:8173 scaprile]:
>  > First, sometimes there is the need to track references in the other
>  direction, that is, find the places in many documents where there is a
>  reference to a label.
> 
>  Did you try Document > Outline?

My friend, I think we are not understanding each other. My outline
window is always open. What I try to mean is
I have this:
\subsubsection{System Control Space\label{sub:System-Control-Space}}
and I need to find all the
please go to \vref{sub:System-Control-Space}
in 10 or 12 documents encompassing my whole project. Let's say:

M3:page 7
M4:page 12
micros:page 122

so I can click and go there. The same stuff as the current xref window,
only backwards... besides the "go to link" button, a "see what refers to
this label" button that performs a search in the text top-down from the
master document and pinpoints all the references. (I guess putting all
referrers in the database may not be worthy, would probably require a
table for each label, whatever, this is just a suggestion).

Maybe this sheds some light.
I have no outline tool, and I'm writing while I'm doing my research.
I happen to work in parallel on many chapters of a book. Sometimes, when
something happens to a section, I realize there is a reference to that
section or to that content somewhere else. I need to find those
references and do some rephrasing or corrections or whatever.


>  > If a section changes to a paragraph and the text says "see section
>  ", one might need to change it (the word "section" automagically
>  included could be good also)
> 
>  Use "formatted reference" (prettyref or nameref) for this task. See the
>  user guide for details.

OK, this is tricky, I have to mess with the Latex preamble to get this
working. Maybe the preferences window could be the job in a more
"Lyx-ful" way ?


>  > Second, sometimes a label is removed, maybe to put it somewhere else
>  with a different name. Then there is the need to find BROKEN links in all
>  the documents referring to that label. Besides the "BROKEN" word, perhaps
>  their color could change maybe to red, and an automatic search and display
>  on a window with a goto feature would be great.
> 
>  Again, Document > Outline will help you find those references easily.
> 

No, if you re-read the example I've given, the outline window will help
me find the sections and paragraphs, not all the places in the document
where there is a reference to those. Let alone the BROKEN references

Regards

BTW, this is  just a suggestion, the program is great, I'm just trying
to get some outlining functions out of it. Great stuff, congratulations

-- 
-
Sergio R. Caprile, Human Being, Bs.As., Argentina
Electronics Engineer, Musician (guitarist), TaoFx
http://www.scaprile.ldir.com.ar/
-


Re: [LyX master] Fix macro termination in IPA inset if next character uses a TIPA shortcut

2012-05-27 Thread Jürgen Spitzmüller
Richard Heck wrote:
> On 05/26/2012 10:36 AM, Juergen Spitzmueller wrote:
> > The branch, master, has been updated.
> > 
> > - Log -
> > 
> > commit 6ddcfb87e4b3c4e21c4ea6b84b4162d2d7c537e8
> > Author: Juergen Spitzmueller
> > Date:   Sat May 26 16:36:24 2012 +0200
> >
> >  Fix macro termination in IPA inset if next character uses a TIPA
> >shortcut
> Is this needed for branch? If so, it looks fine to me.

No, it fixes a trunk-only feature.

The other commit, however (addition of LATIN SMALL LETTER H WITH STROKE) could 
also go to branch.

Jürgen