Markdown to Lyx

Richard Kimberly Heck rikiheck at lyx.org
Thu Dec 10 04:13:49 UTC 2020


On 12/9/20 10:41 PM, Murat Yildizoglu wrote:
>
>
>> Le 10 déc. 2020 à 10:34, Andrew Parsloe <ajparsloe at gmail.com
>> <mailto:ajparsloe at gmail.com>> a écrit :
>>
>> On 10/12/2020 4:15 pm, Murat Yildizoglu wrote:
>>> Hello All,
>>> I am trying to find a way to directly import markdown documents in Lyx.
>>>
>>> I have created a Markdown file type and a filter Markdown->Latex
>>> using a pandoc command for the conversion:
>>>                  pandoc -f markdown_mmd -t latex   -o $$o $$I
>>> But Lyx does not include this type in the import menu.
>>> What am I missing?
>>> How can I do this?
>>> Is this possible?
>>>
>>> Thank you for your help!
>>>
>>> Murat
>>
>> Have you created a Markdown file format in LyX,
>>
>> Tools > Preferences > File Handling > File Formats
>>
>> ensuring the Document format checkbox is set? The name you use for
>> the format will then appear in the lists showing in the From format:
>> and To format: slots in the
>>
>> Tools > Preferences > File Handling > Converters
>>
>> dialogue. There are a number of Converter Definitions already from
>> different formats to LyX format.
>>
>> Andrew
>>
>> -- 
>> lyx-users mailing list
>> lyx-users at lists.lyx.org <mailto:lyx-users at lists.lyx.org>
>> http://lists.lyx.org/mailman/listinfo/lyx-users
>> <http://lists.lyx.org/mailman/listinfo/lyx-users>
>
> Thank you Andrew,
>
> I have indeed done all this but *my error was to set the destination
> format as Latex(pdflatex). When I have switched to Latex(plain),
> Markdown is shown indeed as an import option.* I imagine that the
> Latex->Lyx chain is only defined for the plain version.

At the moment, though you can define a converter yourself for just about
anything.

Riki


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20201209/1384d22d/attachment.html>


More information about the lyx-users mailing list