Re: [Geany-devel] (no subject)

2011-12-01 Thread Meyer
Hi,

I've started integrating my plugin into the Addons plugin.  As of now, it
adds two check boxes to the Addons preferences to enable wrapping text
automatically (just by hitting apostrophe) and wrapping text by hitting a
key combo.  The first method seems to work, the second should work but you
can't define the wrap combos yet.  I've just put that on my github repo,
and should have time tomorrow to finish it up.

Cheers,
Alex


On Thu, Dec 1, 2011 at 10:44 PM, Nathan Broadbent wrote:

> Hi Alex,
>
> I'm also really keen for this feature, so could I please request a recent
> copy of the plugin? Perhaps you could update your repo on github?
> I'd like to start using it right away, and could help to fix any bugs.
>
> I also really think that this should to be added to the 'Auto-close quotes
> and brackets' feature in core Geany, since it is the expected behavior for
> any user coming from TextMate or Gedit.
>
>
> Regards,
> Nathan
>
>
>
> On Thu, Dec 1, 2011 at 7:20 PM, Lex Trotman  wrote:
>>
>>> On Fri, Dec 2, 2011 at 10:54 AM, Meyer <3m.me...@gmail.com> wrote:
>>> > Sure.  I want to be able to select text, and then insert a character
>>> (e.g.
>>> > an apostrophe) before and after the selection just by pressing the
>>> > apostrophe key.  Since the normal behavior when a character is pressed
>>> while
>>> > text is selected is to delete the text and insert a character, I need
>>> to
>>> > know when that happens - then I could undo the delete and insert my
>>> > characters.  If it was two separate events though - delete then insert
>>> - I
>>> > won't want to do anything.
>>> >
>>> > I have it working now, but it seems awfully hackish:  when one of the
>>> > characters I might insert is pressed, I store the current position of
>>> the
>>> > cursor and undo the last event.  If the new cursor position is the same
>>> > place as the old one, then it was a "overwrite" event.  Otherwise, it
>>> was
>>> > delete then insert.
>>> >
>>> > So, any ideas for how I could do this would be much appreciated!
>>>
>>> I assume you are writing a plugin.
>>>
>>> You should use the keybinding system to capture the apostrophe before
>>> it goes to scintilla so you can detect and do anything you want.
>>>
>>> Cheers
>>> Lex
>>>
>>> >
>>> > Alex
>>> >
>>> > On Thu, Dec 1, 2011 at 3:40 PM, Frank Lanitz 
>>> wrote:
>>> >>
>>> >> Am 01.12.2011 20:57, schrieb Meyer:
>>> >> > I have two possible situations that I need to differentiate
>>> between, and
>>> >> > I'm not sure how to do it - The first situation is the user deletes
>>> >> > selected text by overwriting it with a new character.  The second
>>> is the
>>> >> > user deletes selected text by pressing backspace/delete, and then
>>> enters
>>> >> > a new character.  I thought this would be fairly easy, but I've been
>>> >> > trying to figure it out for awhile and haven't gotten anywhere. Does
>>> >> > anyone have any ideas for how I could accomplish this?
>>> >>
>>> >> Can you go into more details in which context you need that
>>> information?
>>> >>
>>> >> Cheers,
>>> >> Frank
>>> >>
>>> >>
>>> >>
>>> >> ___
>>> >> Geany-devel mailing list
>>> >> Geany-devel@uvena.de
>>> >> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>>> >>
>>> >
>>> >
>>> > ___
>>> > Geany-devel mailing list
>>> > Geany-devel@uvena.de
>>> > https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>>> >
>>> ___
>>> Geany-devel mailing list
>>> Geany-devel@uvena.de
>>> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>>>
>>
>>
>> ___
>> Geany-devel mailing list
>> Geany-devel@uvena.de
>> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>>
>>
>
> ___
> Geany-devel mailing list
> Geany-devel@uvena.de
> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>
>
___
Geany-devel mailing list
Geany-devel@uvena.de
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel


Re: [Geany-devel] (no subject)

2011-12-01 Thread Nathan Broadbent
Hi Alex,

I'm also really keen for this feature, so could I please request a recent
copy of the plugin? Perhaps you could update your repo on github?
I'd like to start using it right away, and could help to fix any bugs.

I also really think that this should to be added to the 'Auto-close quotes
and brackets' feature in core Geany, since it is the expected behavior for
any user coming from TextMate or Gedit.


Regards,
Nathan



On Thu, Dec 1, 2011 at 7:20 PM, Lex Trotman  wrote:
>
>> On Fri, Dec 2, 2011 at 10:54 AM, Meyer <3m.me...@gmail.com> wrote:
>> > Sure.  I want to be able to select text, and then insert a character
>> (e.g.
>> > an apostrophe) before and after the selection just by pressing the
>> > apostrophe key.  Since the normal behavior when a character is pressed
>> while
>> > text is selected is to delete the text and insert a character, I need to
>> > know when that happens - then I could undo the delete and insert my
>> > characters.  If it was two separate events though - delete then insert
>> - I
>> > won't want to do anything.
>> >
>> > I have it working now, but it seems awfully hackish:  when one of the
>> > characters I might insert is pressed, I store the current position of
>> the
>> > cursor and undo the last event.  If the new cursor position is the same
>> > place as the old one, then it was a "overwrite" event.  Otherwise, it
>> was
>> > delete then insert.
>> >
>> > So, any ideas for how I could do this would be much appreciated!
>>
>> I assume you are writing a plugin.
>>
>> You should use the keybinding system to capture the apostrophe before
>> it goes to scintilla so you can detect and do anything you want.
>>
>> Cheers
>> Lex
>>
>> >
>> > Alex
>> >
>> > On Thu, Dec 1, 2011 at 3:40 PM, Frank Lanitz 
>> wrote:
>> >>
>> >> Am 01.12.2011 20:57, schrieb Meyer:
>> >> > I have two possible situations that I need to differentiate between,
>> and
>> >> > I'm not sure how to do it - The first situation is the user deletes
>> >> > selected text by overwriting it with a new character.  The second is
>> the
>> >> > user deletes selected text by pressing backspace/delete, and then
>> enters
>> >> > a new character.  I thought this would be fairly easy, but I've been
>> >> > trying to figure it out for awhile and haven't gotten anywhere. Does
>> >> > anyone have any ideas for how I could accomplish this?
>> >>
>> >> Can you go into more details in which context you need that
>> information?
>> >>
>> >> Cheers,
>> >> Frank
>> >>
>> >>
>> >>
>> >> ___
>> >> Geany-devel mailing list
>> >> Geany-devel@uvena.de
>> >> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>> >>
>> >
>> >
>> > ___
>> > Geany-devel mailing list
>> > Geany-devel@uvena.de
>> > https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>> >
>> ___
>> Geany-devel mailing list
>> Geany-devel@uvena.de
>> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>>
>
>
> ___
> Geany-devel mailing list
> Geany-devel@uvena.de
> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>
>
___
Geany-devel mailing list
Geany-devel@uvena.de
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel


Re: [Geany-devel] (no subject)

2011-12-01 Thread Meyer
D'oh.  I had tried that first, but incorrectly I guess and came to the
conclusion that you couldn't use keybindings with just a single character.
I suppose I shouldn't have given up so quickly, it's working perfectly now.

Thanks!
Alex

On Thu, Dec 1, 2011 at 7:20 PM, Lex Trotman  wrote:

> On Fri, Dec 2, 2011 at 10:54 AM, Meyer <3m.me...@gmail.com> wrote:
> > Sure.  I want to be able to select text, and then insert a character
> (e.g.
> > an apostrophe) before and after the selection just by pressing the
> > apostrophe key.  Since the normal behavior when a character is pressed
> while
> > text is selected is to delete the text and insert a character, I need to
> > know when that happens - then I could undo the delete and insert my
> > characters.  If it was two separate events though - delete then insert -
> I
> > won't want to do anything.
> >
> > I have it working now, but it seems awfully hackish:  when one of the
> > characters I might insert is pressed, I store the current position of the
> > cursor and undo the last event.  If the new cursor position is the same
> > place as the old one, then it was a "overwrite" event.  Otherwise, it was
> > delete then insert.
> >
> > So, any ideas for how I could do this would be much appreciated!
>
> I assume you are writing a plugin.
>
> You should use the keybinding system to capture the apostrophe before
> it goes to scintilla so you can detect and do anything you want.
>
> Cheers
> Lex
>
> >
> > Alex
> >
> > On Thu, Dec 1, 2011 at 3:40 PM, Frank Lanitz 
> wrote:
> >>
> >> Am 01.12.2011 20:57, schrieb Meyer:
> >> > I have two possible situations that I need to differentiate between,
> and
> >> > I'm not sure how to do it - The first situation is the user deletes
> >> > selected text by overwriting it with a new character.  The second is
> the
> >> > user deletes selected text by pressing backspace/delete, and then
> enters
> >> > a new character.  I thought this would be fairly easy, but I've been
> >> > trying to figure it out for awhile and haven't gotten anywhere. Does
> >> > anyone have any ideas for how I could accomplish this?
> >>
> >> Can you go into more details in which context you need that information?
> >>
> >> Cheers,
> >> Frank
> >>
> >>
> >>
> >> ___
> >> Geany-devel mailing list
> >> Geany-devel@uvena.de
> >> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
> >>
> >
> >
> > ___
> > Geany-devel mailing list
> > Geany-devel@uvena.de
> > https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
> >
> ___
> Geany-devel mailing list
> Geany-devel@uvena.de
> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>
___
Geany-devel mailing list
Geany-devel@uvena.de
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel


Re: [Geany-devel] (no subject)

2011-12-01 Thread Lex Trotman
On Fri, Dec 2, 2011 at 10:54 AM, Meyer <3m.me...@gmail.com> wrote:
> Sure.  I want to be able to select text, and then insert a character (e.g.
> an apostrophe) before and after the selection just by pressing the
> apostrophe key.  Since the normal behavior when a character is pressed while
> text is selected is to delete the text and insert a character, I need to
> know when that happens - then I could undo the delete and insert my
> characters.  If it was two separate events though - delete then insert - I
> won't want to do anything.
>
> I have it working now, but it seems awfully hackish:  when one of the
> characters I might insert is pressed, I store the current position of the
> cursor and undo the last event.  If the new cursor position is the same
> place as the old one, then it was a "overwrite" event.  Otherwise, it was
> delete then insert.
>
> So, any ideas for how I could do this would be much appreciated!

I assume you are writing a plugin.

You should use the keybinding system to capture the apostrophe before
it goes to scintilla so you can detect and do anything you want.

Cheers
Lex

>
> Alex
>
> On Thu, Dec 1, 2011 at 3:40 PM, Frank Lanitz  wrote:
>>
>> Am 01.12.2011 20:57, schrieb Meyer:
>> > I have two possible situations that I need to differentiate between, and
>> > I'm not sure how to do it - The first situation is the user deletes
>> > selected text by overwriting it with a new character.  The second is the
>> > user deletes selected text by pressing backspace/delete, and then enters
>> > a new character.  I thought this would be fairly easy, but I've been
>> > trying to figure it out for awhile and haven't gotten anywhere. Does
>> > anyone have any ideas for how I could accomplish this?
>>
>> Can you go into more details in which context you need that information?
>>
>> Cheers,
>> Frank
>>
>>
>>
>> ___
>> Geany-devel mailing list
>> Geany-devel@uvena.de
>> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>>
>
>
> ___
> Geany-devel mailing list
> Geany-devel@uvena.de
> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>
___
Geany-devel mailing list
Geany-devel@uvena.de
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel


Re: [Geany-devel] (no subject)

2011-12-01 Thread Meyer
Sure.  I want to be able to select text, and then insert a character (e.g.
an apostrophe) before and after the selection just by pressing the
apostrophe key.  Since the normal behavior when a character is pressed
while text is selected is to delete the text and insert a character, I need
to know when that happens - then I could undo the delete and insert my
characters.  If it was two separate events though - delete then insert - I
won't want to do anything.

I have it working now, but it seems awfully hackish:  when one of the
characters I might insert is pressed, I store the current position of the
cursor and undo the last event.  If the new cursor position is the same
place as the old one, then it was a "overwrite" event.  Otherwise, it was
delete then insert.

So, any ideas for how I could do this would be much appreciated!

Alex

On Thu, Dec 1, 2011 at 3:40 PM, Frank Lanitz  wrote:

> Am 01.12.2011 20:57, schrieb Meyer:
> > I have two possible situations that I need to differentiate between, and
> > I'm not sure how to do it - The first situation is the user deletes
> > selected text by overwriting it with a new character.  The second is the
> > user deletes selected text by pressing backspace/delete, and then enters
> > a new character.  I thought this would be fairly easy, but I've been
> > trying to figure it out for awhile and haven't gotten anywhere. Does
> > anyone have any ideas for how I could accomplish this?
>
> Can you go into more details in which context you need that information?
>
> Cheers,
> Frank
>
>
>
> ___
> Geany-devel mailing list
> Geany-devel@uvena.de
> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>
>
___
Geany-devel mailing list
Geany-devel@uvena.de
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel


Re: [Geany-devel] (no subject)

2011-12-01 Thread Frank Lanitz
Am 01.12.2011 20:57, schrieb Meyer:
> I have two possible situations that I need to differentiate between, and
> I'm not sure how to do it - The first situation is the user deletes
> selected text by overwriting it with a new character.  The second is the
> user deletes selected text by pressing backspace/delete, and then enters
> a new character.  I thought this would be fairly easy, but I've been
> trying to figure it out for awhile and haven't gotten anywhere. Does
> anyone have any ideas for how I could accomplish this?

Can you go into more details in which context you need that information?

Cheers,
Frank




signature.asc
Description: OpenPGP digital signature
___
Geany-devel mailing list
Geany-devel@uvena.de
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel


[Geany-devel] (no subject)

2011-12-01 Thread Meyer
Hi,

I have two possible situations that I need to differentiate between, and
I'm not sure how to do it - The first situation is the user deletes
selected text by overwriting it with a new character.  The second is the
user deletes selected text by pressing backspace/delete, and then enters a
new character.  I thought this would be fairly easy, but I've been trying
to figure it out for awhile and haven't gotten anywhere. Does anyone have
any ideas for how I could accomplish this?

Thanks,
Alex
___
Geany-devel mailing list
Geany-devel@uvena.de
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel


Re: [Geany-devel] ReST: Image size

2011-12-01 Thread Frank Lanitz
Am 01.12.2011 18:42, schrieb Colomban Wendling:
> Le 01/12/2011 18:21, Frank Lanitz a écrit :
>> Am 01.12.2011 18:18, schrieb Colomban Wendling:
>>> Le 01/12/2011 18:11, Frank Lanitz a écrit :
 Am 01.12.2011 18:01, schrieb Colomban Wendling:
> Le 01/12/2011 17:55, Frank Lanitz a écrit :
>> Am 01.12.2011 17:25, schrieb Frank Lanitz:
>>> Hi folks,
>>>
>>> Its a bit OT, but wondering whether somebody o you could help me: How
>>> can I set sizes for images inside ReST? E.g. I want to set it to 50% of
>>> page width? Didn't found anything on documentation 
>>
>> I found a way doing it by :height: but this is creating a broken LaTeX
>> for pdf generation. Might will need to report that after some more
>> investigation.
>
> This is likely to be caused by the LaTeX output tuning we have
> (rst2latex.sed), I guess it doesn't handle what :height: generates.

 Yepp. Good point. Needs to be revisited again.
>>>
>>> I've committed a fix that simply gets rid of any \includegraphics
>>> options in the input.  This should fix the output validity, but maybe
>>> we'd like to use the input options?
>>
>> Hmm... we should ensure options given by rst are taken over to PDF.
> 
> OK.  Is \command[option1,option2,]{...} valid (e.g. a trailing comma)?
> If yes it's easy, otherwise... :(

Tralling , is not very often valid ;)
Well. I guess I will finish the current newsletter with some extra
effort and we can hack a bit after that... I can provide updated
tex-file also.

Cheers,
Frank




signature.asc
Description: OpenPGP digital signature
___
Geany-devel mailing list
Geany-devel@uvena.de
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel


Re: [Geany-devel] ReST: Image size

2011-12-01 Thread Colomban Wendling
Le 01/12/2011 18:21, Frank Lanitz a écrit :
> Am 01.12.2011 18:18, schrieb Colomban Wendling:
>> Le 01/12/2011 18:11, Frank Lanitz a écrit :
>>> Am 01.12.2011 18:01, schrieb Colomban Wendling:
 Le 01/12/2011 17:55, Frank Lanitz a écrit :
> Am 01.12.2011 17:25, schrieb Frank Lanitz:
>> Hi folks,
>>
>> Its a bit OT, but wondering whether somebody o you could help me: How
>> can I set sizes for images inside ReST? E.g. I want to set it to 50% of
>> page width? Didn't found anything on documentation 
>
> I found a way doing it by :height: but this is creating a broken LaTeX
> for pdf generation. Might will need to report that after some more
> investigation.

 This is likely to be caused by the LaTeX output tuning we have
 (rst2latex.sed), I guess it doesn't handle what :height: generates.
>>>
>>> Yepp. Good point. Needs to be revisited again.
>>
>> I've committed a fix that simply gets rid of any \includegraphics
>> options in the input.  This should fix the output validity, but maybe
>> we'd like to use the input options?
> 
> Hmm... we should ensure options given by rst are taken over to PDF.

OK.  Is \command[option1,option2,]{...} valid (e.g. a trailing comma)?
If yes it's easy, otherwise... :(

Cheers,
Colomban
___
Geany-devel mailing list
Geany-devel@uvena.de
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel


Re: [Geany-devel] ReST: Image size

2011-12-01 Thread Colomban Wendling
Le 01/12/2011 18:17, Frank Lanitz a écrit :
> Am 01.12.2011 18:11, schrieb Frank Lanitz:
>> Am 01.12.2011 18:01, schrieb Colomban Wendling:
>>> Le 01/12/2011 17:55, Frank Lanitz a écrit :
 Am 01.12.2011 17:25, schrieb Frank Lanitz:
> Hi folks,
>
> Its a bit OT, but wondering whether somebody o you could help me: How
> can I set sizes for images inside ReST? E.g. I want to set it to 50% of
> page width? Didn't found anything on documentation 

 I found a way doing it by :height: but this is creating a broken LaTeX
 for pdf generation. Might will need to report that after some more
 investigation.
>>>
>>> This is likely to be caused by the LaTeX output tuning we have
>>> (rst2latex.sed), I guess it doesn't handle what :height: generates.
>>
>> Yepp. Good point. Needs to be revisited again.
> 
> Yepp, its really the reasons. Maybe we should revisit the whole minipage
> again. Unfortunately I don't remember the reasons why we added them.

Not sure exactly, but before the "hack" the images had a completely
wrong sizing (way too large IIRC), and we decided to also center them.
I don't remember the rationale for minipage, and I admit I'm a LaTeX
illiterate -- it's actually a friend of mine that designed the actual
output.

If you have any better setup, feel free to use it.

Chers,
Colomban
___
Geany-devel mailing list
Geany-devel@uvena.de
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel


Re: [Geany-devel] ReST: Image size

2011-12-01 Thread Frank Lanitz
Am 01.12.2011 18:18, schrieb Colomban Wendling:
> Le 01/12/2011 18:11, Frank Lanitz a écrit :
>> Am 01.12.2011 18:01, schrieb Colomban Wendling:
>>> Le 01/12/2011 17:55, Frank Lanitz a écrit :
 Am 01.12.2011 17:25, schrieb Frank Lanitz:
> Hi folks,
>
> Its a bit OT, but wondering whether somebody o you could help me: How
> can I set sizes for images inside ReST? E.g. I want to set it to 50% of
> page width? Didn't found anything on documentation 

 I found a way doing it by :height: but this is creating a broken LaTeX
 for pdf generation. Might will need to report that after some more
 investigation.
>>>
>>> This is likely to be caused by the LaTeX output tuning we have
>>> (rst2latex.sed), I guess it doesn't handle what :height: generates.
>>
>> Yepp. Good point. Needs to be revisited again.
> 
> I've committed a fix that simply gets rid of any \includegraphics
> options in the input.  This should fix the output validity, but maybe
> we'd like to use the input options?

Hmm... we should ensure options given by rst are taken over to PDF.

Cheers,
Frank



signature.asc
Description: OpenPGP digital signature
___
Geany-devel mailing list
Geany-devel@uvena.de
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel


Re: [Geany-devel] ReST: Image size

2011-12-01 Thread Colomban Wendling
Le 01/12/2011 18:11, Frank Lanitz a écrit :
> Am 01.12.2011 18:01, schrieb Colomban Wendling:
>> Le 01/12/2011 17:55, Frank Lanitz a écrit :
>>> Am 01.12.2011 17:25, schrieb Frank Lanitz:
 Hi folks,

 Its a bit OT, but wondering whether somebody o you could help me: How
 can I set sizes for images inside ReST? E.g. I want to set it to 50% of
 page width? Didn't found anything on documentation 
>>>
>>> I found a way doing it by :height: but this is creating a broken LaTeX
>>> for pdf generation. Might will need to report that after some more
>>> investigation.
>>
>> This is likely to be caused by the LaTeX output tuning we have
>> (rst2latex.sed), I guess it doesn't handle what :height: generates.
> 
> Yepp. Good point. Needs to be revisited again.

I've committed a fix that simply gets rid of any \includegraphics
options in the input.  This should fix the output validity, but maybe
we'd like to use the input options?

Cheers,
Colomban
___
Geany-devel mailing list
Geany-devel@uvena.de
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel


Re: [Geany-devel] ReST: Image size

2011-12-01 Thread Frank Lanitz
Am 01.12.2011 18:11, schrieb Frank Lanitz:
> Am 01.12.2011 18:01, schrieb Colomban Wendling:
>> Le 01/12/2011 17:55, Frank Lanitz a écrit :
>>> Am 01.12.2011 17:25, schrieb Frank Lanitz:
 Hi folks,

 Its a bit OT, but wondering whether somebody o you could help me: How
 can I set sizes for images inside ReST? E.g. I want to set it to 50% of
 page width? Didn't found anything on documentation 
>>>
>>> I found a way doing it by :height: but this is creating a broken LaTeX
>>> for pdf generation. Might will need to report that after some more
>>> investigation.
>>
>> This is likely to be caused by the LaTeX output tuning we have
>> (rst2latex.sed), I guess it doesn't handle what :height: generates.
> 
> Yepp. Good point. Needs to be revisited again.

Yepp, its really the reasons. Maybe we should revisit the whole minipage
again. Unfortunately I don't remember the reasons why we added them.

Cheers,
Frank



signature.asc
Description: OpenPGP digital signature
___
Geany-devel mailing list
Geany-devel@uvena.de
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel


Re: [Geany-devel] ReST: Image size

2011-12-01 Thread Frank Lanitz
Am 01.12.2011 18:01, schrieb Colomban Wendling:
> Le 01/12/2011 17:55, Frank Lanitz a écrit :
>> Am 01.12.2011 17:25, schrieb Frank Lanitz:
>>> Hi folks,
>>>
>>> Its a bit OT, but wondering whether somebody o you could help me: How
>>> can I set sizes for images inside ReST? E.g. I want to set it to 50% of
>>> page width? Didn't found anything on documentation 
>>
>> I found a way doing it by :height: but this is creating a broken LaTeX
>> for pdf generation. Might will need to report that after some more
>> investigation.
> 
> This is likely to be caused by the LaTeX output tuning we have
> (rst2latex.sed), I guess it doesn't handle what :height: generates.

Yepp. Good point. Needs to be revisited again.

Cheers,
Frank




signature.asc
Description: OpenPGP digital signature
___
Geany-devel mailing list
Geany-devel@uvena.de
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel


Re: [Geany-devel] ReST: Image size

2011-12-01 Thread Colomban Wendling
Le 01/12/2011 17:55, Frank Lanitz a écrit :
> Am 01.12.2011 17:25, schrieb Frank Lanitz:
>> Hi folks,
>>
>> Its a bit OT, but wondering whether somebody o you could help me: How
>> can I set sizes for images inside ReST? E.g. I want to set it to 50% of
>> page width? Didn't found anything on documentation 
> 
> I found a way doing it by :height: but this is creating a broken LaTeX
> for pdf generation. Might will need to report that after some more
> investigation.

This is likely to be caused by the LaTeX output tuning we have
(rst2latex.sed), I guess it doesn't handle what :height: generates.

Cheers,
Colomban
___
Geany-devel mailing list
Geany-devel@uvena.de
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel


Re: [Geany-devel] ReST: Image size

2011-12-01 Thread Frank Lanitz
Am 01.12.2011 17:25, schrieb Frank Lanitz:
> Hi folks,
> 
> Its a bit OT, but wondering whether somebody o you could help me: How
> can I set sizes for images inside ReST? E.g. I want to set it to 50% of
> page width? Didn't found anything on documentation 

I found a way doing it by :height: but this is creating a broken LaTeX
for pdf generation. Might will need to report that after some more
investigation.

Cheers,
Frank




signature.asc
Description: OpenPGP digital signature
___
Geany-devel mailing list
Geany-devel@uvena.de
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel


[Geany-devel] ReST: Image size

2011-12-01 Thread Frank Lanitz
Hi folks,

Its a bit OT, but wondering whether somebody o you could help me: How
can I set sizes for images inside ReST? E.g. I want to set it to 50% of
page width? Didn't found anything on documentation 

Cheers,
Frank



signature.asc
Description: OpenPGP digital signature
___
Geany-devel mailing list
Geany-devel@uvena.de
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel