Jean-Marc Lasgouttes wrote:
> Georg> - allow parsing of partial documents (for inclusion with \input).
> Georg> - steal commandline switches -c and -f from reLyX to support
> Georg> the previous point
> 
> Good ideas. It would be nice to chenge the semantics of tex2lyx to
> match those of reLyX (for example have file.lyx as default output file
> instead of std output, and investigate what other flags may be useful).

I would rather like it the other way round: Make tex2lyx < infile > outfile 
work.

> Georg> - output minipages with latex lengths as ERT, since lyx cannot
> Georg> handle them
> 
> Could you be more specific?

I mean this:
\begin{minipage}{\mylength}

> Georg> - recognize start of appendix
> 
> This code is a bit strange IMO. I have added a feature in Context that
> is intended for these kind of cases. I would think that adding
>   context.extra_stuff += "\\start_of_appendix\n";
> at the right place should do what you want. The extra_stuff
> functionality is not very well thought admittedly, but it is designed
> for these kind of cases where one wants to save data to add to the
> _next_ paragraph. Could you check whether it works for you?

I did not know that extra_stuff was intended for this. I will try if it 
works.

> Georg> - handle optional arg to \item as ERT in itemize environment,
> Georg> since LyX does not support it directly
> 
> I do not like the way this one is implemented. You have all the
> information you need in the layout file. Instead of testing against
> "itemize", you need something like (untested)
> if (context.layout->labeltype != LABEL_MANUAL) {

I don't really know how the layout files work, but it sounds sensible.


Georg

Reply via email to