← Back to team overview

zim-wiki team mailing list archive

Re: Is there a way of changing the tag symbol?

 

Dear Paul,

it is an extra plugin (requiring installation of this package
gtksourceview2), which is called "source view". In order to activate this
plugin you need to enable it in menu "edit" -- "preferences" -- "plugins"
and than scroll down to the plugin and mark the related check-box.

Than you can insert block of isolated text (to some extent also highlighted
depending on syntax) under menu "insert" -- "code block". It works nicely
and helps to keep syntax sensitive information separated. Hope it solves
your issue.

JaKub

On 29 January 2015 at 14:28, Paul Gouin <paul.gouin50@xxxxxxxxx> wrote:

> Dear Jakub,
>
> I can't find that option in the menus. Can you tell me where to look?
> Thanks,
>
> Paul
>
> 2015-01-29 13:22 GMT+01:00 NorfCran <norfcran@xxxxxxxxx>:
>
>> Dear Paul,
>>
>> for similar cases I use insert "code block" element, which isolates all
>> the links from ZIM, maybe it could be considered instead of pasting text
>> directly to ZIM page?
>>
>> All the best,
>> JaKub
>>
>> On 29 January 2015 at 12:50, Paul Gouin <paul.gouin50@xxxxxxxxx> wrote:
>>
>>> Thanks to all who responded.
>>>
>>> Turns out my description of the issue was inaccurate: it is not tags
>>> that Zim creates automatically but links to new pages.
>>>
>>> Below is an example of the kind of text I routinely paste into Zim.
>>> (These are phonemic transcriptions of recordings made for the purpose of
>>> creating text-to-speech synthetic voices; the 1st phrase transcribes "and
>>> guarantees of due processes" ; the @ signs designates the so-called "schwa"
>>> or undifferentiated vowel)
>>>
>>> If you're patient enough to try and paste this text for yourselves,
>>> maybe you'll notice some kind of pattern that escapes me. Links are created
>>> on most lines but not all; links may extend across whole lines or not.
>>>
>>> Disabling the option to "Automatically turn file paths into links" does
>>> not alter Zim's behavior in this respect.
>>>
>>> --------
>>> Sample text:
>>>
>>> phn/phrase01418.phn:#_|_-@_n_
>>> d_|_g_~a_.r_@_n_.t_*ii_z_|_*uh_v_|_d_*uu_|_p_r_*o_.s_e_s_#
>>>
>>> phn/phrase01427.phn:#_|_-@_n_d_|_dh_*a_t_s_|_w_*ai_|_*ai_|_p_*u_sh_t_|_h_*i_m_|_*oo_f_|_dh_-@
>>> _|_r_*uu_f_#
>>> phn/phrase01479.phn:#_|_-@_n_d_|_*o_n_|_*uh_.dh_@@_|_f_*i_z_.k_@
>>> _l_|_p_*a_.r_@_.d_ai_s_.@_z_#
>>>
>>> phn/phrase01543.phn:#_|_-@_n_d_|_d_*i_s_.k_au_n_t_|_s_t_*oo_r_z_|_*oo_.f_n=_|_s_*e_l_|_dh_*e_m_|_f_-@
>>> _r_|_m_*uh_ch_|_l_*e_s_#
>>> phn/phrase01554.phn:#_|_-@_n_d_|_dh_-@
>>> _|_s_t_*ah_n_d_.oo_f_|_b_i_.g_*a_n_#
>>>
>>> phn/phrase01594.phn:#_|_-@_n_d_|_*e_.n_ii_|_w_*uh_n_|_*uh_v_|_dh_*e_m_|_k_*u_d^_|_h_*ou_l_d_|_n_aa_.k_*o_.d^_i_k_s_#
>>>
>>> phn/phrase01648.phn:#_|_-@_n_d^_|_*i_f_|_w_*ii_|_k_*u_d_|_g_*e_t_|_*au_r_|_sh_*i_p_|_*au_t_#
>>>
>>> phn/phrase01748.phn:#_|_-@_n_d_|_s_t_*ei_|_dh_*e_r_|_uh_n_.t_*i_l_|_*ai_|_k_*uh_m_#
>>> phn/phrase01777.phn:#_|_-@_n_d_|_dh_*ii_|_~oo_r_.g_@_.n_@
>>> _z_.*ei_.sh_n=_z_|_s_*e_.k_r_@_t_.~e_.r_ii_|_jh_*e_n_.r_@_l_#
>>>
>>> phn/phrase01782.phn:#_|_-@_n_d^_|_-@_n_|_*i_ng_.k_r_ii_s_|_*i_n_|_i_.l_~e_k_.t_r_*i_.s_i_.d^_ii_|_t_*a_.r_@
>>> _f_s_#
>>> phn/phrase01801.phn:#_|_-@_n_d_|_dh_*e_r_|_r_~ii_.d^_i_.p_l_*oi_.m_@
>>> _n_t_|_t_-@_|_b_*ei_s_.@_z_|_s_*au_th_|_*uh_v_|_s_*ou_l_#
>>>
>>>
>>>> On Tue, Jan 27, 2015 at 10:45 AM,  <hansbkk@xxxxxxxxx> wrote:
>>>> > Yes Twitter will come and go (good riddance) but I hope Zim will be
>>>> around
>>>> > for generations.
>>>> >
>>>> > On Tue, Jan 27, 2015 at 9:01 AM, Marco Cevoli <marco.cevoli@xxxxxxxxx
>>>> >
>>>> > wrote:
>>>> >>
>>>> >> I see. It makes lot of sense.
>>>> >>
>>>> >> Marco Cevoli
>>>> >>
>>>> >>
>>>> >> On Tue, Jan 27, 2015 at 2:23 PM, Jaap Karssenberg
>>>> >> <jaap.karssenberg@xxxxxxxxx> wrote:
>>>> >> > Main logic is that "#" is also used for anchors in HTML links. So
>>>> >> > reserved
>>>> >> > "#" for links and decided on "@" since this is used for tags in
>>>> >> > applications
>>>> >> > predating twitter.
>>>> >> >
>>>> >> > Regards,
>>>> >> >
>>>> >> > Jaap
>>>> >> >
>>>> >> >
>>>> >> > On Tue, Jan 27, 2015 at 1:28 PM, Marco Cevoli <
>>>> marco.cevoli@xxxxxxxxx>
>>>> >> > wrote:
>>>> >> >>
>>>> >> >> I know this has been discussed before, but why don't we follow
>>>> >> >> twitter's standard? All words with @ are for people/users and #
>>>> for
>>>> >> >> actual tags. I don't know if this unnecessary complicates things,
>>>> but
>>>> >> >> it might be useful to many users. The developer(s) can only
>>>> change the
>>>> >> >> actual @ with # , and this "user/contact management" (using @)
>>>> can be
>>>> >> >> created as an external plugin, ie, not forcing everyone to use it,
>>>> >> >> since Zim is designed as a personal organizer.
>>>> >> >>
>>>> >> >> Just brainstorming.
>>>> >> >>
>>>> >> >> Marco Cevoli
>>>> >> >> Technical translator. Graphic designer. Joiner-of-dots.
>>>> >> >>
>>>> >> >>
>>>> >> >> On Tue, Jan 27, 2015 at 11:32 AM, Jaap Karssenberg
>>>> >> >> <jaap.karssenberg@xxxxxxxxx> wrote:
>>>> >> >> > On Tue, Jan 27, 2015 at 11:23 AM, Güven, Ugur Murat
>>>> >> >> > <murat.gueven@xxxxxxxxxxxxxx> wrote:
>>>> >> >> >>
>>>> >> >> >> Hi,
>>>> >> >> >>
>>>> >> >> >> >Colin:[… ]Ugur Murat wants it and has done coding in related
>>>> areas
>>>> >> >> >> > so
>>>> >> >> >> > I've been hoping they might do it someday. […]
>>>> >> >> >>
>>>> >> >> >> I was thinking of having the @ sign for general tags, and the
>>>> # sign
>>>> >> >> >> for
>>>> >> >> >> people tags, as I’m using tags heavily, also
>>>> >> >> >> for tasks to assign to people.
>>>> >> >> >>
>>>> >> >> >> What I could imagine is to have the tags symbol to be a
>>>> setting in
>>>> >> >> >> preferences, but changing the tag symbol is not that
>>>> >> >> >> easy, as far as I can see.
>>>> >> >> >
>>>> >> >> >
>>>> >> >> > This is a bad idea design wise. The wiki syntax parsing should
>>>> not
>>>> >> >> > depend on
>>>> >> >> > preferences. Data format should be stable.
>>>> >> >> >
>>>> >> >> >> >Paul:Each time I paste into Zim a string containing @, it
>>>> handles
>>>> >> >> >> > that
>>>> >> >> >> > string as a tag.
>>>> >> >> >>
>>>> >> >> >> Currently I can see only a workaround, replacing the @ sign by
>>>> >> >> >> anything
>>>> >> >> >> else, when you copy paste your text.
>>>> >> >> >
>>>> >> >> > Replacing is indeed a work around. Real solution would be to
>>>> handle
>>>> >> >> > the
>>>> >> >> > copy-paste such that you get the wanted result. E.g. use the
>>>> "@", but
>>>> >> >> > escape
>>>> >> >> > it such that it is not formatted as tag, or a
>>>> "paste-as-verbatim"
>>>> >> >> > function.
>>>> >> >> >
>>>> >> >> > But first need to understand the way Paul is using these
>>>> strings to
>>>> >> >> > judge
>>>> >> >> > best direction.
>>>> >> >> >
>>>> >> >> > Regards,
>>>> >> >> >
>>>> >> >> > Jaap
>>>> >> >> >
>>>> >> >> > _______________________________________________
>>>> >> >> > Mailing list: https://launchpad.net/~zim-wiki
>>>> >> >> > Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
>>>> >> >> > Unsubscribe : https://launchpad.net/~zim-wiki
>>>> >> >> > More help   : https://help.launchpad.net/ListHelp
>>>> >> >> >
>>>> >> >>
>>>> >> >> _______________________________________________
>>>> >> >> Mailing list: https://launchpad.net/~zim-wiki
>>>> >> >> Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
>>>> >> >> Unsubscribe : https://launchpad.net/~zim-wiki
>>>> >> >> More help   : https://help.launchpad.net/ListHelp
>>>> >> >
>>>> >> >
>>>> >>
>>>> >> _______________________________________________
>>>> >> Mailing list: https://launchpad.net/~zim-wiki
>>>> >> Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
>>>> >> Unsubscribe : https://launchpad.net/~zim-wiki
>>>> >> More help   : https://help.launchpad.net/ListHelp
>>>> >
>>>> >
>>>> >
>>>> > _______________________________________________
>>>> > Mailing list: https://launchpad.net/~zim-wiki
>>>> > Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
>>>> > Unsubscribe : https://launchpad.net/~zim-wiki
>>>> > More help   : https://help.launchpad.net/ListHelp
>>>> >
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~zim-wiki
>>>> Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~zim-wiki
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~zim-wiki
>>> Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~zim-wiki
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>

References