On Tue, May 8, 2012 at 11:04 AM, Steve Ridout <[email protected]> wrote: > On 8 May 2012 12:02, Frank Bennett <[email protected]> wrote: >> >> On Tue, May 8, 2012 at 9:09 AM, Steve Ridout <[email protected]> >> wrote: >> > Hi Frank, >> > >> > Thanks for the suggestion. This sounds like a workaround which may be >> > useful >> > for a power-user, but a bit complicated for a novice user, especially >> > when >> > you consider how complicated the editor is currently for a newcomer. >> > Ideally, that comma would only fall within the span tag for the group >> > which >> > creates the delimiter, and not withing a child of the group. >> >> We may be talking past one another; I don't think this is a >> workaround, it would just be a little smoothing of the interface. >> Assuming that the comma *is* on the group as a delimiter, there is >> currently no way to select the group from the right-side view. > > > Sorry, this was a bad example, clicking on delimiters seems to work OK. e.g. > try clicking on the period between the title and journal name in APA style, > it selects the correct group. > > Prefixes and suffixes don't work though, they aren't contained within the > span tag for the group. e.g. try clicking on the "(" or the ")." before and > after the year in the APA bibliography entries. In this case these are > defined in a group but the group span tags only enclose the year.
I hadn't noticed that. I may be able to do something there; those affixes are on the right node, I think (I'm pretty sure parens don't migrate). It would just be a matter of making sure the tag encloses them. > >> >> You >> have to know that you are looking for a group, and select things in >> the left-side tree display until you find the one you're looking for. >> All I'm suggesting is that the normal ctrl-click behavior (the same as >> for selections in a normal GUI-based file manager) can be adopted in >> the right-side view, as a way of selecting the group containing two or >> more chunks of output. > > > If it seems simple to implement could try it out, but I imagine most users > won't think of trying to Ctrl click on the example output and may be > confused when the selected node doesn't match the ones they clicked on > unless we put some work into the UI to make it clear that the selected node > is the nearest common ancestor. > > But it does give me the easy idea of putting the entire path of the selected > node in the title bar of the property panel, and allowing the user click on > each node in the path. A bit like Windows explorer does. That's a better idea. > >> >> >> >> > If possible, it >> > would be nice to fix the root cause of the problem and get the span tags >> > working at a character level, although I know you've said this is very >> > difficult. >> >> It would indeed be hard. The only approach I can think of would be to >> subclass the string type, so that strings can carry metadata about >> where they originated from. That would be possible in Python, but I'm >> not sure Javascript can be pushed that far. >> > > Hmm, it sounds like some refactoring would be needed. Once the editor is in > a better state we can try to see how big a problem the lack of > character-level accuracy is for users. I think it will confuse people for > sure when they click on something and the wrong node is selected. > >> >> > >> > Regards, >> > Steve >> > >> > PS: I haven't updated the site in a while but progress is going well, >> > I've >> > got an updated tree view working now allows you to expand <text >> > macro="..."> >> > nodes to allow viewing and editing the macro definition within it. >> > Hopefully >> > this will allow novices to navigate the style structure and make some >> > edits >> > without understanding macros, and if they do attempt to edit one then we >> > can >> > prompt to check whether they want the edit to affect all instances. I'll >> > probably push an update to the site by the end of next week. >> > >> > On 5 May 2012 22:43, Frank Bennett <[email protected]> wrote: >> >> >> >> Hi, Steve, >> >> >> >> Had another thought on the editor UI this morning. >> >> >> >> In the sample, to get at the comma between the name and the title, you >> >> need to open the citation object, and expand down to find the >> >> enclosing group object in the tree view. >> >> >> >> An intuitive way to reach it from the right-hand view would be to >> >> select one element (the title block, say), and then use ctrl-click to >> >> select a partner. The selection would then "expand" to the >> >> lowest-level object that contains both selected items and bingo, >> >> there's the delimiter between the two. >> >> >> >> Frank >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Live Security Virtual Conference >> >> Exclusive live event will cover all the ways today's security and >> >> threat landscape has changed and how IT managers can respond. >> >> Discussions >> >> will include endpoint security, mobile security and the latest in >> >> malware >> >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> >> _______________________________________________ >> >> xbiblio-devel mailing list >> >> [email protected] >> >> https://lists.sourceforge.net/lists/listinfo/xbiblio-devel >> > >> > >> > >> > >> > ------------------------------------------------------------------------------ >> > Live Security Virtual Conference >> > Exclusive live event will cover all the ways today's security and >> > threat landscape has changed and how IT managers can respond. >> > Discussions >> > will include endpoint security, mobile security and the latest in >> > malware >> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> > _______________________________________________ >> > xbiblio-devel mailing list >> > [email protected] >> > https://lists.sourceforge.net/lists/listinfo/xbiblio-devel >> > >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> xbiblio-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/xbiblio-devel > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > xbiblio-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/xbiblio-devel > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ xbiblio-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xbiblio-devel
