On 04/12/15 10:33, EBo wrote:
> On Dec 4 2015 2:21 AM, Peter Rockett wrote:
>> On 04/12/15 08:28, EBo wrote:
>>> ...snip
>>>> These substitutions could also be done in notepad++ but it turned
>>>> out
>>>> that general substitutions also changed the \% and \textsl entries
>>>> and
>>>> whatelse needs escaping. Therefore, I still ask for a way to remove
>>>> only
>>>> the _file_ entry and not doing it manually.
>>> Once you have a few of these to do it starts begging for a more
>>> general
>>> solution (which implies a runable script). The question is what all
>>> needs changing and how often...
>>>
>>> EBo --
>>>
>>>
>> I have already suggested one to Frédéric Darboux off-list:
>>
>> ...the ability to flip between (readable) Unicode and traditional
>> escaped characters at will, rather like toggling abbreviations for
>> journal names. So that you could use Unicode for viewing/maintaining
>> the
>> database (+ exporting to XeLatex and the like). Consider the
>> readability of:
>>
>> Eva \v{Z}\'{a}\v{c}ekov\'{a} and Zden\v{e}k V\'{a}\v{n}a and
>> Ji\v{r}\'{i} Cigler
> wonderful example. That particular one suggests maybe having it in
> JabRef instead of as an offline tool.
>
>> But if you need to flip to the escaped characters for vanilla Latex
>> (which most journals in my area insist on), you could toggle on the
>> escaped version and export from that.
>>
>> Frédéric (or should that be Fr\'{e}d\'{e}ric!)
> ROFLOL ;-) Perfect case in point
>
>> did mention considering
>> my suggestion. Given that we now seem to have a lot of bib flavours,
>> maybe a more generic solution is desirable?
> Do you have time to sketch something up which takes care of the above
> example + the current discussion? I can envision a UI (extensible on
> the number of regx/sed/<pick your favourite> grammar) and a checkbox
> allowing you to turn them on/off as desired. The hard part is defining
> the special sequences like \unicode \latexmath....
A number of years ago, I did write a small C program to convert the
Unicode characters with diacritics in the bibtex output from EndNote
into escaped Latex. I suppose modifying it to to do the inverse mapping
should not be too hard. But afraid I don't do Java so not sure it would
be much help other than providing a large list of characters with
diacritics and their corresponding escaped output. Also, I wasn't clear
what would be "hard" about "\unicode \latexmath.... "?
Rather than leaping into coding, it might be helpful for others on this
list to identify the filters that might be necessary. Again, afraid I do
not use anything other than vanilla Latex because all the publishers in
my area demand that and nothing else. So I don't know anything about
biblatex, etc. and the issues that may throw up.
So, the filters I see that would be valuable are:
1) Filters that convert to-and-from Unicode to escaped Latex
2) The issue raised by the OP - sorry, I have deleted the original email
and can't recall exactly what it was.
3) Any other to-and-from conversions? (Please add your two pennyworth)
>
> Anyway, if you can stub something together to play with then it would
> allow more discussion. On the other hand if you integrate it with the
> JabRef package (either extension to the interface or standalone utility)
> then others can review, use, and poke at it...
See coments about C program above.
P.
>
>
> EBo --
>
>
> ------------------------------------------------------------------------------
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
> _______________________________________________
> Jabref-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jabref-users
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
Jabref-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jabref-users